:root {
  --bg: #0c0e13;
  --surface: #131620;
  --surface2: #1a1e2a;
  --border: #222638;
  --accent: #a8ff3e;
  --accent-dim: rgba(168, 255, 62, 0.15);
  --text: #f0f2f8;
  --text-muted: #6b7280;
  --text-dim: #9ca3af;
  --power: #ff6b35;
  --power-fill: rgba(255, 107, 53, 0.2);
  --endurance: #a78bfa;
  --endurance-fill: rgba(167, 139, 250, 0.2);
  --agility: #38bdf8;
  --agility-fill: rgba(56, 189, 248, 0.2);
  --health: #34d399;
  --health-fill: rgba(52, 211, 153, 0.2);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 32px;
  background: rgba(12, 14, 19, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.nav-tagline {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 32px 80px;
  overflow: hidden;
}
.hero-bg-glow {
  position: absolute;
  top: -200px;
  left: -100px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(168, 255, 62, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}
.hero-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.widget-avatar {
  display: flex;
  justify-content: center;
}
.avatar-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(168, 255, 62, 0.3);
}
.avatar-core {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--surface2) 0%, var(--border) 100%);
}
.widget-info { text-align: center; }
.widget-name { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.widget-class { font-family: 'Bebas Neue', sans-serif; font-size: 24px; letter-spacing: 0.06em; color: var(--text); margin-top: 2px; }
.widget-xp {}
.xp-bar {
  height: 6px;
  background: var(--surface2);
  border-radius: 3px;
  overflow: hidden;
}
.xp-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #6bff00);
  border-radius: 3px;
}
.xp-label { font-size: 11px; color: var(--text-muted); margin-top: 6px; }

.hero-content {}
.hero-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 6vw, 80px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 500px;
  line-height: 1.65;
  margin-bottom: 40px;
}
.hero-stats-row {
  display: flex;
  gap: 40px;
}
.mini-stat {}
.mini-stat-val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  color: var(--accent);
  line-height: 1;
}
.mini-stat-key {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* SECTION LABEL */
.section-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

/* STATS SECTION */
.stats-section {
  padding: 80px 32px;
  border-top: 1px solid var(--border);
}
.stats-inner { max-width: 1200px; margin: 0 auto; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}
.stat-power { border-top: 3px solid var(--power); }
.stat-endurance { border-top: 3px solid var(--endurance); }
.stat-agility { border-top: 3px solid var(--agility); }
.stat-health { border-top: 3px solid var(--health); }
.stat-icon { margin-bottom: 12px; }
.stat-power .stat-icon { color: var(--power); }
.stat-endurance .stat-icon { color: var(--endurance); }
.stat-agility .stat-icon { color: var(--agility); }
.stat-health .stat-icon { color: var(--health); }
.stat-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px;
  line-height: 1;
  color: var(--text);
}
.stat-name {
  font-size: 16px;
  font-weight: 600;
  margin-top: 4px;
}
.stat-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; margin-bottom: 14px; }
.stat-bar { height: 4px; background: var(--surface2); border-radius: 2px; overflow: hidden; }
.stat-fill { height: 100%; border-radius: 2px; }
.stat-power .stat-fill { background: var(--power); }
.stat-endurance .stat-fill { background: var(--endurance); }
.stat-agility .stat-fill { background: var(--agility); }
.stat-health .stat-fill { background: var(--health); }
.stats-note { font-size: 14px; color: var(--text-muted); margin-top: 24px; max-width: 560px; }

/* HOW SECTION */
.how-section {
  padding: 80px 32px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.how-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.how-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 16px;
  margin-top: 8px;
}
.how-body {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.7;
}
.quest-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}
.quest-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.quest-tag {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 10px;
  border-radius: 4px;
}
.quest-xp {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}
.quest-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 8px;
}
.quest-desc {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.quest-objectives {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.obj-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.obj-done { color: var(--accent); }
.obj-active { color: var(--text); }
.obj-pending { color: var(--text-muted); }
.obj-check { font-weight: 700; }
.obj-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }
.obj-dash { color: var(--text-muted); font-size: 16px; }
.quest-progress {}
.qprog-bar { height: 5px; background: var(--surface2); border-radius: 3px; overflow: hidden; margin-bottom: 6px; }
.qprog-fill { height: 100%; background: var(--accent); border-radius: 3px; }
.qprog-label { font-size: 12px; color: var(--text-muted); }
.ai-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 14px;
}

/* WORLD SECTION */
.world-section {
  padding: 80px 32px;
  border-top: 1px solid var(--border);
}
.world-inner { max-width: 1200px; margin: 0 auto; }
.world-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 8px;
}
.world-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}
.world-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.world-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 14px;
}
.world-body {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 24px;
}
.world-stages { display: flex; flex-direction: column; gap: 8px; }
.stage {
  font-size: 13px;
  color: var(--text-muted);
  padding: 10px 14px;
  background: var(--bg);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.stage.done { color: var(--text-dim); }
.stage.active { color: var(--text); border-color: var(--accent); background: var(--accent-dim); }
.stage.locked { opacity: 0.5; }
.stage-you { color: var(--accent); font-size: 11px; margin-left: 6px; }
.guild-leaderboard { display: flex; flex-direction: column; gap: 6px; }
.guild-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg);
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 13px;
}
.guild-top { border-color: rgba(168, 255, 62, 0.3); }
.guild-me { border-color: var(--accent); background: var(--accent-dim); }
.guild-pos { font-family: 'Bebas Neue', sans-serif; font-size: 18px; color: var(--text-muted); min-width: 20px; }
.guild-name { flex: 1; color: var(--text); }
.guild-xp { color: var(--text-dim); font-size: 12px; }
.guild-you { color: var(--accent); font-size: 11px; margin-left: 4px; }

/* PRICING SECTION */
.pricing-section {
  position: relative;
  padding: 100px 32px;
  border-top: 1px solid var(--border);
  overflow: hidden;
  background-image: url('https://pub-629428d185ca4960a0a73c850d32294b.r2.dev/generated-images/company_166784/cc5f8b2a-0e91-49ca-9f80-b47a4b397718.jpg');
  background-size: cover;
  background-position: center;
}
.pricing-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 14, 19, 0.85);
}
.pricing-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.price-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.price-card-featured {
  border-color: rgba(168, 255, 62, 0.4);
  background: linear-gradient(145deg, rgba(168, 255, 62, 0.05) 0%, var(--bg) 100%);
  box-shadow: 0 0 40px rgba(168, 255, 62, 0.08);
}
.price-tier-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.price-card-featured .price-tier-label { color: var(--accent); }
.price-amount {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px;
  line-height: 1;
  color: var(--text);
  margin-bottom: 6px;
}
.price-amount span {
  font-size: 22px;
  color: var(--text-muted);
}
.price-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  width: fit-content;
}
.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex: 1;
}
.price-features li {
  font-size: 14px;
  color: var(--text-dim);
  padding-left: 20px;
  position: relative;
}
.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
  top: 2px;
}
.price-btn {
  display: block;
  background: var(--accent);
  color: var(--bg);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 0.12em;
  text-align: center;
  padding: 14px 24px;
  border-radius: 10px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.price-btn:hover { opacity: 0.85; }
.price-card-featured .price-btn { box-shadow: 0 0 20px rgba(168, 255, 62, 0.25); }

/* CLOSING */
.closing-section {
  padding: 100px 32px;
  border-top: 1px solid var(--border);
}
.closing-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.closing-statement {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: 0.03em;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 28px;
}
.closing-tagline {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

/* FOOTER */
.footer {
  padding: 40px 32px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.footer-note {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 420px;
  text-align: right;
}

/* MOBILE */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-widget { order: 2; }
  .hero-content { order: 1; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .how-inner { grid-template-columns: 1fr; gap: 40px; }
  .world-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .hero { padding-top: 100px; }
  .hero-stats-row { gap: 24px; }
  .footer-inner { flex-direction: column; gap: 16px; }
  .footer-note { text-align: center; }
}