/* ============================================
   VESPER 2066 — the game teaser
   Game page (page-templates/game.php) and the homepage's game section.
   Always dark, like the homepage (body gets .v-landing).
   ============================================ */

.game-page { background: #060a12; color: #f0e6d2; overflow: hidden; }

/* ---------- Hero ---------- */
.game-hero {
    position: relative;
    background: #060a12;
    padding-top: 8.5rem;
}
.game-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
    margin-bottom: -3.5rem; /* the painting rises up under the tagline */
    animation: gameFadeUp 1.6s ease 0.2s both;
}
@keyframes gameFadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
.game-hero__label {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #d08b55;
    margin: 0 0 1rem;
}
.game-hero__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.6rem, 6.5vw, 5.4rem);
    font-weight: 300;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #f0e6d2;
    margin: 0;
    padding-left: 0.18em; /* balance the trailing letter-spacing */
    line-height: 1.05;
    text-shadow: 0 2px 40px rgba(0,0,0,0.6);
}
.game-hero__tagline {
    font-family: 'EB Garamond', Georgia, serif;
    font-style: italic;
    font-size: clamp(1.15rem, 2.2vw, 1.6rem);
    color: rgba(240,230,210,0.85);
    letter-spacing: 0.03em;
    margin: 1.1rem 0 0;
    line-height: 1.4;
}
.game-hero__figure { position: relative; margin: 0; }
.game-hero__frame { cursor: zoom-in; }
.game-hero__img {
    width: 100%;
    height: auto;
    display: block;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 88%, transparent 100%);
            mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 88%, transparent 100%);
    animation: gameHeroIn 2.4s ease both;
}
@keyframes gameHeroIn {
    from { opacity: 0; transform: scale(1.03); }
    to   { opacity: 1; transform: scale(1); }
}
.game-hero__caption {
    margin: 0.4rem 0 0;
    padding: 0 2rem;
    text-align: center;
    font-family: 'EB Garamond', Georgia, serif;
    font-style: italic;
    font-size: 0.85rem;
    color: rgba(240,230,210,0.45);
    pointer-events: none;
}

/* ---------- Shared ---------- */
.game-divider { width: 60px; height: 1px; background: #d08b55; opacity: 0.6; margin: 0 auto; }

/* ---------- Standfirst ---------- */
.game-standfirst {
    max-width: 760px;
    margin: 0 auto;
    padding: 4.5rem 2rem 1rem;
    text-align: center;
}
.game-standfirst__text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    font-weight: 400;
    line-height: 1.45;
    color: #f0e6d2;
    margin: 2rem 0 0;
}

/* ---------- Pitch blocks ---------- */
.game-block {
    max-width: 680px;
    margin: 0 auto;
    padding: 4rem 2rem 3rem;
}
.game-block__label {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(208,139,85,0.75);
    margin: 0 0 1.1rem;
}
.game-block__text {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 1.2rem;
    line-height: 1.85;
    color: rgba(240,230,210,0.86);
    margin: 0;
}
.game-block__text em { font-style: italic; color: #f0e6d2; }
.game-block__text a {
    color: #d08b55;
    text-decoration: none;
    border-bottom: 1px solid rgba(208,139,85,0.35);
    transition: border-color 0.3s ease;
}
.game-block__text a:hover { border-bottom-color: #d08b55; color: #d08b55; }

/* ---------- Screenshots ---------- */
.game-shot {
    max-width: 1240px;
    margin: 0 auto;
    padding: 1rem 2rem 1rem;
}
.game-shot__frame {
    overflow: hidden;
    border: 1px solid rgba(240,230,210,0.08);
    border-radius: 3px;
    cursor: zoom-in;
    background: #0d1320;
    box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.game-shot__img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 1.2s ease;
}
.game-shot__frame:hover .game-shot__img { transform: scale(1.015); }
.game-shot__caption {
    margin: 0.9rem 0 0;
    text-align: center;
    font-family: 'EB Garamond', Georgia, serif;
    font-style: italic;
    font-size: 0.95rem;
    color: rgba(240,230,210,0.5);
}

/* ---------- Closing ---------- */
.game-closing {
    max-width: 680px;
    margin: 0 auto;
    padding: 5.5rem 2rem 3rem;
    text-align: center;
}
.game-closing__line {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    color: #f0e6d2;
    margin: 0 0 2.2rem;
    line-height: 1.25;
}
.game-closing__status {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(240,230,210,0.55);
    margin: 2.2rem 0 0;
}

/* ---------- Not Wander ---------- */
.game-wander {
    max-width: 620px;
    margin: 1rem auto 6rem;
    padding: 2rem 2.2rem 2.1rem;
    border: 1px solid rgba(240,230,210,0.1);
    border-left: 2px solid rgba(208,139,85,0.55);
    background: rgba(13,19,32,0.6);
}
.game-wander__heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.45rem;
    font-weight: 400;
    color: #f0e6d2;
    margin: 0 0 0.7rem;
    letter-spacing: 0.01em;
}
.game-wander__text {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(240,230,210,0.72);
    margin: 0 0 1.2rem;
}
.game-wander__links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.8rem; margin: 0; }
.game-wander__links a {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #d08b55;
    text-decoration: none;
}
.game-wander__links a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .game-hero { padding-top: 6.5rem; }
    .game-hero__content { padding: 0 1.2rem; margin-bottom: -0.5rem; }
    .game-hero__img {
        width: 150%; max-width: none; margin-left: -25%; /* crop the sides so the square reads on a phone */
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 90%, transparent 100%);
                mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 90%, transparent 100%);
    }
    .game-hero__frame { overflow: hidden; }
    .game-standfirst { padding: 3.2rem 1.4rem 0.5rem; }
    .game-block { padding: 3rem 1.4rem 2.2rem; }
    .game-block__text { font-size: 1.1rem; line-height: 1.8; }
    .game-shot { padding: 0.5rem 0; }
    .game-shot__frame { border-radius: 0; border-left: none; border-right: none; }
    .game-closing { padding: 4rem 1.4rem 2rem; }
    .game-wander { margin: 0.5rem 1.2rem 4rem; padding: 1.6rem 1.4rem; }
}


/* ============================================
   HOMEPAGE SECTION
   ============================================ */

.hp-game {
    padding: 6rem 2rem 4rem;
    background: #060a12;
}
.hp-game__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 3.5rem;
    align-items: center;
}
.hp-game__image {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(240,230,210,0.08);
    border-radius: 3px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.hp-game__image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 1.2s ease;
}
.hp-game__image:hover img { transform: scale(1.02); }
.hp-game__label {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(208,139,85,0.75);
    margin: 0 0 0.9rem;
}
.hp-game__heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.2rem, 3.6vw, 3rem);
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f0e6d2;
    margin: 0;
    line-height: 1.1;
}
.hp-game__heading a { color: inherit; text-decoration: none; }
.hp-game__tagline {
    font-family: 'EB Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.25rem;
    color: rgba(240,230,210,0.8);
    margin: 0.9rem 0 0;
    line-height: 1.45;
}
.hp-game__divider { width: 48px; height: 1px; background: #d08b55; opacity: 0.6; margin: 1.6rem 0; }
.hp-game__text {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 1.1rem;
    line-height: 1.75;
    color: rgba(240,230,210,0.72);
    margin: 0 0 1.6rem;
}
.hp-game__link {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #d08b55;
    text-decoration: none;
}
.hp-game__link:hover { text-decoration: underline; color: #d08b55; }

@media (max-width: 900px) {
    .hp-game { padding: 4rem 0 2.5rem; }
    .hp-game__inner { grid-template-columns: 1fr; gap: 2rem; }
    .hp-game__image { border-radius: 0; border-left: none; border-right: none; }
    .hp-game__body { padding: 0 1.5rem; text-align: center; }
    .hp-game__divider { margin: 1.4rem auto; }
}
