/* ── reset & root ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", system-ui, sans-serif;
  background: radial-gradient(ellipse 90% 60% at 50% 0%, #1a1428 0%, #0a0a0f 60%);
  background-attachment: fixed;
  color: #f5f3ef;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
body { min-height: 100vh; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

/* ── hero ─────────────────────────────────────── */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 32px 96px;
  text-align: center;
}
.hero-inner { max-width: 640px; }
.brand {
  font-size: clamp(56px, 14vw, 120px);
  font-weight: 200;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #f5d76e 0%, #e8a87c 50%, #c38d9e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  line-height: 1;
}
.tagline {
  font-size: clamp(18px, 4vw, 22px);
  font-weight: 300;
  opacity: 0.85;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.subtagline {
  font-size: clamp(14px, 3vw, 16px);
  font-weight: 300;
  opacity: 0.5;
  max-width: 460px;
  margin: 0 auto 40px;
  letter-spacing: 0.01em;
}

/* ── buttons ──────────────────────────────────── */
.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, #f5d76e 0%, #e8a87c 100%);
  color: #1a0f0a;
  box-shadow: 0 4px 24px rgba(245, 215, 110, 0.18);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 32px rgba(245, 215, 110, 0.28); }
.btn-ghost {
  background: transparent;
  color: #f5f3ef;
  border: 1px solid rgba(245, 243, 239, 0.25);
}
.btn-ghost:hover { border-color: rgba(245, 215, 110, 0.5); }
.btn-lg { padding: 18px 36px; font-size: 16px; }

/* ── preview section ─────────────────────────── */
.preview { padding: 64px 32px 96px; max-width: 1100px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 {
  font-size: clamp(28px, 6vw, 42px);
  font-weight: 200;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-head p {
  font-size: 15px;
  opacity: 0.55;
  max-width: 480px;
  margin: 0 auto;
  font-weight: 300;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  position: relative;
  background: linear-gradient(180deg, rgba(50, 35, 70, 0.4) 0%, rgba(20, 15, 28, 0.6) 100%);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(245, 215, 110, 0.06);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 215, 110, 0.25);
}
.card-img {
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: center;
  background-color: #14101e;
  background-repeat: no-repeat;
  position: relative;
}
.card-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 5, 18, 0.85) 100%);
}
.card-rarity {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}
.card--rare    .card-rarity { background: rgba(196, 130, 220, 0.4); color: #fce4ff; }
.card--surprise .card-rarity { background: rgba(245, 196, 110, 0.4); color: #fff5d4; }
.card--hidden  .card-rarity { background: rgba(110, 220, 220, 0.35); color: #d4fffd; }
.card-meta {
  padding: 14px 16px 18px;
}
.card-meta h3 {
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.card-meta p {
  font-size: 13px;
  opacity: 0.65;
  font-weight: 300;
  margin-bottom: 8px;
  min-height: 1.5em;
}
.card-tags {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.4;
  font-weight: 500;
}

/* ── access / email ──────────────────────────── */
.access {
  padding: 64px 32px 96px;
  text-align: center;
}
.access-inner { max-width: 480px; margin: 0 auto; }
.access h2 {
  font-size: clamp(28px, 6vw, 36px);
  font-weight: 200;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.access > .access-inner > p {
  opacity: 0.55;
  margin-bottom: 32px;
  font-weight: 300;
  font-size: 15px;
}

.email-block { margin-top: 48px; }
.email-or {
  opacity: 0.35;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.email-form {
  display: flex;
  gap: 8px;
  max-width: 380px;
  margin: 0 auto;
}
.email-form input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #f5f3ef;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}
.email-form input::placeholder { color: rgba(245, 243, 239, 0.35); }
.email-form input:focus { border-color: rgba(245, 215, 110, 0.5); }
.email-form button {
  padding: 12px 22px;
  background: rgba(245, 215, 110, 0.15);
  border: 1px solid rgba(245, 215, 110, 0.35);
  border-radius: 999px;
  color: #f5d76e;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}
.email-form button:hover { background: rgba(245, 215, 110, 0.25); }
.email-thanks {
  display: none;
  color: #f5d76e;
  font-size: 14px;
  padding: 14px;
  border: 1px solid rgba(245, 215, 110, 0.2);
  border-radius: 12px;
  background: rgba(245, 215, 110, 0.05);
}

/* ── footer ──────────────────────────────────── */
.footer {
  padding: 48px 32px 32px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.footer-inner { max-width: 480px; margin: 0 auto; }
.footer-tagline {
  font-size: 14px;
  opacity: 0.5;
  margin-bottom: 8px;
  font-weight: 300;
}
.footer-brand {
  font-size: 11px;
  opacity: 0.35;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  line-height: 1.6;
}
.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 20px;
}
.footer-links a {
  font-size: 12px;
  opacity: 0.4;
  letter-spacing: 0.05em;
  transition: opacity 0.2s ease;
}
.footer-links a:hover { opacity: 0.8; }
.footer-copy {
  font-size: 10px;
  opacity: 0.25;
  letter-spacing: 0.1em;
}

/* ── responsive ──────────────────────────────── */
@media (max-width: 640px) {
  .hero { min-height: 80vh; padding-top: 80px; padding-bottom: 64px; }
  .preview { padding: 48px 20px 64px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .access { padding: 48px 20px 64px; }
}

@media (max-width: 400px) {
  .card-grid { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; }
  .btn { width: 100%; }
}
