/* ════════════════════════════════════════════════════
   CRP — GTA VI Style
   ════════════════════════════════════════════════════ */

:root {
  /* colours */
  --pink:        #ff3870;
  --pink-dim:    rgba(255, 56, 112, 0.18);
  --pink-glow:   rgba(255, 56, 112, 0.35);
  --cyan:        #00d4ff;
  --cyan-dim:    rgba(0, 212, 255, 0.15);
  --gold:        #ffc940;
  --gold-dim:    rgba(255, 201, 64, 0.14);
  --bg:          #07070d;
  --bg2:         #0b0b14;
  --bg3:         #0f101a;
  --card:        #10111c;
  --border:      rgba(255, 255, 255, 0.07);
  --border-lit:  rgba(255, 56, 112, 0.4);
  --text:        #f2eee8;
  --muted:       #7a7f96;
  --muted2:      #4e5268;

  /* type */
  --f-display: "Oswald", "Barlow Condensed", sans-serif;
  --f-body:    "Inter", system-ui, sans-serif;

  /* misc */
  --r:  12px;
  --r2: 6px;
  --nav-h: 68px;
  --shadow-card: 0 24px 64px rgba(0,0,0,0.6);
}

/* ── Reset ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
img { display: block; max-width: 100%; }
code {
  font-size: .82em;
  color: var(--cyan);
  background: rgba(0,212,255,.08);
  padding: .15em .4em;
  border-radius: 4px;
}
.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

/* ── Reveal animation ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--delay, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ════════════════════════════════════════════════════
   NAV
   ════════════════════════════════════════════════════ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  transition: background .3s, box-shadow .3s;
}
.site-nav.scrolled {
  background: rgba(7, 7, 13, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 4vw;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.nav-logo-crp {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: .06em;
  background: linear-gradient(135deg, var(--pink) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-logo-sub {
  font-size: .78rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .04em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-menu a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .2s;
}
.nav-menu a:hover { color: var(--text); }
.nav-play {
  color: var(--text) !important;
  background: var(--pink-dim);
  border: 1px solid var(--border-lit);
  padding: 8px 18px;
  border-radius: var(--r2);
  transition: background .2s, box-shadow .2s !important;
}
.nav-play:hover {
  background: rgba(255,56,112,.28) !important;
  box-shadow: 0 0 18px var(--pink-glow);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* ════════════════════════════════════════════════════
   CINEMATIC OPENER  (GTA VI style)
   Хронология анимации:
   0.0s  — чёрный экран
   0.2s  — экран начинает таять (1.4s)
   0.8s  — фон проявляется и отдаляется
   1.2s  — eyebrow появляется
   1.6s  — логотип взрывается через blur+scale
   2.4s  — блик пробегает по логотипу
   2.8s  — год (letter-spacing широкий→нормальный)
   3.3s  — платформы
   3.8s  — стрелка
   ════════════════════════════════════════════════════ */

.opener {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── 1. Чёрный экран ── */
.opener-blackout {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: #000;
  animation: blackoutFade 1.6s .2s cubic-bezier(.4,0,.2,1) forwards;
  pointer-events: none;
}
@keyframes blackoutFade {
  0%   { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

/* ── 2. Фоновое изображение ── */
.opener-img {
  position: absolute;
  inset: -5%;
  z-index: 0;
}
.opener-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  /* старт: темно, немного приближено */
  filter: brightness(.3) saturate(.8);
  transform: scale(1.08);
  /* проявление + отдаление */
  animation:
    bgBrighten 2.4s .8s cubic-bezier(.4,0,.2,1) forwards,
    bgZoom     7s   .8s cubic-bezier(.2,.6,.3,1) forwards;
}
@keyframes bgBrighten {
  from { filter: brightness(.3) saturate(.8); }
  to   { filter: brightness(.75) saturate(1.15); }
}
@keyframes bgZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

/* ── 3. Градиентный вуаль ── */
.opener-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom,
      rgba(7,7,13,.65) 0%,
      rgba(7,7,13,.0)  30%,
      rgba(7,7,13,.0)  50%,
      rgba(7,7,13,.8)  88%,
      rgba(7,7,13,1)  100%),
    linear-gradient(to right,
      rgba(7,7,13,.5) 0%,
      transparent 25%,
      transparent 75%,
      rgba(7,7,13,.5) 100%);
  pointer-events: none;
}

/* ── 4. Линзовый блик поверх всей сцены ── */
.opener-lens-flare {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    108deg,
    transparent 30%,
    rgba(255,230,180,.06) 48%,
    rgba(255,255,255,.12) 50%,
    rgba(255,230,180,.06) 52%,
    transparent 70%
  );
  animation: lensFlare 1s 1.8s cubic-bezier(.4,0,.6,1) both;
}
@keyframes lensFlare {
  from { opacity: 0; transform: translateX(-120%); }
  60%  { opacity: 1; }
  to   { opacity: 0; transform: translateX(140%); }
}

/* ── 5. Контент (колонка по центру) ── */
.opener-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 5vw;
}

/* eyebrow */
.opener-eyebrow {
  font-family: var(--f-display);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(242,238,232,.0);
  margin-bottom: 24px;
  animation: eyebrowReveal .8s 1.2s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes eyebrowReveal {
  from { opacity: 0; letter-spacing: .55em; color: rgba(242,238,232,.0); }
  to   { opacity: 1; letter-spacing: .3em;  color: rgba(242,238,232,.55); }
}

/* ── 6. Логотип ── */
.opener-logo-wrap {
  position: relative;
  width: min(560px, 75vw);
  margin-bottom: 30px;
  /* старт */
  opacity: 0;
  animation: logoReveal 1.1s 1.6s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes logoReveal {
  from {
    opacity: 0;
    transform: scale(1.18) translateY(10px);
    filter: blur(14px) brightness(2.5);
  }
  40% {
    filter: blur(2px) brightness(1.6);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0) brightness(1) drop-shadow(0 0 40px rgba(200,140,100,.35));
  }
}

.opener-logo {
  width: 100%;
  height: auto;
  display: block;
  /* обрезаем нижние горы, оставляем только надпись CRP */
  clip-path: inset(0 0 44% 0 round 4px);
}

/* блик по логотипу */
.opener-logo-shine {
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: linear-gradient(
    112deg,
    transparent 20%,
    rgba(255,245,220,.55) 48%,
    rgba(255,255,255,.7)  50%,
    rgba(255,245,220,.55) 52%,
    transparent 80%
  );
  transform: translateX(-140%);
  animation: logoShine .75s 2.4s cubic-bezier(.4,0,.2,1) forwards;
  pointer-events: none;
  /* ограничиваем блик тем же clip-path что у картинки */
  clip-path: inset(0 0 44% 0 round 4px);
}
@keyframes logoShine {
  from { transform: translateX(-140%); }
  to   { transform: translateX(160%); }
}

/* ── 7. Год ── */
.opener-year {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--f-display);
  font-size: clamp(1rem, 2.8vw, 1.45rem);
  font-weight: 700;
  letter-spacing: .55em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 12px;
  opacity: 0;
  animation: yearReveal 1s 2.8s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes yearReveal {
  from { opacity: 0; letter-spacing: .9em; }
  to   { opacity: 1; letter-spacing: .18em; }
}

.opener-year-line {
  display: block;
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(242,238,232,.45));
}
.opener-year-line:last-child {
  background: linear-gradient(to left, transparent, rgba(242,238,232,.45));
}

/* ── 8. Платформы ── */
.opener-platforms {
  font-family: var(--f-display);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(242,238,232,.0);
  margin-bottom: 48px;
  animation: fadeSlideUp .7s 3.3s cubic-bezier(.16,1,.3,1) forwards;
}

/* ── 9. Стрелка вниз ── */
.opener-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(242,238,232,.0);
  transition: color .2s;
  opacity: 0;
  animation: fadeSlideUp .7s 3.8s cubic-bezier(.16,1,.3,1) forwards;
}
.opener-scroll:hover { color: rgba(242,238,232,.9) !important; }
.opener-scroll span {
  font-family: var(--f-display);
  font-size: .58rem;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.opener-arrow { animation: bounceDown 1.9s 4.6s ease-in-out infinite; }

/* shared fade-up */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(10px); color: rgba(242,238,232,.0); }
  to   { opacity: 1; transform: none;             color: rgba(242,238,232,.45); }
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0);   opacity: .45; }
  50%       { transform: translateY(7px); opacity: 1; }
}

/* ════════════════════════════════════════════════════
   MAP (rectangular card)
   ════════════════════════════════════════════════════ */
.map-section {
  padding: 80px 0 100px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.map-section .section-label {
  text-align: center;
  margin: 0 auto 40px;
}

.map-card {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  max-height: 540px;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow:
    var(--shadow-card),
    0 0 0 1px rgba(255, 56, 112, 0.06),
    0 0 48px rgba(255, 56, 112, 0.05);
  background: var(--card);
}

.map-frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.map-expand {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--muted);
  background: rgba(7, 7, 13, 0.75);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: var(--r2);
  backdrop-filter: blur(8px);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.map-expand:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(7, 7, 13, 0.9);
}

/* ════════════════════════════════════════════════════
   SHARED SECTION PARTS
   ════════════════════════════════════════════════════ */
.eyebrow {
  display: block;
  font-family: var(--f-display);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 14px;
}
.section-heading {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.section-heading em {
  font-style: normal;
  background: linear-gradient(120deg, var(--pink), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  margin-top: 14px;
  color: var(--muted);
  max-width: 560px;
  font-size: .95rem;
}
.section-label { margin-bottom: 56px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r2);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255,56,112,.35);
}
.btn-primary:hover { box-shadow: 0 6px 30px rgba(255,56,112,.55); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(255,255,255,.2);
}
.btn-outline:hover { border-color: rgba(255,255,255,.4); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* ════════════════════════════════════════════════════
   INTRO
   ════════════════════════════════════════════════════ */
.intro-section {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
}
.intro-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 10% 50%, rgba(255,56,112,.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 90% 20%, rgba(0,212,255,.05) 0%, transparent 70%);
  pointer-events: none;
}

.intro-content { max-width: 760px; }
.intro-heading {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.intro-heading em {
  font-style: normal;
  background: linear-gradient(120deg, var(--pink), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.intro-body {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 32px;
}
.intro-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 64px;
}

.intro-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}
.istat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 44px 0 0;
}
.istat strong {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--text), var(--muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.istat span {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted2);
}
.istat-divider {
  width: 1px;
  height: 44px;
  background: var(--border);
  margin-right: 44px;
}

/* ════════════════════════════════════════════════════
   FEATURES
   ════════════════════════════════════════════════════ */
.features-section {
  padding: 100px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.fcard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
  transition: border-color .25s, transform .25s;
}
.fcard:hover {
  border-color: rgba(255,56,112,.3);
  transform: translateY(-6px);
}
.fcard:hover .fcard-visual { filter: brightness(1.05); }

.fcard-num {
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: var(--f-display);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--muted2);
}

/* visual area */
.fcard-visual {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter .25s;
}
.fcard-visual--bot   { background: linear-gradient(145deg, #121830 0%, #1a2545 100%); }
.fcard-visual--auth  { background: linear-gradient(145deg, #0e1f1a 0%, #142b22 100%); }
.fcard-visual--wl    { background: linear-gradient(145deg, #201812 0%, #2d2015 100%); }

.fcard-mock {
  width: 72%;
  background: rgba(0,0,0,.4);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 18px;
}

/* bot mock */
.mock-bar {
  height: 7px;
  width: 38%;
  background: rgba(255,255,255,.12);
  border-radius: 4px;
  margin-bottom: 16px;
}
.mock-msg {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.mock-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pink-dim);
  border: 1px solid var(--border-lit);
  flex-shrink: 0;
}
.mock-avatar.dim { background: var(--border); border-color: transparent; }
.mock-bubble { flex: 1; }
.mock-tag {
  display: block;
  height: 6px;
  width: 45%;
  background: var(--pink);
  opacity: .6;
  border-radius: 3px;
  margin-bottom: 8px;
}
.mock-tag.dim { background: var(--muted2); opacity: .5; }
.mock-text {
  display: block;
  height: 6px;
  background: rgba(255,255,255,.07);
  border-radius: 3px;
  margin-bottom: 5px;
  width: 90%;
}
.mock-text.short  { width: 60%; }
.mock-text.dim    { opacity: .4; }
.mock-text.center { margin: 0 auto 5px; }
.accent-line { background: rgba(255,56,112,.35) !important; }

/* auth mock */
.mock-lock {
  width: 52px;
  height: 52px;
  background: rgba(0,212,255,.1);
  border: 1px solid rgba(0,212,255,.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin: 0 auto 14px;
}
.mock-status {
  text-align: center;
  font-size: .72rem;
  font-family: var(--f-display);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}
.mock-status.gold { color: var(--gold); }

/* whitelist mock */
.mock-check {
  width: 52px;
  height: 52px;
  background: rgba(255,201,64,.1);
  border: 1px solid rgba(255,201,64,.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin: 0 auto 14px;
}

.fcard-body {
  padding: 24px;
}
.fcard-body h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.fcard-body p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ════════════════════════════════════════════════════
   MODS
   ════════════════════════════════════════════════════ */
.mods-section {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}
.mods-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(0,212,255,.06) 0%, transparent 65%);
  pointer-events: none;
}

.mods-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
.mtab {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 28px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  font-family: var(--f-body);
  transition: border-color .2s;
}
.mtab-label {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
}
.mtab-count {
  font-size: .72rem;
  color: var(--muted2);
  transition: color .2s;
}
.mtab.active .mtab-label { color: var(--text); }
.mtab.active .mtab-count { color: var(--pink); }
.mtab.active { border-bottom-color: var(--pink); }
.mtab:hover .mtab-label { color: var(--text); }

.mods-panel { display: none; }
.mods-panel.active { display: block; }

.mods-intro {
  margin-bottom: 32px;
}
.mods-intro h3 {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.mods-intro p { color: var(--muted); font-size: .95rem; }

.mods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.mcard {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  transition: border-color .2s, transform .2s;
}
.mcard:hover {
  border-color: rgba(255,255,255,.15);
  transform: translateX(4px);
}
.mcard--highlight {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--pink-dim), var(--gold-dim));
  border-color: rgba(255, 56, 112, 0.25);
}
.mcard--highlight:hover {
  border-color: rgba(255, 56, 112, 0.45);
}
.mcard--highlight strong {
  background: linear-gradient(120deg, var(--pink), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mcard-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.mcard strong {
  display: block;
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: 3px;
}
.mcard span {
  font-size: .78rem;
  color: var(--muted);
}

/* ════════════════════════════════════════════════════
   CRP LOADER
   ════════════════════════════════════════════════════ */
.loader-section {
  padding: 110px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.loader-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.loader-text .section-heading { margin-bottom: 18px; }
.loader-text > p {
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: 28px;
  max-width: 480px;
}

.loader-steps {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.loader-steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .9rem;
  color: var(--muted);
}
.loader-steps li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--pink-dim);
  border: 1px solid var(--border-lit);
  color: var(--pink);
  font-family: var(--f-display);
  font-size: .7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.loader-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.hint-text {
  font-size: .78rem;
  color: var(--muted2);
}

/* app window mock */
.loader-app {
  display: flex;
  justify-content: center;
}
.app-window {
  width: 100%;
  max-width: 360px;
  background: #0e1020;
  border-radius: var(--r);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card), 0 0 60px rgba(255,56,112,.08);
  overflow: hidden;
}
.app-titlebar {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: #080a14;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.app-dots { display: flex; gap: 7px; }
.dot-red    { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.dot-yellow { width: 11px; height: 11px; border-radius: 50%; background: #febc2e; }
.dot-green  { width: 11px; height: 11px; border-radius: 50%; background: #28c840; }
.app-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: .78rem;
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--muted);
}

.app-body { padding: 22px; }
.app-label {
  font-size: .72rem;
  font-family: var(--f-display);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 14px;
}
.app-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r2);
  margin-bottom: 10px;
  cursor: default;
}
.app-option.selected {
  border-color: rgba(255,56,112,.4);
  background: var(--pink-dim);
}
.app-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--muted2);
  flex-shrink: 0;
}
.app-radio.filled {
  border-color: var(--pink);
  background: var(--pink);
  box-shadow: inset 0 0 0 3px #0e1020;
}
.app-option strong { display: block; font-size: .9rem; margin-bottom: 3px; }
.app-option small  { color: var(--muted); font-size: .75rem; }

.app-progress {
  height: 3px;
  background: rgba(255,255,255,.06);
  border-radius: 2px;
  margin-bottom: 14px;
  overflow: hidden;
}
.app-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, var(--pink), var(--gold));
  animation: progressLoad 2.5s ease-in-out infinite;
}
@keyframes progressLoad {
  0%   { width: 0%; opacity: 1; }
  80%  { width: 100%; opacity: 1; }
  100% { width: 100%; opacity: 0; }
}

.app-install-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, var(--pink), #cc1f55);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--r2);
  cursor: default;
  box-shadow: 0 4px 18px rgba(255,56,112,.3);
}

/* ════════════════════════════════════════════════════
   JOIN
   ════════════════════════════════════════════════════ */
.join-section {
  position: relative;
  padding: 130px 0;
  overflow: hidden;
  text-align: center;
}
.join-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% 50%, rgba(255,56,112,.09) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 50% 100%, rgba(255,201,64,.05) 0%, transparent 60%);
  pointer-events: none;
}
/* subtle animated grain lines */
.join-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

.join-content {
  position: relative;
  z-index: 1;
}
.join-heading {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 1.05;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.join-heading em {
  font-style: normal;
  background: linear-gradient(120deg, var(--pink), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.join-content > p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto 36px;
}
.join-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.footer-left { display: flex; align-items: baseline; gap: 12px; }
.footer-left p { font-size: .82rem; color: var(--muted); }
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: .82rem;
  color: var(--muted);
  letter-spacing: .04em;
  transition: color .2s;
}
.footer-nav a:hover { color: var(--text); }
.footer-copy {
  font-size: .75rem;
  color: var(--muted2);
  grid-column: 1/-1;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* ════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .loader-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .loader-app { order: -1; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-left { justify-content: center; }
}

@media (max-width: 700px) {
  .nav-burger { display: flex; }

  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(7,7,13,.97);
    border-bottom: 1px solid var(--border);
    padding: 24px 5vw;
    gap: 20px;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s, opacity .25s;
  }
  .nav-menu.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-play {
    align-self: flex-start;
  }

  .intro-stats { gap: 24px 0; }
  .istat-divider { display: none; }
  .istat { padding: 0; min-width: 120px; }

  .map-card {
    min-height: 260px;
    max-height: none;
  }

  .mods-tabs { flex-direction: column; border-bottom: none; gap: 8px; }
  .mtab {
    border: 1px solid var(--border);
    border-radius: var(--r2);
    border-bottom-width: 1px;
    margin-bottom: 0;
  }
  .mtab.active { border-color: var(--pink); }

  .join-btns { flex-direction: column; align-items: center; }
}
