/* ─────────────────────────────────────────────────────────────────────────────
   Scripting.Codes — Main Stylesheet v2 (Alive Edition)
   ───────────────────────────────────────────────────────────────────────────── */

/* ── CSS Custom Properties ──────────────────────────────────────────────────── */
:root {
    --primary:        #00D4FF;
    --primary-rgb:    0,212,255;
    --primary-dim:    rgba(0,212,255,.1);
    --primary-glow:   rgba(0,212,255,.4);
    --secondary:      #7A5CFF;
    --secondary-rgb:  122,92,255;
    --secondary-dim:  rgba(122,92,255,.1);
    --accent:         #17FF9A;
    --accent-rgb:     23,255,154;
    --accent-dim:     rgba(23,255,154,.1);
    --bg:             #07080D;
    --surface:        #0E1018;
    --surface-2:      #151821;
    --surface-3:      #1D2030;
    --text:           #FFFFFF;
    --text-muted:     #9CA3AF;
    --text-dim:       #4B5563;
    --border:         rgba(255,255,255,0.06);
    --border-glow:    rgba(0,212,255,.25);
    --font-body:      'Inter', system-ui, sans-serif;
    --font-head:      'Space Grotesk', 'Inter', sans-serif;
    --font-mono:      'JetBrains Mono', 'Fira Code', monospace;
    --radius-sm:      6px;
    --radius:         12px;
    --radius-lg:      18px;
    --radius-xl:      26px;
    --nav-h:          72px;
    --container:      1200px;
    --ease-out:       cubic-bezier(0.16,1,0.3,1);
    --ease-in-out:    cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    cursor: auto;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ── Noise / Grain ──────────────────────────────────────────────────────────── */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 99990;
    pointer-events: none;
    opacity: .028;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px;
    animation: noiseAnim 0.5s steps(1) infinite;
}
@keyframes noiseAnim {
    0%   { background-position: 0    0;    }
    10%  { background-position: -5%  -10%; }
    20%  { background-position: -15% 5%;   }
    30%  { background-position: 7%   -25%; }
    40%  { background-position: -5%  25%;  }
    50%  { background-position: -15% 10%;  }
    60%  { background-position: 15%  0;    }
    70%  { background-position: 0    15%;  }
    80%  { background-position: 3%   35%;  }
    90%  { background-position: -10% 10%;  }
    100% { background-position: 0    0;    }
}

/* ── Scanline ───────────────────────────────────────────────────────────────── */
.scanline-overlay {
    position: fixed;
    inset: 0;
    z-index: 99989;
    pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        transparent,
        transparent 2px,
        rgba(0,0,0,.03) 2px,
        rgba(0,0,0,.03) 4px
    );
}

/* ── Ambient Glow Orbs ──────────────────────────────────────────────────────── */
.orb-container {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    animation: orbFloat 20s ease-in-out infinite;
}
.orb--1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(var(--primary-rgb),.07) 0%, transparent 70%);
    top: -10%; left: -10%;
    animation-duration: 25s;
    animation-delay: 0s;
}
.orb--2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(var(--secondary-rgb),.06) 0%, transparent 70%);
    bottom: -5%; right: -5%;
    animation-duration: 30s;
    animation-delay: -10s;
}
.orb--3 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(var(--accent-rgb),.04) 0%, transparent 70%);
    top: 40%; left: 60%;
    animation-duration: 20s;
    animation-delay: -5s;
}
@keyframes orbFloat {
    0%   { opacity: 0;   transform: translate(0,0) scale(1);        }
    10%  { opacity: 1; }
    50%  { transform: translate(30px,-40px) scale(1.1); }
    90%  { opacity: 1; }
    100% { opacity: 0;   transform: translate(0,0) scale(1);        }
}

/* ── Utility ────────────────────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 1.5rem;
}
.section    { padding-block: 6rem;  position: relative; }
.section--lg{ padding-block: 8rem;  position: relative; }
.section--sm{ padding-block: 3.5rem; position: relative; }

/* ── Gradient Text ──────────────────────────────────────────────────────────── */
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gradient-text--accent {
    background: linear-gradient(135deg, var(--accent) 20%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Tags ───────────────────────────────────────────────────────────────────── */
.tag {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .375rem .875rem;
    border-radius: 100px;
    border: 1px solid;
}
.tag--primary { color: var(--primary); border-color: rgba(var(--primary-rgb),.2); background: rgba(var(--primary-rgb),.06); }
.tag--accent  { color: var(--accent);  border-color: rgba(var(--accent-rgb),.2);  background: rgba(var(--accent-rgb),.06); }
.tag--purple  { color: var(--secondary); border-color: rgba(var(--secondary-rgb),.2); background: rgba(var(--secondary-rgb),.06); }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 {
    font-family: var(--font-head);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.025em;
    margin-bottom: 1rem;
}
.section-header p { color: var(--text-muted); font-size: 1.0625rem; max-width: 560px; margin-inline: auto; }

/* ── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.625rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: .9375rem;
    transition: all .3s var(--ease-out);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    letter-spacing: -.01em;
}
/* Shimmer effect on all buttons */
.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
    transform: skewX(-20deg);
    transition: left .6s var(--ease-out);
}
.btn:hover::before { left: 160%; }

.btn--primary {
    background: linear-gradient(135deg, var(--primary) 0%, #0095b3 100%);
    color: #000;
    font-weight: 800;
    box-shadow: 0 0 25px rgba(var(--primary-rgb),.35), 0 4px 15px rgba(0,0,0,.3);
}
.btn--primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 50px rgba(var(--primary-rgb),.55), 0 10px 30px rgba(0,0,0,.4);
}
.btn--secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, #5a3fcc 100%);
    color: #fff;
    box-shadow: 0 0 25px rgba(var(--secondary-rgb),.3), 0 4px 15px rgba(0,0,0,.3);
}
.btn--secondary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 50px rgba(var(--secondary-rgb),.5), 0 10px 30px rgba(0,0,0,.4);
}
.btn--ghost {
    background: rgba(255,255,255,.03);
    color: var(--text);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
}
.btn--ghost:hover {
    border-color: rgba(var(--primary-rgb),.4);
    background: rgba(var(--primary-rgb),.06);
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(var(--primary-rgb),.1);
}
.btn--accent {
    background: linear-gradient(135deg, var(--accent) 0%, #0fa86a 100%);
    color: #000;
    font-weight: 800;
    box-shadow: 0 0 25px rgba(var(--accent-rgb),.3);
}
.btn--accent:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 50px rgba(var(--accent-rgb),.5);
}
.btn--sm { padding: .5rem 1.1rem; font-size: .85rem; border-radius: var(--radius-sm); }
.btn--lg { padding: .9rem 2.25rem; font-size: 1rem; border-radius: var(--radius-lg); letter-spacing: -.02em; }

/* ── Logo Mark ──────────────────────────────────────────────────────────────── */
.logo-mark {
    display: flex;
    align-items: center;
    gap: 1px;
    font-family: 'Space Grotesk', monospace;
    font-weight: 800;
    font-size: 1.7rem;
    line-height: 1;
    user-select: none;
}
.logo-mark--sm  { font-size: 1.3rem; }
.logo-mark--lg  { font-size: 2.4rem; }
.logo-mark--xl  { font-size: 4rem; }
.logo-mark--hero{ font-size: 5.5rem; }

.logo-mark__bracket {
    background: linear-gradient(160deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(var(--primary-rgb),.6));
    transition: filter .3s, transform .4s var(--ease-out);
    display: inline-block;
    animation: bracketBreathe 5s ease-in-out infinite;
}
.logo-mark__bracket--right { animation-delay: -2.5s; }
.logo-mark:hover .logo-mark__bracket--left  { transform: translateX(-5px) scaleX(1.05); filter: drop-shadow(0 0 22px rgba(var(--primary-rgb),1)) drop-shadow(0 0 40px rgba(var(--primary-rgb),.5)); }
.logo-mark:hover .logo-mark__bracket--right { transform: translateX(5px)  scaleX(1.05); filter: drop-shadow(0 0 22px rgba(var(--secondary-rgb),1)) drop-shadow(0 0 40px rgba(var(--secondary-rgb),.5)); }

@keyframes bracketBreathe {
    0%,100% { filter: drop-shadow(0 0 8px rgba(var(--primary-rgb),.5)); }
    50%      { filter: drop-shadow(0 0 18px rgba(var(--primary-rgb),.95)) drop-shadow(0 0 35px rgba(var(--primary-rgb),.3)); }
}

.logo-mark__eyes {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-inline: 4px;
    position: relative;
}
.logo-mark__eyes canvas { position: absolute; inset: 0; pointer-events: none; }

.logo-mark__eye {
    width: .38em;
    height: .38em;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.7) 0%, var(--primary) 40%, var(--secondary) 100%);
    box-shadow: 0 0 8px rgba(var(--primary-rgb),.8), 0 0 20px rgba(var(--primary-rgb),.4);
    animation: eyePulse 3s ease-in-out infinite;
    display: block;
    transition: transform .15s, box-shadow .15s;
    will-change: transform;
    position: relative;
    z-index: 1;
}
.logo-mark__eye:last-child { animation-delay: .5s; background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.6) 0%, var(--secondary) 40%, var(--primary) 100%); }
.logo-mark:hover .logo-mark__eye {
    box-shadow: 0 0 14px rgba(var(--primary-rgb),1), 0 0 30px rgba(var(--primary-rgb),.6), 0 0 60px rgba(var(--primary-rgb),.3);
}

@keyframes eyePulse {
    0%,100% { box-shadow: 0 0 8px rgba(var(--primary-rgb),.8), 0 0 20px rgba(var(--primary-rgb),.3); opacity: 1; transform: scale(1); }
    25%      { box-shadow: 0 0 12px rgba(var(--primary-rgb),.9), 0 0 28px rgba(var(--primary-rgb),.4); opacity: .95; }
    50%      { box-shadow: 0 0 16px rgba(var(--primary-rgb),1), 0 0 40px rgba(var(--primary-rgb),.55), 0 0 70px rgba(var(--primary-rgb),.2); opacity: .85; transform: scale(1.12); }
    75%      { box-shadow: 0 0 10px rgba(var(--primary-rgb),.85), 0 0 24px rgba(var(--primary-rgb),.35); }
}

.logo-text {
    font-family: var(--font-head);
    font-size: 1.0625rem;
    font-weight: 800;
    letter-spacing: -.02em;
    margin-left: .6rem;
    white-space: nowrap;
}
.logo-text__primary   { color: var(--text); }
.logo-text__dot       { color: var(--primary); text-shadow: 0 0 12px var(--primary); }
.logo-text__secondary { color: var(--primary); }

/* ── Navigation ─────────────────────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    transition: all .4s var(--ease-in-out);
}
.nav.scrolled {
    background: rgba(7,8,13,.88);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 40px rgba(0,0,0,.5), 0 0 0 1px rgba(var(--primary-rgb),.03);
}
.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.nav__logo { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.nav__links { display: flex; align-items: center; gap: .25rem; }
.nav__link {
    padding: .5rem .9rem;
    border-radius: var(--radius-sm);
    font-size: .875rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all .25s var(--ease-out);
    position: relative;
    letter-spacing: -.01em;
}
.nav__link::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 16px; height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: transform .25s var(--ease-out), box-shadow .25s;
    box-shadow: 0 0 0 rgba(var(--primary-rgb),0);
}
.nav__link:hover, .nav__link.active {
    color: var(--text);
    background: rgba(255,255,255,.04);
}
.nav__link:hover::after, .nav__link.active::after {
    transform: translateX(-50%) scaleX(1);
    box-shadow: 0 0 8px rgba(var(--primary-rgb),.6);
}
.nav__actions { display: flex; align-items: center; gap: .875rem; }

/* Hamburger */
.nav__hamburger { display: none; flex-direction: column; gap: 5px; width: 32px; padding: 4px; }
.nav__hamburger span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all .3s var(--ease-out);
    transform-origin: center;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--primary); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--primary); }

.nav__mobile {
    display: none;
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(7,8,13,.97);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    transform: translateY(-8px);
    opacity: 0;
    transition: all .3s var(--ease-out);
    pointer-events: none;
}
.nav__mobile.open { transform: translateY(0); opacity: 1; pointer-events: all; }
.nav__mobile-links { display: flex; flex-direction: column; gap: .25rem; }
.nav__mobile-links a {
    display: block;
    padding: .875rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all .25s;
    border-left: 2px solid transparent;
}
.nav__mobile-links a:hover { color: var(--text); background: rgba(255,255,255,.04); border-left-color: var(--primary); padding-left: 1.25rem; }

/* ── Hero ───────────────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-h);
    overflow: hidden;
    background: radial-gradient(ellipse 100% 80% at 50% -10%, rgba(var(--primary-rgb),.05) 0%, transparent 60%);
}
#heroCanvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%; height: 100%;
}
.hero__grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(var(--primary-rgb),.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--primary-rgb),.04) 1px, transparent 1px);
    background-size: 80px 80px;
    z-index: 1;
    mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, black 20%, transparent 100%);
    animation: gridShift 20s linear infinite;
}
@keyframes gridShift {
    from { background-position: 0 0; }
    to   { background-position: 80px 80px; }
}

.hero__vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(ellipse 100% 100% at 50% 50%, transparent 40%, rgba(7,8,13,.7) 100%);
}

/* ── Hero Rotating Rings ─────────────────────────────────────────────────────── */
.hero__rings {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
}
.hero__ring {
    position: absolute;
    border-radius: 50%;
}
.hero__ring--1 {
    width: 720px; height: 720px;
    border: 1px solid rgba(var(--primary-rgb),.07);
    animation: ringRotate 50s linear infinite;
}
.hero__ring--1::before {
    content: '';
    position: absolute;
    top: -3px; left: 20%;
    width: 60%; height: 6px;
    border-radius: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    box-shadow: 0 0 20px var(--primary), 0 0 50px rgba(var(--primary-rgb),.5), 0 0 80px rgba(var(--primary-rgb),.2);
}
.hero__ring--2 {
    width: 520px; height: 520px;
    border: 1px solid rgba(var(--secondary-rgb),.09);
    animation: ringRotate 32s linear infinite reverse;
}
.hero__ring--2::before {
    content: '';
    position: absolute;
    right: -3px; top: 25%;
    width: 6px; height: 50%;
    border-radius: 3px;
    background: linear-gradient(180deg, transparent, var(--secondary), transparent);
    box-shadow: 0 0 20px var(--secondary), 0 0 50px rgba(var(--secondary-rgb),.5);
}
.hero__ring--3 {
    width: 360px; height: 360px;
    border: 1px solid rgba(var(--accent-rgb),.07);
    animation: ringRotate 22s linear infinite;
}
.hero__ring--3::before {
    content: '';
    position: absolute;
    bottom: -3px; left: 55%;
    width: 35%; height: 6px;
    border-radius: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    box-shadow: 0 0 15px var(--accent), 0 0 35px rgba(var(--accent-rgb),.4);
}
@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 940px;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 2rem;
    padding: .45rem 1.1rem;
    border: 1px solid rgba(var(--primary-rgb),.2);
    border-radius: 100px;
    background: rgba(var(--primary-rgb),.06);
    backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(var(--primary-rgb),.1), inset 0 0 20px rgba(var(--primary-rgb),.03);
    opacity: 0;
    animation: fadeSlideDown .8s var(--ease-out) .3s forwards;
}
.hero__eyebrow-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
    animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1;box-shadow:0 0 8px var(--primary)} 50%{opacity:.3;box-shadow:0 0 3px var(--primary)} }

.hero__title {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 6.5vw, 5rem);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -.035em;
    margin-bottom: 1.75rem;
}
.hero__title .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(60px) rotate(3deg);
    animation: wordReveal .8s var(--ease-out) forwards;
}
.hero__title .word:nth-child(1) { animation-delay: .5s; }
.hero__title .word:nth-child(2) { animation-delay: .65s; }
.hero__title .word:nth-child(3) { animation-delay: .8s; }
.hero__title .word:nth-child(4) { animation-delay: .95s; }
.hero__title .word:nth-child(5) { animation-delay: 1.1s; }
.hero__title .word:nth-child(6) { animation-delay: 1.25s; }
.hero__title .line-break { display: block; height: 0; }
@keyframes wordReveal {
    to { opacity: 1; transform: translateY(0) rotate(0deg); }
}

.hero__subtitle {
    font-size: clamp(.9375rem, 2vw, 1.1875rem);
    color: var(--text-muted);
    max-width: 580px;
    margin-inline: auto;
    margin-bottom: 2.75rem;
    line-height: 1.75;
    opacity: 0;
    animation: fadeSlideUp .8s var(--ease-out) 1.4s forwards;
}
.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 5rem;
    opacity: 0;
    animation: fadeSlideUp .8s var(--ease-out) 1.6s forwards;
}

/* Hero decorative line */
.hero__divider {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb),.3), transparent);
    z-index: 3;
}

.hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    color: var(--text-dim);
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    z-index: 3;
    opacity: 0;
    animation: fadeSlideUp .8s var(--ease-out) 2s forwards;
}
.hero__scroll-bar {
    width: 1px; height: 50px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scrollPulse 2.5s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%,100% { opacity: .4; height: 50px; }
    50%      { opacity: 1;  height: 65px; }
}

/* ── Hero logo aura ─────────────────────────────────────────────────────────── */
.hero__logo-aura {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 260px; height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-rgb),.12) 0%, rgba(var(--secondary-rgb),.06) 50%, transparent 70%);
    pointer-events: none;
    animation: auraPulse 4s ease-in-out infinite;
    filter: blur(8px);
}
@keyframes auraPulse {
    0%,100% { transform: translate(-50%,-50%) scale(1);    opacity: .7; }
    50%      { transform: translate(-50%,-50%) scale(1.25); opacity: 1; }
}

/* ── Common animations ──────────────────────────────────────────────────────── */
@keyframes fadeSlideUp   { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fadeSlideDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn        { from { opacity: 0; } to { opacity: 1; } }

/* ── Identity Strip (replaces stats bar) ────────────────────────────────────── */
.identity-strip {
    position: relative;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding-block: 3.5rem;
    overflow: hidden;
}
.identity-strip__flow {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(var(--primary-rgb),.025) 50%, transparent 100%);
    animation: shimmerBar 5s linear infinite;
    pointer-events: none;
}
@keyframes shimmerBar { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

.identity-strip__grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 2rem;
    text-align: center;
}
.identity-stat { position: relative; }
.identity-stat + .identity-stat::before {
    content: '';
    position: absolute;
    left: 0; top: 15%; bottom: 15%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--border), transparent);
}
.identity-stat__number {
    font-family: var(--font-head);
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: .5rem;
    letter-spacing: -.04em;
}
.identity-stat__number small {
    font-size: .45em;
    font-weight: 700;
    vertical-align: middle;
    opacity: .7;
}
.identity-stat__label {
    font-size: .8rem;
    color: var(--text);
    font-weight: 700;
    letter-spacing: .02em;
    margin-bottom: .25rem;
}
.identity-stat__sub {
    font-size: .72rem;
    color: var(--text-dim);
    letter-spacing: .04em;
}

/* ── Game Reveal Section ────────────────────────────────────────────────────── */
.game-reveal-section {
    position: relative;
    padding-block: 8rem;
    overflow: hidden;
}
.game-reveal__atmosphere {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 70% at 15% 50%, rgba(var(--secondary-rgb),.07) 0%, transparent 60%),
        radial-gradient(ellipse 60% 60% at 85% 30%, rgba(var(--primary-rgb),.06) 0%, transparent 60%),
        radial-gradient(ellipse 40% 50% at 50% 100%, rgba(var(--accent-rgb),.03) 0%, transparent 60%);
    pointer-events: none;
}
.game-reveal__atmosphere::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='52'%3E%3Cpath d='M0 26L15 0h30L60 26 45 52H15z' fill='none' stroke='rgba(0,212,255,0.03)' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 60px 52px;
}

.game-reveal {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 5rem;
    align-items: center;
}

/* Emblem + mini orbital rings */
.game-reveal__emblem {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    max-width: 460px;
    margin-inline: auto;
}
.game-reveal__ring {
    position: absolute;
    border-radius: 50%;
}
.game-reveal__ring--1 {
    inset: 0;
    border: 1px solid rgba(var(--primary-rgb),.08);
    animation: ringRotate 42s linear infinite;
}
.game-reveal__ring--1::before {
    content: '';
    position: absolute;
    top: -3px; left: 15%;
    width: 50%; height: 6px;
    border-radius: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    box-shadow: 0 0 18px var(--primary), 0 0 40px rgba(var(--primary-rgb),.5);
}
.game-reveal__ring--2 {
    inset: 12%;
    border: 1px solid rgba(var(--secondary-rgb),.1);
    animation: ringRotate 26s linear infinite reverse;
}
.game-reveal__ring--2::before {
    content: '';
    position: absolute;
    right: -3px; top: 20%;
    width: 6px; height: 60%;
    border-radius: 3px;
    background: linear-gradient(180deg, transparent, var(--secondary), transparent);
    box-shadow: 0 0 18px var(--secondary), 0 0 40px rgba(var(--secondary-rgb),.5);
}
.game-reveal__ring--3 {
    inset: 26%;
    border: 1px solid rgba(var(--accent-rgb),.07);
    animation: ringRotate 18s linear infinite;
}
.game-reveal__logo-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.game-reveal__logo-aura {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-rgb),.15) 0%, rgba(var(--secondary-rgb),.08) 50%, transparent 70%);
    filter: blur(12px);
    animation: auraPulse 4s ease-in-out infinite;
    pointer-events: none;
}

/* Info side */
.game-reveal__name {
    font-family: var(--font-head);
    font-size: clamp(4.5rem, 10vw, 8.5rem);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: .9;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,.55) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: block;
}
.game-reveal__tagline {
    font-family: var(--font-head);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(var(--primary-rgb),.4);
}
.game-reveal__desc {
    color: var(--text-muted);
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 520px;
}
.game-reveal__specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .625rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255,255,255,.02);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.game-reveal__spec {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}
.game-reveal__spec-label {
    font-size: .68rem;
    font-weight: 700;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: .1em;
}
.game-reveal__spec-value {
    font-size: .9rem;
    font-weight: 600;
    color: var(--text);
}

/* ── Manifesto Section ──────────────────────────────────────────────────────── */
.manifesto-section {
    padding-block: 7rem;
    background: var(--surface);
    border-top: 1px solid var(--border);
}
.manifesto-header {
    text-align: center;
    margin-bottom: 5rem;
}
.manifesto-header h2 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.03em;
    margin-top: .75rem;
}
.manifesto-list {
    max-width: 860px;
    margin-inline: auto;
}
.manifesto-item {
    display: grid;
    grid-template-columns: 4.5rem 1fr auto;
    gap: 2.5rem;
    align-items: start;
    padding: 3rem 0;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: padding-left .4s var(--ease-out), background .3s;
}
.manifesto-item:first-child { border-top: 1px solid var(--border); }
.manifesto-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform .5s var(--ease-out);
}
.manifesto-item:hover { padding-left: 1.5rem; background: rgba(255,255,255,.01); }
.manifesto-item:hover::before { transform: scaleY(1); }
.manifesto-item__num {
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255,255,255,.04);
    line-height: 1;
    letter-spacing: -.04em;
    transition: color .35s;
    padding-top: .25rem;
    white-space: nowrap;
}
.manifesto-item:hover .manifesto-item__num { color: rgba(var(--primary-rgb),.18); }
.manifesto-item__body h3 {
    font-family: var(--font-head);
    font-size: 1.3125rem;
    font-weight: 800;
    margin-bottom: .75rem;
    letter-spacing: -.02em;
    line-height: 1.2;
    transition: color .3s;
}
.manifesto-item:hover .manifesto-item__body h3 { color: var(--primary); }
.manifesto-item__body p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: .9625rem;
}
.manifesto-item__icon {
    font-size: 2rem;
    opacity: .25;
    transition: opacity .35s, transform .35s var(--ease-out);
    padding-top: .25rem;
    flex-shrink: 0;
}
.manifesto-item:hover .manifesto-item__icon { opacity: .9; transform: scale(1.15) rotate(-5deg); }

/* ── Tech Stack Section ─────────────────────────────────────────────────────── */
.stack-section {
    position: relative;
    overflow: hidden;
}
.stack-section__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(var(--primary-rgb),.04) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 20% 80%, rgba(var(--secondary-rgb),.04) 0%, transparent 60%);
    pointer-events: none;
}
.stack-header {
    text-align: center;
    margin-bottom: 4rem;
}
.stack-header h2 {
    font-family: var(--font-head);
    font-size: clamp(1.875rem, 4vw, 2.875rem);
    font-weight: 900;
    letter-spacing: -.03em;
    line-height: 1.1;
    margin-top: .75rem;
}
.stack-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .875rem;
    max-width: 900px;
    margin-inline: auto;
}
.stack-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.375rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all .3s var(--ease-out);
    position: relative;
    overflow: hidden;
}
.stack-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--sc, var(--primary));
    box-shadow: 0 0 10px var(--sc, var(--primary)), 0 0 20px rgba(0,0,0,.3);
    transition: width .3s var(--ease-out);
}
.stack-item:hover {
    transform: translateX(6px);
    border-color: rgba(255,255,255,.1);
    background: var(--surface-2);
    box-shadow: 0 8px 30px rgba(0,0,0,.3);
}
.stack-item:hover::before { width: 4px; }
.stack-item__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-2);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: all .3s;
}
.stack-item:hover .stack-item__icon {
    background: rgba(var(--primary-rgb),.08);
    border-color: rgba(var(--primary-rgb),.2);
    transform: scale(1.08);
}
.stack-item__text { flex: 1; min-width: 0; }
.stack-item__name {
    font-family: var(--font-head);
    font-size: .9375rem;
    font-weight: 700;
    letter-spacing: -.01em;
    margin-bottom: .2rem;
    transition: color .3s;
}
.stack-item:hover .stack-item__name { color: var(--sc, var(--primary)); }
.stack-item__desc {
    font-size: .78rem;
    color: var(--text-dim);
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.stack-item__bar { display: none; }

/* ── Grand CTA ──────────────────────────────────────────────────────────────── */
.grand-cta {
    position: relative;
    padding-block: 10rem;
    text-align: center;
    overflow: hidden;
    background: var(--bg);
}
.grand-cta__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 70% at 50% 50%, rgba(var(--primary-rgb),.07) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(var(--secondary-rgb),.05) 0%, transparent 60%),
        radial-gradient(ellipse 40% 50% at 80% 20%, rgba(var(--accent-rgb),.04) 0%, transparent 60%);
    pointer-events: none;
}
.grand-cta__rings {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.grand-cta__ring {
    position: absolute;
    border-radius: 50%;
}
.grand-cta__ring.r1 {
    width: 700px; height: 700px;
    border: 1px solid rgba(var(--primary-rgb),.05);
    animation: ringRotate 60s linear infinite;
}
.grand-cta__ring.r1::before {
    content: '';
    position: absolute;
    top: -2px; left: 30%;
    width: 40%; height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb),.6), transparent);
    box-shadow: 0 0 12px rgba(var(--primary-rgb),.4);
}
.grand-cta__ring.r2 {
    width: 480px; height: 480px;
    border: 1px solid rgba(var(--secondary-rgb),.06);
    animation: ringRotate 40s linear infinite reverse;
}
.grand-cta__inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin-inline: auto;
}
.grand-cta__title {
    font-family: var(--font-head);
    font-size: clamp(2.25rem, 5.5vw, 4rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -.04em;
    margin-bottom: 1.25rem;
}
.grand-cta__sub {
    font-size: 1.0625rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2.75rem;
    max-width: 520px;
    margin-inline: auto;
}
.grand-cta__actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ── Cards ──────────────────────────────────────────────────────────────────── */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: border-color .3s, box-shadow .3s;
}
/* Spotlight effect (JS-driven, set via --x --y) */
.card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        circle 180px at var(--mx,50%) var(--my,50%),
        rgba(var(--primary-rgb),.07),
        transparent 70%
    );
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}
.card:hover::after { opacity: 1; }
.card:hover {
    border-color: rgba(var(--primary-rgb),.18);
    box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(var(--primary-rgb),.06);
}
/* Animated gradient border on featured cards */
.card--featured {
    background: linear-gradient(var(--surface), var(--surface)) padding-box,
                linear-gradient(135deg, rgba(var(--primary-rgb),.3), rgba(var(--secondary-rgb),.3)) border-box;
    border: 1px solid transparent;
}
.card--featured:hover {
    background: linear-gradient(var(--surface-2), var(--surface-2)) padding-box,
                linear-gradient(135deg, var(--primary), var(--secondary)) border-box;
    box-shadow: 0 0 40px rgba(var(--primary-rgb),.12), 0 20px 60px rgba(0,0,0,.5);
}
.card--glass {
    background: rgba(14,16,24,.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.card__icon {
    width: 54px; height: 54px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    background: var(--surface-2);
    border: 1px solid var(--border);
    transition: all .3s var(--ease-out);
}
.card:hover .card__icon {
    transform: scale(1.1) rotate(-5deg);
    border-color: rgba(var(--primary-rgb),.3);
    background: rgba(var(--primary-rgb),.08);
    box-shadow: 0 0 20px rgba(var(--primary-rgb),.15);
}
.card__icon--primary   { background: rgba(var(--primary-rgb),.08);   border-color: rgba(var(--primary-rgb),.2); }
.card__icon--secondary { background: rgba(var(--secondary-rgb),.08); border-color: rgba(var(--secondary-rgb),.2); }
.card__icon--accent    { background: rgba(var(--accent-rgb),.08);    border-color: rgba(var(--accent-rgb),.2); }

.card h3 { font-family: var(--font-head); font-size: 1.125rem; font-weight: 700; margin-bottom: .625rem; letter-spacing: -.015em; }
.card p  { color: var(--text-muted); font-size: .9375rem; line-height: 1.7; }

/* ── Grid Layouts ───────────────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }

/* ── Featured Game ──────────────────────────────────────────────────────────── */
.featured-game {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 520px;
    transition: border-color .4s, box-shadow .4s;
}
.featured-game:hover {
    border-color: rgba(var(--primary-rgb),.2);
    box-shadow: 0 0 60px rgba(var(--primary-rgb),.08), 0 30px 80px rgba(0,0,0,.5);
}
.featured-game__visual {
    position: relative;
    background: linear-gradient(135deg, #08091220, #0d1020);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 420px;
}
/* Animated hex grid background */
.featured-game__visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(var(--secondary-rgb),.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(var(--primary-rgb),.1) 0%, transparent 50%);
    animation: visualPulse 6s ease-in-out infinite;
}
@keyframes visualPulse {
    0%,100% { opacity: .7; }
    50%      { opacity: 1; }
}
.featured-game__visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='52'%3E%3Cpath d='M0 26L15 0h30L60 26 45 52H15z' fill='none' stroke='rgba(0,212,255,0.04)' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 60px 52px;
    opacity: .6;
}
.game-logo-display {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
}
.game-logo-display .logo-mark { justify-content: center; margin-bottom: 1.25rem; }
.game-logo-display h2 {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -.04em;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,.5) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.game-logo-display p {
    color: var(--primary);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-top: .5rem;
    text-shadow: 0 0 12px rgba(var(--primary-rgb),.5);
}
.featured-game__content { padding: 3.5rem; display: flex; flex-direction: column; justify-content: center; }
.featured-game__content h3 {
    font-family: var(--font-head);
    font-size: 1.875rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.15;
    letter-spacing: -.03em;
}
.featured-game__content p { color: var(--text-muted); margin-bottom: 1.75rem; line-height: 1.75; font-size: 1rem; }

.feature-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    padding: .4rem .9rem;
    border-radius: 100px;
    font-size: .8rem;
    font-weight: 600;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: all .25s var(--ease-out);
    letter-spacing: -.01em;
}
.feature-pill svg { width: 13px; height: 13px; }
.feature-pill:hover { border-color: rgba(var(--primary-rgb),.3); color: var(--primary); background: rgba(var(--primary-rgb),.06); transform: translateY(-1px); }

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .9rem;
    border-radius: 100px;
    font-size: .75rem;
    font-weight: 700;
    background: rgba(var(--accent-rgb),.08);
    border: 1px solid rgba(var(--accent-rgb),.25);
    color: var(--accent);
    margin-bottom: 1rem;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.status-badge::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    animation: blink 1.5s infinite;
}

/* ── Philosophy & Focus ─────────────────────────────────────────────────────── */
.philosophy-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }

.focus-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.focus-item {
    background: var(--surface);
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    transition: background .3s;
    position: relative;
    overflow: hidden;
}
.focus-item::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform .4s var(--ease-out);
    transform-origin: left;
}
.focus-item:hover { background: var(--surface-2); }
.focus-item:hover::before { transform: scaleX(1); }
.focus-item__icon  { font-size: 2rem; }
.focus-item__title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; letter-spacing: -.015em; }
.focus-item__desc  { font-size: .875rem; color: var(--text-muted); line-height: 1.65; }

/* ── News Cards ─────────────────────────────────────────────────────────────── */
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.news-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all .35s var(--ease-out);
    display: flex;
    flex-direction: column;
    position: relative;
}
.news-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle 200px at var(--mx,50%) var(--my,50%), rgba(var(--primary-rgb),.05), transparent 70%);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
    z-index: 0;
}
.news-card:hover::before { opacity: 1; }
.news-card:hover {
    border-color: rgba(var(--primary-rgb),.2);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 0 1px rgba(var(--primary-rgb),.08);
}
.news-card__thumb {
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
}
.news-card__thumb-tag {
    position: absolute;
    bottom: .75rem; left: .75rem;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--tc, var(--primary));
    background: rgba(7,8,13,.75);
    border: 1px solid rgba(255,255,255,.08);
    padding: .25rem .6rem;
    border-radius: 100px;
    backdrop-filter: blur(8px);
    z-index: 1;
    --tag-c: var(--primary);
    color: var(--tag-c);
}
.news-card__thumb-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    transition: transform .4s var(--ease-out);
}
.news-card:hover .news-card__thumb-inner { transform: scale(1.08); }
.news-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; position: relative; z-index: 1; }
.news-card__cat {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: .625rem;
}
.news-card__title {
    font-family: var(--font-head);
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: .625rem;
    transition: color .25s;
    letter-spacing: -.015em;
}
.news-card:hover .news-card__title { color: var(--primary); }
.news-card__excerpt { font-size: .875rem; color: var(--text-muted); line-height: 1.7; flex: 1; margin-bottom: 1.25rem; }
.news-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: .8rem;
    color: var(--text-dim);
}
.news-card__meta a { color: var(--primary); font-weight: 600; transition: opacity .2s; }
.news-card__meta a:hover { opacity: .75; }

/* ── CTA Section ────────────────────────────────────────────────────────────── */
.cta-section { position: relative; text-align: center; overflow: hidden; }
.cta-section__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 50%, rgba(var(--primary-rgb),.06) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(var(--secondary-rgb),.04) 0%, transparent 60%);
}
.cta-section__inner { position: relative; z-index: 1; max-width: 700px; margin-inline: auto; }
.cta-section h2 {
    font-family: var(--font-head);
    font-size: clamp(1.75rem, 4vw, 3.25rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -.03em;
}
.cta-section p { color: var(--text-muted); font-size: 1.0625rem; margin-bottom: 2.5rem; }
.cta-section__actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ── Page Hero ──────────────────────────────────────────────────────────────── */
.page-hero {
    padding-top: calc(var(--nav-h) + 5rem);
    padding-bottom: 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 50% 0%, rgba(var(--primary-rgb),.08) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 80% 50%, rgba(var(--secondary-rgb),.04) 0%, transparent 60%);
    z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 5.5vw, 4rem);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 1.25rem;
    letter-spacing: -.035em;
}
.page-hero p { font-size: 1.125rem; color: var(--text-muted); max-width: 580px; margin-inline: auto; line-height: 1.75; }

/* ── Timeline ───────────────────────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary) 60%, transparent);
    box-shadow: 0 0 8px rgba(var(--primary-rgb),.3);
}
.timeline-item { position: relative; padding-bottom: 3rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.4rem;
    top: .375rem;
    width: 11px; height: 11px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid var(--bg);
    box-shadow: 0 0 12px rgba(var(--primary-rgb),.6);
    transition: box-shadow .3s;
}
.timeline-item:hover::before { box-shadow: 0 0 20px rgba(var(--primary-rgb),.9); }
.timeline-item__date { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); margin-bottom: .375rem; }
.timeline-item__title { font-family: var(--font-head); font-size: 1.125rem; font-weight: 700; margin-bottom: .5rem; letter-spacing: -.015em; }
.timeline-item__desc { font-size: .9rem; color: var(--text-muted); line-height: 1.7; }

/* ── Team Grid ──────────────────────────────────────────────────────────────── */
.team-grid  { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.team-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all .35s var(--ease-out);
    position: relative;
    overflow: hidden;
}
.team-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity .4s;
}
.team-card:hover { border-color: rgba(var(--primary-rgb),.2); transform: translateY(-6px); }
.team-card:hover::before { opacity: 1; }
.team-card__avatar {
    width: 92px; height: 92px;
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    background: var(--surface-2);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: border-color .3s, box-shadow .3s;
}
.team-card:hover .team-card__avatar { border-color: rgba(var(--primary-rgb),.4); box-shadow: 0 0 25px rgba(var(--primary-rgb),.2); }
.team-card__name { font-family: var(--font-head); font-size: 1.0625rem; font-weight: 700; margin-bottom: .25rem; letter-spacing: -.015em; }
.team-card__role { font-size: .8rem; color: var(--primary); font-weight: 700; margin-bottom: .75rem; letter-spacing: .05em; text-transform: uppercase; }
.team-card__bio  { font-size: .875rem; color: var(--text-muted); line-height: 1.7; }

/* ── Values ─────────────────────────────────────────────────────────────────── */
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.value-card {
    padding: 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all .35s var(--ease-out);
    position: relative;
    overflow: hidden;
}
.value-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform .4s var(--ease-out);
}
.value-card:hover { border-color: rgba(var(--primary-rgb),.18); transform: translateY(-4px); box-shadow: 0 15px 40px rgba(0,0,0,.4); }
.value-card:hover::after { transform: scaleX(1); }
.value-card__icon { font-size: 2.25rem; margin-bottom: 1rem; display: block; }
.value-card h3 { font-family: var(--font-head); font-size: 1.0625rem; font-weight: 700; margin-bottom: .5rem; }
.value-card p  { font-size: .9rem; color: var(--text-muted); line-height: 1.7; }

/* ── Games Page ─────────────────────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }
.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    transition: all .35s var(--ease-out);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(var(--primary-rgb),.08), transparent 70%);
    opacity: 0;
    transition: opacity .3s;
}
.feature-card:hover { border-color: rgba(var(--primary-rgb),.2); transform: translateY(-6px); background: var(--surface-2); }
.feature-card:hover::before { opacity: 1; }
.feature-card__icon { font-size: 2.25rem; margin-bottom: .875rem; display: block; transition: transform .3s var(--ease-out); }
.feature-card:hover .feature-card__icon { transform: scale(1.15) rotate(-5deg); }
.feature-card h3 { font-family: var(--font-head); font-size: .9375rem; font-weight: 700; margin-bottom: .5rem; }
.feature-card p  { font-size: .875rem; color: var(--text-muted); line-height: 1.65; }

/* Roadmap */
.roadmap { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; }
.roadmap::before {
    content: '';
    position: absolute;
    top: 2.5rem; left: 12.5%; right: 12.5%;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    z-index: 0;
    box-shadow: 0 0 12px rgba(var(--primary-rgb),.4);
}
.roadmap-phase { padding: 1.5rem; text-align: center; position: relative; z-index: 1; }
.roadmap-phase__dot {
    width: 52px; height: 52px;
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: .9375rem;
    font-family: var(--font-head);
    transition: box-shadow .3s;
}
.roadmap-phase__dot--done     { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; box-shadow: 0 0 20px rgba(var(--primary-rgb),.4); }
.roadmap-phase__dot--active   { background: var(--surface-2); border: 2px solid var(--primary); color: var(--primary); animation: phasePulse 2s ease-in-out infinite; }
.roadmap-phase__dot--upcoming { background: var(--surface-2); border: 2px solid var(--border); color: var(--text-dim); }
@keyframes phasePulse { 0%,100% { box-shadow: 0 0 15px rgba(var(--primary-rgb),.3); } 50% { box-shadow: 0 0 35px rgba(var(--primary-rgb),.7); } }
.roadmap-phase__label { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .375rem; }
.roadmap-phase__title { font-family: var(--font-head); font-size: .9375rem; font-weight: 700; margin-bottom: .5rem; }
.roadmap-phase__items { font-size: .8125rem; color: var(--text-muted); line-height: 1.75; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.gallery-item {
    aspect-ratio: 16/9;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all .35s var(--ease-out);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: .5rem;
    font-size: 2.5rem;
}
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(var(--primary-rgb),.04);
    opacity: 0;
    transition: opacity .3s;
}
.gallery-item:hover { border-color: rgba(var(--primary-rgb),.3); transform: scale(1.03); box-shadow: 0 0 30px rgba(var(--primary-rgb),.15); z-index: 2; }
.gallery-item:hover::after { opacity: 1; }
.gallery-item:first-child { grid-column: span 2; grid-row: span 2; font-size: 4rem; }

/* FAQ */
.faq-list { max-width: 720px; margin-inline: auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: .75rem; overflow: hidden; transition: border-color .3s; }
.faq-item.open { border-color: rgba(var(--primary-rgb),.3); box-shadow: 0 0 20px rgba(var(--primary-rgb),.06); }
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    text-align: left;
    background: var(--surface);
    color: var(--text);
    font-size: .9375rem;
    font-weight: 600;
    transition: background .25s;
    gap: 1rem;
    letter-spacing: -.01em;
    cursor: pointer;
}
.faq-question:hover { background: var(--surface-2); }
.faq-chevron { width: 20px; height: 20px; flex-shrink: 0; transition: transform .35s var(--ease-out); color: var(--primary); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(0.4,0,0.2,1); }
.faq-answer-inner { padding: 0 1.5rem 1.25rem; color: var(--text-muted); font-size: .9rem; line-height: 1.75; background: var(--surface); }

/* ── News Page ──────────────────────────────────────────────────────────────── */
.news-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 440px;
    transition: border-color .4s, box-shadow .4s;
}
.news-featured:hover { border-color: rgba(var(--primary-rgb),.2); box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.news-featured__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    position: relative;
    overflow: hidden;
    min-height: 300px;
}
.news-featured__visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(var(--primary-rgb),.1), transparent 70%);
}
.news-featured__content { padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
.news-featured__content h2 {
    font-family: var(--font-head);
    font-size: 1.625rem;
    font-weight: 800;
    margin-bottom: .875rem;
    line-height: 1.25;
    letter-spacing: -.025em;
}
.news-featured__content h2 a:hover { color: var(--primary); }
.news-featured__content p { color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.75; }
.news-cats { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.news-section-title {
    font-family: var(--font-head);
    font-size: 1.375rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -.02em;
    display: flex;
    align-items: center;
    gap: .875rem;
}
.news-section-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ── Contact ────────────────────────────────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start; }
.contact-info__item { display: flex; gap: 1.25rem; margin-bottom: 2rem; }
.contact-info__icon {
    width: 48px; height: 48px;
    flex-shrink: 0;
    border-radius: var(--radius);
    background: rgba(var(--primary-rgb),.08);
    border: 1px solid rgba(var(--primary-rgb),.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all .3s;
}
.contact-info__item:hover .contact-info__icon { background: rgba(var(--primary-rgb),.15); box-shadow: 0 0 20px rgba(var(--primary-rgb),.2); }
.contact-info__label { font-size: .75rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .25rem; }
.contact-info__value { font-size: .9375rem; font-weight: 500; }
.contact-info__value a { color: var(--primary); transition: opacity .2s; }
.contact-info__value a:hover { opacity: .75; }

.form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form label { font-size: .8125rem; font-weight: 700; color: var(--text-muted); letter-spacing: .02em; }
.form input, .form textarea, .form select {
    width: 100%;
    padding: .875rem 1.125rem;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: .9375rem;
    transition: border-color .25s, box-shadow .25s, background .25s;
    outline: none;
    -webkit-appearance: none;
}
.form input:focus, .form textarea:focus, .form select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb),.1), 0 0 20px rgba(var(--primary-rgb),.08);
    background: var(--surface-3);
}
.form input::placeholder, .form textarea::placeholder { color: var(--text-dim); }
.form textarea { resize: vertical; min-height: 140px; }
.form-success {
    padding: 1.25rem 1.5rem;
    background: rgba(var(--accent-rgb),.08);
    border: 1px solid rgba(var(--accent-rgb),.25);
    border-radius: var(--radius);
    color: var(--accent);
    font-size: .9375rem;
}
.csrf-field { display: none; }

/* ── Divider ─────────────────────────────────────────────────────────────────── */
.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border) 30%, var(--border) 70%, transparent);
    margin-block: 5rem;
}

/* ── Footer ──────────────────────────────────────────────────────────────────── */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding-top: 5rem;
    padding-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
}
.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(var(--primary-rgb),.03), transparent 70%);
    pointer-events: none;
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    position: relative;
}
.footer__tagline { font-size: .9rem; color: var(--text-muted); line-height: 1.7; max-width: 280px; margin-bottom: 1.5rem; }
.footer__socials { display: flex; gap: .75rem; }
.footer__social {
    width: 38px; height: 38px;
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all .25s var(--ease-out);
}
.footer__social svg { width: 16px; height: 16px; }
.footer__social:hover {
    border-color: rgba(var(--primary-rgb),.3);
    color: var(--primary);
    background: rgba(var(--primary-rgb),.06);
    transform: translateY(-3px);
    box-shadow: 0 0 16px rgba(var(--primary-rgb),.2);
}
.footer__heading { font-family: var(--font-head); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.25rem; }
.footer__list { display: flex; flex-direction: column; gap: .5rem; }
.footer__list a { font-size: .875rem; color: var(--text-muted); transition: all .25s; display: inline-flex; align-items: center; gap: .375rem; }
.footer__list a:hover { color: var(--primary); transform: translateX(4px); }
.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 1rem;
}
.footer__copy { font-size: .8125rem; color: var(--text-dim); }
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a { font-size: .8125rem; color: var(--text-dim); transition: color .25s; }
.footer__legal a:hover { color: var(--text-muted); }

/* ── Scroll Reveal ───────────────────────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .75s var(--ease-out), transform .75s var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal--left  { transform: translateX(-32px) translateY(0); }
.reveal--right { transform: translateX(32px)  translateY(0); }
.reveal--left.in-view, .reveal--right.in-view { transform: translateX(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── Post / Blog ─────────────────────────────────────────────────────────────── */
.post-content { max-width: 760px; margin-inline: auto; }
.post-content h1 { font-family: var(--font-head); font-size: clamp(1.75rem,4vw,2.75rem); font-weight: 900; line-height: 1.15; margin-bottom: 1.5rem; letter-spacing: -.03em; }
.post-content h2 { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; margin: 2.5rem 0 1rem; letter-spacing: -.02em; }
.post-content h3 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; margin: 2rem 0 .75rem; color: var(--primary); }
.post-content p  { color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.85; }
.post-content ul { list-style: disc; padding-left: 1.5rem; color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.8; }
.post-content ul li { margin-bottom: .5rem; }
.post-content ol { list-style: decimal; padding-left: 1.5rem; color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.8; }
.post-meta { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); font-size: .875rem; color: var(--text-dim); }
.post-back { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; color: var(--text-muted); margin-bottom: 2.5rem; transition: all .25s; }
.post-back:hover { color: var(--primary); transform: translateX(-4px); }

/* ── Careers Box ─────────────────────────────────────────────────────────────── */
.careers-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.careers-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(var(--secondary-rgb),.07), transparent 60%);
}
.careers-box h2 { font-family: var(--font-head); font-size: 2rem; font-weight: 900; margin-bottom: 1rem; letter-spacing: -.03em; position: relative; }
.careers-box p  { color: var(--text-muted); max-width: 560px; margin: 0 auto 2rem; line-height: 1.75; position: relative; }

/* ── Glitch Effect ───────────────────────────────────────────────────────────── */
.glitch {
    position: relative;
}
.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    background: transparent;
}
.glitch::before {
    color: var(--primary);
    animation: glitch1 4s infinite;
    clip-path: polygon(0 20%,100% 20%,100% 40%,0 40%);
    transform: translateX(-2px);
    opacity: 0;
}
.glitch::after {
    color: var(--secondary);
    animation: glitch2 4s infinite;
    clip-path: polygon(0 60%,100% 60%,100% 80%,0 80%);
    transform: translateX(2px);
    opacity: 0;
}
@keyframes glitch1 {
    0%,94%,100% { opacity:0; transform:translateX(-2px); }
    95%  { opacity:.6; transform:translateX(-4px) skewX(-5deg); clip-path:polygon(0 15%,100% 15%,100% 35%,0 35%); }
    97%  { transform:translateX(4px); clip-path:polygon(0 65%,100% 65%,100% 85%,0 85%); }
    99%  { transform:translateX(-2px); }
}
@keyframes glitch2 {
    0%,96%,100% { opacity:0; transform:translateX(2px); }
    97%  { opacity:.5; transform:translateX(4px) skewX(5deg); clip-path:polygon(0 55%,100% 55%,100% 75%,0 75%); }
    99%  { transform:translateX(-3px); clip-path:polygon(0 25%,100% 25%,100% 45%,0 45%); }
}

/* ── Ticker Strip ────────────────────────────────────────────────────────────── */
.ticker {
    background: linear-gradient(135deg, rgba(var(--primary-rgb),.06), rgba(var(--secondary-rgb),.06));
    border-top: 1px solid rgba(var(--primary-rgb),.1);
    border-bottom: 1px solid rgba(var(--primary-rgb),.1);
    padding-block: .75rem;
    overflow: hidden;
    white-space: nowrap;
}
.ticker__track {
    display: inline-flex;
    align-items: center;
    gap: 3rem;
    animation: tickerScroll 30s linear infinite;
}
.ticker__track:hover { animation-play-state: paused; }
.ticker__item {
    display: inline-flex;
    align-items: center;
    gap: .625rem;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
}
.ticker__item span { color: var(--primary); font-size: .65rem; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .grid-4                    { grid-template-columns: repeat(2,1fr); }
    .features-grid             { grid-template-columns: repeat(2,1fr); }
    .focus-grid                { grid-template-columns: repeat(2,1fr); }
    .footer__grid              { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .identity-strip__grid      { grid-template-columns: repeat(2,1fr); }
    .roadmap                   { grid-template-columns: repeat(2,1fr); }
    .roadmap::before           { display: none; }
    .gallery                   { grid-template-columns: repeat(2,1fr); }
    .gallery-item:first-child  { grid-column: span 1; grid-row: span 1; }
    .game-reveal               { grid-template-columns: 1fr; gap: 3rem; }
    .game-reveal__emblem       { max-width: 340px; aspect-ratio: 1; width: 100%; }
    .game-reveal-section       { padding-block: 5rem; }
    .manifesto-item            { grid-template-columns: 3rem 1fr auto; gap: 1.5rem; }
    .stack-grid                { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    :root { --nav-h: 64px; }
    .identity-strip__grid { grid-template-columns: 1fr 1fr; }
    .manifesto-item { grid-template-columns: 3rem 1fr; gap: 1.25rem; }
    .manifesto-item__icon { display: none; }
    .game-reveal { grid-template-columns: 1fr; gap: 2.5rem; }
    .game-reveal__emblem { max-width: 280px; }
    .game-reveal-section { padding-block: 4rem; }
    .grand-cta { padding-block: 6rem; }
    .section      { padding-block: 4rem; }
    .section--lg  { padding-block: 5rem; }
    .nav__links   { display: none; }
    .nav__hamburger { display: flex; }
    .nav__mobile  { display: block; }
    .grid-3        { grid-template-columns: 1fr; }
    .grid-2        { grid-template-columns: 1fr; }
    .philosophy-grid  { grid-template-columns: 1fr; }
    .featured-game    { grid-template-columns: 1fr; }
    .featured-game__content { padding: 2rem; }
    .news-grid        { grid-template-columns: 1fr; }
    .news-featured    { grid-template-columns: 1fr; }
    .news-featured__content { padding: 2rem; }
    .news-archive-grid{ grid-template-columns: 1fr; }
    .contact-layout   { grid-template-columns: 1fr; gap: 2.5rem; }
    .team-grid        { grid-template-columns: 1fr 1fr; }
    .values-grid      { grid-template-columns: 1fr 1fr; }
    .form-row         { grid-template-columns: 1fr; }
    .features-grid    { grid-template-columns: 1fr 1fr; }
    .focus-grid       { grid-template-columns: 1fr; }
    .roadmap          { grid-template-columns: 1fr 1fr; }
    .footer__grid     { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .careers-box      { padding: 2.5rem 1.5rem; }
    .hero__actions    { flex-direction: column; align-items: center; }
    .hero__title      { font-size: clamp(2rem,8vw,3.5rem); }
}
@media (max-width: 480px) {
    .team-grid    { grid-template-columns: 1fr; }
    .values-grid  { grid-template-columns: 1fr; }
    .features-grid{ grid-template-columns: 1fr; }
    .roadmap      { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
    .stats-bar__grid { grid-template-columns: 1fr 1fr; }
    .gallery      { grid-template-columns: 1fr; }
}

/* ── v4 — Super Seasoner ─────────────────────────────────────────────────────── */

/* Logo clip fix — line-height: 1 cuts {/} descenders at 2.2rem */
.nav__logo .logo-mark    { line-height: 1.18; padding-bottom: 2px; overflow: visible; }
.nav__logo               { overflow: visible; }
.nav__inner              { overflow: visible; }

/* Dual ambient cursor glow */
.cursor-ambient {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
    opacity: 0;
    transition: opacity .7s;
    z-index: 1;
}
.cursor-ambient--1 {
    width: 500px; height: 500px;
    top: -250px; left: -250px;
    background: radial-gradient(circle, rgba(var(--primary-rgb),.055) 0%, transparent 65%);
}
.cursor-ambient--2 {
    width: 850px; height: 850px;
    top: -425px; left: -425px;
    background: radial-gradient(circle, rgba(var(--secondary-rgb),.03) 0%, transparent 65%);
}

/* Animated gradient text — live shimmer */
@keyframes gradientFlow {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 35%, var(--primary) 65%, var(--accent) 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 6s ease infinite;
}
.gradient-text--accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 40%, var(--secondary) 70%, var(--accent) 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 5s ease infinite;
}

/* Hero vertical beacon */
@keyframes beaconPulse {
    0%,100% { opacity: .45; }
    50%      { opacity: 1; }
}
.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 1px; height: 65vh;
    background: linear-gradient(to bottom, rgba(var(--primary-rgb),.55), rgba(var(--primary-rgb),.06) 70%, transparent);
    box-shadow: 0 0 80px 55px rgba(var(--primary-rgb),.03);
    pointer-events: none;
    z-index: 0;
    animation: beaconPulse 5s ease-in-out infinite;
}

/* Glowing top edge on key sections */
.identity-strip::before,
.manifesto-section::before,
.stack-section::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), var(--primary), transparent);
    opacity: .22;
    pointer-events: none;
    z-index: 1;
    animation: shimmerBar 5s linear infinite;
}

/* Bump ambient orb intensity */
.orb--1 { background: radial-gradient(circle, rgba(var(--primary-rgb),.1)   0%, transparent 70%); }
.orb--2 { background: radial-gradient(circle, rgba(var(--secondary-rgb),.09) 0%, transparent 70%); }
.orb--3 { background: radial-gradient(circle, rgba(var(--accent-rgb),.07)    0%, transparent 70%); }

/* Ticker separator colours */
.ticker__item:nth-child(4n+1) > span { color: var(--primary); }
.ticker__item:nth-child(4n+2) > span { color: var(--secondary); }
.ticker__item:nth-child(4n+3) > span { color: var(--accent); }
.ticker__item:nth-child(4n)   > span { color: var(--primary); }

/* Active nav link gets primary colour */
.nav__link.active { color: var(--primary); }
.nav__link:hover  { background: rgba(var(--primary-rgb),.05); }

/* Section headers — slightly bigger */
.section-header h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); }

/* Page hero h1 — more cinematic */
.page-hero h1 { font-size: clamp(2.75rem, 7vw, 5rem); }

/* RELICTS name — animated shimmer */
.game-reveal__name {
    background: linear-gradient(135deg, #ffffff 0%, rgba(var(--primary-rgb),.9) 25%, #ffffff 50%, rgba(var(--secondary-rgb),.75) 75%, #ffffff 100%);
    background-size: 250% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 7s ease infinite;
}

/* Stack status indicator dot */
.stack-item::after {
    content: '';
    position: absolute;
    top: .875rem; right: .875rem;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--sc, var(--primary));
    box-shadow: 0 0 6px var(--sc, var(--primary));
    opacity: 0;
    transition: opacity .3s;
}
.stack-item:hover::after { opacity: .75; animation: blink 1.5s ease-in-out infinite; }

/* Manifesto numbers — gradient reveal on hover */
.manifesto-item:hover .manifesto-item__num,
.manifesto-item[data-accent="primary"]:hover .manifesto-item__num {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.manifesto-item[data-accent="secondary"]:hover .manifesto-item__num {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.manifesto-item[data-accent="accent"]:hover .manifesto-item__num {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* News card tag accent coloured per category */
.news-card__thumb-tag { font-weight: 700; }

/* Feature card — glowing top edge on hover */
.feature-card::after {
    content: '';
    position: absolute;
    top: 0; left: 20%; right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity .4s, left .4s var(--ease-out), right .4s var(--ease-out);
}
.feature-card:hover::after { opacity: .7; left: 5%; right: 5%; }

/* Grand CTA button — deeper glow on hover */
.btn--primary:hover {
    box-shadow: 0 0 60px rgba(var(--primary-rgb),.7), 0 0 120px rgba(var(--primary-rgb),.18), 0 10px 30px rgba(0,0,0,.4) !important;
}
.btn--secondary:hover {
    box-shadow: 0 0 60px rgba(var(--secondary-rgb),.65), 0 0 100px rgba(var(--secondary-rgb),.15), 0 10px 30px rgba(0,0,0,.4) !important;
}

/* ── v3 — Navigation Icons + Slide Bar + Logo ───────────────────────────────── */
.nav__link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}
.nav__link-icon {
    width: 13px; height: 13px;
    flex-shrink: 0;
    opacity: .35;
    transition: opacity .25s, color .25s, transform .3s var(--ease-out);
    color: var(--text-muted);
}
.nav__link:hover .nav__link-icon,
.nav__link.active .nav__link-icon {
    opacity: 1;
    color: var(--primary);
    transform: translateY(-1px) scale(1.1);
}
.nav__logo .logo-mark { font-size: 2.2rem; }
.nav__logo .logo-text { font-size: 1.1875rem; }

.nav__links-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.nav__slide-bar {
    position: absolute;
    bottom: 2px; left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    box-shadow: 0 0 10px var(--primary), 0 0 25px rgba(var(--primary-rgb),.25);
    width: 0; opacity: 0;
    transition: left .18s var(--ease-out), width .18s var(--ease-out), opacity .15s;
    pointer-events: none;
}
.nav__slide-bar.vis { opacity: 1; }

/* "Play" button continuous glow pulse */
@keyframes navCtaPulse {
    0%,100% { box-shadow: 0 0 18px rgba(var(--primary-rgb),.35), 0 4px 15px rgba(0,0,0,.3); }
    50%      { box-shadow: 0 0 40px rgba(var(--primary-rgb),.7), 0 0 80px rgba(var(--primary-rgb),.15), 0 4px 15px rgba(0,0,0,.3); }
}
.nav__actions .btn--primary { animation: navCtaPulse 3s ease-in-out infinite; }
.nav__actions .btn--primary:hover { animation: none; }

/* Mobile menu icon alignment */
.nav__mobile-links a {
    display: flex;
    align-items: center;
    gap: .625rem;
}
.nav__mobile-links .nav__link-icon { width: 15px; height: 15px; opacity: .5; flex-shrink: 0; }

/* ── v3 — Manifesto — Slide-left reveal + per-accent colours ────────────────── */
.manifesto-section { overflow: hidden; }

.manifesto-item.reveal {
    transform: translateX(-35px);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.manifesto-item.reveal.in-view { transform: none; }

.manifesto-item[data-accent="secondary"]::before {
    background: linear-gradient(to bottom, var(--secondary), var(--primary));
}
.manifesto-item[data-accent="secondary"]:hover .manifesto-item__num  { color: rgba(var(--secondary-rgb),.18); }
.manifesto-item[data-accent="secondary"]:hover .manifesto-item__body h3 { color: var(--secondary); }

.manifesto-item[data-accent="accent"]::before {
    background: linear-gradient(to bottom, var(--accent), var(--primary));
}
.manifesto-item[data-accent="accent"]:hover .manifesto-item__num  { color: rgba(var(--accent-rgb),.18); }
.manifesto-item[data-accent="accent"]:hover .manifesto-item__body h3 { color: var(--accent); }

/* Larger section numbers */
.manifesto-item__num { font-size: 4rem; }

/* Ghost watermark behind list */
.manifesto-section::after {
    content: 'BUILD';
    position: absolute;
    bottom: -1.5rem; right: -1rem;
    font-family: var(--font-head);
    font-size: clamp(7rem,14vw,15rem);
    font-weight: 900;
    color: rgba(255,255,255,.013);
    letter-spacing: -.06em;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}
.manifesto-list { position: relative; z-index: 1; }
.manifesto-header { position: relative; z-index: 1; }

/* ── v3 — Stack — Staggered bar reveal animation ────────────────────────────── */
@keyframes barReveal { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.stack-item::before { transform-origin: top; }
.stack-grid:not(.in-view) .stack-item::before { transform: scaleY(0); }
.stack-grid.in-view .stack-item:nth-child(1)::before { animation: barReveal .55s .05s var(--ease-out) both; }
.stack-grid.in-view .stack-item:nth-child(2)::before { animation: barReveal .55s .15s var(--ease-out) both; }
.stack-grid.in-view .stack-item:nth-child(3)::before { animation: barReveal .55s .25s var(--ease-out) both; }
.stack-grid.in-view .stack-item:nth-child(4)::before { animation: barReveal .55s .35s var(--ease-out) both; }
.stack-grid.in-view .stack-item:nth-child(5)::before { animation: barReveal .55s .45s var(--ease-out) both; }
.stack-grid.in-view .stack-item:nth-child(6)::before { animation: barReveal .55s .55s var(--ease-out) both; }

/* ── v3 — News Card Thumbnail Improvements ──────────────────────────────────── */
/* Bigger icon */
.news-card__thumb-inner { font-size: 4.5rem; }

/* Scanline grain on thumbnail */
.news-card__thumb-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(0,0,0,.06) 3px,
        rgba(0,0,0,.06) 4px
    );
    pointer-events: none;
}

/* Live pulse dot */
.news-card__thumb::before {
    content: '';
    position: absolute;
    bottom: .7rem; right: .7rem;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary), 0 0 16px rgba(var(--primary-rgb),.4);
    z-index: 3;
    animation: blink 2s ease-in-out infinite;
}

/* Bottom vignette blending into card body */
.news-card__thumb::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 55%;
    background: linear-gradient(to top, var(--surface), transparent);
    z-index: 2;
    pointer-events: none;
}

/* ── v3 — Page Hero Rings + Canvas ──────────────────────────────────────────── */
.ph-rings {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
}
.ph-ring { position: absolute; border-radius: 50%; }
.ph-ring--1 {
    width: 620px; height: 620px;
    border: 1px solid rgba(var(--primary-rgb), .055);
    animation: ringRotate 52s linear infinite;
}
.ph-ring--1::before {
    content: '';
    position: absolute;
    top: -3px; left: 22%;
    width: 45%; height: 6px;
    border-radius: 3px;
    background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb),.5), transparent);
    box-shadow: 0 0 16px rgba(var(--primary-rgb),.4), 0 0 40px rgba(var(--primary-rgb),.12);
}
.ph-ring--2 {
    width: 440px; height: 440px;
    border: 1px solid rgba(var(--secondary-rgb), .06);
    animation: ringRotate 33s linear infinite reverse;
}
.ph-ring--2::before {
    content: '';
    position: absolute;
    right: -3px; top: 25%;
    width: 6px; height: 50%;
    border-radius: 3px;
    background: linear-gradient(180deg, transparent, rgba(var(--secondary-rgb),.5), transparent);
    box-shadow: 0 0 14px rgba(var(--secondary-rgb),.4);
}
.ph-ring--3 {
    width: 280px; height: 280px;
    border: 1px solid rgba(var(--accent-rgb), .04);
    animation: ringRotate 20s linear infinite;
}
.phCanvas {
    position: absolute;
    inset: 0; width: 100%; height: 100%;
    pointer-events: none;
    opacity: .4;
    z-index: 0;
}

/* ── v3 — Responsive extras ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .nav__logo .logo-mark { font-size: 2rem; }
}
@media (max-width: 768px) {
    .nav__logo .logo-mark { font-size: 1.9rem; }
    .nav__logo .logo-text { font-size: 1rem; }
    .ph-ring--1 { width: 88vw; height: 88vw; }
    .ph-ring--2 { width: 63vw; height: 63vw; }
    .ph-ring--3 { width: 40vw; height: 40vw; }
    .manifesto-item__num { font-size: 2.75rem; }
    .manifesto-section::after { display: none; }
}
