/* =========================================================
   VOICE RUNNER GAME PAGE
   ========================================================= */

.game-page {
    min-height: 100vh;
}


/* =========================================================
   TITLE
   ========================================================= */

.game-title-section {
    padding: 145px 0 35px;
    text-align: center;
}

.game-title-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.game-back {
    display: inline-flex;
    align-items: center;
    margin-bottom: 28px;

    color: #7ddff5;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .08em;

    transition:
        color .25s ease,
        transform .25s ease;
}

.game-back:hover {
    color: #ffffff;
    transform: translateX(-4px);
}


.game-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 8px 14px;

    border: 1px solid rgba(139,92,246,.35);

    background: rgba(139,92,246,.08);

    border-radius: 999px;

    color: #c4b5fd;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: .16em;

    box-shadow:
        0 0 25px rgba(139,92,246,.08);
}


.game-title-section h1 {
    margin: 20px 0 12px;

    font-size: clamp(46px, 6vw, 72px);

    line-height: .98;

    letter-spacing: -.055em;

    font-weight: 900;
}


.game-subtitle {
    max-width: 600px;

    margin: 0;

    color: #91a0b8;

    font-size: 16px;
}


/* =========================================================
   GAME COVER
   ========================================================= */

.game-cover-section {
    padding: 20px 0 70px;
}


.game-cover {
    width: min(760px, 100%);

    margin: 0 auto;

    overflow: hidden;

    border-radius: 28px;

    border: 1px solid rgba(125,223,245,.18);

    background: #080c14;

    box-shadow:
        0 35px 90px rgba(0,0,0,.48),
        0 0 50px rgba(34,211,238,.07);
}


.game-cover img {
    width: 100%;

    aspect-ratio: 16 / 8.5;

    object-fit: cover;

    display: block;

    transition:
        transform .6s cubic-bezier(.2,.8,.2,1),
        filter .5s ease;
}


.game-cover:hover img {
    transform: scale(1.025);

    filter: saturate(1.08);
}


/* =========================================================
   COMMON CONTENT SECTIONS
   ========================================================= */

.game-content-section {
    padding: 38px 0;
}


.game-content-card {
    width: min(900px, 100%);

    margin: 0 auto;

    padding: 42px 48px;

    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.018)
        );

    border: 1px solid rgba(148,163,184,.14);

    box-shadow:
        0 25px 70px rgba(0,0,0,.2);
}


.game-section-label {
    margin-bottom: 10px;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: .18em;

    text-transform: uppercase;
}


.game-content-card h2 {
    margin: 0 0 18px;

    font-size: clamp(28px, 4vw, 42px);

    line-height: 1.05;

    letter-spacing: -.04em;
}


.game-content-card p {
    max-width: 760px;

    margin: 0 0 13px;

    color: #91a0b8;

    font-size: 15px;

    line-height: 1.8;
}


.game-content-card p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   HOW TO PLAY - CYAN
   ========================================================= */

.how-to-play {
    padding-top: 20px;
}


.how-to-play .game-content-card {
    border-color: rgba(125,223,245,.2);

    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(34,211,238,.09),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.018)
        );
}


.how-to-play .game-section-label {
    color: #7ddff5;
}


.how-to-play .game-content-card h2 {
    color: #e9fbff;
}


/* =========================================================
   VOICE COMMANDS - PURPLE
   ========================================================= */

.voice-commands-section {
    padding-top: 38px;
    padding-bottom: 38px;
}


.voice-commands-section .game-content-card {
    border-color: rgba(139,92,246,.25);

    background:
        radial-gradient(
            circle at 10% 0%,
            rgba(139,92,246,.1),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.018)
        );
}


.voice-commands-section .game-section-label {
    color: #c4b5fd;
}


.voice-commands-section .game-content-card h2 {
    color: #f0eaff;
}


/* =========================================================
   COMMAND GRID
   ========================================================= */

.voice-command-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;

    margin-top: 30px;
}


.voice-command-box {
    min-height: 72px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 18px 12px;

    border-radius: 17px;

    border: 1px solid rgba(139,92,246,.25);

    background:
        linear-gradient(
            145deg,
            rgba(139,92,246,.13),
            rgba(125,223,245,.035)
        );

    color: #ffffff;

    font-size: 14px;

    font-weight: 900;

    letter-spacing: .13em;

    box-shadow:
        inset 0 1px rgba(255,255,255,.05),
        0 12px 30px rgba(0,0,0,.16);

    transition:
        transform .3s cubic-bezier(.2,.8,.2,1),
        border-color .3s ease,
        box-shadow .3s ease,
        background .3s ease;
}


.voice-command-box:hover {
    transform: translateY(-5px);

    border-color: rgba(125,223,245,.55);

    background:
        linear-gradient(
            145deg,
            rgba(139,92,246,.22),
            rgba(125,223,245,.09)
        );

    box-shadow:
        0 18px 40px rgba(0,0,0,.25),
        0 0 25px rgba(139,92,246,.12);

    color: #e9fbff;
}


/* =========================================================
   PLAY NOW
   ========================================================= */

.play-now-section {
    padding: 55px 0 58px;

    text-align: center;
}


.play-now-section .container {
    display: flex;

    justify-content: center;

    align-items: center;
}


.game-play-button {
    min-width: 280px;

    min-height: 72px;

    padding: 20px 42px;

    border-radius: 20px;

    font-size: 17px;

    font-weight: 900;

    letter-spacing: .08em;

    gap: 13px;

    box-shadow:
        0 18px 45px rgba(139,92,246,.35),
        0 0 35px rgba(192,38,211,.14),
        inset 0 1px rgba(255,255,255,.4);
}


.game-play-button span {
    font-size: 23px;

    line-height: 1;

    transition:
        transform .3s ease;
}


.game-play-button:hover span {
    transform:
        scale(1.18)
        rotate(-8deg);
}


/* =========================================================
   ABOUT THE GAME - MAGENTA
   ========================================================= */

.about-game {
    padding-top: 25px;

    padding-bottom: 90px;
}


.about-game .game-content-card {
    border-color: rgba(192,38,211,.22);

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(192,38,211,.1),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.018)
        );
}


.about-game .game-section-label {
    color: #e879f9;
}


.about-game .game-content-card h2 {
    color: #fce7ff;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .game-title-section {
        padding-top: 130px;
    }


    .game-cover {
        width: min(700px, 100%);
    }


    .game-content-card {
        width: min(760px, 100%);

        padding: 36px;
    }


    .voice-command-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


@media (max-width: 700px) {

    .game-title-section {
        padding-top: 120px;

        padding-bottom: 25px;
    }


    .game-title-section h1 {
        font-size: 48px;
    }


    .game-subtitle {
        font-size: 15px;
    }


    .game-cover-section {
        padding-top: 18px;

        padding-bottom: 50px;
    }


    .game-cover {
        border-radius: 21px;
    }


    .game-cover img {
        aspect-ratio: 16 / 9;
    }


    .game-content-section {
        padding: 28px 0;
    }


    .game-content-card {
        padding: 30px 24px;

        border-radius: 23px;
    }


    .game-content-card h2 {
        font-size: 31px;
    }


    .game-content-card p {
        font-size: 14px;

        line-height: 1.75;
    }


    .voice-command-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 11px;

        margin-top: 25px;
    }


    .voice-command-box {
        min-height: 64px;

        padding: 15px 8px;

        border-radius: 15px;

        font-size: 12px;
    }


    .play-now-section {
        padding: 45px 0 42px;
    }


    .game-play-button {
        width: min(100%, 330px);

        min-height: 68px;

        padding: 18px 28px;

        font-size: 16px;
    }


    .about-game {
        padding-bottom: 65px;
    }

}


@media (max-width: 420px) {

    .game-title-section {
        padding-top: 112px;
    }


    .game-title-section h1 {
        font-size: 42px;
    }


    .game-back {
        margin-bottom: 22px;

        font-size: 11px;
    }


    .game-eyebrow {
        font-size: 8px;

        padding: 7px 11px;
    }


    .game-content-card {
        padding: 26px 18px;
    }


    .game-content-card h2 {
        font-size: 28px;
    }


    .voice-command-grid {
        gap: 9px;
    }


    .voice-command-box {
        min-height: 58px;

        font-size: 11px;

        letter-spacing: .1em;
    }


    .game-play-button {
        width: 100%;

        min-width: 0;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .game-cover img,
    .voice-command-box,
    .game-play-button span,
    .game-back {
        transition: none;
    }

}