/* ============================================================
   TACTILITE · Eloori Interactive — shared stylesheet
   Evolved gold / navy system + motion
   ============================================================ */

:root {
  /* surfaces */
  --bg:        #090b11;
  --bg-2:      #0c0f17;
  --panel:     #131826;
  --panel-2:   #171d2e;
  --panel-3:   #1d2438;
  --line:      #262d42;
  --line-soft: #1b2133;

  /* brand */
  --gold:        #e8c14a;
  --gold-bright: #ffd96a;
  --gold-deep:   #b98e2b;
  --cyan:        #4cd4ff;
  --cyan-deep:   #1f9fd6;
  --red:         #ff5d5d;
  --green:       #5fd991;

  /* text */
  --text:    #e9eef8;
  --muted:   #9aa6bd;
  --muted-2: #69748c;

  --maxw: 1180px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Barlow', system-ui, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ambient background field */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 78% -8%, rgba(232,193,74,.10), transparent 60%),
    radial-gradient(820px 620px at 8% 12%, rgba(76,212,255,.07), transparent 60%),
    linear-gradient(180deg, #0a0d14 0%, #090b11 60%, #07090e 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 80%);
}

h1, h2, h3, h4, h5,
.display { font-family: 'Rajdhani', sans-serif; font-weight: 700; line-height: 1.05; letter-spacing: .5px; }

a { color: inherit; }
img { display: block; max-width: 100%; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* gold text */
.gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.cyan { color: var(--cyan); }

/* ----------------------------------------------------------------
   BUTTONS
---------------------------------------------------------------- */
.btn {
  --b: 0;
  display: inline-flex; align-items: center; gap: 11px;
  padding: 15px 28px;
  font-family: 'Rajdhani', sans-serif; font-weight: 700;
  font-size: 1.02rem; letter-spacing: 1.2px; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent; border-radius: 10px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 22px; height: 22px; }
.btn:hover { transform: translateY(-3px); }

.btn-primary {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold) 60%, var(--gold-deep));
  color: #1a1407;
  box-shadow: 0 10px 26px -10px rgba(232,193,74,.7), inset 0 1px 0 rgba(255,255,255,.4);
}
.btn-primary:hover { box-shadow: 0 16px 40px -10px rgba(232,193,74,.85), inset 0 1px 0 rgba(255,255,255,.5); }

.btn-ghost {
  background: rgba(255,255,255,.03);
  border-color: var(--line);
  color: var(--text);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); box-shadow: 0 0 0 1px rgba(232,193,74,.25), 0 14px 30px -16px rgba(232,193,74,.5); }

.btn-steam {
  background: linear-gradient(135deg, #1b2838, #2a475e);
  color: #fff; border-color: #3a7ca8;
}
.btn-steam:hover { border-color: var(--cyan); box-shadow: 0 14px 34px -14px rgba(76,212,255,.6); }

.btn-sm { padding: 10px 18px; font-size: .9rem; gap: 8px; }
.btn-sm svg { width: 18px; height: 18px; }

/* ----------------------------------------------------------------
   NAV
---------------------------------------------------------------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background .35s var(--ease), border-color .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
  background: rgba(9,11,17,.82);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 10px 40px -20px rgba(0,0,0,.9);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 26px; transition: padding .35s var(--ease);
}
.site-nav.scrolled .nav-inner { padding: 11px 26px; }

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(232,193,74,.4)); }
.brand b { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 1.18rem; letter-spacing: 2px; color: #fff; }
.brand b span { color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative; text-decoration: none; color: var(--muted);
  font-family: 'Rajdhani', sans-serif; font-weight: 600; font-size: 1rem;
  letter-spacing: .8px; text-transform: uppercase;
  padding: 8px 13px; border-radius: 8px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease); border-radius: 2px;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: var(--gold-bright); }
.nav-links a.active::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; align-items: center; gap: 8px; font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: .95rem; }
.lang-switch a { color: var(--muted-2); text-decoration: none; transition: color .2s; }
.lang-switch a:hover { color: var(--cyan); }
.lang-switch a.active { color: var(--gold); }
.lang-switch i { color: var(--line); font-style: normal; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  background: rgba(255,255,255,.03); border-radius: 9px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--text); transition: .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------------------------------------------
   HERO
---------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; padding: 120px 20px 90px;
}
.hero-bg {
  position: absolute; inset: -8% -4% -4%; z-index: 0;
  background-size: cover; background-position: center 30%;
  will-change: transform;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 50% 22%, rgba(9,11,17,.18), rgba(9,11,17,.62) 60%, var(--bg) 100%),
    linear-gradient(180deg, rgba(9,11,17,.45) 0%, rgba(9,11,17,.12) 34%, rgba(9,11,17,.8) 86%, var(--bg) 100%);
}
.hero-grain { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle at 50% 120%, rgba(232,193,74,.14), transparent 55%); }

.hero-content { position: relative; z-index: 2; max-width: 1000px; }

.update-badge {
  display: flex; width: fit-content;
  align-items: center; gap: 11px;
  padding: 8px 16px 8px 13px; margin: 0 auto 26px;
  background: rgba(19,24,38,.7); border: 1px solid var(--line);
  border-radius: 100px; text-decoration: none;
  font-size: .82rem; letter-spacing: .6px; color: var(--muted);
  backdrop-filter: blur(8px);
  transition: border-color .25s, transform .25s, color .25s;
}
.update-badge:hover { border-color: var(--gold); color: #fff; transform: translateY(-2px); }
.update-badge b { color: var(--gold-bright); font-family: 'Rajdhani'; letter-spacing: 1px; }
.update-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(95,217,145,.6); animation: pulse 2.4s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(95,217,145,.55); }
  70% { box-shadow: 0 0 0 9px rgba(95,217,145,0); }
  100% { box-shadow: 0 0 0 0 rgba(95,217,145,0); }
}
.update-badge .arrow { color: var(--muted-2); transition: transform .25s; }
.update-badge:hover .arrow { transform: translateX(3px); color: var(--gold); }

.hero-eyebrow {
  display: flex; width: fit-content; margin: 0 auto 18px;
  align-items: center; gap: 14px;
  font-family: 'Rajdhani'; font-weight: 600; letter-spacing: 4px; text-transform: uppercase;
  font-size: .92rem; color: var(--gold);
}
.hero-eyebrow::before, .hero-eyebrow::after { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.hero-eyebrow::after { background: linear-gradient(90deg, var(--gold), transparent); }

.hero-title {
  font-size: clamp(3.4rem, 11vw, 8.2rem); font-weight: 700; letter-spacing: 2px;
  line-height: .92; margin-bottom: 22px; position: relative;
  background: linear-gradient(178deg, #fff4d2 4%, var(--gold-bright) 40%, var(--gold) 66%, var(--gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 30px rgba(232,193,74,.28));
}
.hero-hook {
  font-family: 'Rajdhani'; font-weight: 600;
  font-size: clamp(1.25rem, 2.7vw, 1.95rem); color: #fff; line-height: 1.25;
  max-width: 760px; margin: 0 auto 16px; text-wrap: balance;
}
.hero-hook b { color: var(--gold-bright); font-weight: 700; }
.hero-sub { font-size: 1.08rem; color: var(--muted); max-width: 620px; margin: 0 auto 38px; text-wrap: pretty; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.hero-meta {
  margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center;
  font-size: .9rem; color: var(--muted-2); font-family: 'Rajdhani'; font-weight: 600; letter-spacing: .8px;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .tick { color: var(--green); }

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--muted-2); font-size: .72rem; letter-spacing: 2px; text-transform: uppercase;
}
.scroll-cue .mouse { width: 24px; height: 38px; border: 2px solid var(--line); border-radius: 13px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 7px; background: var(--gold); border-radius: 3px; animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* ----------------------------------------------------------------
   STATS BAND
---------------------------------------------------------------- */
.stats-band {
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(19,24,38,.5), rgba(9,11,17,.2));
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 18px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 26%; bottom: 26%; width: 1px;
  background: linear-gradient(180deg, transparent, var(--line), transparent); }
.stat .num { font-family: 'Rajdhani'; font-weight: 700; font-size: clamp(2.2rem, 4vw, 3.1rem); line-height: 1; }
.stat .lbl { font-family: 'Rajdhani'; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  font-size: .82rem; color: var(--muted-2); margin-top: 8px; }

/* ----------------------------------------------------------------
   SECTIONS / HEADINGS
---------------------------------------------------------------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; scroll-margin-top: 76px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head.left { text-align: left; margin-left: 0; }
.kicker {
  display: inline-block; font-family: 'Rajdhani'; font-weight: 600;
  letter-spacing: 4px; text-transform: uppercase; font-size: .82rem;
  color: var(--gold); margin-bottom: 14px;
}
.kicker.cyan { color: var(--cyan); }
.section-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); color: #fff; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.08rem; text-wrap: pretty; }

/* generic card grid utility */
.grid { display: grid; gap: 20px; }

/* ----------------------------------------------------------------
   FEATURE PILLARS
---------------------------------------------------------------- */
.features { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.feature {
  position: relative; padding: 30px 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line); overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.feature::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--cyan)); opacity: .5; transition: opacity .35s; }
.feature:hover { transform: translateY(-7px); border-color: var(--line); box-shadow: 0 26px 50px -28px rgba(0,0,0,.85); }
.feature:hover::before { opacity: 1; }
.feature .ic {
  width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; font-size: 1.5rem;
  background: rgba(232,193,74,.1); border: 1px solid rgba(232,193,74,.25); margin-bottom: 18px;
}
.feature h3 { color: #fff; font-size: 1.32rem; margin-bottom: 10px; letter-spacing: .5px; }
.feature p { color: var(--muted); font-size: .98rem; }

/* ----------------------------------------------------------------
   GALLERY
---------------------------------------------------------------- */
.gallery-main {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--panel);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); cursor: zoom-in;
  aspect-ratio: 16 / 10;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-main:hover img { transform: scale(1.03); }
.gallery-main .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 24px 18px;
  background: linear-gradient(0deg, rgba(7,9,14,.92), transparent);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 14px;
}
.gallery-main .cap b { font-family: 'Rajdhani'; font-size: 1.3rem; color: #fff; letter-spacing: .5px; }
.gallery-main .cap .expand { font-size: .8rem; color: var(--gold); letter-spacing: 1.5px; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 7px; }
.gallery-main .counter {
  position: absolute; top: 16px; right: 16px; padding: 6px 12px; border-radius: 100px;
  background: rgba(7,9,14,.7); border: 1px solid var(--line); backdrop-filter: blur(6px);
  font-family: 'Rajdhani'; font-weight: 600; font-size: .85rem; letter-spacing: 1px; color: var(--muted);
}
.gallery-main .counter b { color: var(--gold); }

.gallery-strip { display: flex; gap: 12px; margin-top: 16px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.gallery-strip::-webkit-scrollbar { height: 7px; }
.gallery-strip::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.thumb {
  flex: 0 0 150px; aspect-ratio: 16/10; border-radius: 9px; overflow: hidden; cursor: pointer;
  border: 2px solid transparent; opacity: .55; transition: opacity .25s, border-color .25s, transform .25s;
  background: var(--panel);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: .85; transform: translateY(-3px); }
.thumb.active { opacity: 1; border-color: var(--gold); box-shadow: 0 0 0 1px rgba(232,193,74,.3); }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000; display: none;
  align-items: center; justify-content: center; padding: 4vh 4vw;
  background: rgba(5,6,10,.92); backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; animation: fade .25s var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: 12px; border: 1px solid var(--line);
  box-shadow: 0 40px 100px -30px #000; }
.lb-cap { position: absolute; bottom: 5vh; left: 50%; transform: translateX(-50%);
  font-family: 'Rajdhani'; font-weight: 600; letter-spacing: 1px; color: var(--muted); font-size: 1rem; }
.lb-cap b { color: var(--gold); }
.lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(19,24,38,.7); color: #fff; font-size: 1.6rem; cursor: pointer;
  display: grid; place-items: center; transition: .2s var(--ease);
}
.lb-btn:hover { border-color: var(--gold); color: var(--gold); background: rgba(19,24,38,.95); }
.lb-prev { left: 3vw; } .lb-next { right: 3vw; }
.lb-close { position: absolute; top: 3vh; right: 3vw; width: 48px; height: 48px; font-size: 1.4rem; transform: none; }

/* ----------------------------------------------------------------
   VIDEOS
---------------------------------------------------------------- */
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.video {
  position: relative; padding-bottom: 56.25%; height: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 26px 50px -30px rgba(0,0,0,.9);
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.video:hover { transform: translateY(-5px); border-color: var(--cyan); box-shadow: 0 36px 60px -28px rgba(76,212,255,.35); }

/* ----------------------------------------------------------------
   ARCHETYPES
---------------------------------------------------------------- */
.arch-grid { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.arch-card {
  background: linear-gradient(180deg, var(--panel), var(--bg-2)); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.arch-card:hover { transform: translateY(-7px); border-color: var(--gold); box-shadow: 0 30px 56px -30px rgba(232,193,74,.3); }
.arch-img { width: 100%; height: 180px; object-fit: cover; background: #0d0f12; border-bottom: 1px solid var(--line); }
.arch-body { padding: 22px; }
.arch-body h4 { color: #fff; font-size: 1.4rem; margin-bottom: 9px; }
.arch-body p { color: var(--muted); font-size: .96rem; }

/* ----------------------------------------------------------------
   TRAITS
---------------------------------------------------------------- */
.trait-grid { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.trait {
  background: var(--bg-2); border-radius: var(--radius); padding: 26px;
  border: 1px solid var(--line); border-left: 4px solid var(--gold);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.trait:hover { transform: translateY(-5px); border-color: var(--cyan); border-left-color: var(--gold); }
.trait .th { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.trait .ic { width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; font-size: 1.5rem;
  background: var(--panel-3); border: 1px solid var(--line); }
.trait h4 { color: #fff; font-size: 1.28rem; }
.trait p { color: var(--muted); font-size: .96rem; }
.trait p strong { color: #fff; }

/* ----------------------------------------------------------------
   WARNING / CLASSES
---------------------------------------------------------------- */
.warn {
  background: rgba(255,93,93,.08); border: 1px solid rgba(255,93,93,.45); border-radius: var(--radius);
  padding: 24px 26px; max-width: 880px; margin: 0 auto 36px; text-align: left;
}
.warn h4 { color: var(--red); margin-bottom: 12px; font-size: 1.28rem; }
.warn p { color: var(--muted); margin-bottom: 10px; }
.warn ul { margin-left: 20px; color: var(--text); }
.warn li { margin-bottom: 6px; }
.warn strong { color: #fff; }

.class-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); text-align: left; }
.class-col {
  background: linear-gradient(180deg, var(--panel), var(--bg-2)); border-radius: var(--radius);
  padding: 22px; border: 1px solid var(--line);
}
.class-col h4 { font-size: 1.4rem; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px; }
.class-item { padding: 14px; border-radius: 10px; background: rgba(255,255,255,.02);
  border: 1px solid transparent; margin-bottom: 12px; transition: .3s var(--ease); }
.class-item:last-child { margin-bottom: 0; }
.class-item:hover { transform: translateY(-3px); background: rgba(255,255,255,.06); border-color: var(--line);
  box-shadow: 0 12px 22px -14px rgba(0,0,0,.7); }
.class-item h5 { color: #fff; font-size: 1.12rem; margin-bottom: 3px; }
.class-item .req { color: var(--cyan); font-size: .8rem; font-weight: 700; letter-spacing: .5px;
  text-transform: uppercase; display: block; margin-bottom: 6px; font-family: 'Rajdhani'; }
.class-item p { color: var(--muted); font-size: .92rem; }
.class-item strong { color: var(--gold-bright); }

/* ----------------------------------------------------------------
   EVENTS
---------------------------------------------------------------- */
.event-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); text-align: left; }
.event {
  background: linear-gradient(180deg, var(--panel), var(--bg-2)); border-radius: var(--radius);
  padding: 26px; border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.event:hover { transform: translateY(-6px); border-color: var(--cyan); }
.event h4 { color: #fff; font-size: 1.28rem; margin-bottom: 12px; }
.event > p { color: var(--muted); font-size: .98rem; margin-bottom: 20px; flex-grow: 1; font-style: italic; }
.opts { display: flex; flex-direction: column; gap: 10px; }
.opt { background: var(--panel-3); color: #fff; padding: 11px 15px; border-radius: 8px; font-size: .88rem;
  border-left: 4px solid var(--cyan); font-weight: 600; }
.opt.risk { border-left-color: var(--red); }
.opt.safe { border-left-color: var(--muted-2); color: var(--muted); }

/* ----------------------------------------------------------------
   MODIFIER / ASCENSION
---------------------------------------------------------------- */
.ascension {
  background: linear-gradient(135deg, var(--panel) 0%, #2a0e12 100%);
  border: 1px solid rgba(255,93,93,.5); border-radius: 18px; padding: clamp(30px,5vw,52px); text-align: center;
}
.ascension h3 { color: var(--red); font-size: clamp(1.7rem,3.5vw,2.4rem); margin-bottom: 16px; }
.ascension > p { color: var(--text); font-size: 1.08rem; max-width: 820px; margin: 0 auto 26px; }
.mods { display: flex; flex-direction: column; gap: 13px; max-width: 680px; margin: 0 auto; text-align: left; }
.mod { background: rgba(0,0,0,.4); border: 1px solid rgba(232,193,74,.4); border-radius: 10px;
  padding: 15px 18px; color: var(--text); font-size: .98rem; }
.mod strong { color: var(--gold-bright); }
.mod.danger { border-color: rgba(255,93,93,.6); background: rgba(255,93,93,.08); }
.mod.danger strong { color: var(--red); }

/* ----------------------------------------------------------------
   DEEP DIVE (accordions)
---------------------------------------------------------------- */
.deep details {
  background: linear-gradient(180deg, var(--panel), var(--bg-2)); border-radius: 12px;
  margin-bottom: 14px; border: 1px solid var(--line); overflow: hidden;
}
.deep summary {
  padding: 20px 24px; font-family: 'Rajdhani'; font-size: 1.25rem; font-weight: 700;
  color: #fff; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.deep summary::-webkit-details-marker { display: none; }
.deep summary:hover { color: var(--gold-bright); }
.deep summary .pm {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 1.3rem; color: var(--gold); transition: transform .3s var(--ease);
}
.deep details[open] summary { color: var(--gold-bright); background: rgba(232,193,74,.05); }
.deep details[open] summary .pm { transform: rotate(45deg); }
.deep .dd-content { padding: 4px 24px 24px; color: var(--muted); line-height: 1.7; }
.deep .dd-content p { margin-bottom: 10px; }
.deep .dd-content ul { margin: 10px 0 10px 20px; }
.deep .dd-content li { margin-bottom: 8px; }
.deep .dd-content strong { color: #fff; }

/* ----------------------------------------------------------------
   UPDATES / PATCH FEED
---------------------------------------------------------------- */
.updates-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-bottom: 38px; }
.updates-head .live { display: inline-flex; align-items: center; gap: 9px; font-family: 'Rajdhani'; font-weight: 600;
  letter-spacing: 1px; color: var(--muted); font-size: .92rem; }
.updates-head .live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2.4s infinite; }

.feed { position: relative; max-width: 820px; margin: 0 auto; }
.feed::before { content: ""; position: absolute; left: 22px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(180deg, var(--gold), transparent); opacity: .4; }
.update {
  position: relative; padding: 0 0 26px 64px;
}
.update .node {
  position: absolute; left: 12px; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--line); display: grid; place-items: center;
}
.update .node::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted-2); }
.update.latest .node { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(232,193,74,.15); }
.update.latest .node::after { background: var(--gold); }
.update-card {
  background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.update-card:hover { transform: translateX(4px); border-color: var(--line); }
.update.latest .update-card { border-color: rgba(232,193,74,.45); box-shadow: 0 24px 50px -34px rgba(232,193,74,.4); }
.update-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.ver { font-family: 'Rajdhani'; font-weight: 700; font-size: 1.05rem; color: var(--gold-bright);
  background: rgba(232,193,74,.1); border: 1px solid rgba(232,193,74,.3); padding: 3px 12px; border-radius: 7px; letter-spacing: .5px; }
.udate { color: var(--muted-2); font-size: .85rem; font-family: 'Rajdhani'; font-weight: 600; letter-spacing: .5px; }
.tag { font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; font-family: 'Rajdhani';
  padding: 3px 9px; border-radius: 6px; }
.tag.new { background: var(--green); color: #06150c; }
.tag.feature { background: rgba(76,212,255,.14); color: var(--cyan); border: 1px solid rgba(76,212,255,.35); }
.tag.balance { background: rgba(232,193,74,.14); color: var(--gold-bright); border: 1px solid rgba(232,193,74,.35); }
.tag.fix { background: rgba(154,166,189,.12); color: var(--muted); border: 1px solid var(--line); }
.update-card h4 { color: #fff; font-size: 1.4rem; margin-bottom: 10px; }
.update-card ul { margin-left: 20px; color: var(--muted); }
.update-card li { margin-bottom: 7px; }
.update-card li strong { color: var(--text); }
.updates-foot { text-align: center; margin-top: 30px; }

/* ----------------------------------------------------------------
   FOOTER
---------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: #07090e; padding: 64px 20px 40px; margin-top: 30px; text-align: center; }
.foot-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.foot-brand img { width: 38px; height: 38px; }
.foot-brand b { font-family: 'Rajdhani'; font-size: 1.3rem; letter-spacing: 2px; color: #fff; }
.foot-brand b span { color: var(--gold); }
.socials { display: flex; justify-content: center; gap: 16px; margin-bottom: 22px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 9px;
  border: 1px solid var(--line); color: var(--text); text-decoration: none; font-family: 'Rajdhani'; font-weight: 600;
  letter-spacing: .5px; transition: .25s var(--ease); }
.socials a:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-3px); }
.foot-mail { display: inline-block; margin-bottom: 22px; color: var(--gold); text-decoration: none; font-size: 1.1rem; font-family: 'Rajdhani'; font-weight: 600; }
.foot-mail:hover { text-decoration: underline; }
.site-footer .copy { color: var(--muted-2); font-size: .92rem; }
.legal { margin-top: 18px; font-size: .85rem; display: flex; gap: 6px 18px; justify-content: center; flex-wrap: wrap; }
.legal a { color: var(--muted-2); text-decoration: none; transition: color .2s; }
.legal a:hover { color: var(--gold); }

/* ----------------------------------------------------------------
   REVEAL ANIMATIONS (progressive — visible without JS)
---------------------------------------------------------------- */
.js-anim .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-anim .reveal.in { opacity: 1; transform: none; }

/* Hero content animates in on LOAD, independent of the scroll observer,
   so the above-the-fold pitch can never get stuck hidden. */
.js-anim .hero-content .reveal { animation: heroIn .9s var(--ease) forwards; }
.js-anim .hero-content .reveal[data-d="1"] { animation-delay: .12s; }
.js-anim .hero-content .reveal[data-d="2"] { animation-delay: .24s; }
.js-anim .hero-content .reveal[data-d="3"] { animation-delay: .36s; }
.js-anim .hero-content .reveal[data-d="4"] { animation-delay: .48s; }
.js-anim .hero-content .reveal[data-d="5"] { animation-delay: .60s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
.js-anim .reveal[data-d="1"] { transition-delay: .08s; }
.js-anim .reveal[data-d="2"] { transition-delay: .16s; }
.js-anim .reveal[data-d="3"] { transition-delay: .24s; }
.js-anim .reveal[data-d="4"] { transition-delay: .32s; }
.js-anim .reveal[data-d="5"] { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .js-anim .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ----------------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(9,11,17,.97); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line); padding: 14px 20px 20px;
  }
  .nav-links.open a { padding: 13px 14px; font-size: 1.1rem; }
  .nav-links.open a::after { display: none; }
  .video-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  /* HERO — smaller text + a stronger dark veil so even bright
     screenshots (e.g. Football World) keep the title readable */
  .hero { padding: 92px 18px 70px; }
  .hero-bg { background-position: center 26%; }
  .hero-bg::after {
    background:
      radial-gradient(150% 72% at 50% 16%, rgba(9,11,17,.40), rgba(9,11,17,.70) 58%, var(--bg) 100%),
      linear-gradient(180deg, rgba(9,11,17,.60) 0%, rgba(9,11,17,.44) 38%, rgba(9,11,17,.9) 86%, var(--bg) 100%);
  }
  .hero-title { font-size: clamp(2.6rem, 13.5vw, 4.4rem); letter-spacing: 1px; margin-bottom: 16px; }
  .hero-eyebrow { font-size: .74rem; letter-spacing: 2.5px; gap: 9px; }
  .hero-eyebrow::before, .hero-eyebrow::after { width: 20px; }
  .hero-hook { font-size: 1.16rem; }
  .hero-sub { font-size: 1rem; margin-bottom: 28px; }
  .update-badge { font-size: .75rem; margin-bottom: 20px; }

  /* STATS */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat::before { display: none !important; }
  .stat { padding: 24px 14px; }

  /* SECTIONS — tighter on phone */
  .section { padding: 54px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: clamp(1.8rem, 7.5vw, 2.4rem); }
  .section-head p { font-size: 1rem; }

  .hero-meta { gap: 8px 16px; font-size: .82rem; }
  .lb-prev { left: 1vw; } .lb-next { right: 1vw; }
  .lb-btn { width: 46px; height: 46px; }

  /* GALLERY */
  .gallery-main .cap b { font-size: 1.05rem; }
  .gallery-main .cap .expand { display: none; }
  .thumb { flex-basis: 118px; }

  .ascension { padding: 26px 20px; }
}

@media (max-width: 520px) {
  /* NAV — compact so brand + Steam + menu fit one row */
  .nav-inner { padding: 12px 15px; }
  .nav-right .lang-switch { display: none; }
  .brand b { font-size: 1rem; letter-spacing: 1.5px; }
  .brand img { width: 28px; height: 28px; }

  /* BUTTONS — stack full width for easy tapping */
  .container { padding: 0 16px; }
  .btn { padding: 13px 20px; font-size: .9rem; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; justify-content: center; }

  /* CARDS */
  .feature, .arch-body, .event, .class-col, .trait { padding: 22px 20px; }

  /* UPDATES timeline — pull in the rail */
  .update { padding-left: 50px; }
  .feed::before { left: 17px; }
  .update .node { left: 7px; }
}
