/* ==========================================================================
   Crazy Network — clean & cinematic edition
   ========================================================================== */

:root {
  --bg: #060a12;
  --bg-2: #0a1120;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --text: #eef2f9;
  --muted: #8b96ad;

  --green: #3ddc7a;
  --green-2: #1fb865;
  --cyan: #3aa8ff;
  --gold: #ffc24b;
  --red: #ff5f6d;
  --violet: #a883ff;

  --pixel: "Press Start 2P", monospace;
  --display: "Space Grotesk", "Inter", sans-serif;
  --sans: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", monospace;

  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.5px; }

::selection { background: var(--green); color: #00330f; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #253049, #31405f); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #3a4a6e; }

/* ======================= SCROLL PROGRESS ======================= */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  z-index: 300;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--violet));
  box-shadow: 0 0 12px rgba(61, 220, 122, 0.7);
}

/* ======================= SPLASH (loading screen) ======================= */
.splash {
  position: fixed; inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    url("../assets/img/dirt.svg");
  background-size: auto, 120px 120px;
  transition: opacity 0.55s ease, visibility 0.55s;
}
.splash.gone { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-panel { text-align: center; }

.splash-title {
  font-family: var(--pixel);
  font-size: clamp(15px, 3vw, 22px);
  color: #f2e3c4;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
  animation: splashFade 0.8s var(--ease) 0.15s both;
}
.splash-title b { color: var(--green); font-weight: normal; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65); }
.splash-bar {
  width: 240px; height: 6px;
  margin: 28px auto 0;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(0, 0, 0, 0.3);
  overflow: hidden;
}
.splash-bar span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--green-2), var(--green));
  animation: splashLoad 1.2s var(--ease) forwards;
}

/* ======================= NAV ======================= */
.nav {
  position: fixed;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: min(1140px, calc(100% - 28px));
  z-index: 100;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(9, 14, 26, 0.55);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  transition: background 0.35s, box-shadow 0.35s;
}
.nav.scrolled { background: rgba(7, 11, 20, 0.85); box-shadow: 0 16px 50px rgba(0, 0, 0, 0.55); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; }

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-img {
  width: 30px; height: 30px;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.35s var(--ease);
}
.brand:hover .brand-img { transform: scale(1.15) rotate(-6deg); }
.brand-text { font-family: var(--pixel); font-size: 11px; letter-spacing: 1px; color: var(--text); }
.brand-text b { color: var(--green); font-weight: normal; }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.nav-join) {
  position: relative;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.25s;
}
.nav-links a:not(.nav-join)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:not(.nav-join):hover { color: var(--text); }
.nav-links a:not(.nav-join):hover::after { transform: scaleX(1); }
.nav-join {
  padding: 9px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: #02260f !important;
  font-weight: 800;
  font-size: 13.5px;
  box-shadow: 0 8px 24px rgba(31, 184, 101, 0.35);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.nav-join:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(31, 184, 101, 0.5); }

.nav-toggle {
  display: none;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.3s var(--ease), opacity 0.3s; }
.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); }

/* ======================= BUTTONS ======================= */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, filter 0.3s;
}
.btn::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease);
}
.btn:hover { transform: translateY(-3px); }
.btn:hover::after { left: 130%; }

.btn-play {
  flex-direction: column;
  gap: 3px;
  padding: 13px 30px 12px;
  color: #02260f;
  background: linear-gradient(135deg, #57e792, var(--green-2));
  box-shadow: 0 14px 36px rgba(31, 184, 101, 0.35);
}
.btn-play:hover { box-shadow: 0 20px 48px rgba(31, 184, 101, 0.5); }
.btn-label { font-family: var(--pixel); font-size: 12px; }
.btn-sub { font-family: var(--mono); font-size: 11px; font-weight: 700; opacity: 0.75; }
.btn-play.copied::before { content: "✓"; position: absolute; font-size: 20px; animation: pop 0.4s var(--ease); }

.btn-discord {
  padding: 15px 26px;
  color: #02182b;
  background: linear-gradient(135deg, #6ec8ff, #2f8fe6);
  box-shadow: 0 14px 36px rgba(47, 143, 230, 0.3);
}
.btn-discord:hover { box-shadow: 0 20px 48px rgba(47, 143, 230, 0.45); }
.btn-sm { padding: 10px 18px; font-size: 12px; }
.btn-lg { padding: 15px 32px; font-size: 12px; }

/* ======================= HERO ======================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 90px;
  background:
    radial-gradient(1000px 640px at 82% -10%, rgba(58, 168, 255, 0.13), transparent 60%),
    radial-gradient(900px 640px at 8% 110%, rgba(61, 220, 122, 0.1), transparent 60%),
    radial-gradient(700px 500px at 50% 50%, rgba(168, 131, 255, 0.05), transparent 60%),
    linear-gradient(180deg, #0a0f1d, var(--bg));
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(70% 70% at 50% 45%, black 25%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 45%, black 25%, transparent 100%);
}
.hero-canvas { position: absolute; inset: 0; z-index: 0; }

.hero-panel {
  position: relative;
  z-index: 2;
  max-width: 820px;
  text-align: center;
  animation: heroIn 1s var(--ease) 0.2s both;
}
.hero-brand-line {
  display: inline-block;
  font-family: var(--pixel);
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 26px;
  animation: heroIn 0.9s var(--ease) 0.4s both;
}
.hero-logo {
  width: auto;
  max-width: 100%;
  max-height: clamp(84px, 22vh, 176px);
  object-fit: contain;
  margin: 0 auto 30px;
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: floaty 6s ease-in-out infinite, heroIn 1s var(--ease) 0.15s both;
}
.hero-title {
  font-family: var(--display);
  font-size: clamp(40px, 8vw, 92px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -2px;
  color: #fff;
  animation: heroIn 0.9s var(--ease) 0.5s both;
}
.hero-title span {
  background: linear-gradient(100deg, var(--green), #9df0b4 45%, var(--cyan));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientMove 7s linear infinite;
}
.hero-sub {
  margin: 22px auto 34px;
  max-width: 590px;
  font-size: 16.5px;
  color: var(--muted);
  animation: heroIn 0.9s var(--ease) 0.6s both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  animation: heroIn 0.9s var(--ease) 0.7s both;
}

.hero-stats {
  margin-top: 56px;
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 22px 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  animation: heroIn 0.9s var(--ease) 0.85s both;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex: 1;
  min-width: 120px;
}
.stat b {
  font-family: var(--pixel);
  font-size: clamp(15px, 2.4vw, 22px);
  color: var(--green);
  text-shadow: 0 0 18px rgba(61, 220, 122, 0.5);
}
.stat span { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }

.wheel {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  width: 24px; height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  z-index: 2;
}
.wheel::before {
  content: "";
  position: absolute;
  left: 50%; top: 7px;
  width: 3px; height: 8px;
  margin-left: -1.5px;
  border-radius: 3px;
  background: var(--green);
  animation: wheel 1.6s infinite;
}

/* ======================= TICKER ======================= */
.ticker {
  position: relative;
  z-index: 3;
  padding: 15px 0;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(10, 15, 28, 0.6);
  transform: rotate(-1.2deg) scale(1.02);
  margin: -2px -8px 0;
}
.ticker-track {
  display: inline-flex;
  white-space: nowrap;
  will-change: transform;
  animation: tickerMove 26s linear infinite;
}
.ticker span {
  font-family: var(--pixel);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 26px;
}
.ticker em { color: var(--green); font-style: normal; }
.ticker u { color: var(--cyan); text-decoration: none; }

/* ======================= SECTIONS ======================= */
.section { padding: 120px 24px; position: relative; }
.container { max-width: 1140px; margin: 0 auto; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 62px; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--pixel);
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.kicker::before, .kicker::after {
  content: "";
  width: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--green));
}
.kicker::after { background: linear-gradient(90deg, var(--green), transparent); }
.section-title {
  font-size: clamp(34px, 5.4vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
}
.section-title .grad {
  background: linear-gradient(100deg, var(--green), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-desc { margin-top: 16px; font-size: 16px; color: var(--muted); }

/* ======================= CINEMATIC SCENE ======================= */
.stage {
  position: relative;
  padding: 60px 20px 90px;
  text-align: center;
  overflow: hidden;
}
.stage-canvas {
  display: block;
  width: 100%;
  max-width: 1080px;
  height: 400px;
  margin: 0 auto;
}

/* ======================= ABOUT ======================= */
.about { background: var(--bg); }

.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 22px; }
.founder {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 28px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(4px);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.founder:hover { transform: translateY(-6px); border-color: rgba(61, 220, 122, 0.35); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.founder-avatar {
  flex-shrink: 0;
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  border-radius: 14px;
}
.ava-anish { background: linear-gradient(135deg, #ff5f6d, #d61f44); box-shadow: 0 10px 26px rgba(214, 31, 68, 0.4); }
.ava-titan { background: linear-gradient(135deg, #6ec8ff, #2c5ad8); box-shadow: 0 10px 26px rgba(44, 90, 216, 0.4); }
.ava-spark { background: linear-gradient(135deg, #ffb347, #ff6b35); box-shadow: 0 10px 26px rgba(255, 107, 53, 0.4); }
.ava-noty { background: linear-gradient(135deg, #2bd980, #0d9488); box-shadow: 0 10px 26px rgba(43, 217, 128, 0.4); }
.founder h3 { font-weight: 700; font-size: 18px; margin-bottom: 3px; }
.founder-role { font-weight: 700; color: var(--gold); margin-bottom: 9px; font-size: 11.5px; text-transform: uppercase; letter-spacing: 1px; }
.founder p:last-child { color: var(--muted); font-size: 14.5px; }

.legacy {
  padding: 30px 38px;
  margin-bottom: 58px;
  font-size: 16px;
  color: #c7d0e2;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
}
.legacy strong { color: #fff; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature {
  padding: 28px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.feature:hover { border-color: rgba(61, 220, 122, 0.3); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.feature-ico {
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-ico svg { width: 26px; height: 26px; }
.ico-green { background: rgba(61, 220, 122, 0.12); color: var(--green); box-shadow: inset 0 0 0 1px rgba(61, 220, 122, 0.25); }
.ico-cyan { background: rgba(58, 168, 255, 0.12); color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(58, 168, 255, 0.25); }
.ico-gold { background: rgba(255, 194, 75, 0.12); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(255, 194, 75, 0.25); }
.ico-violet { background: rgba(168, 131, 255, 0.12); color: var(--violet); box-shadow: inset 0 0 0 1px rgba(168, 131, 255, 0.25); }
.feature h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.feature p { font-size: 13.5px; color: var(--muted); }

/* ======================= COPS&W & TITAN ======================= */
.copsw {
  background:
    radial-gradient(900px 500px at 15% 20%, rgba(58, 168, 255, 0.08), transparent 65%),
    radial-gradient(850px 500px at 85% 75%, rgba(61, 220, 122, 0.06), transparent 60%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}

.copsw-showcase {
  background: linear-gradient(165deg, rgba(16, 24, 43, 0.88), rgba(9, 14, 25, 0.94));
  border: 1px solid rgba(58, 168, 255, 0.25);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), inset 0 0 40px rgba(58, 168, 255, 0.04);
  position: relative;
  overflow: hidden;
}

.copsw-showcase::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--green), transparent);
}

.copsw-header-card {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  margin-bottom: 36px;
}

.copsw-shield-icon {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(58, 168, 255, 0.22), rgba(61, 220, 122, 0.16));
  border: 1px solid rgba(58, 168, 255, 0.4);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(58, 168, 255, 0.25);
}
.copsw-shield-icon svg { width: 38px; height: 38px; }

.copsw-header-content { flex: 1; }

.copsw-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--pixel);
  font-size: 8.5px;
  letter-spacing: 1.5px;
  color: var(--cyan);
  background: rgba(58, 168, 255, 0.12);
  border: 1px solid rgba(58, 168, 255, 0.3);
  padding: 6px 14px;
  border-radius: 99px;
  text-transform: uppercase;
}

.radar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: blinkSoft 1.2s infinite ease-in-out;
}

.status-pill {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  background: rgba(61, 220, 122, 0.12);
  border: 1px solid rgba(61, 220, 122, 0.25);
  padding: 5px 12px;
  border-radius: 99px;
  letter-spacing: 0.5px;
}

.copsw-headline {
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 10px;
}

.copsw-summary {
  font-size: 15.5px;
  color: #c7d0e2;
  line-height: 1.6;
}

.copsw-subhead {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.copsw-subhead-icon { font-size: 20px; }
.copsw-subhead h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.titan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.titan-feat {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 20px;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.titan-feat:hover {
  transform: translateY(-4px);
  border-color: rgba(58, 168, 255, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.titan-feat-wide {
  grid-column: 1 / -1;
}

.titan-feat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.titan-ico {
  font-size: 20px;
  display: inline-flex;
}

.titan-feat-head h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.titan-feat p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}
.titan-feat p strong {
  color: #eef2f9;
}

.titan-disclaimer {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 22px;
  background: rgba(255, 194, 75, 0.07);
  border: 1px solid rgba(255, 194, 75, 0.25);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  margin-bottom: 28px;
}
.disclaimer-icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.disclaimer-icon svg { width: 22px; height: 22px; }
.disclaimer-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.disclaimer-text p {
  font-size: 14px;
  color: #d6deed;
  line-height: 1.5;
}

.titan-signoff {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.signoff-effective {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.5px;
}
.signoff-effective::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: blinkSoft 1.4s infinite ease-in-out;
}

.signoff-signatures {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.signoff-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.signoff-author:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 179, 71, 0.4);
}

.signoff-avatar {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.signoff-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.signoff-name {
  font-size: 15.5px;
  color: #fff;
}
.signoff-name strong {
  font-weight: 700;
  color: #fff;
}

.signoff-details .author-role {
  font-size: 11px;
  color: var(--gold);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

/* ======================= RANKS ======================= */
.section-tinted {
  background:
    radial-gradient(800px 520px at 85% -10%, rgba(58, 168, 255, 0.05), transparent 60%),
    radial-gradient(800px 520px at 10% 120%, rgba(61, 220, 122, 0.04), transparent 60%),
    var(--bg-2);
}

.ranks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rank {
  --tc: var(--green);
  --xp: 35%;
  position: relative;
  padding: 26px 24px 22px;
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.rank:hover { transform: translateY(-7px); border-color: rgba(255, 255, 255, 0.16); box-shadow: 0 26px 64px rgba(0, 0, 0, 0.55); }
.rank-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.rank-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--tc);
  box-shadow: 0 0 14px var(--tc);
  flex-shrink: 0;
}
.rank h3 { font-size: 17px; font-weight: 700; letter-spacing: 0.5px; }
.rank p { font-size: 13.5px; color: var(--muted); min-height: 58px; }
.rank-xp {
  position: relative;
  height: 8px;
  margin-top: 14px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.rank-xp::before {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--xp);
  border-radius: 99px;
  background: linear-gradient(90deg, var(--tc), color-mix(in srgb, var(--tc) 55%, #fff 45%));
  box-shadow: 0 0 14px var(--tc);
}
.rank-xp::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--xp);
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  animation: xpShimmer 2.2s linear infinite;
}
.rank-tier {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--tc);
}
.rank-tier .tier-val { color: var(--muted); text-transform: uppercase; }

.r-vip { --tc: #3ddc7a; --xp: 35%; }
.r-legend { --tc: #ffc24b; --xp: 48%; }
.r-immortal { --tc: #34e0c2; --xp: 60%; }
.r-titan { --tc: #a883ff; --xp: 74%; }
.r-techno { --tc: #5ba9ff; --xp: 88%; }
.r-crazy { --tc: #ff5f6d; --xp: 100%; }

/* ======================= FRAMED IMAGES ======================= */
.framed { text-align: center; margin: 44px 0 12px; }
.framed .framed-img {
  max-width: 920px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}
.framed img {
  width: 100%;
  max-height: 540px;
  object-fit: contain;
  transition: transform 1.2s var(--ease);
}
.framed:hover img { transform: scale(1.025); }
.framed figcaption {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

/* ======================= KEYS ======================= */
.keys-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.key {
  padding: 30px 24px 26px;
  text-align: center;
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.key:hover { transform: translateY(-7px); border-color: rgba(58, 168, 255, 0.3); box-shadow: 0 26px 64px rgba(0, 0, 0, 0.55); }
.key-rarity {
  display: inline-block;
  font-family: var(--pixel);
  font-size: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 99px;
  margin-bottom: 18px;
}
.r-common { background: rgba(139, 150, 173, 0.14); color: #b9c2d4; }
.r-rare { background: rgba(58, 168, 255, 0.14); color: var(--cyan); }
.r-epic { background: rgba(255, 95, 109, 0.14); color: var(--red); }
.key-icon {
  width: 68px; height: 68px;
  margin: 0 auto 18px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
}
.key-icon svg { width: 32px; height: 32px; }
.k-spawner { background: linear-gradient(135deg, #b09a6c, #7d6840); }
.k-mega { background: linear-gradient(135deg, #6ec8ff, #2f8fe6); }
.k-crazy { background: linear-gradient(135deg, #ff8ba0, #d61f44); }
.key h3 { font-size: 17px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 9px; text-transform: uppercase; }
.key p { font-size: 13.5px; color: var(--muted); }

/* ======================= INVITE ======================= */
.invite-panel {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 44px;
  background: linear-gradient(150deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.invite-text h3 { font-size: 26px; font-weight: 700; margin: 2px 0 12px; letter-spacing: -0.5px; }
.invite-text p { color: var(--muted); margin-bottom: 18px; max-width: 500px; }
.invite-list { list-style: none; margin-bottom: 26px; }
.invite-list li {
  position: relative;
  padding-left: 30px;
  color: #cdd4e5;
  font-size: 14.5px;
  margin-bottom: 11px;
}
.invite-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 1px;
  width: 18px; height: 18px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #02260f;
  background: var(--green);
}
.invite-qr { text-align: center; justify-self: center; }
.invite-qr img {
  width: 180px; height: 180px;
  object-fit: contain;
  padding: 6px;
  border-radius: 14px;
  background: #fff;
  transition: transform 0.4s var(--ease);
}
.invite-qr img:hover { transform: translateY(-6px) rotate(2deg) scale(1.03); }
.invite-qr p { margin-top: 12px; font-weight: 700; color: var(--gold); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }

.invite-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.invite-shots .framed { margin: 0; }

/* ======================= DISCORD / CTA ======================= */
.discord {
  position: relative;
  padding: 128px 24px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(800px 520px at 50% 55%, rgba(58, 168, 255, 0.12), transparent 70%),
    radial-gradient(700px 460px at 50% -10%, rgba(168, 131, 255, 0.1), transparent 70%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}
.discord-canvas { position: absolute; inset: 0; }
.discord-panel { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.discord-panel h2 { font-size: clamp(34px, 5.2vw, 54px); font-weight: 700; letter-spacing: -1.5px; margin-bottom: 18px; }
.discord-panel p { color: var(--muted); font-size: 16px; margin-bottom: 34px; }
.discord-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ======================= FOOTER ======================= */
.footer { border-top: 1px solid var(--line); background: #05080f; padding: 46px 24px 34px; text-align: center; }
.footer-inner { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 15px; }
.footer .brand-text { font-size: 10px; }
.footer-inner > p { color: var(--muted); font-size: 13px; max-width: 520px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--muted); font-weight: 600; font-size: 13.5px; transition: color 0.25s; }
.footer-links a:hover { color: var(--green); }
.footer-copy { opacity: 0.55; font-size: 12px !important; }

/* ======================= TOAST ======================= */
.toast {
  position: fixed;
  left: 50%; bottom: 30px;
  transform: translate(-50%, 26px);
  z-index: 200;
  padding: 13px 24px;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: #02260f;
  font-family: var(--pixel);
  font-size: 10px;
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(31, 184, 101, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s var(--ease), opacity 0.4s;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ======================= REVEAL ======================= */
.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  filter: blur(6px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal-l { transform: translateX(-42px) scale(0.99); }
.reveal-r { transform: translateX(42px) scale(0.99); }
.reveal-zoom { transform: scale(0.84); }
.reveal-flip { transform: perspective(700px) rotateY(-14deg); }
.reveal.in { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }

/* ======================= ANIMATIONS ======================= */
@keyframes gradientMove { to { background-position: 200% center; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes heroIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 50% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@keyframes pop { 0% { transform: scale(0); } 60% { transform: scale(1.3); } 100% { transform: scale(1); } }
@keyframes tickerMove { to { transform: translateX(-50%); } }
@keyframes xpShimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(200%); } }
@keyframes splashBounce { from { opacity: 0; transform: translateY(16px) scale(0.9); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes splashFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes splashLoad { to { width: 100%; } }

/* ======================= LIVE STATUS PANEL ======================= */
.status-panel {
  position: relative;
  padding: 34px;
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
}
.status-panel:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.14); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55); }
.status-panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), var(--cyan), transparent);
  animation: sheenX 6s linear infinite;
}
.status-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.status-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  background: currentColor;
  box-shadow: 0 0 14px currentColor;
  position: relative;
  transition: color 0.4s;
}
.status-dot::after {
  content: "";
  position: absolute; inset: -3px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0;
  animation: statusRing 2.4s ease-out infinite;
}
#statusPanel.checking .status-dot { color: var(--gold); }
#statusPanel.online .status-dot { color: var(--green); }
#statusPanel.offline .status-dot { color: var(--red); animation: shakeX 0.7s ease; }
.status-state {
  display: block;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.3px;
  transition: color 0.4s;
}
.status-sub { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.status-sub i { font-style: normal; color: var(--cyan); font-family: var(--mono); }

.status-counts { display: flex; gap: 14px; margin-bottom: 28px; }
.status-counts .stat {
  flex: 1;
  min-width: 0;
  padding: 14px 10px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.status-counts .stat:hover { transform: translateY(-3px); border-color: rgba(61, 220, 122, 0.3); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35); }
.status-counts .stat b { font-family: var(--pixel); font-size: 17px; }
.status-counts .stat span { font-size: 10px; }

.status-players { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px; margin-bottom: 26px; min-height: 66px; }
.player-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 14px 8px 12px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s, background 0.35s;
}
.player-chip:hover { transform: translateY(-5px); border-color: rgba(61, 220, 122, 0.35); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5); background: linear-gradient(160deg, rgba(61, 220, 122, 0.08), var(--surface)); }
.player-head { width: 54px; height: 54px; }
.player-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #dce4f3;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.status-loading { grid-column: 1 / -1; color: var(--muted); font-size: 13px; opacity: 0.8; }
.status-loading::after {
  content: "…";
  display: inline-block;
  animation: blinkSoft 1.2s ease-in-out infinite;
  letter-spacing: 2px;
}
.status-actions { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.status-note { font-size: 12px; color: var(--muted); font-family: var(--mono); }
.status-note b { color: var(--gold); }

/* ======================= BACK TO TOP ======================= */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 95;
  width: 48px; height: 48px;
  border: none;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #02260f;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  box-shadow: 0 14px 34px rgba(31, 184, 101, 0.35);
  opacity: 0;
  transform: translateY(18px) scale(0.85);
  pointer-events: none;
  transition: transform 0.4s var(--ease), opacity 0.4s, box-shadow 0.4s;
}
.to-top.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.to-top:hover { box-shadow: 0 22px 48px rgba(31, 184, 101, 0.55); animation: heartBeat 1.4s ease-in-out infinite; }
.to-top::after {
  content: "";
  position: absolute; inset: -5px;
  border-radius: 18px;
  border: 1px solid rgba(61, 220, 122, 0.5);
  opacity: 0;
  transition: opacity 0.35s, transform 0.5s var(--ease);
}
.to-top:hover::after { opacity: 1; transform: scale(1.15); }

/* ======================= PARALLAX / MOTION HELPERS ======================= */
.hero-canvas, .hero-motion, .discord-canvas, .discord-panel, .stage-canvas { will-change: transform; }
.hero-motion { position: relative; }

/* drifting comet in the hero */
.hero::after {
  content: "";
  position: absolute;
  top: 14%; left: 4%;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px 2px rgba(255, 255, 255, 0.8);
  pointer-events: none;
  animation: comet 10s linear infinite;
}

/* ======================= ANIMATION UTILITIES ======================= */
.anim-float    { animation: floatB 5s ease-in-out infinite; }
.anim-float-2  { animation: floatB2 6s ease-in-out infinite; }
.anim-float-slow { animation: floatB 8s -3s ease-in-out infinite; }
.anim-pop      { animation: popIn 0.6s var(--ease) both; }
.anim-drop     { animation: dropIn 0.7s var(--ease) both; }
.anim-left     { animation: slideInLeft 0.7s var(--ease) both; }
.anim-right    { animation: slideInRight 0.7s var(--ease) both; }
.anim-up       { animation: slideUp 0.7s var(--ease) both; }
.anim-zoom     { animation: zoomIn 0.65s var(--ease) both; }
.anim-flip     { animation: flipIn 0.8s var(--ease) both; }
.anim-stamp    { animation: stampIn 0.5s var(--ease) both; }
.anim-glow     { animation: glowPulse 3s ease-in-out infinite; }
.anim-grad     { background-size: 200% auto; animation: gradShift 6s linear infinite; }
.anim-blink    { animation: blinkSoft 1.5s ease-in-out infinite; }
.anim-wiggle   { animation: wiggle 1.1s ease-in-out infinite; }
.anim-heart    { animation: heartBeat 1.4s ease-in-out infinite; }
.anim-spin     { animation: spinSlow 14s linear infinite; transform-origin: 50% 50%; }
.anim-fade-up  { animation: fadeUp 0.8s var(--ease) both; }
.d1 { animation-delay: 0.08s; }
.d2 { animation-delay: 0.16s; }
.d3 { animation-delay: 0.24s; }
.d4 { animation-delay: 0.32s; }
.d5 { animation-delay: 0.4s; }
.d6 { animation-delay: 0.48s; }
.d7 { animation-delay: 0.56s; }
.d8 { animation-delay: 0.64s; }
.d9 { animation-delay: 0.72s; }

/* hover-friendly icon wobble */
.feature-ico, .key-icon { transition: transform 0.5s var(--ease); }
.feature:hover .feature-ico, .key:hover .key-icon { transform: translateY(-5px) rotate(-5deg) scale(1.06); animation: wiggle 1.1s ease-in-out; }
.brand-img, .founder-avatar { transition: transform 0.5s var(--ease); }
.founder:hover .founder-avatar { transform: rotate(8deg) scale(1.1); }

.invite-list li { transition: transform 0.35s var(--ease), color 0.35s; }
.invite-list li:hover { transform: translateX(6px); color: #fff; }

.ticker:hover .ticker-track { animation-play-state: paused; }

.nav-links a.active { color: var(--text) !important; }
.nav-links a.active::after { transform: scaleX(1); }

/* ======================= NEW KEYFRAMES ======================= */
@keyframes floatB { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes floatB2 { 0%, 100% { transform: translateY(-4px) rotate(0deg); } 50% { transform: translateY(5px) rotate(3deg); } }
@keyframes popIn { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: scale(1); } }
@keyframes dropIn { from { opacity: 0; transform: translateY(-24px) scale(1.05); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-46px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(46px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(46px); } to { opacity: 1; transform: translateY(0); } }
@keyframes zoomIn { from { opacity: 0; transform: scale(0.7); } to { opacity: 1; transform: scale(1); } }
@keyframes flipIn { from { opacity: 0; transform: perspective(600px) rotateY(80deg); } to { opacity: 1; transform: perspective(600px) rotateY(0deg); } }
@keyframes stampIn { 0% { opacity: 0; transform: scale(1.7); } 65% { opacity: 1; transform: scale(0.94); } 100% { transform: scale(1); } }
@keyframes glowPulse { 0%, 100% { filter: drop-shadow(0 0 6px rgba(61, 220, 122, 0.45)); } 50% { filter: drop-shadow(0 0 16px rgba(61, 220, 122, 0.9)); } }
@keyframes gradShift { to { background-position: 200% center; } }
@keyframes blinkSoft { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes wiggle { 0%, 100% { transform: rotate(0deg); } 20%, 60% { transform: rotate(-7deg); } 40%, 80% { transform: rotate(7deg); } }
@keyframes heartBeat { 0%, 40%, 80%, 100% { transform: scale(1); } 20% { transform: scale(1.12); } 60% { transform: scale(1.08); } }
@keyframes statusRing { 0% { opacity: 0.85; transform: scale(1); } 100% { opacity: 0; transform: scale(2.4); } }
@keyframes shakeX { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
@keyframes comet { 0% { transform: translate(0, 0); opacity: 0; } 4% { opacity: 1; } 16% { transform: translate(78vw, 44vh); opacity: 0; } 100% { transform: translate(78vw, 44vh); opacity: 0; } }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sheenX { 0% { background-position: -200px 0; } 100% { background-position: 400px 0; } }

/* ======================= RESPONSIVE ======================= */
@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .ranks-grid { grid-template-columns: repeat(2, 1fr); }
  .founders { grid-template-columns: 1fr; }
  .titan-grid { grid-template-columns: 1fr; }
  .invite-shots { grid-template-columns: 1fr; }
  .stage-canvas { height: 340px; }
}
@media (max-width: 640px) {
  .section { padding: 92px 18px; }
  .copsw-showcase { padding: 26px 18px; }
  .copsw-header-card { flex-direction: column; gap: 16px; }
  .copsw-shield-icon { width: 56px; height: 56px; }
  .copsw-shield-icon svg { width: 28px; height: 28px; }
  .titan-signoff { flex-direction: column; align-items: flex-start; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 76px; right: 14px;
    width: min(300px, 82vw);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(8, 12, 22, 0.96);
    border: 1px solid var(--line);
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  }
  .nav-links.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
  .nav-links a { font-size: 15px; padding: 10px 12px; border-radius: 10px; }
  .nav-links a:hover { background: var(--surface-2); }
  .nav-links a::after { display: none; }
  .nav-join { text-align: center; }
  .features, .ranks-grid, .keys-grid { grid-template-columns: 1fr; }
  .invite-shots, .invite-panel { grid-template-columns: 1fr; }
  .invite-panel { padding: 28px 20px; }
  .legacy { padding: 24px 20px; }
  .hero { padding-top: 130px; padding-bottom: 110px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn-play, .btn-discord { width: 100%; max-width: 340px; }
  .founder { flex-direction: column; }
  .hero-stats { flex-wrap: wrap; }
  .stat { min-width: 90px; }
  .stage-canvas { height: 280px; }
  .ticker { transform: rotate(-1.2deg) scale(1.05); margin: -2px -14px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  html { scroll-behavior: auto; }
  .reveal, .reveal-l, .reveal-r, .reveal-zoom, .reveal-flip, .to-top { opacity: 1 !important; transform: none !important; filter: none !important; }
}

.player-head { animation: headTilt 5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -0.55s); }
@keyframes headTilt { 0%, 100% { transform: rotateY(-14deg) translateY(0); } 50% { transform: rotateY(14deg) translateY(-4px); } }

@media (max-width: 640px) {
  .status-counts { flex-wrap: wrap; }
  .status-counts .stat { flex-basis: calc(50% - 8px); min-width: 0; }
  .status-players { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
  .to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
}