/* ═══════════════════════════════════════════════════════════
   MADROSRPG — Main Stylesheet
   Dark Fantasy RPG Theme
═══════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────── */
:root {
  --bg-0: #06060d;
  --bg-1: #0b0b16;
  --bg-2: #10101e;
  --bg-card: #12121f;
  --bg-card-hover: #17172a;

  --gold: #f0c040;
  --gold-dim: #c9913a;
  --purple: #8b5cf6;
  --purple-light: #a78bfa;
  --purple-dark: #5b21b6;
  --cyan: #22d3ee;
  --cyan-dim: #0891b2;

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #475569;

  --border: rgba(139, 92, 246, 0.18);
  --border-hover: rgba(139, 92, 246, 0.4);

  --gradient-brand: linear-gradient(135deg, var(--purple-light), var(--cyan));
  --gradient-hero-bg: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(91, 33, 182, 0.25) 0%, transparent 70%),
                      radial-gradient(ellipse 60% 40% at 80% 80%, rgba(34, 211, 238, 0.1) 0%, transparent 60%),
                      var(--bg-0);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255,255,255,0.04) inset;
  --shadow-glow-purple: 0 0 40px rgba(139, 92, 246, 0.3);
  --shadow-glow-gold: 0 0 30px rgba(240, 192, 64, 0.25);

  --transition: 0.2s ease;
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  --navbar-h: 70px;
}

/* ── Google AdSense ─────────────────────────────────────── */
.ad-banner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 16px 24px;
}

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

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

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

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

code {
  font-family: 'Courier New', monospace;
  background: rgba(139, 92, 246, 0.15);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 0.88em;
  color: var(--purple-light);
}

/* ── Typography ─────────────────────────────────────────── */
.cinzel { font-family: 'Cinzel', Georgia, serif; }

h1, h2, h3 {
  font-family: 'Cinzel', Georgia, serif;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
}

.btn-sm   { font-size: 0.85rem; padding: 9px 18px; }
.btn-large{ font-size: 1rem;    padding: 15px 30px; border-radius: var(--radius-lg); }

.btn-primary {
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4), 0 1px 0 rgba(255,255,255,0.1) inset;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  box-shadow: 0 6px 28px rgba(124, 58, 237, 0.6), 0 1px 0 rgba(255,255,255,0.1) inset;
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-hover);
}
.btn-outline:hover {
  background: rgba(139, 92, 246, 0.12);
  border-color: var(--purple-light);
  color: var(--purple-light);
  transform: translateY(-1px);
}

.btn-shop {
  display: block;
  text-align: center;
  width: 100%;
  padding: 13px;
  font-size: 0.95rem;
  background: rgba(139, 92, 246, 0.12);
  color: var(--purple-light);
  border: 1.5px solid var(--border-hover);
  border-radius: var(--radius-md);
}
.btn-shop:hover {
  background: rgba(139, 92, 246, 0.2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow-purple);
}
.btn-shop-featured {
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.45);
}
.btn-shop-featured:hover {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  box-shadow: 0 6px 28px rgba(124, 58, 237, 0.65);
}

/* ═══════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--navbar-h);
  transition: background var(--transition-slow), box-shadow var(--transition-slow);
}

.navbar.scrolled {
  background: rgba(6, 6, 13, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,0.4);
}

.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-text {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  gap: 2px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 3px;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 5px 9px;
  border-radius: 5px;
  cursor: pointer;
  transition: all var(--transition);
}
.lang-btn:hover { color: var(--text-secondary); }
.lang-btn.active {
  background: rgba(139, 92, 246, 0.3);
  color: var(--purple-light);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--navbar-h) + 60px) 24px 80px;
  overflow: hidden;
  background: var(--gradient-hero-bg);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: rgba(91, 33, 182, 0.18);
  top: -150px; left: -100px;
  animation: glowPulse 6s ease-in-out infinite;
}
.hero-glow-2 {
  width: 400px; height: 400px;
  background: rgba(34, 211, 238, 0.1);
  bottom: -100px; right: 10%;
  animation: glowPulse 8s ease-in-out 2s infinite;
}

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

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 99px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--purple-light);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

.badge-dot {
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px #4ade80;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { text-align: center; }
.stat-value {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Hero visual */
.hero-visual {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 60px;
}

.madros-container {
  position: relative;
  width: 340px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.madros-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.35) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: glowPulse 4s ease-in-out infinite;
  pointer-events: none;
}

.madros-img {
  position: relative;
  z-index: 2;
  width: 320px;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.5)) drop-shadow(0 0 60px rgba(139, 92, 246, 0.2));
  animation: madrosFloat 5s ease-in-out infinite;
}

@keyframes madrosFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

/* Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  animation: orbFloat linear infinite;
}
.orb-1 { width: 8px; height: 8px; background: var(--purple-light); box-shadow: 0 0 12px var(--purple); top: 20%; left: 8%; animation-duration: 5s; animation-delay: 0s; }
.orb-2 { width: 5px; height: 5px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); top: 70%; right: 10%; animation-duration: 6s; animation-delay: 1.5s; }
.orb-3 { width: 6px; height: 6px; background: var(--gold); box-shadow: 0 0 10px var(--gold); bottom: 25%; left: 15%; animation-duration: 7s; animation-delay: 0.8s; }
.orb-4 { width: 4px; height: 4px; background: #f9a8d4; box-shadow: 0 0 8px #f9a8d4; top: 35%; right: 5%; animation-duration: 5.5s; animation-delay: 2s; }

@keyframes orbFloat {
  0%, 100% { transform: translateY(0); opacity: 0.8; }
  50% { transform: translateY(-14px); opacity: 1; }
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-arrow {
  width: 24px; height: 24px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  animation: scrollBounce 1.8s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.5; }
  50% { transform: rotate(45deg) translateY(6px); opacity: 1; }
}

/* ═══════════════════════════════════════════
   FEATURES
═══════════════════════════════════════════ */
.features {
  padding: 100px 0;
  background: var(--bg-1);
  position: relative;
}
.features::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-slow), border-color var(--transition), box-shadow var(--transition-slow);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card), var(--shadow-glow-purple);
  background: var(--bg-card-hover);
}

.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 24px; height: 24px; }

.icon-combat   { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239,68,68,0.2); }
.icon-quest    { background: rgba(234, 179, 8, 0.15);  color: #facc15; border: 1px solid rgba(234,179,8,0.2); }
.icon-level    { background: rgba(34, 197, 94, 0.15);  color: #4ade80; border: 1px solid rgba(34,197,94,0.2); }
.icon-inventory{ background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59,130,246,0.2); }
.icon-leaderboard { background: rgba(240, 192, 64, 0.15); color: var(--gold); border: 1px solid rgba(240,192,64,0.2); }
.icon-armor    { background: rgba(148, 163, 184, 0.15); color: #cbd5e1; border: 1px solid rgba(148,163,184,0.2); }
.icon-harvest  { background: rgba(74, 222, 128, 0.15);  color: #4ade80; border: 1px solid rgba(74,222,128,0.2); }
.icon-craft    { background: rgba(139, 92, 246, 0.15); color: var(--purple-light); border: 1px solid var(--border-hover); }

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.feature-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════
   HOW TO START
═══════════════════════════════════════════ */
.howto {
  padding: 100px 0;
  background: var(--bg-0);
  position: relative;
}
.howto::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.step-number {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.step-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.step-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.step-connector {
  flex: 0 0 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  margin-top: 20px;
  opacity: 0.35;
  border-radius: 1px;
}

/* ═══════════════════════════════════════════
   SHOP
═══════════════════════════════════════════ */
.shop {
  padding: 100px 0;
  background: var(--bg-1);
  position: relative;
  overflow: hidden;
}
.shop::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.shop-bg-glow {
  position: absolute;
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.shop-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform var(--transition-slow), border-color var(--transition), box-shadow var(--transition-slow);
  box-shadow: var(--shadow-card);
}
.shop-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card), 0 0 40px rgba(139,92,246,0.2);
}

.shop-card-popular {
  border-color: rgba(139, 92, 246, 0.5);
  background: linear-gradient(160deg, #16162a, #12121f);
  box-shadow: var(--shadow-card), 0 0 30px rgba(139,92,246,0.15);
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 99px;
  box-shadow: 0 4px 16px rgba(124,58,237,0.5);
  white-space: nowrap;
}

.gem-icon {
  display: flex;
  justify-content: center;
}
.gem-icon svg { filter: drop-shadow(0 4px 16px rgba(139,92,246,0.4)); }
.gem-s svg  { width: 48px; }
.gem-m svg  { width: 60px; filter: drop-shadow(0 6px 20px rgba(139,92,246,0.6)); }
.gem-l svg  { width: 52px; }
.gem-xl svg { width: 56px; filter: drop-shadow(0 4px 16px rgba(240,192,64,0.5)); }

.shop-card-header { text-align: center; }
.shop-card-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.gem-amount {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.shop-perks {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.shop-perks li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.shop-perks li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--purple-light);
  flex-shrink: 0;
}

.shop-price {
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.shop-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════════ */
.cta-banner {
  padding: 80px 0;
  background: var(--bg-0);
  position: relative;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.cta-content {
  text-align: center;
  background: linear-gradient(135deg, rgba(91,33,182,0.15), rgba(34,211,238,0.06));
  border: 1px solid rgba(139,92,246,0.25);
  border-radius: var(--radius-xl);
  padding: 64px 40px;
  position: relative;
  overflow: hidden;
}
.cta-content::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 300px;
  background: radial-gradient(ellipse, rgba(139,92,246,0.15), transparent);
  pointer-events: none;
}

.cta-content h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 16px;
  position: relative;
}
.cta-content p {
  color: var(--text-secondary);
  margin-bottom: 36px;
  font-size: 1.05rem;
  position: relative;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}

.footer-top {
  display: flex;
  gap: 64px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.footer-brand {
  flex: 1;
  min-width: 220px;
}
.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-col h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--purple-light); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.features-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.features-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.features-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.features-grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.features-grid .reveal:nth-child(6) { transition-delay: 0.40s; }
.shop-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.shop-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.shop-grid .reveal:nth-child(4) { transition-delay: 0.3s; }
.steps .reveal:nth-child(3) { transition-delay: 0.15s; }
.steps .reveal:nth-child(5) { transition-delay: 0.3s; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: calc(var(--navbar-h) + 48px);
  }
  .hero-content { max-width: 100%; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { padding-left: 0; padding-top: 40px; }

  .steps { flex-direction: column; align-items: center; gap: 32px; }
  .step-connector { width: 2px; height: 32px; flex: 0 0 auto; }
}

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

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--navbar-h);
    left: 0; right: 0;
    background: rgba(6,6,13,0.97);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    z-index: 99;
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a {
    display: block;
    width: 100%;
    padding: 14px 16px;
    font-size: 1.05rem;
  }
  .nav-links.open + .nav-right { display: none; }

  .section-header { margin-bottom: 40px; }
  .features { padding: 60px 0; }
  .howto   { padding: 60px 0; }
  .shop    { padding: 60px 0; }
  .cta-banner { padding: 48px 0; }
  .cta-content { padding: 40px 24px; }

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

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { justify-content: center; }
  .madros-container { width: 240px; height: 300px; }
  .madros-img { width: 220px; }
  .shop-grid { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; }
}
