/* ==========================================================================
   LETSGAMETEAM MINECRAFT SERVER — MODERN DARK EDITION
   Redesigned: Elegant, Interactive, cPanel-Ready
   ========================================================================== */

/* --- Google Fonts: Loaded via HTML --- */

:root {
  /* Core Palette */
  --bg:          #060508;
  --bg-2:        #0c0a10;
  --bg-3:        #13111a;
  --surface:     rgba(18, 15, 24, 0.8);
  --surface-2:   rgba(255,255,255,0.03);
  --border:      rgba(255,255,255,0.07);
  --border-2:    rgba(255,255,255,0.12);

  /* Minecraft Accent Colors */
  --green:       #4ade80;
  --green-dim:   #166534;
  --green-glow:  rgba(74, 222, 128, 0.18);
  --green-glow2: rgba(74, 222, 128, 0.08);
  --gold:        #fbbf24;
  --gold-dim:    #78350f;
  --gold-glow:   rgba(251, 191, 36, 0.18);
  --red:         #f87171;
  --red-dim:     #7f1d1d;
  --red-glow:    rgba(248, 113, 113, 0.15);
  --aqua:        #67e8f9;
  --aqua-glow:   rgba(103, 232, 249, 0.15);

  /* Text */
  --text:        #f0edf5;
  --text-muted:  #8b85a0;
  --text-dim:    #5a5470;

  /* Fonts */
  --font-pixel:  'VT323', monospace;
  --font-body:   'Outfit', sans-serif;
  --font-mono:   'JetBrains Mono', monospace;

  /* Layout */
  --nav-h:       72px;
  --max-w:       1200px;
  --r-sm:        6px;
  --r-md:        14px;
  --r-lg:        22px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
}

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

/* Minecraft-style grid background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(74,222,128,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,222,128,0.015) 1px, transparent 1px);
  background-size: 48px 48px;
  z-index: 0;
  pointer-events: none;
}

/* --- Particle Canvas --- */
#particle-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

/* --- Typography Helpers --- */
.font-pixel { font-family: var(--font-pixel); letter-spacing: 0.04em; }
.font-mono  { font-family: var(--font-mono); }

h1,h2,h3,h4,h5,h6 { font-weight: 700; color: #fff; line-height: 1.2; }

a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: #86efac; }

code {
  background: rgba(0,0,0,0.5);
  color: var(--gold);
  padding: 2px 8px;
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: 0.88em;
  border: 1px solid rgba(251,191,36,0.2);
}

strong { color: #fff; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.section {
  padding: clamp(70px, 9vw, 110px) 0;
  position: relative;
}

.text-center  { text-align: center; }
.max-w-2xl    { max-width: 42rem; }
.mx-auto      { margin-left: auto; margin-right: auto; }
.w-full       { width: 100%; }
.mb-2         { margin-bottom: 8px; }
.mb-3         { margin-bottom: 12px; }
.mt-6         { margin-top: 24px; }
.mt-12        { margin-top: 48px; }

/* Color utilities */
.color-green  { color: var(--green)  !important; }
.color-gold   { color: var(--gold)   !important; }
.color-aqua   { color: var(--aqua)   !important; }
.color-red    { color: var(--red)    !important; }
.text-yellow  { color: var(--gold)   !important; }
.text-green   { color: var(--green)  !important; }
.color-green-bright { color: #86efac !important; }

/* Scroll reveal */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
/* JS adds .js-ready to body, then reveal hides elements for animation */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
}
.js-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal-delay-6 { transition-delay: 0.48s; }

/* ========================================
   SOUND TOGGLE
   ======================================== */
.sound-toggle-container {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 998;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  padding: 9px 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  font-family: var(--font-pixel);
  font-size: 1.05rem;
  backdrop-filter: blur(14px);
  transition: all 0.22s ease;
  user-select: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
}
.sound-toggle-container:hover {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green), 0 8px 24px var(--green-glow);
  transform: translateY(-2px);
}
.sound-toggle-container i { color: var(--green); }
.sound-toggle-container.disabled i { color: var(--red); }

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 24px;
  font-size: 0.875rem;
  font-weight: 700;
  font-family: var(--font-pixel);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  position: relative;
  transition: all 0.18s ease;
  border: 2px solid transparent;
  user-select: none;
}

/* Green — primary action */
.mc-btn-green {
  background: var(--green-dim);
  border-color: rgba(74,222,128,0.5);
  color: #fff;
  box-shadow: 0 4px 0 rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.1);
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}
.mc-btn-green:hover {
  background: #15803d;
  border-color: var(--green);
  box-shadow: 0 6px 0 rgba(0,0,0,0.5), 0 0 22px var(--green-glow), inset 0 1px 0 rgba(255,255,255,0.15);
  transform: translateY(-1px);
  color: #fff;
}
.mc-btn-green:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0,0,0,0.5); }

/* Gold */
.mc-btn-yellow {
  background: var(--gold-dim);
  border-color: rgba(251,191,36,0.5);
  color: #fff;
  box-shadow: 0 4px 0 rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.1);
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}
.mc-btn-yellow:hover {
  background: #92400e;
  border-color: var(--gold);
  box-shadow: 0 6px 0 rgba(0,0,0,0.5), 0 0 22px var(--gold-glow);
  transform: translateY(-1px);
  color: #fff;
}
.mc-btn-yellow:active { transform: translateY(3px); box-shadow: none; }

/* Outline / stone */
.btn-outline {
  background: rgba(255,255,255,0.04);
  border-color: var(--border-2);
  color: var(--text);
  box-shadow: 0 4px 0 rgba(0,0,0,0.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
  transform: translateY(-1px);
}
.btn-outline:active { transform: translateY(3px); box-shadow: none; }

.btn-lg { padding: 14px 34px; font-size: 1.2rem; }

/* ========================================
   SECTION HEADERS
   ======================================== */
.pixel-divider {
  width: 64px; height: 4px;
  background: var(--green);
  margin: 14px auto 0;
  position: relative;
  border-radius: 2px;
}
.pixel-divider::before,
.pixel-divider::after {
  content: '';
  position: absolute;
  top: 0;
  width: 4px; height: 4px;
  background: var(--bg);
}
.pixel-divider::before { left: 12px; }
.pixel-divider::after  { right: 12px; }

.section-subtitle {
  display: block;
  font-family: var(--font-pixel);
  font-size: 1.05rem;
  color: var(--green);
  letter-spacing: 0.15em;
  margin-bottom: 6px;
}

.section-title {
  font-size: clamp(1.85rem, 4.5vw, 2.8rem);
  text-shadow: 2px 2px 0 rgba(0,0,0,0.9);
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 14px;
}

.section-header { margin-bottom: 0; }

/* Dark stone texture sections */
.section-stone {
  background:
    linear-gradient(rgba(6,5,8,0.97), rgba(6,5,8,0.97)),
    url('assets/minecraft_hero_bg.png') center/cover fixed;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  height: var(--nav-h);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(6,5,8,0.75);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  transition: background 0.3s, border-color 0.3s;
}
.navbar.scrolled {
  background: rgba(6,5,8,0.95);
  border-color: var(--border-2);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.logo img {
  height: 36px; width: 36px;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 8px rgba(74,222,128,0.3));
}
.logo-title {
  color: #fff;
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  text-shadow: 2px 2px 0 #000;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.8vw, 32px);
}
.nav-item {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 5px 0;
  position: relative;
  transition: color 0.2s;
}
.nav-item:hover { color: #fff; }
.nav-item::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--green);
  transition: width 0.25s cubic-bezier(0.4,0,0.2,1);
  border-radius: 2px;
}
.nav-item:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-actions .btn { padding: 8px 16px; font-size: 0.9rem; }

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-2);
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: 1.15rem;
  cursor: pointer;
  padding: 7px 10px;
  transition: all 0.2s;
}
.mobile-menu-btn:hover { border-color: var(--green); color: var(--green); }

/* Language switcher */
.lang-switcher { position: relative; }
.lang-btn {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-2);
  border-radius: var(--r-sm);
  color: var(--text);
  padding: 7px 12px;
  font-family: var(--font-pixel);
  font-size: 1rem;
  display: flex; align-items: center; gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.lang-btn:hover { border-color: var(--green); }
.lang-arrow { font-size: 0.65rem; color: var(--text-muted); transition: transform 0.2s; }
.lang-switcher.open .lang-arrow { transform: rotate(180deg); }

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px); right: 0;
  background: rgba(12,10,16,0.98);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  padding: 6px;
  width: 180px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.6);
  backdrop-filter: blur(16px);
  z-index: 300;
}
.lang-switcher.open .lang-dropdown { display: block; }
.lang-opt {
  display: block; width: 100%;
  background: none; border: none;
  border-radius: var(--r-sm);
  color: var(--text-muted);
  padding: 8px 12px;
  font-size: 0.88rem; font-weight: 600;
  cursor: pointer; text-align: left;
  transition: all 0.15s;
}
.lang-opt:hover { background: rgba(255,255,255,0.05); color: #fff; }
.lang-opt.active { background: var(--green-dim); color: var(--green); }

/* Mobile nav */
.mobile-dropdown {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(6,5,8,0.98);
  border-bottom: 1px solid var(--border-2);
  z-index: 199;
  padding: 20px 24px;
  backdrop-filter: blur(20px);
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.7);
}
.mobile-nav-item {
  display: block;
  padding: 13px 0;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-nav-item:hover { color: var(--green); }

.mobile-lang-list { padding: 14px 0; border-bottom: 1px solid var(--border); }
.mobile-lang-label { display: block; font-family: var(--font-pixel); font-size: 0.9rem; color: var(--gold); margin-bottom: 10px; }
.mobile-lang-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.mobile-lang-btn {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-2);
  border-radius: var(--r-sm);
  color: var(--text-muted);
  padding: 6px 14px;
  font-family: var(--font-pixel);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
}
.mobile-lang-btn.active { background: var(--green-dim); color: var(--green); border-color: var(--green); }
.mobile-dropdown-actions { margin-top: 18px; }

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 50px);
  padding-bottom: 80px;
  overflow: hidden;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* Hero vignette */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, transparent 40%, rgba(6,5,8,0.85) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 3;
}

/* Status badge */
.welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(6,5,8,0.85);
  border: 1px solid rgba(74,222,128,0.45);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 24px var(--green-glow2);
}
.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-anim 2.2s infinite;
}
.badge-text {
  font-family: var(--font-pixel);
  font-size: 1rem;
  color: var(--green);
  letter-spacing: 0.1em;
}

.hero-title {
  font-size: clamp(2rem, 7.5vw, 4.5rem);
  color: #fff;
  text-shadow: 3px 3px 0 rgba(0,0,0,0.9), 0 0 60px rgba(0,0,0,0.4);
  margin-bottom: 12px;
  line-height: 1.1;
}
.hero-title .highlight {
  color: var(--green);
  text-shadow: 3px 3px 0 var(--green-dim), 0 0 30px var(--green-glow);
}

.hero-tagline {
  font-family: var(--font-pixel);
  font-size: clamp(1.1rem, 3.5vw, 1.7rem);
  color: var(--gold);
  text-shadow: 2px 2px 0 rgba(0,0,0,0.9);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.hero-desc {
  max-width: 680px;
  color: var(--text-muted);
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  line-height: 1.7;
  margin-bottom: 36px;
}

/* IP Panel */
.hero-actions-panel {
  width: 100%;
  max-width: 600px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  padding: 26px;
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ip-widget { display: flex; flex-direction: column; gap: 8px; }
.ip-label {
  font-family: var(--font-pixel);
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.ip-box {
  background: rgba(0,0,0,0.45);
  border: 1px dashed rgba(74,222,128,0.35);
  border-radius: var(--r-sm);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.22s ease;
}
.ip-box:hover {
  border-color: var(--green);
  background: rgba(74,222,128,0.04);
  box-shadow: 0 0 0 1px var(--green);
}
.ip-text {
  font-family: var(--font-pixel);
  font-size: clamp(1.2rem, 5vw, 1.9rem);
  color: var(--green);
  letter-spacing: 0.03em;
}
.copy-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--green-dim);
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--r-sm);
  font-family: var(--font-pixel);
  font-size: 0.95rem;
  transition: background 0.2s;
}
.ip-box:hover .copy-badge { background: #166534; }

.hero-quick-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.hero-quick-buttons .btn { flex: 1; }

/* Warning box */
.whitelist-warning-box {
  width: 100%;
  max-width: 760px;
  background: rgba(30, 10, 10, 0.8);
  border: 1px solid rgba(248,113,113,0.35);
  border-radius: var(--r-lg);
  padding: 26px;
  text-align: left;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 40px rgba(248,113,113,0.05);
}
.warning-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.warning-icon { font-size: 1.3rem; color: var(--red); }
.warning-title {
  font-family: var(--font-pixel);
  font-size: 1.35rem;
  color: var(--red);
  text-shadow: 1px 1px 0 #000;
}
.warning-text {
  font-size: 0.95rem;
  color: #fecaca;
  line-height: 1.65;
  margin-bottom: 20px;
}

.quick-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  border-top: 1px dashed rgba(248,113,113,0.2);
  padding-top: 18px;
}
.q-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #fecaca;
  font-weight: 500;
}
.q-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--red-dim);
  border: 1px solid rgba(248,113,113,0.5);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-pixel);
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
}

/* ========================================
   SECTION 1: SPECS & FEATURES
   ======================================== */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.spec-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px 22px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: all 0.28s cubic-bezier(0.22,1,0.36,1);
  position: relative;
  overflow: hidden;
}
/* Subtle top accent line */
.spec-card::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.spec-card:hover::before { opacity: 1; }
.spec-card:hover {
  transform: translateY(-5px);
  border-color: rgba(74,222,128,0.25);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(74,222,128,0.1);
}

.spec-frame-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.spec-icon { font-size: 1.9rem; margin-bottom: 14px; }
.spec-label {
  font-family: var(--font-pixel);
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.spec-value {
  font-family: var(--font-pixel);
  font-size: 1.85rem;
  color: #fff;
  margin-bottom: 8px;
}
.spec-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.card-highlight {
  border-color: rgba(251,191,36,0.2) !important;
}
.card-highlight:hover {
  border-color: rgba(251,191,36,0.4) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(251,191,36,0.15) !important;
}
.card-highlight::before {
  background: linear-gradient(90deg, transparent, var(--gold), transparent) !important;
}

.spec-version-highlight {
  border-color: rgba(248,113,113,0.2) !important;
}
.spec-version-highlight:hover {
  border-color: rgba(248,113,113,0.4) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(248,113,113,0.15) !important;
}
.spec-version-highlight::before {
  background: linear-gradient(90deg, transparent, var(--red), transparent) !important;
}
.spec-version-text { font-size: 1.5rem !important; color: var(--red) !important; }

/* Features */
.features-main-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.feature-item-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 34px 26px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: all 0.28s ease;
  position: relative;
  overflow: hidden;
}
.feature-item-card::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-item-card:hover::before { opacity: 1; }
.feature-item-card:hover {
  border-color: rgba(251,191,36,0.2);
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.35);
}

.feature-img-box {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.item-sprite {
  font-size: 2.2rem;
  color: var(--green);
  animation: float-anim 3.5s ease-in-out infinite;
}
.fly-mode-sprite {
  color: var(--aqua);
  animation-delay: 1.75s;
}

.feature-item-title {
  font-family: var(--font-pixel);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 12px;
  text-shadow: 1px 1px 0 #000;
}
.feature-item-desc { color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; }

.survival-info-card {
  margin-top: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 26px;
  backdrop-filter: blur(12px);
}
.survival-title {
  font-family: var(--font-pixel);
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 8px;
  text-shadow: 1px 1px 0 #000;
}
.survival-subtitle { color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; }

/* ========================================
   SECTION 2: WHITELIST
   ======================================== */
.whitelist-section { position: relative; }

.whitelist-container-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 44px;
}

.wood-panel {
  background:
    linear-gradient(135deg, rgba(28,18,10,0.92), rgba(20,14,8,0.96));
  border: 1px solid rgba(120,72,30,0.4);
  border-radius: var(--r-md);
  padding: 32px;
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 30px rgba(0,0,0,0.5), 0 12px 30px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}
/* Wood grain accent */
.wood-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(120,72,30,0.8), transparent);
}

.panel-title {
  font-family: var(--font-pixel);
  font-size: 1.55rem;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-shadow: 2px 2px 0 #000;
}

.panel-intro-text {
  color: #ffe0c0;
  margin-bottom: 22px;
  font-size: 0.98rem;
}

.panel-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.panel-list li { display: flex; align-items: flex-start; gap: 12px; }
.list-bullet { font-size: 1.05rem; margin-top: 3px; flex-shrink: 0; }
.list-content { color: #ffe0c0; font-size: 0.95rem; line-height: 1.65; }

/* Stepper */
.vertical-stepper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.vertical-stepper::before {
  content: '';
  position: absolute;
  top: 18px; left: 17px;
  width: 2px;
  height: calc(100% - 30px);
  background: linear-gradient(rgba(120,72,30,0.6), rgba(120,72,30,0.1));
}

.stepper-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.stepper-number {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  border: 2px solid rgba(120,72,30,0.7);
  color: var(--green);
  font-family: var(--font-pixel);
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  text-shadow: 0 0 8px var(--green);
}
.stepper-info { padding-top: 6px; }
.stepper-title { color: #fff; font-size: 1.0rem; font-weight: 700; margin-bottom: 4px; }
.stepper-desc { color: #ffe0c0; font-size: 0.9rem; line-height: 1.55; }

/* Code block */
.code-block-container {
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(251,191,36,0.2);
  border-radius: var(--r-sm);
  margin-top: 10px;
  overflow: hidden;
}
.code-header {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 6px 14px;
  font-size: 0.75rem; font-weight: 700;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}
.code-copy-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-muted);
  padding: 2px 10px;
  font-size: 0.7rem;
  cursor: pointer;
  font-family: var(--font-pixel);
  transition: all 0.2s;
}
.code-copy-btn:hover { border-color: var(--green); color: var(--green); }
.code-block-container pre {
  margin: 0; padding: 14px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  white-space: pre-wrap;
}

.whitelist-notes-card {
  margin-top: 22px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(120,72,30,0.3);
  border-radius: var(--r-sm);
  padding: 16px 20px;
}
.notes-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.notes-list li {
  color: #ffe0c0;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-left: 4px;
}
.notes-list li::before {
  content: '▸';
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ========================================
   SECTION 3: RULES & SUPPORT
   ======================================== */
.rules-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 44px;
}

.rules-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  backdrop-filter: blur(12px);
}
.rules-box-header {
  font-family: var(--font-pixel);
  font-size: 1.25rem;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 1px 1px 0 #000;
}
.box-do { border-color: rgba(74,222,128,0.2); }
.box-do .rules-box-header { background: rgba(74,222,128,0.04); color: var(--green); border-bottom-color: rgba(74,222,128,0.15); }
.box-dont { border-color: rgba(248,113,113,0.2); }
.box-dont .rules-box-header { background: rgba(248,113,113,0.04); color: var(--red); border-bottom-color: rgba(248,113,113,0.15); }

.rules-list-items {
  list-style: none;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.rules-list-items li { display: flex; align-items: flex-start; gap: 12px; }
.rules-item-icon { font-size: 1.1rem; margin-top: 3px; flex-shrink: 0; }
.box-do .rules-item-icon  { color: var(--green); }
.box-dont .rules-item-icon { color: var(--red); }
.rules-list-items p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

.sanction-card {
  margin-top: 22px;
  background: rgba(25, 8, 8, 0.55);
  border: 1px solid rgba(248,113,113,0.3);
  border-radius: var(--r-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.sanction-header { display: flex; align-items: center; gap: 10px; justify-content: center; }
.sanction-icon { font-size: 1.25rem; color: var(--red); }
.sanction-title { font-family: var(--font-pixel); font-size: 1.3rem; color: var(--red); text-shadow: 1px 1px 0 #000; }
.sanction-text { color: #fecaca; font-size: 0.95rem; line-height: 1.65; }

/* Support cards */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.support-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 36px 26px 28px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  position: relative;
  transition: all 0.25s ease;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
.support-card:hover { transform: translateY(-4px); }
.store-card    { border-color: rgba(74,222,128,0.2); }
.donation-card { border-color: rgba(251,191,36,0.2); }

.support-badge {
  position: absolute;
  top: -13px; left: 22px;
  background: var(--green);
  color: #000;
  font-family: var(--font-pixel);
  font-size: 0.95rem;
  padding: 4px 14px;
  border-radius: 100px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.donation-card .support-badge { background: var(--gold); }

.support-title {
  font-family: var(--font-pixel);
  font-size: 1.55rem;
  color: #fff;
  margin-bottom: 12px;
  margin-top: 8px;
  text-shadow: 1px 1px 0 #000;
}
.support-desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 22px; line-height: 1.65; flex: 1; }
.support-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.support-url {
  font-family: var(--font-pixel);
  font-size: 1.05rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ========================================
   SECTION 4: FAQ
   ======================================== */
.faq-accordion-container {
  max-width: 820px;
  margin: 44px auto 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all 0.22s ease;
}
.faq-item:hover { border-color: rgba(74,222,128,0.2); }
.faq-item.active {
  border-color: rgba(74,222,128,0.45);
  box-shadow: 0 0 0 1px rgba(74,222,128,0.08), 0 8px 24px rgba(0,0,0,0.3);
}

.faq-trigger {
  width: 100%; background: none; border: none;
  padding: 17px 22px;
  text-align: left;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
  color: var(--text);
  font-family: var(--font-pixel);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  gap: 16px;
  transition: color 0.2s;
}
.faq-trigger:hover { color: #fff; }
.faq-item.active .faq-trigger { color: var(--green); }

.faq-arrow {
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: transform 0.25s ease, color 0.2s;
}
.faq-item.active .faq-arrow { transform: rotate(180deg); color: var(--green); }

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4,0,0.2,1);
  padding: 0 22px;
}
.faq-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  padding-bottom: 18px;
}
.faq-item.active .faq-content { padding-top: 2px; }

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  position: relative;
  text-align: center;
  background:
    linear-gradient(rgba(6,5,8,0.92), rgba(6,5,8,0.96)),
    url('assets/minecraft_hero_bg.png') center/cover fixed;
}

.cta-title {
  font-family: var(--font-pixel);
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  text-shadow: 3px 3px 0 #000;
  margin-bottom: 16px;
  color: var(--gold);
}

.cta-desc {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  line-height: 1.7;
  margin-bottom: 36px;
}

.cta-checker-box {
  max-width: 580px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  margin: 0 auto 32px;
  padding: 28px;
  text-align: left;
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.checker-title {
  font-family: var(--font-pixel);
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 18px;
  text-align: center;
  text-shadow: 1px 1px 0 #000;
}
.checker-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.checker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
}
.checker-item i { color: var(--green); font-size: 1.1rem; }

/* CTA IP */
.cta-ip-banner {
  max-width: 580px;
  margin: 0 auto 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cta-ip-label {
  font-family: var(--font-pixel);
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.06em;
}
.cta-ip-box {
  background: rgba(0,0,0,0.45);
  border: 1px dashed rgba(74,222,128,0.4);
  border-radius: var(--r-md);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.22s;
}
.cta-ip-box:hover { border-color: var(--green); background: rgba(74,222,128,0.04); }
.cta-ip-text {
  font-family: var(--font-pixel);
  font-size: clamp(1.2rem, 4vw, 1.9rem);
  color: var(--green);
  padding-left: 10px;
}
.cta-ip-box .btn { padding: 10px 20px; font-size: 0.95rem; }
.cta-buttons-wrapper { margin-top: 20px; }

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 72px 0 36px;
  position: relative;
  z-index: 2;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 44px;
  margin-bottom: 44px;
}

.footer-brand { display: flex; align-items: flex-start; gap: 16px; }
.footer-logo { height: 50px; width: 50px; image-rendering: pixelated; }
.footer-brand-name {
  font-family: var(--font-pixel);
  font-size: 1.45rem;
  color: #fff;
  text-shadow: 1px 1px 0 #000;
  display: block;
  margin-bottom: 6px;
}
.footer-brand-desc { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }

.footer-links-group { display: flex; flex-direction: column; gap: 16px; }
.footer-heading {
  font-family: var(--font-pixel);
  font-size: 1.1rem;
  font-weight: 700;
  text-shadow: 1px 1px 0 #000;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-links li a {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links li a:hover { color: var(--green); }

.footer-disclaimer { display: flex; flex-direction: column; gap: 14px; }
.footer-disclaimer p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.65; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
}
.copy-text { font-size: 0.8rem; color: var(--text-dim); }

/* ========================================
   TOAST
   ======================================== */
.toast-notification {
  position: fixed;
  bottom: 84px; right: 22px;
  background: var(--green-dim);
  color: #fff;
  border: 1px solid rgba(74,222,128,0.5);
  border-radius: var(--r-md);
  padding: 12px 22px;
  z-index: 1002;
  font-family: var(--font-pixel);
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.5), 0 0 20px var(--green-glow);
  animation: slide-in-toast 0.28s cubic-bezier(0.175,0.885,0.32,1.275);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes pulse-anim {
  0%   { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(74,222,128,0.6); }
  70%  { transform: scale(1);   box-shadow: 0 0 0 9px rgba(74,222,128,0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

@keyframes float-anim {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@keyframes slide-in-toast {
  from { transform: translateY(18px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

@keyframes bounce-slow {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}
.animate-bounce { animation: bounce-slow 2s infinite; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .whitelist-container-grid { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 66px; }
  .section { padding: 56px 0; }
  .nav-links, .nav-actions { display: none; }
  .mobile-menu-btn { display: flex; align-items: center; }
  .quick-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .checker-list { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; gap: 32px; }
  .sound-toggle-container { bottom: 16px; right: 16px; padding: 7px 14px; }
  .toast-notification { bottom: 72px; right: 16px; left: 16px; justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-quick-buttons { flex-direction: column; }
  .hero-quick-buttons .btn { width: 100%; }
  .quick-steps-grid { grid-template-columns: 1fr; }
  .cta-ip-box { flex-direction: column; gap: 10px; padding: 16px; }
  .cta-ip-box .btn { width: 100%; }
  .cta-ip-text { padding-left: 0; }
  .wood-panel { padding: 22px 18px; }
  .vertical-stepper::before { left: 11px; }
  .stepper-number { width: 28px; height: 28px; font-size: 1rem; }
  .stepper-item { gap: 10px; }
}
