/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
}

:root {
  --red: #e8000f;
  --red-dim: #9b0008;
  --red-glow: rgba(232, 0, 15, 0.4);
  --bg: #060608;
  --bg2: #0d0d10;
  --bg3: #111116;
  --text: #e8e8f0;
  --text-dim: #7a7a90;
  --border: rgba(232, 0, 15, 0.15);
  --border-bright: rgba(232, 0, 15, 0.5);
  --ff-display: 'Bebas Neue', sans-serif;
  --ff-body: 'Rajdhani', sans-serif;
  --ff-mono: 'Share Tech Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* ===== CUSTOM CURSOR ===== */
.cursor {
  position: fixed;
  width: 12px; height: 12px;
  background: var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, background 0.2s;
  mix-blend-mode: difference;
}

.cursor-trail {
  position: fixed;
  width: 32px; height: 32px;
  border: 1px solid var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: left 0.12s ease, top 0.12s ease;
  opacity: 0.5;
}

/* ===== NOISE ===== */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 150px 150px;
}

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  background: transparent;
  transition: background 0.3s, border-bottom 0.3s;
}

#navbar.scrolled {
  background: rgba(6, 6, 8, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: 1300px;
  margin: 0 auto;
}

.logo {
  font-family: var(--ff-display);
  font-size: 28px;
  letter-spacing: 2px;
  cursor: pointer;
}
.logo-astryx { color: var(--text); }
.logo-rp {
  color: var(--red);
  text-shadow: 0 0 12px var(--red-glow);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--red);
  transition: width 0.25s;
}

.nav-links a:hover { color: var(--red); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: inline-block;
  padding: 10px 22px;
  background: var(--red);
  color: #fff;
  font-family: var(--ff-display);
  font-size: 16px;
  letter-spacing: 2px;
  text-decoration: none;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  background: #ff1a24;
  box-shadow: 0 0 20px var(--red-glow);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  transition: 0.3s;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: rgba(6, 6, 8, 0.98);
  border-bottom: 1px solid var(--border);
  transform: translateY(-110%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 99;
  padding: 20px 0;
}

.mobile-menu.open { transform: translateY(0); }

.mobile-menu ul { list-style: none; }
.mobile-menu a {
  display: block;
  padding: 14px 40px;
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  transition: color 0.2s, padding-left 0.2s;
}
.mobile-menu a:hover { color: var(--red); padding-left: 52px; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 0 20px;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 0, 15, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 0, 15, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
}

.hero-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.08) 2px,
    rgba(0, 0, 0, 0.08) 4px
  );
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(232, 0, 15, 0.12) 0%, transparent 70%);
}

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

.hero-badge {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--red);
  border: 1px solid var(--border-bright);
  padding: 6px 16px;
  margin-bottom: 28px;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  background: rgba(232, 0, 15, 0.05);
}

.hero-title {
  font-family: var(--ff-display);
  line-height: 0.9;
  margin-bottom: 24px;
  user-select: none;
}

.hero-title .line1 {
  display: block;
  font-size: clamp(100px, 18vw, 200px);
  color: var(--text);
  -webkit-text-stroke: 2px rgba(255,255,255,0.1);
  letter-spacing: -2px;
}

.hero-title .line2 {
  display: block;
  font-size: clamp(80px, 15vw, 160px);
  color: var(--red);
  text-shadow: 0 0 60px var(--red-glow), 0 0 120px rgba(232,0,15,0.2);
  letter-spacing: 20px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-dim);
  margin-bottom: 36px;
  line-height: 1.7;
  font-weight: 500;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.btn-primary {
  position: relative;
  display: inline-block;
  padding: 14px 36px;
  background: var(--red);
  color: #fff;
  font-family: var(--ff-display);
  font-size: 20px;
  letter-spacing: 2px;
  text-decoration: none;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  transition: box-shadow 0.3s, transform 0.2s;
  overflow: hidden;
}

.btn-primary:hover {
  box-shadow: 0 0 40px var(--red-glow), 0 0 80px rgba(232,0,15,0.15);
  transform: translateY(-2px);
}

.btn-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.btn-primary:hover .btn-glow { transform: translateX(100%); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--text);
  font-family: var(--ff-display);
  font-size: 20px;
  letter-spacing: 2px;
  text-decoration: none;
  border: 1px solid var(--border-bright);
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.btn-secondary:hover {
  background: rgba(232, 0, 15, 0.1);
  color: var(--red);
  border-color: var(--red);
}

.hero-server-info {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-mono);
  font-size: 13px;
  color: var(--text-dim);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  padding: 8px 20px;
  border-radius: 2px;
}

.server-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #00ff88;
  box-shadow: 0 0 10px #00ff88;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.server-players {
  color: var(--red);
  font-weight: 600;
  margin-left: 6px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--text-dim);
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: scroll-anim 1.8s ease-in-out infinite;
}

@keyframes scroll-anim {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== SECTION COMMON ===== */
section { padding: 100px 40px; position: relative; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--red);
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(36px, 6vw, 60px);
  letter-spacing: 2px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 550px;
  margin: 0 auto;
}

.red { color: var(--red); }

/* ===== FEATURES ===== */
.features { background: var(--bg); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px;
  max-width: 1300px;
  margin: 0 auto;
  border: 1px solid var(--border);
}

.feature-card {
  background: var(--bg2);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s, transform 0.3s;
  opacity: 0;
  transform: translateY(20px);
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease, background 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  background: var(--bg3);
  transform: translateY(-4px);
  z-index: 1;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), inset 0 1px 0 var(--border-bright);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.4s;
}

.feature-card:hover::before { width: 100%; }

.feature-icon {
  font-size: 36px;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-family: var(--ff-display);
  font-size: 24px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
}

.card-line {
  position: absolute;
  bottom: 0; right: 0;
  width: 40px; height: 40px;
  border-right: 1px solid var(--border-bright);
  border-bottom: 1px solid var(--border-bright);
}

/* ===== STATS ===== */
.stats-section {
  background: var(--bg2);
  padding: 80px 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.stats-bg-line {
  position: absolute;
  top: 50%; left: -10%;
  width: 120%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0.2;
}

.stats-inner { max-width: 1200px; margin: 0 auto; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 48px;
}

.stat-item {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.stat-item:hover { background: rgba(232,0,15,0.04); }

.stat-number {
  font-family: var(--ff-display);
  font-size: clamp(48px, 6vw, 72px);
  color: var(--red);
  text-shadow: 0 0 30px var(--red-glow);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* ===== RULES ===== */
.rules-section { background: var(--bg); }

.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2px;
  max-width: 1100px;
  margin: 0 auto;
}

.rule-card {
  display: flex;
  gap: 20px;
  padding: 28px 24px;
  background: var(--bg2);
  border-left: 2px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.rule-card:hover {
  border-left-color: var(--red);
  background: var(--bg3);
}

.rule-num {
  font-family: var(--ff-display);
  font-size: 40px;
  color: rgba(232,0,15,0.15);
  line-height: 1;
  min-width: 50px;
  transition: color 0.3s;
}

.rule-card:hover .rule-num { color: var(--red); }

.rule-content h4 {
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.rule-content p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
}

/* ===== TEAM ===== */
.team-section { background: var(--bg2); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.team-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.team-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(232,0,15,0.05), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.team-card:hover::before { opacity: 1; }
.team-card:hover { border-color: var(--border-bright); transform: translateY(-6px); }

.team-avatar { position: relative; margin-bottom: 16px; display: inline-block; }

.avatar-placeholder {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-dim), #300005);
  border: 2px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 36px;
  color: var(--text);
  margin: 0 auto;
}

.team-badge {
  position: absolute;
  bottom: -4px; right: -4px;
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 1px;
  padding: 2px 6px;
  border-radius: 2px;
}

.team-badge.owner { background: #ffd700; color: #000; }
.team-badge.admin { background: var(--red); color: #fff; }
.team-badge.dev { background: #00aaff; color: #000; }
.team-badge.mod { background: #00dd77; color: #000; }

.team-card h4 {
  font-family: var(--ff-display);
  font-size: 22px;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.team-role {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-dim);
  display: block;
  margin-bottom: 16px;
}

.team-socials a {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--red);
  text-decoration: none;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--border-bright);
  padding-bottom: 2px;
  transition: color 0.2s;
}

/* ===== JOIN ===== */
.join-section {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.join-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(232,0,15,0.06), transparent);
}

.join-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }

.steps-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.step {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 36px 28px;
  text-align: center;
  flex: 1;
  min-width: 220px;
  max-width: 300px;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
}

.step:hover { border-color: var(--border-bright); transform: translateY(-4px); }

.step-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--ff-display);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 0 20px var(--red-glow);
}

.step h4 {
  font-family: var(--ff-display);
  font-size: 22px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.step-link {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--red);
  text-decoration: none;
  letter-spacing: 2px;
  background: none;
  border: none;
  cursor: none;
  transition: letter-spacing 0.2s;
}

.step-link:hover { letter-spacing: 3px; }

.step-arrow {
  font-size: 24px;
  color: var(--red);
  opacity: 0.4;
  font-family: var(--ff-display);
}

.join-discord-box {
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  padding: 36px 40px;
  flex-wrap: wrap;
}

.discord-icon {
  color: #5865F2;
  flex-shrink: 0;
}

.discord-text { flex: 1; min-width: 200px; }
.discord-text h3 {
  font-family: var(--ff-display);
  font-size: 26px;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.discord-text p { color: var(--text-dim); font-size: 15px; }

.btn-discord {
  display: inline-block;
  padding: 14px 32px;
  background: #5865F2;
  color: #fff;
  font-family: var(--ff-display);
  font-size: 18px;
  letter-spacing: 1px;
  text-decoration: none;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn-discord:hover {
  background: #4752c4;
  box-shadow: 0 0 30px rgba(88, 101, 242, 0.4);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 40px 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 48px;
}

.footer-logo .logo-astryx { font-family: var(--ff-display); font-size: 26px; color: var(--text); }
.footer-logo .logo-rp { font-family: var(--ff-display); font-size: 26px; color: var(--red); text-shadow: 0 0 10px var(--red-glow); }
.footer-logo p { color: var(--text-dim); font-size: 14px; margin-top: 10px; max-width: 260px; }

.footer-links { display: flex; gap: 60px; }

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h5 {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.footer-col a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s, padding-left 0.2s;
}

.footer-col a:hover { color: var(--red); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-dim);
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 30px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #1a1a20;
  border: 1px solid var(--red);
  color: var(--red);
  font-family: var(--ff-mono);
  font-size: 13px;
  letter-spacing: 2px;
  padding: 12px 28px;
  border-radius: 2px;
  z-index: 9999;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.show { transform: translateX(-50%) translateY(0); }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--red); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  section { padding: 70px 24px; }

  .hero-title .line1 { font-size: clamp(70px, 20vw, 120px); }
  .hero-title .line2 { font-size: clamp(60px, 16vw, 100px); }

  .steps-row { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .join-discord-box { flex-direction: column; text-align: center; }

  .footer-inner { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  #navbar { padding: 0 20px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-title .line1 { font-size: 64px; }
  .hero-title .line2 { font-size: 52px; }

  .cursor, .cursor-trail { display: none; }
  body { cursor: auto; }
  * { cursor: auto !important; }
}

/* ===== WHITELIST FORM ===== */
.whitelist-section {
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}

.whitelist-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(232,0,15,0.05), transparent),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(232,0,15,0.04), transparent);
  pointer-events: none;
}

.whitelist-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* FORM */
.whitelist-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.form-section {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-top: 2px solid var(--red);
  padding: 36px 36px 32px;
  position: relative;
  transition: border-color 0.3s;
}

.form-section:hover { border-color: var(--border-bright); border-top-color: var(--red); }

.form-section-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  font-family: var(--ff-display);
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--text);
}

.form-section-num {
  font-family: var(--ff-mono);
  font-size: 13px;
  color: var(--red);
  border: 1px solid var(--border-bright);
  padding: 4px 10px;
  background: rgba(232,0,15,0.06);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group:last-child { margin-bottom: 0; }

.form-group label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-dim);
  text-transform: uppercase;
}

.req { color: var(--red); }

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(122,122,144,0.5);
  font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 1px rgba(232,0,15,0.2), inset 0 0 20px rgba(232,0,15,0.02);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

.char-count {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--text-dim);
  text-align: right;
  margin-top: -4px;
}

.char-count.warn { color: var(--red); }

/* SELECT */
.select-wrapper {
  position: relative;
}

.select-wrapper select { cursor: pointer; padding-right: 40px; }

.select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--red);
  font-size: 14px;
  pointer-events: none;
}

/* CHECKBOXES */
.form-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
  position: relative;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkmark {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1px solid var(--border-bright);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: background 0.2s, border-color 0.2s;
}

.checkbox-label input:checked ~ .checkmark {
  background: var(--red);
  border-color: var(--red);
}

.checkbox-label input:checked ~ .checkmark::after {
  content: '✓';
  color: #fff;
  font-size: 12px;
  font-weight: bold;
}

.checkbox-label:hover .checkmark { border-color: var(--red); }

/* SUBMIT */
.form-submit-area {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.btn-submit {
  position: relative;
  display: inline-block;
  padding: 16px 56px;
  background: var(--red);
  color: #fff;
  font-family: var(--ff-display);
  font-size: 22px;
  letter-spacing: 3px;
  border: none;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  cursor: pointer;
  transition: box-shadow 0.3s, transform 0.2s;
  overflow: hidden;
}

.btn-submit:hover {
  box-shadow: 0 0 40px var(--red-glow), 0 0 80px rgba(232,0,15,0.2);
  transform: translateY(-2px);
}

.btn-submit:hover .btn-glow { transform: translateX(100%); }

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-notice {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-dim);
}

/* SUCCESS */
.form-success {
  text-align: center;
  padding: 80px 40px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-top: 2px solid var(--red);
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0,200,100,0.1);
  border: 2px solid #00c864;
  color: #00c864;
  font-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.form-success h3 {
  font-family: var(--ff-display);
  font-size: 36px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.form-success p {
  color: var(--text-dim);
  font-size: 16px;
  margin-bottom: 8px;
}

.success-tag {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--red);
  margin-top: 16px !important;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .form-section { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; }
}
