/* ─── Reset & Base ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: #0D0D1A;
  color: #E0E0E0;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: #fff; }

/* ─── Nav ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13, 13, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; color: #fff; }
.logo-w {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, #FFD700, #FF8C00);
  color: #1A1A2E; font-weight: 800; font-size: 18px;
}
.nav-links { display: flex; gap: 24px; }
.nav-links a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color .2s; }
.nav-links a:hover { color: #FFD700; }

/* ─── Hero ─── */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 120px 24px 80px; gap: 60px; flex-wrap: wrap;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,215,0,0.04) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(147,51,234,0.04) 0%, transparent 60%);
}
.hero-content { max-width: 480px; }
.hero-content h1 { font-size: 48px; font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.gold { color: #FFD700; }
.subtitle { font-size: 17px; color: rgba(255,255,255,0.5); line-height: 1.6; margin-bottom: 32px; }
.cta-row { display: flex; gap: 12px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: #FFD700; color: #1A1A2E;
  padding: 14px 28px; border-radius: 12px;
  font-weight: 700; font-size: 15px;
  transition: transform .2s, box-shadow .2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,215,0,0.3); }

/* Hero cards */
.hero-cards { position: relative; width: 320px; height: 380px; }
.card {
  position: absolute; width: 160px; padding: 16px;
  background: #1A1A2E; border-radius: 12px;
  text-align: center; transition: transform .3s;
}
.card:hover { transform: translateY(-8px) !important; }
.card-left  { left: 0; top: 40px; transform: rotate(-8deg); border: 2px solid #2196F3; }
.card-center { left: 80px; top: 0; z-index: 2; border: 2px solid #FFD700; box-shadow: 0 8px 32px rgba(255,215,0,0.15); }
.card-right { right: 0; top: 40px; transform: rotate(8deg); border: 2px solid #9C27B0; }
.card-badge {
  display: inline-block; padding: 3px 10px; border-radius: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: 1px; margin-bottom: 12px;
}
.rare { background: rgba(33,150,243,0.2); color: #2196F3; }
.legendary { background: rgba(255,215,0,0.2); color: #FFD700; }
.epic { background: rgba(156,39,176,0.2); color: #9C27B0; }
.card-icon { font-size: 48px; margin-bottom: 8px; }
.card-title { font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.card-stats { font-size: 11px; color: rgba(255,255,255,0.4); }

/* ─── Features ─── */
.features {
  max-width: 1100px; margin: 0 auto; padding: 80px 24px;
}
.features h2 { text-align: center; font-size: 32px; margin-bottom: 48px; }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; padding: 28px;
  transition: border-color .3s, transform .3s;
}
.feature-card:hover { border-color: rgba(255,215,0,0.3); transform: translateY(-4px); }
.feature-icon { font-size: 32px; margin-bottom: 16px; }
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* ─── Rarity ─── */
.rarity-section { text-align: center; padding: 60px 24px 80px; }
.rarity-section h2 { font-size: 28px; margin-bottom: 32px; }
.rarity-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.rarity-pill {
  padding: 8px 18px; border-radius: 20px;
  font-size: 13px; font-weight: 600;
  background: color-mix(in srgb, var(--c) 15%, transparent);
  color: var(--c);
  border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
}

/* ─── Footer ─── */
footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.footer-brand p { font-size: 12px; color: rgba(255,255,255,0.3); margin-left: 8px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.4); transition: color .2s; }
.footer-links a:hover { color: #FFD700; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.2); width: 100%; text-align: center; margin-top: 16px; }

/* ─── Legal Pages ─── */
.legal-page {
  max-width: 720px; margin: 0 auto;
  padding: 120px 24px 80px;
}
.legal-page h1 { font-size: 28px; margin-bottom: 8px; }
.legal-page .updated { font-size: 13px; color: rgba(255,255,255,0.3); margin-bottom: 32px; }
.legal-page h2 { font-size: 18px; margin-top: 28px; margin-bottom: 12px; }
.legal-page p, .legal-page li {
  font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.8;
  margin-bottom: 12px;
}
.legal-page ul { padding-left: 20px; }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .hero { flex-direction: column; text-align: center; padding-top: 100px; }
  .hero-content h1 { font-size: 34px; }
  .hero-cards { width: 280px; height: 340px; margin: 0 auto; }
  .card { width: 140px; padding: 12px; }
  .card-center { left: 70px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 12px; }
  .cta-row { justify-content: center; }
}
