* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background: #0f172a;
    min-height: 100vh;
    overflow: hidden;
}

#game-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: #1e293b;
}

canvas {
    display: block;
    width: 100vw !important;
    height: 100vh !important;
}

#ui-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    pointer-events: none;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}

#score-container {
    background: #fbbf24; 
    padding: 12px 24px;
    border-radius: 16px;
    color: #000000;
    font-weight: 700;
    font-size: 1.2rem;
    border: 2px solid #000000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

#score-board {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    padding: 12px 24px;
    border-radius: 16px;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#tutorial {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    padding: 12px 24px;
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: right;
}

#portal-link {
    position: fixed;
    bottom: 16px;
    left: 16px;
    z-index: 200;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #e2e8f0;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 10px;
    text-decoration: none;
    pointer-events: auto;
}

#portal-link:hover {
    background: rgba(30, 41, 59, 0.95);
    color: #fff;
}

::-webkit-scrollbar {
    width: 0;
}
