/* ============================
   CSS VARIABLES
============================ */
:root {
    --accent:      #f0a830;
    --accent-dark: #d4891a;
    --accent-glow: rgba(240, 168, 48, 0.35);
    --bg:          #0e0e0e;
    --bg2:         #181818;
    --bg3:         #222;
    --text:        #e0e0e0;
    --text-muted:  #8a8a9a;
}

/* ============================
   BASE
============================ */
html, body {
    margin: 0;
    overflow: hidden;
    height: 100%;
    background-color: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    scroll-behavior: smooth;
}

/* ============================
   SNAP SCROLL SYSTEM
============================ */
.snap-container {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    height: 100vh;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.snap-container::-webkit-scrollbar { display: none; }

.snap-container > * {
    scroll-snap-align: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
}

.content-block { width: 100%; max-width: 1100px; }

/* ============================
   HOME / HEADER
============================ */
header .logo {
    max-width: 860px;
    width: 80vw;
    height: auto;
    animation: breathe 5s ease-in-out infinite;
}

.universe-tagline {
    margin: 24px 0 0;
    font-size: 0.95em;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0;
    animation: fadeUp 1.2s 0.9s forwards;
}

/* ============================
   FEATURED SECTION
============================ */
#featured {
    padding: 0;
    overflow: hidden;
}

.featured-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    filter: blur(3px) brightness(0.4);
    transform: scale(1.06);
    z-index: 0;
}

.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(14, 14, 14, 0.97) 0%,
        rgba(14, 14, 14, 0.55) 45%,
        rgba(14, 14, 14, 0.25) 100%
    );
    z-index: 1;
}

/* Two-column layout inside featured */
.featured-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 56px;
    width: 100%;
    max-width: 1060px;
    padding: 0 40px;
    box-sizing: border-box;
}

.featured-img-wrap {
    flex: 0 0 auto;
    width: clamp(260px, 38%, 420px);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 16px 60px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(240, 168, 48, 0.18);
}

.featured-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.featured-content {
    position: relative;
    z-index: 2;
    text-align: left;
    flex: 1;
}

.featured-badge {
    display: inline-block;
    background: var(--accent);
    color: #0e0e0e;
    font-size: 0.68em;
    font-weight: 800;
    letter-spacing: 0.22em;
    padding: 5px 14px;
    border-radius: 4px;
    margin-bottom: 22px;
    text-transform: uppercase;
}

.featured-title {
    font-size: clamp(2em, 5.5vw, 3.8em);
    margin: 0 0 14px;
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
}

.featured-colon { color: var(--accent); }

.featured-game-name {
    color: var(--accent);
    display: inline-block;
}

.featured-year {
    font-size: 0.82em;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin: 0 0 18px;
    text-transform: uppercase;
}

.featured-description {
    font-size: 1.02em;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.75;
    margin: 0 auto 36px;
    max-width: 500px;
}

.steam-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: #0e0e0e;
    font-weight: 700;
    font-size: 0.95em;
    letter-spacing: 0.05em;
    text-decoration: none;
    padding: 13px 28px;
    border-radius: 6px;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.steam-btn img {
    height: 22px;
    width: auto;
    filter: brightness(0);
}

.steam-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 168, 48, 0.3);
}

/* ============================
   UNIVERSE / TIMELINE SECTION
============================ */
#universe {
    padding: 0;
    overflow: hidden;
    /* inherits justify-content: center from .snap-container > * */
}

#universe .content-block {
    overflow-y: auto;
    max-height: 100%;          /* shrinks to content when cards are collapsed, scrolls when expanded */
    padding: 70px 30px 60px;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #3a3a3a transparent;
    -webkit-overflow-scrolling: touch;
}
#universe .content-block::-webkit-scrollbar { width: 4px; }
#universe .content-block::-webkit-scrollbar-thumb { background: #3a3a3a; border-radius: 2px; }

.universe-sub {
    font-size: 0.82em;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin: 0 0 28px;
    text-align: center;
}

/* --- Timeline Container --- */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 20px;
}

.timeline-track {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--accent) 8%,
        var(--accent) 92%,
        transparent 100%
    );
    transform: translateX(-50%);
    opacity: 0.25;
}

/* --- Timeline Item --- */
.timeline-item {
    display: flex;
    justify-content: flex-end;          /* card on the LEFT */
    padding-right: calc(50% + 44px);
    margin-bottom: 52px;
    position: relative;

    /* Start hidden, slide from left */
    opacity: 0;
    transform: translateX(-38px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.timeline-item.from-right {
    justify-content: flex-start;        /* card on the RIGHT */
    padding-right: 0;
    padding-left: calc(50% + 44px);
    transform: translateX(38px);        /* slide from right */
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger each card slightly */
.timeline-item:nth-child(2)  { transition-delay: 0.05s; }
.timeline-item:nth-child(3)  { transition-delay: 0.05s; }
.timeline-item:nth-child(4)  { transition-delay: 0.05s; }
.timeline-item:nth-child(5)  { transition-delay: 0.05s; }
.timeline-item:nth-child(6)  { transition-delay: 0.05s; }

/* --- Dot on the line --- */
.timeline-dot {
    position: absolute;
    left: 50%;
    top: 22px;
    width: 13px;
    height: 13px;
    background: var(--accent);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 14px var(--accent-glow);
    z-index: 2;
    transition: box-shadow 0.3s ease;
}

.timeline-item.featured-entry .timeline-dot {
    width: 17px;
    height: 17px;
    top: 20px;
    box-shadow: 0 0 22px var(--accent-glow);
}

/* --- Card --- */
.timeline-content {
    width: 360px;
    max-width: 100%;
    background: var(--bg2);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item.featured-entry .timeline-content {
    border-color: rgba(240, 168, 48, 0.3);
    animation: featuredPulse 2.8s ease-in-out infinite;
}

@keyframes featuredPulse {
    0%, 100% { box-shadow: 0 0 14px rgba(240, 168, 48, 0.10); }
    50%       { box-shadow: 0 0 38px rgba(240, 168, 48, 0.40); }
}

/* "Out" badge in collapsed header */
.out-badge {
    flex-shrink: 0;
    background: var(--accent);
    color: #0e0e0e;
    font-size: 0.62em;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 4px;
}

/* --- Collapsed header (always visible) --- */
.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    user-select: none;
}

.card-header .t-year {
    flex-shrink: 0;
    margin-bottom: 0;
    font-size: 0.72em;
}

.card-header h3 {
    margin: 0;
    flex: 1;
    font-size: 0.88em;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}

.card-chevron {
    color: var(--text-muted);
    font-size: 0.7em;
    flex-shrink: 0;
    transition: transform 0.35s ease, color 0.25s ease;
}

/* --- Expandable body --- */
.card-expandable {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease;
}

/* Subtle hover highlight (no expand — click to open) */
@media (hover: hover) {
    .timeline-content:hover {
        border-color: rgba(255, 255, 255, 0.1);
    }
    .timeline-item.featured-entry .timeline-content:hover {
        border-color: rgba(240, 168, 48, 0.38);
    }
}

/* Expand on .is-open (toggled by JS click — all devices) */
.timeline-content.is-open .card-expandable {
    max-height: 450px;
}
.timeline-content.is-open .card-chevron {
    transform: rotate(180deg);
    color: var(--accent);
}
.timeline-content.is-open {
    border-color: rgba(255, 255, 255, 0.12);
}
.timeline-item.featured-entry .timeline-content.is-open {
    border-color: rgba(240, 168, 48, 0.45);
    box-shadow: 0 0 36px rgba(240, 168, 48, 0.14);
}

/* --- Card image --- */
.timeline-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111;
    position: relative;
}

.timeline-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.timeline-content.is-open .timeline-img-wrap img {
    transform: scale(1.05);
}

/* Placeholder for unreleased art */
.nightfall-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: rgba(240, 168, 48, 0.15);
    font-size: 3.5em;
    font-weight: 700;
    letter-spacing: 0.2em;
    font-style: italic;
}

/* --- Card text --- */
.timeline-info {
    padding: 16px 18px 20px;
}

.t-year {
    display: inline-block;
    font-size: 0.75em;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.timeline-info h3 {
    margin: 0 0 8px;
    font-size: 1em;
    color: #fff;
    font-weight: 600;
    line-height: 1.3;
}

.timeline-info p {
    margin: 0 0 14px;
    font-size: 0.85em;
    color: var(--text-muted);
    line-height: 1.65;
}

/* Status row: badge on left, Steam icon on right */
.t-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Steam icon in the timeline info area */
.card-steam-icon {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.card-steam-icon img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    display: block;
    opacity: 0.6;
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.card-steam-icon:hover {
    background: var(--accent);
    transform: scale(1.08);
}

.card-steam-icon:hover img {
    filter: brightness(0);
    opacity: 1;
}

/* Steam button inside timeline card */
.t-steam-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    background: var(--accent);
    color: #0e0e0e;
    font-weight: 700;
    font-size: 0.75em;
    letter-spacing: 0.05em;
    text-decoration: none;
    padding: 7px 14px;
    border-radius: 5px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.t-steam-btn img {
    height: 14px;
    width: auto;
    filter: brightness(0);
}

.t-steam-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

/* Status badges */
.t-status {
    display: inline-block;
    font-size: 0.7em;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 4px;
}

.t-status.released {
    background: var(--accent);
    color: #0e0e0e;
}

.t-status.dev {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.t-status.coming {
    background: rgba(240, 168, 48, 0.1);
    color: var(--accent);
    border: 1px solid rgba(240, 168, 48, 0.2);
}

/* ============================
   CONTACT / FOOTER
============================ */
#contact-page {
    padding: 0;
    justify-content: space-between;
    overflow: hidden;
}

/* Subtle amber glow at the bottom of the section */
.contact-bg-glow {
    position: absolute;
    bottom: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 320px;
    background: radial-gradient(ellipse at center, rgba(240, 168, 48, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Two-column grid */
.contact-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 0 60px;
    align-items: center;
    width: 100%;
    max-width: 900px;
    padding: 0 48px;
    box-sizing: border-box;
    flex: 1;
}

/* Vertical divider */
.contact-vdivider {
    width: 1px;
    height: 180px;
    background: linear-gradient(to bottom, transparent, rgba(240, 168, 48, 0.3), transparent);
    align-self: center;
}

/* Left column */
.contact-left {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-right: 8px;
}

/* Right column */
.contact-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 8px;
}

/* Small label above heading */
.contact-label {
    font-size: 0.7em;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    margin: 0 0 14px;
}

.contact-heading {
    font-size: clamp(2.4em, 5.5vw, 3.8em);
    font-weight: 800;
    margin: 0 0 18px;
    letter-spacing: -0.01em;
    color: #fff;
    line-height: 1;
}

.contact-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.contact-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8em;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.contact-meta i {
    color: var(--accent);
    font-size: 0.9em;
    width: 14px;
}

.contact-sub {
    font-size: 0.88em;
    color: #666;
    line-height: 1.7;
    margin: 0;
    max-width: 340px;
}

/* Email button */
.contact-email-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 22px;
    border: 1px solid rgba(240, 168, 48, 0.3);
    border-radius: 8px;
    color: var(--accent);
    font-size: 0.88em;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.03em;
    background: rgba(240, 168, 48, 0.05);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
    align-self: flex-start;
}

.contact-email-btn i { opacity: 0.8; }

.contact-email-btn:hover {
    background: rgba(240, 168, 48, 0.12);
    border-color: rgba(240, 168, 48, 0.6);
    transform: translateY(-2px);
}

/* Social row */
.contact-social-row {
    display: flex;
    gap: 12px;
}

.contact-social-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 1.05em;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.contact-social-btn:hover {
    color: var(--accent);
    border-color: rgba(240, 168, 48, 0.4);
    background: rgba(240, 168, 48, 0.07);
    transform: translateY(-3px);
}

/* Footer bar */
.contact-bar {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.78em;
    color: #3a3a3a;
    box-sizing: border-box;
}

.footer-dot { color: #2a2a2a; }

.privacy-link {
    color: #3a3a3a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.privacy-link:hover { color: var(--accent); }

/* ============================
   PAGE NAVIGATION DOTS
============================ */
#page-dots {
    position: fixed;
    top: 50%;
    right: 28px;
    transform: translateY(-50%);
    z-index: 30;
}

#page-dots ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#page-dots li {
    margin: 16px 0;
}

.dot {
    display: block;
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--accent);
    transform: scale(1.4);
    box-shadow: 0 0 10px var(--accent-glow);
}

/* ============================
   STICKY MINI-LOGO
============================ */
.sticky-logo {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 10px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 40;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.sticky-logo .logo {
    animation: none;
    width: clamp(130px, 25vw, 300px);
    height: auto;
}

.sticky-on .sticky-logo {
    opacity: 1;
}

/* ============================
   KEYFRAMES
============================ */
@keyframes breathe {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.04); }
    100% { transform: scale(1); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================
   UNIVERSE TABS
============================ */
.universe-header {
    text-align: center;
    margin-bottom: 24px;
}

.universe-tabs {
    display: inline-flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 30px;
    padding: 5px;
}

.utab {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.78em;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 7px 20px;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
    white-space: nowrap;
}

.utab:hover {
    color: var(--text);
}

.utab.active {
    background: var(--accent);
    color: #0e0e0e;
}

/* Tab panels */
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ============================
   WARD & WITNESS PANEL
============================ */
.ward-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    text-align: center;
}

.ward-title {
    font-size: clamp(1.8em, 4vw, 3em);
    font-weight: 800;
    margin: 0 0 14px;
    color: #fff;
    letter-spacing: -0.01em;
}

.ward-sub {
    font-size: 0.82em;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0;
}

/* ============================
   ALL GAMES SECTION
============================ */
#all-games {
    padding: 0;
    overflow: hidden;
}

#all-games .content-block {
    overflow-y: auto;
    max-height: 100%;
    padding: 60px 30px 60px;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #3a3a3a transparent;
}
#all-games .content-block::-webkit-scrollbar { width: 4px; }
#all-games .content-block::-webkit-scrollbar-thumb { background: #3a3a3a; border-radius: 2px; }

.all-games-header {
    text-align: center;
    margin-bottom: 36px;
}

.all-games-title {
    font-size: clamp(1.4em, 3vw, 2em);
    font-weight: 700;
    letter-spacing: 0.06em;
    margin: 0 0 8px;
    color: #fff;
}

.all-games-sub {
    font-size: 0.82em;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin: 0;
}

/* ============================
   GAMES GRID
============================ */
.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.game-card {
    background: var(--bg2);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    color: inherit;
    display: block;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.game-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.game-card.featured-card {
    border-color: rgba(240, 168, 48, 0.25);
    animation: featuredPulse 2.8s ease-in-out infinite;
}

.game-card.featured-card:hover {
    border-color: rgba(240, 168, 48, 0.5);
    animation: none;
    box-shadow: 0 8px 28px rgba(240, 168, 48, 0.18);
}

.game-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111;
    position: relative;
}

.game-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.game-card:hover .game-card-img img {
    transform: scale(1.05);
}

.game-card-img.placeholder-img {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: rgba(240, 168, 48, 0.1);
    font-size: 1.8em;
    font-weight: 700;
    font-style: italic;
}

.new-badge {
    position: absolute;
    top: 7px;
    right: 7px;
    background: var(--accent);
    color: #0e0e0e;
    font-size: 0.58em;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 4px;
}

.game-card-info {
    padding: 10px 12px 12px;
}

.game-card-series {
    display: block;
    font-size: 0.62em;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 3px;
    opacity: 0.8;
}

.game-card-title {
    margin: 0 0 9px;
    font-size: 0.82em;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}

.game-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.game-steam-icon {
    font-size: 1em;
    color: var(--text-muted);
    opacity: 0.5;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.game-card:hover .game-steam-icon {
    opacity: 1;
    color: var(--accent);
}

.game-card.tba-card {
    opacity: 0.55;
    border-style: dashed;
}

.game-card.tba-card:hover {
    opacity: 1;
    border-style: solid;
}

.t-status.tba {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.07);
    font-style: italic;
}

/* ============================
   MOBILE  (≤ 768px)
============================ */
@media (max-width: 768px) {

    /* HOME */
    header {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100dvh;
        padding: 20px;
    }

    header .logo {
        max-width: 82vw;
        max-height: 52vh;
        height: auto;
        animation: none;
        transform: translateY(-8%);
    }

    .universe-tagline {
        font-size: 0.7em;
        letter-spacing: 0.28em;
        transform: translateY(-8%);
    }

    /* FEATURED */
    .featured-inner {
        flex-direction: column;
        gap: 22px;
        padding: 0 20px;
        overflow-y: auto;
        max-height: 100dvh;
        justify-content: center;
    }

    .featured-img-wrap {
        width: clamp(180px, 60vw, 280px);
        align-self: center;
    }

    .featured-content {
        text-align: center;
        padding-bottom: 24px;
    }

    .featured-title {
        font-size: 1.75em;
    }

    .featured-description {
        font-size: 0.92em;
    }

    /* UNIVERSE / TIMELINE */
    #universe {
        justify-content: center;
    }

    #universe .content-block {
        padding: 40px 16px 48px;
    }

    .universe-header {
        margin-bottom: 20px;
    }

    .utab {
        font-size: 0.72em;
        padding: 6px 14px;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    #all-games .content-block {
        padding: 40px 16px 48px;
    }

    /* Move the track line to the left edge */
    .timeline-track {
        left: 18px;
        transform: none;
    }

    /* All items go to the right of the left-side line */
    .timeline-item,
    .timeline-item.from-right {
        justify-content: flex-start;
        padding-right: 0;
        padding-left: 48px;
        transform: translateX(-22px);   /* always slide from left on mobile */
    }

    .timeline-item.visible {
        transform: translateX(0);
    }

    .timeline-dot {
        left: 18px;
        transform: translateX(-50%);
    }

    .timeline-item.featured-entry .timeline-dot {
        left: 18px;
    }

    .timeline-content {
        width: 100%;
    }

    /* CONTACT */
    .contact-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 32px 0;
        padding: 40px 24px 24px;
        align-content: center;
    }

    .contact-vdivider {
        width: 60px;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(240, 168, 48, 0.3), transparent);
        justify-self: center;
    }

    .contact-left,
    .contact-right {
        padding: 0;
        align-items: center;
        text-align: center;
    }

    .contact-meta {
        align-items: center;
    }

    .contact-sub {
        text-align: center;
    }

    .contact-email-btn {
        align-self: center;
        font-size: 0.82em;
        padding: 11px 20px;
    }

    .contact-social-row {
        justify-content: center;
    }

    .contact-heading {
        font-size: 2.4em;
    }

    /* DOTS */
    #page-dots { right: 10px; }
    .dot { width: 8px; height: 8px; }
}

/* ============================
   TINY PHONES  (≤ 390px)
============================ */
@media (max-width: 390px) {
    .featured-title { font-size: 1.45em; }
    .featured-description { font-size: 0.86em; }
    .steam-btn { font-size: 0.88em; padding: 11px 22px; }
}
