/* ============================================
   FREEMCFA � Dark Theme
   Dark bg, indigo primary, MC item icons
   ============================================ */

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

/* ---------- THEME ---------- */
:root {
  --background:      #0d1117;
  --background-alt:  #161b22;
  --foreground:      #e6edf3;
  --muted:           #8b949e;
  --primary:         #818cf8;
  --primary-hover:   #6366f1;
  --primary-light:   rgba(129,140,248,0.1);
  --secondary:       #ec4899;
  --accent:          #f97316;
  --border:          #30363d;
  --card:            #161b22;
  --success:         #3fb950;
  --warning:         #d29922;
  --danger:          #f85149;
  --discord:         #5865F2;
  --mc-emerald:      #17D45F;
  --mc-gold:         #FFD700;
  --mc-diamond:      #4AEDED;
  --dark:            #010409;
  --dark-alt:        #0d1117;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #30363d #0d1117;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

::selection { background: var(--primary); color: #fff; }

a { color: var(--primary); text-decoration: none; transition: all .2s ease; }
a:hover { color: var(--primary-hover); }
img { max-width: 100%; height: auto; display: block; }
button { transition: all .2s ease; }
section { position: relative; }

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0d1117; }
::-webkit-scrollbar-thumb { background: #30363d; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #484f58; }

/* ---------- HIDE LEGACY ---------- */
.bg-parallax, .bg-overlay, #particles-canvas { display: none !important; }
.pixel-divider { display: none; }

/* ---------- MC ICON inline ---------- */
.mc-icon {
  width: 20px; height: 20px;
  image-rendering: pixelated;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.mc-icon.sm { width: 16px; height: 16px; }
.mc-icon.lg { width: 28px; height: 28px; }
.mc-icon.xl { width: 36px; height: 36px; }
.mc-icon.xxl { width: 48px; height: 48px; }

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

/* ===================================================================
   NAVBAR � Two-tier dark, ailist style
   =================================================================== */
.top-announce-bar {
  background: var(--dark);
  color: #9ca3af;
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  height: 36px;
  padding: 0 1rem;
  position: relative;
  z-index: 1001;
}
.top-announce-bar a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.top-announce-bar a:hover { color: var(--mc-gold); }
.top-announce-bar .announce-pulse {
  width: 7px; height: 7px;
  background: var(--mc-gold);
  border-radius: 50%;
  animation: pulse 1.5s ease infinite;
  flex-shrink: 0;
}
.top-announce-bar .announce-close {
  position: absolute; right: 0.75rem;
  background: none; border: none; color: rgba(255,255,255,0.4);
  cursor: pointer; font-size: 1rem; padding: 0.2rem; line-height: 1;
}
.top-announce-bar .announce-close:hover { color: #fff; }

.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: var(--dark-alt);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between; height: 56px;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 800; font-size: 0.95rem; color: #fff;
}
.nav-logo .logo-icon {
  width: 28px; height: 28px;
  background: transparent; border-radius: 0;
  display: grid; place-items: center;
  box-shadow: none;
  overflow: visible;
}
.logo-icon img { width: 28px; height: 28px; image-rendering: pixelated; }
.logo-icon svg { width: 16px; height: 16px; fill: #fff; }

.nav-links {
  display: flex; list-style: none; gap: 0.15rem; align-items: center;
}
.nav-links a {
  padding: 0.45rem 0.85rem; color: #d1d5db; font-weight: 500;
  font-size: 0.85rem; border-radius: 6px;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta {
  margin-left: 0.5rem !important; padding: 0.45rem 1.15rem !important;
  background: var(--discord) !important; color: #fff !important;
  font-weight: 700 !important; font-size: 0.85rem !important;
  border-radius: 8px !important; box-shadow: 0 4px 12px rgba(88,101,242,0.2) !important;
  display: inline-flex !important; align-items: center !important; gap: 0.4rem !important;
}
.nav-cta:hover { background: #4752c4 !important; box-shadow: 0 4px 20px rgba(88,101,242,0.3) !important; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px;
}
.nav-toggle span { width: 20px; height: 2px; background: #d1d5db; border-radius: 2px; transition: all .3s; }

/* ===================================================================
   HERO � Dark with right-side MC wallpaper
   =================================================================== */
.hero {
  position: relative; overflow: hidden; background: var(--dark);
  min-height: 520px; display: flex; align-items: center;
}
.hero .hero-bg-image {
  position: absolute; top: 0; right: 0; bottom: 0; width: 55%;
}
.hero .hero-bg-image img { width: 100%; height: 100%; object-fit: cover; }
.hero .hero-bg-image .hero-fade {
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--dark) 0%, rgba(13,17,23,0.85) 40%, rgba(13,17,23,0.4) 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0; opacity: 0.03; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, white 1px, transparent 0);
  background-size: 32px 32px;
}
.hero .container { position: relative; z-index: 10; padding-top: 5rem; padding-bottom: 5rem; display: flex; align-items: center; gap: 3rem; }
.hero-content { max-width: 640px; flex: 1 1 0; }
.hero-right { flex: 0 0 420px; }
.hero-live-card {
  background: rgba(22,27,34,0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border); border-radius: 16px; padding: 1.75rem;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4); position: relative; overflow: hidden;
}
.hero-live-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--discord), var(--primary));
}
.hero-live-card h3 { font-weight: 800; font-size: 1.1rem; color: #fff; margin-bottom: 0.25rem; text-align: center; }
.hero-live-badge {
  display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: #34d399; margin-bottom: 1rem;
  background: rgba(52,211,153,0.1); padding: 0.25rem 0.65rem; border-radius: 999px;
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; animation: pulse-dot 1.5s infinite; }
@keyframes pulse-dot { 0%,100%{ opacity:1; } 50%{ opacity:0.3; } }
.hero-live-prize { font-weight: 700; font-size: 1rem; color: var(--mc-gold); text-align: center; margin-bottom: 0.15rem; }
.hero-live-value { font-size: 0.8rem; color: #9ca3af; text-align: center; margin-bottom: 1rem; }
.hero-live-stats { display: flex; justify-content: space-around; margin-bottom: 1.25rem; text-align: center; padding: 0.75rem 0; border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
.hero-live-stats div strong { display: block; font-size: 1.15rem; color: #fff; font-weight: 800; }
.hero-live-stats div span { font-size: 0.65rem; color: #6b7280; text-transform: uppercase; letter-spacing: 0.05em; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--primary); font-weight: 600; font-size: 0.875rem;
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem;
}
.hero-accent-line { width: 48px; height: 4px; background: var(--primary); border-radius: 2px; margin-bottom: 1.5rem; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900;
  letter-spacing: -0.025em; color: #fff; line-height: 1.1; margin-bottom: 1.5rem;
}
.hero h1 .text-primary { color: var(--primary); }
.hero h1 .text-discord { color: var(--discord); }
.hero h1 .gold { color: var(--mc-gold); }
.hero-subtitle {
  font-size: 1.125rem; color: #9ca3af; line-height: 1.65;
  max-width: 520px; margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 3.5rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stat { text-align: left; }
.hero-stat .stat-number { font-weight: 800; font-size: 1.5rem; color: #fff; display: block; letter-spacing: -0.02em; }
.hero-stat .stat-label { font-size: 0.75rem; color: #6b7280; margin-top: 0.15rem; font-weight: 500; display: flex; align-items: center; gap: 0.35rem; }

/* ===================================================================
   BUTTONS
   =================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.875rem; padding: 0.625rem 1.375rem;
  border-radius: 8px; cursor: pointer; border: none; transition: all .15s ease;
  text-decoration: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }
.btn-secondary { background: var(--card); color: var(--foreground); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: #484f58; background: var(--background-alt); color: var(--foreground); }
.btn-discord { background: var(--discord); color: #fff; box-shadow: 0 4px 16px rgba(88,101,242,0.25); }
.btn-discord:hover { background: #4752c4; color: #fff; box-shadow: 0 4px 20px rgba(88,101,242,0.35); }
.btn-outline { background: transparent; color: #d1d5db; border: 1px solid #4b5563; }
.btn-outline:hover { border-color: #9ca3af; color: #fff; background: rgba(255,255,255,0.05); }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.8rem; }
.btn-lg { padding: 0.75rem 1.5rem; font-size: 0.9rem; }

.icon-inline { width: 1rem; height: 1rem; fill: currentColor; flex-shrink: 0; }

/* ===================================================================
   SECTIONS � alternating white / slate-50
   =================================================================== */
.section-white { background: var(--background); padding: clamp(4rem, 8vw, 5rem) 0; }
.section-alt { background: var(--background-alt); padding: clamp(4rem, 8vw, 5rem) 0; }
.section-bg-alt { background: var(--background-alt); }
section { padding: clamp(3.5rem, 8vw, 5rem) 0; }

.section-header { margin-bottom: 2.5rem; }
.section-header.center { text-align: center; }
.section-tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.875rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--primary); margin-bottom: 0.25rem;
}
.section-title {
  font-weight: 900; font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.025em; color: var(--foreground); line-height: 1.3;
}
.section-accent {
  width: 40px; height: 3px; background: var(--primary);
  border-radius: 1.5px; margin-top: 0.75rem;
}
.section-header.center .section-accent { margin-left: auto; margin-right: auto; }
.section-desc {
  color: var(--muted); max-width: 500px; margin-top: 1rem; font-size: 1rem; line-height: 1.6;
}
.section-header.center .section-desc { margin-left: auto; margin-right: auto; }

/* ===================================================================
   HOW IT WORKS � 3 STEP CARDS
   =================================================================== */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 2rem; text-align: center; transition: all .3s cubic-bezier(0.25,0.46,0.45,0.94);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.step-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.step-card .step-icon-wrap {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center; margin: 0 auto 1.25rem;
}
.step-card .step-icon-wrap.discord-bg { background: rgba(88,101,242,0.1); }
.step-card .step-icon-wrap.gold-bg    { background: rgba(234,179,8,0.1); }
.step-card .step-icon-wrap.green-bg   { background: rgba(16,185,129,0.1); }
.step-num { display: none; }
.step-num-badge {
  font-size: 0.625rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--muted); margin-bottom: 0.5rem;
}
.step-card h3 { font-size: 1.125rem; font-weight: 700; color: var(--foreground); margin-bottom: 0.5rem; }
.step-card p { color: var(--muted); font-size: 0.875rem; line-height: 1.6; }

/* ===================================================================
   FEATURE CARDS
   =================================================================== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 2rem 1.75rem; transition: all .3s cubic-bezier(0.25,0.46,0.45,0.94);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 1.25rem;
}
.feature-icon svg { width: 22px; height: 22px; fill: currentColor; }
.feature-icon.green  { background: rgba(63,185,80,0.12);  color: #3fb950; }
.feature-icon.blue   { background: rgba(56,139,253,0.12); color: #58a6ff; }
.feature-icon.gold   { background: rgba(210,153,34,0.12); color: #d29922; }
.feature-icon.red    { background: rgba(248,81,73,0.12);  color: #f85149; }
.feature-icon.purple { background: rgba(139,92,246,0.12); color: #a371f7; }
.feature-icon.brown  { background: rgba(180,83,9,0.12);   color: #db8b0a; }
.feature-card h3 { font-size: 1rem; font-weight: 700; color: var(--foreground); margin-bottom: 0.5rem; }
.feature-card p { color: var(--muted); font-size: 0.875rem; line-height: 1.6; }

/* ===================================================================
   GIVEAWAY CARDS
   =================================================================== */
.giveaway-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.giveaway-card {
  background: var(--card); border-radius: 16px; overflow: hidden;
  transition: all .3s cubic-bezier(0.25,0.46,0.45,0.94);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2), 0 6px 16px rgba(0,0,0,0.15), 0 0 0 1px var(--border);
  border: none; padding: 0; display: block; color: var(--foreground);
}
.giveaway-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); color: var(--foreground); }
.giveaway-img { height: 160px; overflow: hidden; position: relative; }
.giveaway-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.giveaway-card:hover .giveaway-img img { transform: scale(1.03); }
.giveaway-img .giveaway-tag {
  position: absolute; top: 0.75rem; left: 0.75rem; padding: 0.2rem 0.6rem;
  background: var(--primary); color: #fff; font-size: 0.625rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; border-radius: 6px;
  display: inline-flex; align-items: center; gap: 0.3rem;
}
.giveaway-tag.gold { background: var(--accent); }
.giveaway-tag.diamond { background: #0891b2; }
.giveaway-tag.redstone { background: var(--danger); }
.giveaway-body { padding: 1.25rem 1.5rem 1.5rem; }
.giveaway-body h3 { font-size: 1rem; font-weight: 700; color: var(--foreground); margin-bottom: 0.35rem; }
.giveaway-body p { color: var(--muted); font-size: 0.85rem; margin-bottom: 0.75rem; line-height: 1.6; }
.giveaway-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; color: var(--muted); }
.giveaway-timer { color: var(--accent); font-weight: 600; display: flex; align-items: center; gap: 0.25rem; }

/* ===================================================================
   GUIDE CARDS
   =================================================================== */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.guide-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 1.75rem; cursor: pointer; transition: all .3s cubic-bezier(0.25,0.46,0.45,0.94);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2); display: block; color: var(--foreground);
}
.guide-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); color: var(--foreground); }
.guide-card .guide-category {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.6875rem; font-weight: 600; color: var(--primary);
  background: var(--primary-light); padding: 0.15rem 0.6rem; border-radius: 4px;
  margin-bottom: 0.6rem; text-transform: uppercase; letter-spacing: 0.04em;
}
.guide-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--foreground); margin-bottom: 0.4rem; transition: color .2s; }
.guide-card:hover h3 { color: var(--primary); }
.guide-card p { color: var(--muted); font-size: 0.85rem; line-height: 1.6; margin-bottom: 0.75rem; }
.guide-card .guide-footer { display: flex; justify-content: space-between; align-items: center; font-size: 0.72rem; color: var(--muted); }
.guide-card .read-time { display: flex; align-items: center; gap: 0.3rem; }

/* ===================================================================
   RELATED / MORE GUIDES CARDS
   =================================================================== */
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.related-grid .guide-card {
  min-height: 180px;
  border-radius: 18px;
  border: 1px solid rgba(129,140,248,0.16);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(99,102,241,0.14) 0%, rgba(99,102,241,0) 52%),
    linear-gradient(180deg, #161b22 0%, #131a24 100%);
  box-shadow: 0 12px 30px rgba(0,0,0,0.24), inset 0 1px 0 rgba(255,255,255,0.03);
}

.related-grid .guide-card:hover {
  transform: translateY(-4px);
  border-color: rgba(129,140,248,0.34);
  box-shadow: 0 18px 38px rgba(0,0,0,0.32), 0 0 0 1px rgba(129,140,248,0.2);
}

.card-category {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a5b4fc;
  background: rgba(99,102,241,0.14);
  border: 1px solid rgba(129,140,248,0.2);
  border-radius: 999px;
  padding: 0.22rem 0.65rem;
  margin-bottom: 0.7rem;
}

.related-grid .guide-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.08rem;
  line-height: 1.35;
}

.related-grid .guide-card p {
  margin-bottom: 0;
  color: #9aa4af;
}

/* ===================================================================
   FAQ ACCORDION
   =================================================================== */
.faq-list { display: flex; flex-direction: column; gap: 0.6rem; max-width: 720px; margin: 0 auto; }
.faq-item {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.faq-question {
  padding: 1.1rem 1.5rem; display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-weight: 600; font-size: 0.925rem; user-select: none;
  color: var(--foreground); transition: background .15s;
}
.faq-question:hover { background: var(--background-alt); }
.faq-question .faq-icon {
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--primary-light); display: grid; place-items: center;
  font-size: 0.8rem; color: var(--primary); transition: transform .3s ease; flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-answer-inner { padding: 0 1.5rem 1.5rem; color: var(--muted); line-height: 1.75; font-size: 0.9rem; }

/* ===================================================================
   LIVE METRICS (Homepage, under FAQ)
   =================================================================== */
.live-metrics {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(129,140,248,0.15);
}

.live-metrics-shell {
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(129,140,248,0.16) 0%, rgba(129,140,248,0) 50%),
    linear-gradient(180deg, rgba(20,24,32,0.96) 0%, rgba(13,17,23,0.98) 100%);
  border: 1px solid rgba(129,140,248,0.16);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.03);
}

.live-metrics-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.live-metrics-title {
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 900;
  color: var(--foreground);
  margin-bottom: 0.45rem;
}

.live-metrics-copy {
  max-width: 640px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.live-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.live-metric-card {
  min-height: 184px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(24,29,39,0.98) 0%, rgba(16,20,28,0.98) 100%);
  border: 1px solid rgba(129,140,248,0.16);
  border-radius: 18px;
  padding: 1.15rem;
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
}

.live-metric-primary {
  background:
    radial-gradient(90% 90% at 100% 0%, rgba(249,115,22,0.18) 0%, rgba(249,115,22,0) 55%),
    linear-gradient(180deg, rgba(31,37,50,0.98) 0%, rgba(16,20,28,0.98) 100%);
  border-color: rgba(249,115,22,0.18);
}

.metric-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: auto;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a5b4fc;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(129,140,248,0.14);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.metric-label {
  display: block;
  color: #dbe4ee;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  margin-top: 0.25rem;
}

.metric-value {
  display: block;
  color: #ffffff;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 900;
  margin-bottom: 0.15rem;
}

.metric-sub {
  display: block;
  color: #8b949e;
  font-size: 0.8rem;
  line-height: 1.55;
}

/* ===================================================================
   CTA BANNER
   =================================================================== */
.cta-banner {
  background: var(--card); border: 1px solid var(--border); border-radius: 20px;
  padding: 3.5rem 2rem; text-align: center;
}
.cta-banner h2 { font-weight: 900; font-size: clamp(1.25rem, 2.5vw, 1.75rem); letter-spacing: -0.02em; color: var(--foreground); margin-bottom: 0.5rem; }
.cta-banner p { color: var(--muted); max-width: 400px; margin: 0 auto 1.75rem; font-size: 1rem; }

/* ===================================================================
   DISCORD CTA SECTION (dark)
   =================================================================== */
.discord-cta-section {
  background: var(--dark); position: relative; overflow: hidden; padding: clamp(4rem, 8vw, 5rem) 0;
}
.discord-cta-section::before {
  content: ''; position: absolute; inset: 0; opacity: 0.04; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, white 1px, transparent 0);
  background-size: 32px 32px;
}
.discord-cta-section .glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 600px; height: 300px; background: rgba(88,101,242,0.1);
  border-radius: 50%; filter: blur(120px); pointer-events: none;
}
.discord-cta-section .inner { position: relative; z-index: 10; text-align: center; max-width: 640px; margin: 0 auto; }
.discord-cta-section h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 900; color: #fff; letter-spacing: -0.025em; }
.discord-cta-section .accent-line { width: 40px; height: 2px; background: var(--discord); border-radius: 1px; margin: 1rem auto; }
.discord-cta-section p { color: #9ca3af; font-size: 1rem; line-height: 1.6; margin-bottom: 2rem; }

/* ===================================================================
   FOOTER � Dark
   =================================================================== */
.footer {
  background: var(--dark); border-top: 1px solid rgba(255,255,255,0.05);
  padding: 3.5rem 0 2rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand p { color: #6b7280; font-size: 0.875rem; margin-top: 1rem; max-width: 260px; line-height: 1.6; }
.footer-brand .nav-logo { color: #fff; }
.footer-col h4 { font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: #6b7280; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { color: #9ca3af; font-size: 0.875rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.75rem; color: #4b5563;
}
.footer-socials { display: flex; gap: 0.5rem; }
.footer-socials a {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,0.05); display: grid; place-items: center; color: #9ca3af;
}
.footer-socials a:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ===================================================================
   BREADCRUMBS
   =================================================================== */
.breadcrumbs { display: flex; gap: 0.4rem; align-items: center; font-size: 0.75rem; color: var(--muted); padding: 1rem 0 0; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs .sep { opacity: 0.4; }

/* ===================================================================
   ARTICLE LAYOUT (Guide Pages)
   =================================================================== */
.article-hero { padding: 3rem 0 2rem; text-align: center; background: var(--background); }
.article-hero .article-category {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 1rem; background: var(--primary-light);
  border: 1px solid rgba(99,102,241,0.15); border-radius: 50px;
  font-size: 0.7rem; font-weight: 700; color: var(--primary);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 1rem;
}
.article-hero h1 {
  font-weight: 900; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.3;
  margin-bottom: 1rem; max-width: 650px; margin-left: auto; margin-right: auto;
  letter-spacing: -0.02em; color: var(--foreground);
}
.article-hero h1 .accent { color: var(--primary); }
.article-meta { display: flex; gap: 1.5rem; justify-content: center; font-size: 0.8rem; color: var(--muted); }
.article-meta span { display: flex; align-items: center; gap: 0.3rem; }
.article-content { max-width: 760px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem) 3rem; }
.article-content .glass-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 2.5rem clamp(1.5rem, 4vw, 3rem); backdrop-filter: none;
}
.article-content .glass-card::before { display: none; }
.article-content .glass-card:hover { transform: none; box-shadow: none; }
.article-body h2 { font-weight: 800; font-size: 1.15rem; margin: 2.5rem 0 0.75rem; color: var(--primary); display: flex; align-items: center; gap: 0.5rem; }
.article-body h3 { font-size: 1rem; font-weight: 700; margin: 1.75rem 0 0.5rem; color: var(--foreground); }
.article-body p { color: var(--muted); margin-bottom: 1rem; font-size: 0.95rem; line-height: 1.8; }
.article-body ul, .article-body ol { color: var(--muted); margin-bottom: 1rem; padding-left: 1.5rem; }
.article-body li { margin-bottom: 0.4rem; line-height: 1.65; }
.article-body .info-box {
  background: rgba(129,140,248,0.08); border-left: 3px solid var(--primary);
  padding: 1.25rem 1.5rem; border-radius: 0 12px 12px 0; margin: 1.5rem 0; color: var(--foreground);
  display: flex; align-items: flex-start; gap: 0.75rem;
}
.article-body .warning-box {
  background: rgba(210,153,34,0.08); border-left: 3px solid var(--warning);
  padding: 1.25rem 1.5rem; border-radius: 0 12px 12px 0; margin: 1.5rem 0; color: var(--foreground);
  display: flex; align-items: flex-start; gap: 0.75rem;
}
.article-body .success-box {
  background: rgba(63,185,80,0.08); border-left: 3px solid var(--success);
  padding: 1.25rem 1.5rem; border-radius: 0 12px 12px 0; margin: 1.5rem 0; color: var(--foreground);
  display: flex; align-items: flex-start; gap: 0.75rem;
}
.article-body .step-list { counter-reset: steps; list-style: none; padding-left: 0; }
.article-body .step-list li { counter-increment: steps; padding-left: 2.75rem; position: relative; margin-bottom: 1rem; }
.article-body .step-list li::before {
  content: counter(steps); position: absolute; left: 0; top: 0;
  width: 1.75rem; height: 1.75rem; background: var(--primary-light); color: var(--primary);
  border-radius: 6px; display: grid; place-items: center; font-weight: 800; font-size: 0.8rem;
}

/* ===================================================================
   DISCORD STEP-ONE (auto-injected top of articles)
   =================================================================== */
.discord-step-one {
  background: linear-gradient(135deg, rgba(129,140,248,0.08) 0%, rgba(63,185,80,0.06) 100%);
  border: 2px solid rgba(129,140,248,0.2); border-radius: 16px;
  padding: 2.5rem 2rem; text-align: center; margin-bottom: 2.5rem;
  position: relative; overflow: hidden;
}
.discord-step-one::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,0.05), transparent);
  animation: stepOneShimmer 3s ease-in-out infinite;
}
@keyframes stepOneShimmer { 0%, 100% { transform: translateX(-100%); } 50% { transform: translateX(100%); } }
.discord-step-one .step-one-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(129,140,248,0.12); border: 1px solid rgba(129,140,248,0.2);
  border-radius: 99px; padding: 0.3rem 1rem; font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--primary); margin-bottom: 0.75rem;
}
.discord-step-one h3 { font-size: 1.3rem; font-weight: 800; color: var(--foreground); margin-bottom: 0.5rem; position: relative; }
.discord-step-one h3 .gold { color: var(--accent); }
.discord-step-one p { color: var(--muted) !important; font-size: 0.9rem; margin-bottom: 1.25rem !important; max-width: 480px; margin-left: auto; margin-right: auto; position: relative; }
.discord-step-one .step-one-stats { display: flex; justify-content: center; gap: 2rem; margin-bottom: 1.25rem; position: relative; }
.discord-step-one .step-one-stat { text-align: center; }
.discord-step-one .step-one-stat strong { display: block; font-size: 1.05rem; font-weight: 800; color: var(--primary); }
.discord-step-one .step-one-stat span { font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.discord-step-one .btn { position: relative; }

/* ===================================================================
   DISCORD CTA BOX (in articles)
   =================================================================== */
.discord-cta-box {
  background: rgba(129,140,248,0.08); border: 1px solid rgba(129,140,248,0.15);
  border-radius: 16px; padding: 2rem; text-align: center; margin: 2rem 0;
}
.discord-cta-box h3 { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.4rem; color: var(--foreground); }
.discord-cta-box p { color: var(--muted) !important; font-size: 0.9rem; margin-bottom: 1rem !important; }

/* ===================================================================
   DISCORD POPUP MODAL
   =================================================================== */
.discord-popup-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all .3s ease;
}
.discord-popup-overlay.active { opacity: 1; visibility: visible; }
.discord-popup {
  background: var(--card); border: 1px solid var(--border); border-radius: 20px;
  padding: 2.5rem 2rem 2rem; max-width: 420px; width: 90%; text-align: center;
  position: relative; box-shadow: 0 24px 64px rgba(0,0,0,0.15);
  transform: translateY(20px) scale(0.97); transition: transform .35s ease;
}
.discord-popup-overlay.active .discord-popup { transform: translateY(0) scale(1); }
.discord-popup-close {
  position: absolute; top: 0.75rem; right: 0.75rem;
  width: 28px; height: 28px; border-radius: 6px;
  border: 1px solid var(--border); background: var(--background-alt);
  color: var(--muted); cursor: pointer; display: grid; place-items: center; font-size: 0.9rem;
}
.discord-popup-close:hover { color: var(--foreground); }
.discord-popup-icon {
  width: 56px; height: 56px; background: var(--primary-light);
  border-radius: 14px; display: grid; place-items: center; margin: 0 auto 1rem;
}
.discord-popup-icon svg { width: 28px; height: 28px; fill: var(--discord); }
.discord-popup h3 { font-weight: 800; font-size: 1.15rem; color: var(--foreground); margin-bottom: 0.4rem; }
.discord-popup h3 .gold { color: var(--accent); }
.discord-popup p { color: var(--muted); font-size: 0.88rem; line-height: 1.65; margin-bottom: 1.25rem; }
.popup-stats {
  display: flex; justify-content: center; gap: 1.75rem; margin-bottom: 1.25rem;
  padding: 0.6rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.popup-stat { text-align: center; }
.popup-stat-num { display: block; font-weight: 800; font-size: 1rem; color: var(--primary); }
.popup-stat-label { font-size: 0.65rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.discord-popup .btn-discord { width: 100%; justify-content: center; font-size: 0.95rem; padding: 0.8rem 1.5rem; }
.popup-dismiss { display: block; margin-top: 0.6rem; font-size: 0.75rem; color: var(--muted); cursor: pointer; background: none; border: none; }
.popup-dismiss:hover { color: var(--foreground); }

/* ===================================================================
   TAG PILLS
   =================================================================== */
.tag-pills { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.tag-pill { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.6875rem; font-weight: 500; background: rgba(129,140,248,0.1); color: var(--muted); }

/* ===================================================================
   GLASS CARD � legacy compat
   =================================================================== */
.glass-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 1.75rem; transition: all .25s ease; box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  backdrop-filter: none;
}
.glass-card::before { display: none; }
.glass-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

/* ===================================================================
   SEARCH BAR
   =================================================================== */
.search-bar { position: relative; max-width: 420px; margin: 0 auto; }
.search-bar input {
  width: 100%; padding: 0.7rem 1rem 0.7rem 2.5rem;
  background: var(--background-alt); border: 1px solid var(--border);
  border-radius: 10px; color: var(--foreground); font-size: 0.9rem; outline: none;
}
.search-bar input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(129,140,248,0.15); }
.search-bar .search-icon { position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%); color: var(--muted); }

/* ===================================================================
   ANIMATIONS
   =================================================================== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.5); } }
.reveal { opacity: 0; transform: translateY(24px); transition: all .6s cubic-bezier(0.25,0.46,0.45,0.94); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1024px) {
  .features-grid, .giveaway-grid, .guide-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .live-metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--dark-alt); border-bottom: 1px solid rgba(255,255,255,0.05);
    flex-direction: column; padding: 0.75rem; z-index: 100;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: clamp(1.5rem, 6vw, 2.2rem); }
  .hero .hero-bg-image { width: 100%; opacity: 0.3; }
  .hero .container { flex-direction: column; }
  .hero-right { flex: 0 0 auto; width: 100%; max-width: 380px; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .features-grid, .giveaway-grid, .guide-grid, .steps-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .live-metrics-grid { grid-template-columns: 1fr; }
  .live-metrics-shell { padding: 1.1rem; border-radius: 18px; }
  .live-metrics-header { margin-bottom: 1rem; }
  .live-metric-card { min-height: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .top-announce-bar { font-size: 0.68rem; padding: 0 2rem 0 0.75rem; }
  .discord-popup { padding: 1.75rem 1.25rem 1.5rem; }
  .discord-step-one { padding: 1.75rem 1.25rem; }
  .discord-step-one .step-one-stats { gap: 1rem; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ===================================================================
   UTILITY
   =================================================================== */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.accent { color: var(--primary); }
.gold   { color: var(--accent); }

/* ===================================================================
   ARTICLE SIDEBAR LAYOUT
   =================================================================== */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem) 3rem;
  align-items: start;
}
.article-layout .article-content {
  max-width: none;
  padding: 0;
  margin: 0;
  min-width: 0;
}
article.article-content {
  max-width: none;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.article-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar-toc,
.sidebar-discord,
.sidebar-guides {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
}

.sidebar-toc h4,
.sidebar-discord h4,
.sidebar-guides h4 {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.sidebar-toc nav {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  max-height: 360px;
  overflow-y: auto;
}
.sidebar-toc nav::-webkit-scrollbar { width: 3px; }
.sidebar-toc nav::-webkit-scrollbar-thumb { background: #30363d; border-radius: 3px; }

.sidebar-toc a {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  padding: 0.3rem 0.6rem;
  border-left: 2px solid transparent;
  border-radius: 0 4px 4px 0;
  transition: all .15s;
  line-height: 1.4;
}
.sidebar-toc a:hover {
  color: var(--primary);
  background: var(--primary-light);
}
.sidebar-toc a.active {
  color: var(--primary);
  border-left-color: var(--primary);
  background: var(--primary-light);
  font-weight: 600;
}
.sidebar-toc a.toc-h3 {
  padding-left: 1.2rem;
  font-size: 0.74rem;
}

.sidebar-discord {
  background: linear-gradient(135deg, rgba(129,140,248,0.1), rgba(88,101,242,0.08));
  border-color: rgba(129,140,248,0.2);
  text-align: center;
}
.sidebar-discord .mc-icon.lg { margin: 0 auto 0.5rem; display: block; }
.sidebar-discord p {
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.sidebar-discord .btn {
  width: 100%;
  justify-content: center;
}

.sidebar-guides ul {
  list-style: none;
  padding: 0;
}
.sidebar-guides li {
  margin-bottom: 0.2rem;
}
.sidebar-guides a {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--foreground);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  transition: all .15s;
}
.sidebar-guides a:hover {
  background: var(--background-alt);
  color: var(--primary);
}

@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
    order: -1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
  }
  .sidebar-toc { display: none; }
}
