body {
    margin: 0;
    background: #101e29;
    color: #f1f3f5;
}

main {
    min-height: calc(100svh - 76px);
    display: grid;
    place-items: center;
    padding-bottom: 76px;
}

h1 {
    margin-bottom: 16px;
    font-family: inherit;
    font-size: clamp(3rem, 10vw, 4.5rem);
    font-weight: 700;
}

.language-switch button {
    min-width: 44px;
    min-height: 44px;
    border: 0;
    background: transparent;
    color: #aebcc8;
    cursor: pointer;
}

.language-switch button[aria-pressed="true"] {
    color: white;
    text-decoration: underline;
    text-underline-offset: 5px;
}

body {
    isolation: isolate;
}

.game-buttons {
    width: 100%;
    max-width: 340px;
}






.bubbles {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.bubbles span {
    position: absolute;
    bottom: -100px;
    left: var(--left);
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background: rgba(130, 200, 220, 0.06);
    border: 1px solid rgba(160, 220, 240, 0.08);
    filter: blur(5px);
     animation:
        rise var(--duration) linear var(--delay) infinite,
        sway 5s ease-in-out var(--delay) infinite alternate;
    animation-delay: var(--delay);
}

.bubbles span:nth-child(1) {
    --left: 12%;
    --size: 45px;
    --duration: 28s;
    --delay: -8s;
}

.bubbles span:nth-child(2) {
    --left: 32%;
    --size: 70px;
    --duration: 36s;
    --delay: -25s;
}

.bubbles span:nth-child(3) {
    --left: 57%;
    --size: 30px;
    --duration: 25s;
    --delay: -14s;
}

.bubbles span:nth-child(4) {
    --left: 76%;
    --size: 55px;
    --duration: 32s;
    --delay: -4s;
}

.bubbles span:nth-child(5) {
    --left: 91%;
    --size: 85px;
    --duration: 40s;
    --delay: -30s;
}
@keyframes rise {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(calc(-100vh - 200px));
    }
}

@keyframes sway {
    from {
        translate: -20px 0;
    }

    to {
        translate: 20px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bubbles {
        display: none;
    }
}