/* =============================================
   MegaMC — styles.css
   ============================================= */

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

/* ── Variables ─────────────────────────────── */
:root {
  --bg-primary:    #080c16;
  --bg-secondary:  #0d1526;
  --bg-card:       #111827;
  --bg-card-hover: #162035;
  --border:        #1e2d48;
  --border-light:  #253554;

  --accent:        #4ade80;
  --accent-dark:   #16a34a;
  --accent-glow:   rgba(74, 222, 128, 0.12);
  --accent-glow-strong: rgba(74, 222, 128, 0.25);

  --gold:          #fbbf24;
  --gold-dark:     #d97706;
  --gold-glow:     rgba(251, 191, 36, 0.12);

  --silver:        #94a3b8;
  --bronze:        #cd7f32;

  --red:           #f87171;
  --blue:          #60a5fa;

  --text:          #f1f5f9;
  --text-muted:    #94a3b8;
  --text-dim:      #64748b;

  --radius:        12px;
  --radius-lg:     20px;
  --radius-xl:     28px;

  --shadow:        0 4px 32px rgba(0, 0, 0, 0.6);
  --shadow-card:   0 2px 16px rgba(0, 0, 0, 0.4);
  --shadow-glow:   0 0 40px rgba(74, 222, 128, 0.15);

  --nav-height:    70px;
  --transition:    0.25s ease;
}

/* ── Reset & Base ──────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: #86efac; }

ul { list-style: none; }

/* ── Typography ────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.15;
  color: var(--text);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem);   font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.3rem;  font-weight: 700; }
h4 { font-size: 1rem;    font-weight: 700; }

p  { color: var(--text-muted); line-height: 1.75; }

.accent { color: var(--accent); }
.gold   { color: var(--gold); }

/* ── Layout ────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; position: relative; overflow: hidden; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(74, 222, 128, 0.25);
  padding: 4px 14px;
  border-radius: 99px;
  margin-bottom: 16px;
}

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

.section-header p {
  max-width: 560px;
  margin: 14px auto 0;
  font-size: 1.05rem;
}

/* ── Buttons ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #05100a;
}

.btn-primary:hover {
  background: #86efac;
  color: #05100a;
  box-shadow: 0 0 28px var(--accent-glow-strong);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: #1a0f00;
}

.btn-gold:hover {
  background: #fcd34d;
  color: #1a0f00;
  box-shadow: 0 0 28px var(--gold-glow);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 36px;
  font-size: 1rem;
}

/* ── Cards ─────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

/* ── Divider ───────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
  margin: 0;
}

/* ── ═══════════════════════════════════════ ── */
/* ── HEADER & NAV                             ── */
/* ── ═══════════════════════════════════════ ── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(8, 12, 22, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.navbar > .container {
  display: flex;
  align-items: center;
  height: var(--nav-height);
  gap: 32px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 36px;
  width: auto;
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
  list-style: none;
}

.nav-link {
  display: block;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  color: var(--accent);
}

.nav-cta {
  flex-shrink: 0;
  font-size: 0.875rem;
  padding: 9px 20px;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── ═══════════════════════════════════════ ── */
/* ── HERO (HOME)                              ── */
/* ── ═══════════════════════════════════════ ── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
}

/* Floating orbs in hero */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(60px);
  animation: orbFloat linear infinite;
}

.hero-orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(74,222,128,0.15), transparent 70%);
  top: 10%;
  left: -10%;
  animation-duration: 18s;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(96,165,250,0.1), transparent 70%);
  top: 30%;
  right: -5%;
  animation-duration: 22s;
  animation-delay: -6s;
}

.hero-orb-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(251,191,36,0.08), transparent 70%);
  bottom: 20%;
  left: 30%;
  animation-duration: 16s;
  animation-delay: -10s;
}

@keyframes orbFloat {
  0%   { transform: translateY(0px) translateX(0px) scale(1); }
  33%  { transform: translateY(-30px) translateX(15px) scale(1.05); }
  66%  { transform: translateY(15px) translateX(-10px) scale(0.95); }
  100% { transform: translateY(0px) translateX(0px) scale(1); }
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 12, 22, 0.6) 0%,
    rgba(8, 12, 22, 0.4) 50%,
    rgba(8, 12, 22, 0.95) 100%
  );
}

/* Animated grid overlay */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(74, 222, 128, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 222, 128, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 28px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}

.hero p {
  font-size: 1.15rem;
  max-width: 540px;
  margin: 0 auto 36px;
  color: rgba(241, 245, 249, 0.75);
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.server-ip-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 12px 20px;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.server-ip-box strong {
  color: var(--text);
  font-family: 'Courier New', monospace;
}

.copy-btn {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background var(--transition);
}

.copy-btn:hover { background: var(--accent-glow); }

/* Hero badge offline state */
.hero-badge.is-offline .dot { background: var(--red); animation: none; }
.hero-badge.is-offline      { border-color: rgba(248,113,113,0.3); background: rgba(248,113,113,0.08); color: var(--red); }

/* ── Stats Bar ─────────────────────────────── */
.stats-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

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

.stat-item {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}

.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--bg-card); }

.stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Features Section ──────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: rgba(74, 222, 128, 0.3);
  box-shadow: 0 0 32px var(--accent-glow);
  transform: translateY(-4px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-glow);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

/* ── How To Join ───────────────────────────── */
.how-to-join {
  background: var(--bg-secondary);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: #05100a;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-card h3 { margin-bottom: 8px; }

/* ── CTA Banner ────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.08), rgba(251, 191, 36, 0.06));
  border: 1px solid rgba(74, 222, 128, 0.15);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  margin: 0 24px;
}

.cta-banner h2 { margin-bottom: 14px; }
.cta-banner p  { margin-bottom: 32px; }
.cta-buttons   { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── ═══════════════════════════════════════ ── */
/* ── PAGE HERO (Inner Pages)                  ── */
/* ── ═══════════════════════════════════════ ── */

.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + 60px) 0 60px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(74, 222, 128, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 222, 128, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.15;
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

/* ── ═══════════════════════════════════════ ── */
/* ── PARALLAX SECTIONS                        ── */
/* ── ═══════════════════════════════════════ ── */

.parallax {
  min-height: 340px;
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

/* Green grid glow */
.parallax-green {
  background-image:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(74,222,128,0.18) 0%, transparent 70%),
    linear-gradient(180deg, #080c16 0%, #0b1420 50%, #080c16 100%),
    repeating-linear-gradient(0deg,   rgba(74,222,128,0.06) 0px, rgba(74,222,128,0.06) 1px, transparent 1px, transparent 56px),
    repeating-linear-gradient(90deg,  rgba(74,222,128,0.06) 0px, rgba(74,222,128,0.06) 1px, transparent 1px, transparent 56px);
}

/* Blue grid glow */
.parallax-blue {
  background-image:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(96,165,250,0.16) 0%, transparent 70%),
    linear-gradient(180deg, #080c16 0%, #090e1c 50%, #080c16 100%),
    repeating-linear-gradient(0deg,   rgba(96,165,250,0.05) 0px, rgba(96,165,250,0.05) 1px, transparent 1px, transparent 56px),
    repeating-linear-gradient(90deg,  rgba(96,165,250,0.05) 0px, rgba(96,165,250,0.05) 1px, transparent 1px, transparent 56px);
}

/* Gold grid glow */
.parallax-gold {
  background-image:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(251,191,36,0.14) 0%, transparent 70%),
    linear-gradient(180deg, #080c16 0%, #0d1100 50%, #080c16 100%),
    repeating-linear-gradient(0deg,   rgba(251,191,36,0.05) 0px, rgba(251,191,36,0.05) 1px, transparent 1px, transparent 56px),
    repeating-linear-gradient(90deg,  rgba(251,191,36,0.05) 0px, rgba(251,191,36,0.05) 1px, transparent 1px, transparent 56px);
}

/* Image parallax (about page) */
.parallax-img {
  background-image:
    linear-gradient(rgba(8,12,22,0.72), rgba(8,12,22,0.72)),
    url('/images/about-img.jpg');
}

.parallax-content {
  position: relative;
  z-index: 1;
  padding: 0 24px;
  max-width: 680px;
}

.parallax-content h2 {
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

.parallax-content p {
  font-size: 1.05rem;
}

/* Mobile — performance & usability */
@media (max-width: 768px) {
  .parallax {
    background-attachment: scroll;
    min-height: 200px;
  }

  /* Disable heavy canvas effects */
  .hero-canvas,
  .page-hero-canvas { display: none; }

  /* Disable 3D tilt (pointer events are fine, just no transform) */
  .feature-card,
  .step-card,
  .staff-card,
  .sponsor-card,
  .contact-card,
  .spec-item,
  .cta-banner { will-change: auto; }

  /* Disable parallax section animations */
  .parallax::before,
  .parallax::after { display: none; }

  /* Simpler stat glow */
  .stat-value { animation: none; text-shadow: none; }

  /* Hero IP widget full width */
  .hero-ip-primary { padding: 16px 24px; width: 100%; max-width: 340px; }
  .hip-ip { font-size: 1.4rem; }
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.05rem;
  max-width: 540px;
}

/* ── ═══════════════════════════════════════ ── */
/* ── ABOUT PAGE                               ── */
/* ── ═══════════════════════════════════════ ── */

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card-hover));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  min-height: 280px;
}

.about-text h2 { margin-bottom: 16px; }
.about-text p  { margin-bottom: 20px; }

/* Staff Grid */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.staff-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: all var(--transition);
}

.staff-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
}

.staff-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 3px solid var(--border);
  background: var(--bg-secondary);
}

.staff-avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  color: #05100a;
  margin: 0 auto 14px;
}

.staff-role {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 8px;
}

.role-owner   { background: var(--gold-glow); color: var(--gold); border: 1px solid rgba(251,191,36,0.3); }
.role-admin   { background: rgba(248,113,113,0.1); color: var(--red); border: 1px solid rgba(248,113,113,0.3); }
.role-mod     { background: rgba(96,165,250,0.1); color: var(--blue); border: 1px solid rgba(96,165,250,0.3); }
.role-builder { background: var(--accent-glow); color: var(--accent); border: 1px solid rgba(74,222,128,0.3); }

.staff-card h3 { font-size: 1rem; margin-bottom: 4px; }
.staff-card p  { font-size: 0.82rem; margin: 0; }

/* Server specs */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.spec-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.spec-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.spec-label { font-size: 0.78rem; color: var(--text-dim); text-transform: uppercase; font-weight: 600; letter-spacing: 0.05em; }
.spec-value { font-weight: 700; color: var(--text); font-size: 0.95rem; }

/* ── ═══════════════════════════════════════ ── */
/* ── RULES PAGE                               ── */
/* ── ═══════════════════════════════════════ ── */

.rules-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
}

.rules-nav {
  position: sticky;
  top: calc(var(--nav-height) + 20px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  list-style: none;
}

.rules-nav li a {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--transition);
}

.rules-nav li a:hover,
.rules-nav li a.active {
  background: var(--accent-glow);
  color: var(--accent);
}

.rules-content { display: flex; flex-direction: column; gap: 28px; }

.rules-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

.rules-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.rules-section-icon {
  font-size: 1.3rem;
}

.rules-section-header h3 { margin: 0; font-size: 1rem; }

.rule-item {
  display: flex;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  transition: background var(--transition);
}

.rule-item:last-child { border-bottom: none; }
.rule-item:hover { background: rgba(255,255,255,0.02); }

.rule-number {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--accent-glow);
  border: 1px solid rgba(74,222,128,0.25);
  color: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.rule-item p { margin: 0; font-size: 0.9rem; }

/* Punishments */
.punishments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.punishment-card {
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid;
  text-align: center;
}

.punishment-warn  { background: rgba(251,191,36,0.06); border-color: rgba(251,191,36,0.25); }
.punishment-temp  { background: rgba(248,113,113,0.06); border-color: rgba(248,113,113,0.25); }
.punishment-perm  { background: rgba(107,114,128,0.06); border-color: rgba(107,114,128,0.25); }

.punishment-card .icon { font-size: 1.8rem; margin-bottom: 10px; }
.punishment-card h4 { margin-bottom: 6px; }
.punishment-card p  { font-size: 0.82rem; margin: 0; }

/* ── ═══════════════════════════════════════ ── */
/* ── SPONSORS PAGE                            ── */
/* ── ═══════════════════════════════════════ ── */


.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.sponsor-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  transition: all var(--transition);
}

.sponsor-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
}

.sponsor-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 12px;
  background: var(--bg-secondary);
  padding: 8px;
}

.sponsor-logo-placeholder {
  width: 80px;
  height: 80px;
  background: var(--bg-secondary);
  border: 1px dashed var(--border-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.7rem;
}

.sponsor-card h4 { margin: 0; font-size: 0.95rem; }
.sponsor-card p  { font-size: 0.8rem; margin: 0; }

.sponsor-tier-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 99px;
}

/* ── ═══════════════════════════════════════ ── */
/* ── SPONSORS PAGE (redesign)                 ── */
/* ── ═══════════════════════════════════════ ── */

.sponsors-section { padding: 80px 0; }

/* ── Marquee ───────────────────────────────── */
.sponsor-marquee-outer {
  overflow: hidden;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  position: relative;
}

.sponsor-marquee-outer::before,
.sponsor-marquee-outer::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.sponsor-marquee-outer::before { left: 0;  background: linear-gradient(90deg, var(--bg-secondary), transparent); }
.sponsor-marquee-outer::after  { right: 0; background: linear-gradient(-90deg, var(--bg-secondary), transparent); }

.sponsor-marquee-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.sponsor-marquee-outer:hover .sponsor-marquee-track { animation-play-state: paused; }

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-25%); }
}

.marquee-logo-item {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.55;
  transition: opacity var(--transition);
  flex-shrink: 0;
}
.marquee-logo-item:hover { opacity: 1; }

.marquee-logo-item img {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: grayscale(0.4) brightness(1.1);
}

.marquee-logo-item span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ── Featured (Gold) Sponsor Card ─────────── */
.sponsor-featured-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(135deg, rgba(251,191,36,0.06), rgba(251,191,36,0.02));
  border: 1px solid rgba(251,191,36,0.25);
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  transition: all var(--transition);
}

.sponsor-featured-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 15% 50%, rgba(251,191,36,0.07), transparent 60%);
  pointer-events: none;
}

.sponsor-featured-card:hover {
  border-color: rgba(251,191,36,0.45);
  box-shadow: 0 0 60px rgba(251,191,36,0.12), 0 24px 64px rgba(0,0,0,0.4);
}

.sfc-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sfc-logo-glow {
  position: absolute;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(251,191,36,0.2), transparent 70%);
  border-radius: 50%;
  animation: glowBreathe 3s ease-in-out infinite;
}

.sfc-logo {
  width: 160px;
  height: 160px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 20px rgba(251,191,36,0.3));
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  padding: 20px;
}

.sfc-logo-placeholder {
  width: 160px; height: 160px;
  background: linear-gradient(135deg, rgba(251,191,36,0.15), rgba(251,191,36,0.05));
  border: 1px solid rgba(251,191,36,0.3);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  position: relative; z-index: 1;
}

.sfc-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.sfc-since {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.sfc-name {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 8px;
}

.sfc-tag {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--gold);
  background: rgba(251,191,36,0.1);
  border: 1px solid rgba(251,191,36,0.25);
  border-radius: 99px;
  padding: 3px 12px;
  margin-bottom: 16px;
}

.sfc-desc {
  font-size: 1rem;
  max-width: 520px;
  margin-bottom: 28px;
  line-height: 1.8;
}

.sfc-btn { align-self: flex-start; }

/* ── Standard Tier Grid Cards ──────────────── */
.sponsors-tier-grid {
  display: grid;
  gap: 20px;
}
.sponsors-tier-grid--3 { grid-template-columns: repeat(3, 1fr); }
.sponsors-tier-grid--4 { grid-template-columns: repeat(4, 1fr); }

.sponsor-card-v2 {
  background: var(--bg-card);
  border: 1px solid var(--tier-border, var(--border));
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.sponsor-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 40px var(--tier-bg, var(--accent-glow)), 0 16px 40px rgba(0,0,0,0.4);
  border-color: var(--tier-border, var(--border-light));
}

.sc2-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
}

.sc2-logo {
  max-height: 70px;
  max-width: 140px;
  object-fit: contain;
  filter: brightness(1.05);
}

.sc2-logo-fallback {
  width: 70px; height: 70px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--text-muted);
}

.sc2-body { display: flex; flex-direction: column; gap: 6px; }

.sc2-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 10px;
  border-radius: 99px;
  border: 1px solid;
  align-self: flex-start;
}

.sc2-name { font-size: 1rem; font-weight: 700; margin: 0; }
.sc2-desc { font-size: 0.82rem; color: var(--text-muted); margin: 0; }
.sc2-link { font-size: 0.8rem; color: var(--accent); margin-top: 4px; }
.sc2-link:hover { color: #86efac; }

/* ── Benefits Cards ────────────────────────── */
.sponsor-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.sponsor-benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition);
}

.sponsor-benefit-card:hover {
  border-color: rgba(251,191,36,0.3);
  box-shadow: 0 0 32px rgba(251,191,36,0.08);
  transform: translateY(-4px);
}

.sbc-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.sponsor-benefit-card h3 { margin-bottom: 8px; font-size: 1rem; }
.sponsor-benefit-card p  { font-size: 0.85rem; margin: 0; }

/* ── Tier Packages ─────────────────────────── */
.tier-packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.tier-package {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  position: relative;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tier-package--gold {
  border-color: rgba(251,191,36,0.35);
  background: linear-gradient(135deg, rgba(251,191,36,0.06), var(--bg-card));
  transform: scale(1.03);
}

.tier-package--gold:hover {
  box-shadow: 0 0 60px rgba(251,191,36,0.15), 0 24px 60px rgba(0,0,0,0.4);
  border-color: rgba(251,191,36,0.5);
}

.tier-package--silver:hover,
.tier-package--bronze:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.tp-featured-label {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #1a0f00;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 99px;
  white-space: nowrap;
}

.tp-header { text-align: center; }

.tp-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 99px;
  border: 1px solid;
  margin-bottom: 12px;
}

.tp-header h3 { margin-bottom: 8px; font-size: 1.3rem; }

.tp-price {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin: 0;
}

.tp-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.tp-perks li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 4px;
}

.tp-perks li:not(.tp-dim) { color: var(--text); }

.tp-dim { opacity: 0.4; }

.tier-package .btn { text-align: center; justify-content: center; }

/* ── Responsive ────────────────────────────── */
@media (max-width: 1024px) {
  .sponsor-benefits-grid   { grid-template-columns: repeat(2, 1fr); }
  .sponsors-tier-grid--4   { grid-template-columns: repeat(2, 1fr); }
  .sponsors-tier-grid--3   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .sponsor-featured-card   { grid-template-columns: 1fr; text-align: center; padding: 32px 24px; }
  .sfc-meta                { justify-content: center; }
  .sfc-desc                { margin: 0 auto 24px; }
  .sfc-btn                 { margin: 0 auto; }
  .sfc-logo                { width: 120px; height: 120px; }
  .tier-packages-grid      { grid-template-columns: 1fr; }
  .tier-package--gold      { transform: none; }
  .sponsor-benefits-grid   { grid-template-columns: 1fr 1fr; }
  .sponsors-tier-grid--3,
  .sponsors-tier-grid--4   { grid-template-columns: 1fr; }
}

/* ── ═══════════════════════════════════════ ── */
/* ── CONTACT PAGE                             ── */
/* ── ═══════════════════════════════════════ ── */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 16px; }

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all var(--transition);
}

.contact-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.contact-card-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--accent-glow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card h4 { margin-bottom: 4px; }
.contact-card p, .contact-card a { font-size: 0.875rem; }

/* Form */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.contact-form-wrap h3 { margin-bottom: 24px; }

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea { resize: vertical; min-height: 140px; }

.form-group select option { background: var(--bg-card); }

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

.form-success {
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 10px;
  padding: 16px 20px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 20px;
  display: none;
}

.form-error {
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.3);
  border-radius: 10px;
  padding: 16px 20px;
  color: var(--red);
  font-weight: 500;
  margin-bottom: 20px;
  display: none;
}

/* ── ═══════════════════════════════════════ ── */
/* ── LEGAL PAGES (Privacy & TOS)              ── */
/* ── ═══════════════════════════════════════ ── */

.legal-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: calc(var(--nav-height) + 20px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
}

.legal-nav h4 { padding: 8px 14px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); margin-bottom: 4px; }

.legal-nav ul { list-style: none; }
.legal-nav li a {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--transition);
}
.legal-nav li a:hover { background: var(--accent-glow); color: var(--accent); }

.legal-content { max-width: 740px; }

.legal-content .last-updated {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.legal-section {
  margin-bottom: 40px;
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

.legal-section h2 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.legal-section p { margin-bottom: 14px; font-size: 0.92rem; }
.legal-section p:last-child { margin-bottom: 0; }

.legal-section ul {
  list-style: disc;
  padding-left: 20px;
  margin: 12px 0;
}

.legal-section ul li {
  padding: 4px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ── ═══════════════════════════════════════ ── */
/* ── FOOTER                                   ── */
/* ── ═══════════════════════════════════════ ── */

.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo-text { font-size: 1.6rem; }
.footer-brand p { margin: 14px 0 20px; font-size: 0.875rem; }

.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 38px;
  height: 38px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}
.social-links a:hover {
  background: var(--accent-glow);
  border-color: rgba(74,222,128,0.3);
  color: var(--accent);
}

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--accent); }

.server-ip {
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 700;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  margin: 0;
}

/* ── ═══════════════════════════════════════ ── */
/* ── VISUAL EXPERIENCE                        ── */
/* ── ═══════════════════════════════════════ ── */

/* Hero warp canvas */
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Page-hero ambient canvas (injected by JS) */
.page-hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Gradient animated text on hero headline accent */
.hero h1 em {
  background: linear-gradient(90deg, #4ade80, #86efac, #60a5fa, #4ade80);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShimmer 4s linear infinite;
  display: inline-block;
}

@keyframes textShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 300% center; }
}

/* ── Custom Cursor ─────────────────────────── */
body.custom-cursor,
body.custom-cursor * { cursor: none !important; }

#cursorDot {
  position: fixed;
  top: -5px; left: -5px;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  will-change: transform;
  box-shadow: 0 0 10px var(--accent), 0 0 20px rgba(74,222,128,0.4);
  transition: width 0.15s, height 0.15s, top 0.15s, left 0.15s;
}

#cursorRing {
  position: fixed;
  top: -22px; left: -22px;
  width: 44px; height: 44px;
  border: 1.5px solid rgba(74,222,128,0.55);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  will-change: transform;
  transition: width 0.25s ease, height 0.25s ease,
              top 0.25s ease, left 0.25s ease,
              border-color 0.2s, background 0.2s;
}

#cursorRing.is-hover {
  top: -34px; left: -34px;
  width: 68px; height: 68px;
  border-color: rgba(74,222,128,0.9);
  background: rgba(74,222,128,0.06);
}

/* ── Card Spotlight + 3D Tilt ──────────────── */
.feature-card,
.step-card,
.staff-card,
.sponsor-card,
.contact-card,
.spec-item,
.cta-banner {
  --sx: 50%; --sy: 50%;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition:
    transform 0.12s ease,
    border-color var(--transition),
    background var(--transition);
  will-change: transform;
}

/* Spotlight layer */
.feature-card::after,
.step-card::after,
.staff-card::after,
.sponsor-card::after,
.contact-card::after,
.spec-item::after,
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    320px circle at var(--sx) var(--sy),
    rgba(74,222,128,0.10) 0%,
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
  border-radius: inherit;
}

.feature-card.lit::after,
.step-card.lit::after,
.staff-card.lit::after,
.sponsor-card.lit::after,
.contact-card.lit::after,
.spec-item.lit::after,
.cta-banner.lit::after { opacity: 1; }

/* Parallax section animated inner glow */
.parallax::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 45% at 50% 50%,
    rgba(255,255,255,0.04) 0%,
    transparent 70%);
  animation: glowBreathe 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* Shimmer sweep across parallax */
.parallax::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 60px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  animation: shimmerSweep 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.parallax-content { z-index: 2; }

@keyframes glowBreathe {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.08); }
}

@keyframes shimmerSweep {
  0%   { left: -80px; }
  100% { left: calc(100% + 80px); }
}

/* Stat value glow pulse */
.stat-value {
  text-shadow: 0 0 24px rgba(74, 222, 128, 0.4);
  animation: statGlow 3s ease-in-out infinite;
}

@keyframes statGlow {
  0%, 100% { text-shadow: 0 0 20px rgba(74,222,128,0.3); }
  50%       { text-shadow: 0 0 40px rgba(74,222,128,0.7), 0 0 80px rgba(74,222,128,0.2); }
}


/* ── Scroll Down Indicator ─────────────────── */
.scroll-down {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color var(--transition);
}

.scroll-down:hover { color: var(--accent); }

.scroll-down-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: scrollBounce 1.6s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.4; }
  50%       { transform: rotate(45deg) translateY(6px); opacity: 1; }
}

/* ── Animations ────────────────────────────── */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.85); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}

.fade-up:nth-child(1) { animation-delay: 0.05s; }
.fade-up:nth-child(2) { animation-delay: 0.12s; }
.fade-up:nth-child(3) { animation-delay: 0.19s; }
.fade-up:nth-child(4) { animation-delay: 0.26s; }

/* ── Scroll-reveal base states ─────────────── */
[data-fade] {
  will-change: opacity, transform;
  transition: opacity 0.65s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
}

[data-fade="up"],
[data-fade] {
  opacity: 0;
  transform: translateY(36px);
}

[data-fade="down"] {
  opacity: 0;
  transform: translateY(-36px);
}

[data-fade="left"] {
  opacity: 0;
  transform: translateX(-48px);
}

[data-fade="right"] {
  opacity: 0;
  transform: translateX(48px);
}

[data-fade="scale"] {
  opacity: 0;
  transform: scale(0.88);
}

[data-fade].is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger delay tiers */
[data-delay="0"] { transition-delay: 0s; }
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }

/* ── ═══════════════════════════════════════ ── */
/* ── GAME MODES                               ── */
/* ── ═══════════════════════════════════════ ── */

.gamemodes-section { padding: 80px 0; }

.gamemodes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 52px;
}

/* Card — same base language as .feature-card / .step-card */
.gamemode-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  /* spotlight vars */
  --sx: 50%; --sy: 50%;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}

.gamemode-card:hover {
  border-color: var(--gm-color, rgba(74,222,128,.3));
  box-shadow: 0 0 32px rgba(0,0,0,.3), 0 0 0 1px var(--gm-color, var(--accent));
  transform: translateY(-4px);
}

/* Spotlight layer — same as other cards */
.gamemode-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    280px circle at var(--sx) var(--sy),
    rgba(74,222,128,0.12) 0%,
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
  border-radius: inherit;
}
.gamemode-card.lit::after { opacity: 1; }

/* Thumb — gradient/image strip at top */
.gamemode-card__thumb {
  position: relative;
  height: 140px;
  background: var(--gm-gradient, linear-gradient(135deg,#1a1a2e,#16213e));
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gamemode-card__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gamemode-card:hover .gamemode-card__thumb img { transform: scale(1.06); }

.gamemode-card__icon {
  font-size: 3rem;
  line-height: 1;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,.5));
}

/* Body */
.gamemode-card__body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  position: relative;
  z-index: 1;
}

.gamemode-card__name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.gamemode-card__desc {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.gamemode-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gamemode-card__features li {
  font-size: .85rem;
  color: var(--text-secondary, #c9d1d9);
  padding-left: 18px;
  position: relative;
}

.gamemode-card__features li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gm-color, var(--accent));
  font-size: .55rem;
  top: 4px;
}

.gamemode-card__btn {
  margin-top: auto;
  align-self: flex-start;
  font-size: .85rem;
  font-weight: 700;
  color: var(--gm-color, var(--accent));
  text-decoration: none;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity .2s;
  letter-spacing: .01em;
}
.gamemode-card__btn:hover { opacity: .75; }

/* ── ═══════════════════════════════════════ ── */
/* ── RESPONSIVE                               ── */
/* ── ═══════════════════════════════════════ ── */

@media (max-width: 1024px) {
  .features-grid  { grid-template-columns: repeat(2, 1fr); }
  .gamemodes-grid { grid-template-columns: repeat(2, 1fr); }
  .staff-grid     { grid-template-columns: repeat(2, 1fr); }

  .footer-grid    { grid-template-columns: 1fr 1fr; }
  .specs-grid     { grid-template-columns: repeat(2, 1fr); }
  .tiers-grid     { grid-template-columns: 1fr; }
  .sponsors-grid  { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 56px 0; }

  .mobile-menu-btn { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 4px;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(8, 12, 22, 0.97);
    backdrop-filter: blur(12px);
    padding: 16px;
    border-bottom: 1px solid var(--border);
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }

  .nav-links.open { display: flex; }

  .nav-cta { display: none; }

  .stats-grid         { grid-template-columns: repeat(2, 1fr); }
  .stat-item          { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }

  .features-grid  { grid-template-columns: 1fr; }
  .gamemodes-grid { grid-template-columns: repeat(2, 1fr); }
  .gamemode-card  { height: 340px; }
  .steps-grid     { grid-template-columns: 1fr; }
  .about-intro    { grid-template-columns: 1fr; }
  .staff-grid     { grid-template-columns: repeat(2, 1fr); }
  .specs-grid     { grid-template-columns: 1fr; }
  .tiers-grid     { grid-template-columns: 1fr; }
  .sponsors-grid  { grid-template-columns: repeat(2, 1fr); }
  .punishments-grid { grid-template-columns: 1fr; }
  .rules-layout   { grid-template-columns: 1fr; }
  .legal-layout   { grid-template-columns: 1fr; }
  .rules-nav      { display: none; }
  .legal-nav      { display: none; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom  { flex-direction: column; text-align: center; }
  .cta-banner     { margin: 0 8px; padding: 40px 24px; }
  .hero-buttons   { flex-direction: column; align-items: center; }
  .scroll-down    { display: none; }
  .hero-orb { display: none; }
}

@media (max-width: 480px) {
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .staff-grid    { grid-template-columns: 1fr; }
  .sponsors-grid { grid-template-columns: 1fr; }
  .gamemodes-grid { grid-template-columns: 1fr; }
  .gamemode-card  { height: 300px; }
}

/* ── Page hero as parallax ──────────────────── */
.page-hero-parallax {
  min-height: calc(var(--nav-height) + 300px);
  padding-top: var(--nav-height);
}

.parallax-content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 14px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.7);
}

/* ── Font Awesome icon colors ───────────────── */
.feature-icon .fa-solid        { color: var(--accent); }
.spec-icon .fa-solid           { color: var(--accent); }
.rules-section-icon .fa-solid  { color: var(--accent); }
.sbc-icon .fa-solid            { color: var(--accent); }
.contact-card-icon .fa-solid   { color: var(--accent); }
.gamemode-card__icon .fa-solid { color: #fff; filter: drop-shadow(0 2px 8px rgba(0,0,0,.4)); }
.punishment-warn .icon .fa-solid { color: #fbbf24; }
.punishment-temp .icon .fa-solid { color: #f87171; }
.punishment-perm .icon .fa-solid { color: #6b7280; }