:root {
  --amber: #E8A838;
  --amber-dark: #C8860E;
  --amber-light: #FFF3D6;
  --forest: #1B4332;
  --forest-light: #2D6A4F;
  --terracotta: #C1440E;
  --cream: #FBF7F0;
  --cream-dark: #F5EDE0;
  --stone: #6B5B4F;
  --stone-light: #9C8A7C;
  --white: #FFFFFF;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--forest);
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Bitter', serif;
  font-weight: 900;
  line-height: 1.15;
}

/* NAVBAR */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: var(--forest);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Bitter', serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
}

.nav-logo { width: 36px; height: 36px; }

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.nav-links a:hover { opacity: 1; }

.nav-cta {
  background: var(--amber);
  color: var(--forest);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--amber-dark); }

/* HERO */
.hero {
  background: var(--forest);
  padding: 5rem 2.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,168,56,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(232,168,56,0.2);
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero-lede {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.btn-primary {
  background: var(--amber);
  color: var(--forest);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 2rem;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-primary:hover { background: var(--amber-dark); transform: translateY(-1px); }

.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 2rem;
  border: 1px solid rgba(255,255,255,0.2);
  transition: background 0.2s;
  display: inline-block;
}

.btn-ghost:hover { background: rgba(255,255,255,0.18); }

.hero-note {
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
}

/* Hero visual cards */
.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.hero-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 1.2rem;
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-card-1 { grid-column: 1 / -1; border-left: 3px solid var(--amber); }
.hero-card-2 { border-left: 3px solid var(--forest-light); }
.hero-card-3 { border-left: 3px solid var(--terracotta); }

.card-badge {
  display: inline-block;
  background: rgba(232,168,56,0.2);
  color: var(--amber);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 1rem;
  margin-bottom: 0.5rem;
}

.card-badge-green { background: rgba(45,106,79,0.3); color: #52D68A; }
.card-badge-amber { background: rgba(193,68,14,0.3); color: #FF9F6A; }

.card-label {
  font-family: 'Bitter', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.card-sub {
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
}

/* STATS */
.stats {
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2.5rem;
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 0 3rem;
}

.stat-number {
  display: block;
  font-family: 'Bitter', serif;
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--forest);
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--stone);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--stone-light);
  opacity: 0.4;
}

/* FEATURES */
.features {
  padding: 5rem 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.features-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  display: inline-block;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.features h2 {
  font-size: 2.5rem;
  color: var(--forest);
  margin-bottom: 1rem;
}

.features-sub {
  color: var(--stone);
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 1.2rem;
  padding: 1.75rem 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: 0 8px 32px rgba(27,67,50,0.1);
  transform: translateY(-2px);
}

.feature-large { grid-column: span 2; }

.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.05rem;
  color: var(--forest);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--stone);
  line-height: 1.5;
}

/* GAME SECTION */
.game-section {
  background: var(--forest);
  padding: 5rem 2.5rem;
}

.game-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.game-text .section-eyebrow { color: var(--amber); }
.game-text h2 { font-size: 2.5rem; color: var(--white); margin-bottom: 1rem; }
.game-text p { color: rgba(255,255,255,0.7); font-size: 1.05rem; margin-bottom: 2rem; }

.game-perks { margin-bottom: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }

.perk {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
}

.perk-icon { font-size: 1.2rem; }

/* Gem grid visual */
.game-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.gem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.gem {
  width: 72px;
  height: 72px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  transition: transform 0.2s;
}

.gem:hover { transform: scale(1.1) rotate(5deg); }

.gem-diamond { background: rgba(232,168,56,0.2); }
.gem-emerald { background: rgba(45,106,79,0.3); }
.gem-ruby { background: rgba(193,68,14,0.2); }
.gem-amethyst { background: rgba(120,60,180,0.2); }
.gem-topaz { background: rgba(240,160,80,0.2); }
.gem-garnet { background: rgba(160,30,30,0.2); }
.gem-opal { background: rgba(240,230,200,0.2); }
.gem-sapphire { background: rgba(50,100,180,0.2); }
.gem-tourmaline { background: rgba(220,80,160,0.2); }

.streak-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(193,68,14,0.25);
  border: 1px solid rgba(193,68,14,0.4);
  border-radius: 2rem;
  padding: 0.6rem 1.25rem;
}

.streak-icon { font-size: 1.3rem; }
.streak-num { font-family: 'Bitter', serif; font-weight: 900; font-size: 1.4rem; color: var(--amber); }
.streak-label { color: rgba(255,255,255,0.7); font-size: 0.85rem; }

/* CLOSING */
.closing {
  background: var(--cream-dark);
  padding: 6rem 2.5rem;
  text-align: center;
}

.closing h2 {
  font-size: 2.75rem;
  color: var(--forest);
  margin-bottom: 1rem;
}

.closing p {
  color: var(--stone);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.btn-large { font-size: 1.1rem; padding: 1rem 2.5rem; }

/* FOOTER */
.footer {
  background: var(--forest);
  padding: 3rem 2.5rem 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.footer-name {
  font-family: 'Bitter', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
}

.footer-logo { width: 32px; height: 32px; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-bottom: 2rem;
}

.footer-nav a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--amber); }

.footer-copy {
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .game-content { grid-template-columns: 1fr; }
  .game-visual { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-large { grid-column: span 2; }
  .stats { flex-wrap: wrap; gap: 1.5rem; }
  .stat-divider { display: none; }
}

@media (max-width: 600px) {
  .navbar { padding: 1rem 1.25rem; }
  .nav-links { display: none; }
  .hero h1 { font-size: 2.5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-large { grid-column: span 1; }
  .closing h2 { font-size: 2rem; }
  .features h2 { font-size: 1.9rem; }
  .game-text h2 { font-size: 1.9rem; }
}