/* ============================================================
   MIMI GAMES — ULTIMATE PREMIUM HYBRID THEME
   Rockstar Editorial × Crypto Gaming × Mimi Brand
   ============================================================
   PALETTE (logo-extracted):
   --void       #0a0810   base (dark purple-black for gaming vibe)
   --night      #12101a   section surface
   --glass      rgba(255,255,255,0.04)
   --orange     #e87c2a   flame primary
   --teal       #5cc8c8   character secondary
   --cream      #f5e0c8   logo text / headings
   --muted      #7a6e64   body text
   --border     rgba(255,255,255,0.07)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --void:      #0a0810;
  --night:     #12101a;
  --night2:    #1a1626;
  --glass:     rgba(255,255,255,0.04);
  --glass-b:   rgba(255,255,255,0.07);
  --orange:    #e87c2a;
  --orange-d:  #c45c10;
  --orange-g:  rgba(232,124,42,0.22);
  --teal:      #5cc8c8;
  --teal-d:    #3a9999;
  --teal-g:    rgba(92,200,200,0.18);
  --cream:     #f5e0c8;
  --cream-d:   #c4a88a;
  --muted:     #7a6e64;
  --white:     #f0f0f0;
  --dim:       #9894a8; /* Premium Metallic Slate for Labels and Icons */
  --r:         16px;
  --r2:        24px;
  --glow-o:    0 0 40px rgba(232,124,42,0.3);
  --glow-t:    0 0 40px rgba(92,200,200,0.25);
  --shadow:    0 24px 64px rgba(0,0,0,0.55);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--void);
  color: var(--cream-d);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─── PRELOADER ───────────────────────────────────────── */
#preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--void);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
#preloader.loaded { opacity: 0; visibility: hidden; }
.preloader-logo { margin-bottom: 2rem; width: 60px; height: 60px; border-radius: 12px; object-fit: cover; animation: pulse 1.5s infinite; box-shadow: 0 0 30px rgba(232,124,42,0.4); }
.preloader-bar-wrap { width: 220px; height: 3px; background: rgba(255,255,255,0.05); border-radius: 2px; overflow: hidden; position: relative; }
.preloader-bar { width: 0%; height: 100%; background: linear-gradient(90deg, var(--orange), var(--teal)); border-radius: 2px; transition: width 0.5s ease; animation: loadBar 2s ease-in-out forwards; }
@keyframes loadBar { 0% { width: 0%; } 50% { width: 60%; } 100% { width: 100%; } }

/* SCROLLBAR */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--orange), var(--teal)); border-radius: 3px; }

/* ─── TYPE ─────────────────────────────────────────────── */
h1,h2,h3,h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--cream);
  line-height: 1.1;
}
h1 { font-size: clamp(3rem, 8vw, 7rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.3rem; letter-spacing: 1.5px; }
p { color: var(--muted); font-size: 1rem; font-weight: 400; margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }
p strong { color: var(--cream-d); font-weight: 600; }
a { color: var(--orange); text-decoration: none; transition: color 0.25s; }
a:hover { color: var(--teal); }
strong { color: var(--cream); }
ul { padding: 0; list-style: none; }
ul li { color: var(--muted); padding: 0.65rem 0; border-bottom: 1px solid var(--glass-b); }
ul li:last-child { border-bottom: none; }
button { }

/* ─── ANIMATIONS ──────────────────────────────────────── */
@keyframes fadeUp    { from{opacity:0;transform:translateY(40px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn    { from{opacity:0} to{opacity:1} }
@keyframes shimmer   { 0%{background-position:-300% center} 100%{background-position:300% center} }
@keyframes float     { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes pulse     { 0%,100%{opacity:0.6; transform: scale(1);} 50%{opacity:1; transform: scale(1.05);} }
@keyframes rotateSlow{ from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
@keyframes orbDrift1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(40px,-30px) scale(1.08)} }
@keyframes orbDrift2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-30px,25px) scale(1.05)} }
@keyframes countUp   { from{opacity:0;transform:scale(0.7)} to{opacity:1;transform:scale(1)} }

.reveal      { opacity:0; transform:translateY(36px); transition:opacity 0.75s ease, transform 0.75s ease; }
.reveal-l    { opacity:0; transform:translateX(-40px); transition:opacity 0.75s ease, transform 0.75s ease; }
.reveal-r    { opacity:0; transform:translateX(40px); transition:opacity 0.75s ease, transform 0.75s ease; }
.reveal.v,.reveal-l.v,.reveal-r.v { opacity:1; transform:translate(0); }

/* ─── UTILITY ─────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 5%; }
.section-pad { padding: 7rem 0; }
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase; color: var(--orange);
  margin-bottom: 1.25rem;
}
.label::before { content:''; width:28px; height:2px; background:var(--orange); }

.badge {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 4px 14px; border-radius: 3px; background: var(--orange); color: white;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 0.8rem 2rem; border-radius: 8px; border: none;
  transition: all 0.3s ease; text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange-d), var(--orange));
  color: white;
  box-shadow: 0 4px 20px var(--orange-g);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232,124,42,0.5);
  color: white;
}

.btn-ghost {
  background: var(--glass);
  color: var(--cream);
  border: 1px solid var(--glass-b);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.07);
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}

/* Glass card base */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--r2);
}

/* ─── NAVBAR ──────────────────────────────────────────── */
.navbar {
  background: rgba(10,8,16,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-b);
  position: sticky; top: 0; z-index: 1000;
}

.nav-container {
  max-width: 1400px; margin: 0 auto; padding: 0 5%;
  display: flex; justify-content: space-between; align-items: stretch; height: 66px;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}

.nav-logo img { border-radius: 8px; width: 38px; height: 38px; object-fit: cover; animation: float 5s ease-in-out infinite; }

.nav-logo span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem; font-weight: 900; text-transform: uppercase; letter-spacing: 2px;
  background: linear-gradient(135deg, var(--cream), var(--orange));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.nav-links {
  display: flex; align-items: stretch; list-style: none; gap: 0; margin: 0; padding: 0;
}

.nav-links a {
  display: flex; align-items: center;
  color: var(--muted);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 0 1rem;
  transition: all 0.25s;
  border-bottom: 2px solid transparent;
  position: relative;
}

.nav-links a:hover { color: var(--cream); background: rgba(232,124,42,0.06); }

.nav-toggle { display:none; background:none; border:none; padding:6px; align-self:center; }
.nav-toggle .bar { display:block; width:22px; height:2px; margin:5px 0; background:var(--cream); border-radius:2px; transition:all 0.3s; }

/* ─── HERO ────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--void); overflow: hidden; text-align: center;
}

/* Gradient mesh background */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(232,124,42,0.15) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(92,200,200,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 60% 20%, rgba(130,50,200,0.08) 0%, transparent 40%);
  animation: orbDrift1 14s ease-in-out infinite;
}

.hero::after {
  content: 'MG';
  position: absolute;
  bottom: -10%; right: -5%;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 40vw; font-weight: 900;
  color: rgba(255,255,255,0.012);
  line-height: 1; pointer-events: none; user-select: none; letter-spacing: -10px;
}

/* Floating orb decorations */
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(60px); pointer-events: none;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  top: -15%; left: -10%;
  background: radial-gradient(circle, rgba(232,124,42,0.12) 0%, transparent 70%);
  animation: orbDrift2 18s ease-in-out infinite;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  bottom: -10%; right: -5%;
  background: radial-gradient(circle, rgba(92,200,200,0.1) 0%, transparent 70%);
  animation: orbDrift1 15s ease-in-out infinite;
}

.hero-content { position: relative; z-index: 1; padding: 2rem; max-width: 900px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 5px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 1.5rem;
  animation: fadeIn 1s ease both;
}
.hero-eyebrow::before,.hero-eyebrow::after { content:'—'; opacity:0.5; }

.hero-title {
  font-size: clamp(3rem, 8vw, 7rem);
  background: linear-gradient(135deg, var(--cream) 0%, var(--orange) 50%, var(--teal) 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: shimmer 5s linear infinite, fadeUp 0.9s ease both;
  margin-bottom: 1.25rem; line-height: 0.95;
}

.seo-badge {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 0.5rem 1.2rem; border-radius: 50px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--dim); margin-bottom: 1rem;
  backdrop-filter: blur(10px);
  animation: fadeIn 1s ease both;
}

/* Advanced HUD & Glass Geometry */
.hud-container {
  position: absolute;
  top: 50%; left: 50%; width: 100%; height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none; z-index: 0;
}

/* Concentric HUD Rings */
.hud-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.hud-ring-1 {
  width: 600px; height: 600px;
  border: 2px dashed var(--teal);
  animation: spinRight 60s linear infinite;
  box-shadow: 0 0 40px rgba(92,200,200,0.2) inset;
  opacity: 0.06;
}
.hud-ring-2 {
  width: 800px; height: 800px;
  border: 1px dotted var(--orange);
  animation: spinLeft 90s linear infinite;
  opacity: 0.12;
}
.hud-ring-3 {
  width: 450px; height: 450px;
  border: 3px solid transparent;
  border-top-color: var(--teal);
  border-bottom-color: var(--orange);
  animation: spinRight 30s cubic-bezier(0.1, 0.7, 1.0, 0.1) infinite;
  opacity: 0.06;
}

/* Glass Shards */
.glass-shard {
  position: absolute;
  background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.0));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.02);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  opacity: 0.35;
}
.shard-1 {
  width: 150px; height: 200px;
  top: 20%; left: 15%;
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  animation: float3D1 20s infinite alternate ease-in-out;
}
.shard-2 {
  width: 100px; height: 250px;
  bottom: 15%; right: 18%;
  clip-path: polygon(25% 0%, 100% 20%, 75% 100%, 0% 80%);
  animation: float3D2 24s infinite alternate ease-in-out;
  border-color: rgba(232,124,42,0.3);
}
.shard-3 {
  width: 80px; height: 120px;
  top: 60%; left: 8%;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  animation: float3D1 18s infinite alternate-reverse ease-in-out;
  border-color: rgba(92,200,200,0.3);
}

@keyframes spinRight { 100% { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes spinLeft { 100% { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes float3D1 {
  0% { transform: translateY(0) rotateX(0) rotateY(0) rotateZ(0); }
  100% { transform: translateY(-40px) rotateX(20deg) rotateY(30deg) rotateZ(15deg); }
}
@keyframes float3D2 {
  0% { transform: translateY(0) rotateX(0) rotateY(0) rotateZ(0); }
  100% { transform: translateY(50px) rotateX(-30deg) rotateY(-20deg) rotateZ(-10deg); }
}

.hero-sub {
  font-size: 1.1rem; color: var(--muted); font-weight: 400;
  letter-spacing: 0.5px; max-width: 55ch; margin: 0 auto 2.5rem;
  animation: fadeUp 0.9s 0.2s ease both;
}

.hero-cta {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  animation: fadeUp 0.9s 0.4s ease both;
}

/* Floating scroll indicator */
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.68rem; letter-spacing: 3px; text-transform: uppercase; color: var(--dim);
  animation: float 2s ease-in-out infinite;
  z-index: 2;
}
.hero-scroll::after {
  content: ''; width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--orange), transparent);
}

/* ─── TICKER STRIP ────────────────────────────────────── */
.ticker-strip {
  background: var(--orange);
  padding: 0.7rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-inner {
  display: inline-block;
  animation: ticker 18s linear infinite;
}
.ticker-inner span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: white; margin: 0 3rem;
}
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ─── STATS STRIP ─────────────────────────────────────── */
.stats-strip {
  background: var(--night);
  border-top: 1px solid var(--glass-b);
  border-bottom: 1px solid var(--glass-b);
}
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 1200px; margin: 0 auto;
}
.stat-item {
  padding: 3rem 2rem; text-align: center;
  border-right: 1px solid var(--glass-b);
  transition: background 0.3s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(232,124,42,0.04); }
.stat-number {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3.5rem; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, var(--orange), var(--teal));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: countUp 0.8s ease both;
}
.stat-label { font-size: 0.72rem; letter-spacing: 3px; text-transform: uppercase; color: var(--dim); font-weight: 600; margin-top: 0.5rem; }

/* ─── EDITORIAL SECTION ─────────────────────────────── */
.editorial {
  border-bottom: 1px solid var(--glass-b);
  padding: 7rem 0;
}
.editorial .container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }

.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; margin-top: 3rem;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* Accent quote */
.accent-quote {
  border-left: 3px solid var(--orange);
  padding: 1.2rem 1.8rem;
  background: rgba(232,124,42,0.05);
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
}
.accent-quote p {
  font-size: 1.15rem; font-style: italic; color: var(--cream-d);
  font-weight: 500; margin: 0;
}

/* ─── GAME FEATURE ───────────────────────────────────── */
.game-feature {
  border-bottom: 1px solid var(--glass-b);
}
.game-feature-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; min-height: 540px;
}
.game-feature-content {
  background: var(--night); padding: 6rem 5%;
  display: flex; flex-direction: column; justify-content: center;
}
.game-feature-visual {
  position: relative; overflow: hidden; background: #0d0b12;
}
.game-feature-visual img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.65; transition: opacity 0.5s, transform 0.7s;
}
.game-feature-visual:hover img { opacity: 0.85; transform: scale(1.04); }
.game-feature-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--night) 0%, transparent 40%);
  pointer-events: none;
}

/* Feature list (numbered) */
.num-list { margin-top: 2rem; border-top: 1px solid var(--glass-b); }
.num-item {
  display: grid; grid-template-columns: 3rem 1fr; gap: 1.2rem;
  padding: 1.1rem 0; border-bottom: 1px solid var(--glass-b); align-items: start;
  transition: background 0.2s;
}
.num-item:hover { background: rgba(232,124,42,0.04); margin: 0 -1rem; padding-left: 1rem; padding-right: 1rem; }
.num { font-family: 'Barlow Condensed', sans-serif; font-size: 2rem; font-weight: 900; color: var(--dim); line-height: 1; transition: color 0.3s; }
.num-item:hover .num { color: var(--orange); }
.num-label { font-family: 'Barlow Condensed', sans-serif; font-size: 0.95rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cream); }
.num-desc { font-size: 0.88rem; color: var(--muted); margin: 0.2rem 0 0; }

/* ─── GLASS CARDS SECTION ────────────────────────────── */
.glass-section { padding: 7rem 0; border-bottom: 1px solid var(--glass-b); }
.glass-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem; margin-top: 3rem;
}
.g-card {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: var(--r2); padding: 2rem;
  position: relative; overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.g-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  transform: scaleX(0); transition: transform 0.4s ease; transform-origin: left;
}
.g-card::after {
  content: '';
  position: absolute; inset: 0; border-radius: var(--r2);
  background: radial-gradient(ellipse at 100% 0%, rgba(92,200,200,0.07) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.4s;
}
.g-card:hover { transform: translateY(-8px); border-color: rgba(92,200,200,0.25); box-shadow: var(--glow-t); }
.g-card:hover::before { transform: scaleX(1); }
.g-card:hover::after { opacity: 1; }
.g-card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.25rem;
  background: rgba(232,124,42,0.1); border: 1px solid rgba(232,124,42,0.2);
}
.g-card h3 { font-size: 1rem; letter-spacing: 1.5px; color: var(--cream); margin-bottom: 0.6rem; }
.g-card p { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* ─── TECH STRIP ─────────────────────────────────────── */
.tech-row {
  display: flex; flex-wrap: wrap;
  border-top: 1px solid var(--glass-b);
  border-left: 1px solid var(--glass-b);
  margin-top: 2.5rem;
}
.tech-cell {
  flex: 1 1 180px;
  padding: 1.8rem 2rem;
  border-right: 1px solid var(--glass-b);
  border-bottom: 1px solid var(--glass-b);
  transition: background 0.25s;
  position: relative;
}
.tech-cell::after {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 0;
  background: var(--orange); transition: width 0.3s;
}
.tech-cell:hover { background: rgba(232,124,42,0.05); }
.tech-cell:hover::after { width: 3px; }
.tech-name { font-family: 'Barlow Condensed', sans-serif; font-size: 1.05rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--cream-d); transition: color 0.2s; }
.tech-cell:hover .tech-name { color: var(--orange); }
.tech-sub { font-size: 0.78rem; color: var(--dim); margin-top: 0.2rem; }

/* ─── TEAM ────────────────────────────────────────────── */
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0; border-top: 1px solid var(--glass-b); border-left: 1px solid var(--glass-b);
  margin-top: 2.5rem;
}
.team-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--glass-b); border-bottom: 1px solid var(--glass-b);
  position: relative; overflow: hidden; transition: background 0.3s;
}
.team-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 0;
  background: linear-gradient(180deg, rgba(232,124,42,0.12) 0%, transparent 100%);
  transition: height 0.4s;
}
.team-card:hover { background: rgba(232,124,42,0.04); }
.team-card:hover::before { height: 100%; }
.team-initial {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3rem; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, var(--orange), var(--teal));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: block; margin-bottom: 1rem;
}
.team-card h3 { font-size: 1.1rem; color: var(--cream); margin-bottom: 0.35rem; letter-spacing: 1.5px; }
.team-card p { font-size: 0.82rem; color: var(--dim); margin: 0; text-transform: uppercase; letter-spacing: 1px; }

/* ─── MISSION ─────────────────────────────────────────── */
.mission-block {
  background: var(--night);
  border-top: 1px solid var(--glass-b); border-bottom: 1px solid var(--glass-b);
  padding: 7rem 0;
}
.mission-quote-big {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  color: var(--cream); line-height: 1.2; margin-bottom: 3rem;
}
.mission-quote-big span { color: var(--orange); }
.mission-pills {
  display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem;
}
.pill {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 0.5rem 1.2rem; border-radius: 50px;
  border: 1px solid var(--glass-b); color: var(--cream-d);
  background: var(--glass); transition: all 0.25s;
}
.pill:hover { border-color: var(--teal); color: var(--teal); background: rgba(92,200,200,0.07); }

/* ─── XTREMEVERSITY TEASER / PARALLAX SETTINGS ────────── */
.game-teaser {
  position: relative; min-height: 480px;
  display: flex; align-items: center; justify-content: flex-start;
  background: var(--void); overflow: hidden;
  border-bottom: 1px solid var(--glass-b);
}
.game-teaser-bg {
  position: absolute; inset: -40px 0 -40px 0; /* extra space for parallax */
  background-image: linear-gradient(90deg, rgba(10,8,16,0.95) 35%, rgba(10,8,16,0.7) 70%, rgba(10,8,16,0.3) 100%), url('assets/images/xtremeversity_art.png');
  background-size: cover; background-position: center;
  transition: transform 0.1s linear; /* Smooth parallax */
}
.game-teaser-content { position: relative; z-index: 1; padding: 5rem 5%; max-width: 620px; }
.game-teaser-content .badge { background: var(--teal); color: var(--void); margin-bottom: 1.5rem; }
.game-teaser-content h2 { font-size: clamp(2.5rem,6vw,5rem); margin-bottom: 1rem; }
.game-teaser-content p { font-size: 1rem; margin-bottom: 2rem; }

/* ─── COMMUNITY STRIP ─────────────────────────────────── */
.community {
  padding: 6rem 0; background: var(--night); border-bottom: 1px solid var(--glass-b);
}
.social-big-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; margin-top: 3rem;
}
.social-big {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--glass-b);
  border-radius: var(--r); background: var(--glass);
  transition: all 0.35s ease; text-decoration: none;
}
.social-big:hover { transform: translateY(-4px); border-color: var(--orange); box-shadow: var(--glow-o); }
.social-big-icon { font-size: 2rem; flex-shrink: 0; }
.social-big-info { }
.social-big-name { font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cream); }
.social-big-desc { font-size: 0.8rem; color: var(--dim); margin: 0; }

/* ─── FINAL CTA ───────────────────────────────────────── */
.final-cta {
  position: relative; padding: 8rem 5%; text-align: center; overflow: hidden;
  background: var(--void);
  border-bottom: 1px solid var(--glass-b);
}
.final-cta::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(232,124,42,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 100%, rgba(92,200,200,0.08) 0%, transparent 50%);
}
.final-cta > * { position: relative; z-index: 1; }
.final-cta h2 { font-size: clamp(2.5rem,6vw,5rem); margin-bottom: 1rem; }
.final-cta p { font-size: 1.1rem; max-width: 50ch; margin: 0 auto 2.5rem; }
.final-cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ──────────────────────────────────────────── */
.premium-footer {
  background: #070510;
  padding: 4rem 5% 2rem;
  border-top: 1px solid var(--glass-b);
  position: relative;
}
.premium-footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--teal));
}
.footer-top { margin-bottom: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--glass-b); }
.footer-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem; font-weight: 900; letter-spacing: 3px; text-transform: uppercase;
}
.footer-logo img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.footer-logo span {
  background: linear-gradient(135deg, var(--cream), var(--orange));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.footer-main {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 3rem; margin-bottom: 3rem; text-align: left;
}
.footer-column h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 3px;
  text-transform: uppercase; color: var(--dim);
  -webkit-text-fill-color: var(--dim); background: none;
  margin-bottom: 1.25rem;
}
.footer-column ul { list-style: none; padding: 0; }
.footer-column ul li { border: none; padding: 0.3rem 0; }
.footer-column ul li a { color: var(--dim); font-size: 0.88rem; transition: color 0.25s; }
.footer-column ul li a:hover { color: var(--cream-d); }
.social-icons { display: flex; gap: 0.6rem; margin-top: 1rem; }
.social-icon {
  width: 38px; height: 38px;
  background: var(--glass); border: 1px solid var(--glass-b); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; color: var(--dim);
  transition: all 0.25s;
}
.social-icon svg { width: 16px; height: 16px; }
.social-icon.li:hover { background:#0077b5; border-color:#0077b5; color:white; }
.social-icon.yt:hover { background:#ff0000; border-color:#ff0000; color:white; }
.social-icon.gp:hover { background:var(--orange); border-color:var(--orange); color:white; }
.back-to-top {
  position: absolute; right: 5%; bottom: 80px;
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--glass); border: 1px solid var(--glass-b); color: var(--cream); display: flex; align-items: center; justify-content: center;
  transition: all 0.25s;
}
.back-to-top:hover { background: var(--orange); border-color: var(--orange); transform: translateY(-3px); }
.footer-bottom {
  padding-top: 2rem; border-top: 1px solid var(--glass-b);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.76rem; color: var(--dim);
}

/* ─── MOBILE ACCORDION ────────────────────────────────── */
@media (max-width: 768px) {
  .footer-main { grid-template-columns: 1fr; gap: 0; }
  .accordion-item { border-bottom: 1px solid var(--glass-b); }
  .accordion-header { padding: 1.1rem 0; display: flex; justify-content: space-between; align-items: center; }
  .accordion-header h3 { margin: 0; }
  .accordion-header .chevron { width: 8px; height: 8px; border-bottom: 2px solid var(--orange); border-right: 2px solid var(--orange); transform: rotate(45deg); transition: transform 0.3s; margin-bottom: 4px; }
  .accordion-item.active .chevron { transform: rotate(-135deg) translateY(-4px); }
  .accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
  .accordion-item.active .accordion-content { max-height: 220px; padding-bottom: 1rem; }
  .social-icons { justify-content: flex-start; }
  .back-to-top { bottom: 90px; }
}

/* ─── MOBILE NAV ──────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 66px; left: 0; right: 0;
    background: rgba(8,6,14,0.98); backdrop-filter: blur(16px);
    flex-direction: column; align-items: stretch;
    overflow: hidden; max-height: 0; transition: max-height 0.35s ease;
    border-bottom: 1px solid var(--glass-b);
  }
  .nav-links.active { max-height: 600px; }
  .nav-links li { border-bottom: 1px solid var(--glass-b); }
  .nav-links a { padding: 1rem 5%; border-bottom: none; height: auto; }
  .nav-toggle.open .bar:nth-child(2) { opacity: 0; }
  .nav-toggle.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  html { }
  body { }
    }

@media (max-width: 900px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 3rem; direction: ltr; }
  .game-feature-grid { grid-template-columns: 1fr; }
  .game-feature-visual { min-height: 280px; }
  .social-big-grid { grid-template-columns: 1fr; }
  .hero-ring { display: none; }
}
@media (max-width: 600px) {
  html { font-size: 90%; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .glass-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .hero-cta { flex-direction: column; align-items: center; }
  .final-cta-btns { flex-direction: column; align-items: center; }
}

/* ─── GENERIC SECTION OVERRIDE (sub-pages) ──────────── */
section {
  padding: 6rem 5%; border-bottom: 1px solid var(--glass-b);
  background: var(--void); border-radius: 0; box-shadow: none;
}
section::before, section::after { display: none; }
section:hover { transform: none; box-shadow: none; }
section h2 { background: none; -webkit-text-fill-color: var(--cream); color: var(--cream); }

/* Feature grid (xtremeversity, game pages) */
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem; padding: 0 5%;
}
.feature-card {
  background: var(--glass); border: 1px solid var(--glass-b);
  border-radius: var(--r2); padding: 2rem;
  transition: all 0.35s; position: relative; overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--teal));
  transform: scaleX(0); transition: transform 0.4s; transform-origin: left;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(92,200,200,0.25); box-shadow: var(--glow-t); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card h3 { color: var(--cream); font-size: 1rem; margin-bottom: 0.75rem; }
.feature-card p { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* Game hero (sub-page) */
.game-hero {
  position: relative; padding: 8rem 5%;
  background-color: var(--void); background-size: cover !important; background-position: center !important;
  border-bottom: 1px solid var(--glass-b);
}
.game-hero::before { content:''; position:absolute; inset:0; background:linear-gradient(90deg, rgba(10,8,16,0.93) 0%, rgba(10,8,16,0.6) 60%, transparent 100%); }
.game-hero > * { position: relative; z-index: 1; }
.game-hero h1 { font-size: clamp(2.5rem,7vw,5.5rem); }
.game-hero p { font-size: 1.05rem; color: var(--muted); max-width: 52ch; }

/* Privacy */
.highlight { color: var(--orange); font-weight: 600; }

/* ACTIVE NAV */
.nav-links a.active-nav { color: var(--orange) !important; background: rgba(232,124,42,0.06); }
