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

:root {
  --magenta:    #E8127A;
  --violet:     #7B2FF7;
  --gold:       #D9A441;
  --cyan:       #2FE0F7;
  --navy:       #14142B;
  --navy-mid:   #1E1E3A;
  --navy-card:  #191930;
  --offwhite:   #FAFAF8;
  --text-main:  rgba(250,250,248,0.92);
  --text-dim:   rgba(250,250,248,0.55);
  --text-muted: rgba(250,250,248,0.35);

  --radius-card: 18px;
  --radius-btn:  50px;
  --radius-pill: 50px;

  --font-head: 'Baloo 2', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-note: 'Caveat', cursive;

  --grad-brand: linear-gradient(135deg, var(--magenta), var(--violet));
  --grad-gold:  linear-gradient(135deg, #D9A441, #F5CC6A, #D9A441);

  --shadow-card: 0 8px 40px rgba(0,0,0,0.45), 0 2px 8px rgba(0,0,0,0.3);
  --shadow-btn:  0 4px 20px rgba(232,18,122,0.4);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ────────────────────────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(20,20,43,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 0 1.25rem;
  height: 60px;
  display: flex; align-items: center; gap: 1rem;
}
.nav-brand {
  display: flex; align-items: center; gap: 0.5rem;
  cursor: pointer; flex-shrink: 0;
}
.nav-icon { width: 28px; height: 28px; object-fit: contain; border-radius: 6px; }
.nav-wordmark {
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem;
  background: var(--grad-brand);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex; gap: 0.25rem; margin-left: auto;
}
.nav-btn {
  background: none; border: none; cursor: pointer;
  color: var(--text-dim); font-family: var(--font-body);
  font-size: 0.875rem; font-weight: 500;
  padding: 0.4rem 0.75rem; border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-btn:hover, .nav-btn.active {
  color: var(--text-main); background: rgba(255,255,255,0.08);
}
.hamburger {
  display: none; background: none; border: none;
  color: var(--text-main); font-size: 1.3rem; cursor: pointer;
  padding: 0.4rem; margin-left: auto;
}
.mobile-menu {
  display: none; flex-direction: column;
  padding: 0.5rem 1.25rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu.open { display: flex; }
.mobile-menu button {
  background: none; border: none; color: var(--text-main);
  font-family: var(--font-body); font-size: 1rem;
  padding: 0.75rem 0; text-align: left; cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
}

/* ── VIEWS ──────────────────────────────────────────────────────────── */
.view {
  display: none; padding-top: 60px; min-height: 100vh;
}
.view.active { display: block; }

/* ── BUTTONS ────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--grad-brand);
  color: #fff; font-family: var(--font-head);
  font-weight: 700; font-size: 1rem;
  border: none; border-radius: var(--radius-btn);
  padding: 0.8rem 2rem; cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}
.btn-primary:hover  { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(232,18,122,0.5); }
.btn-primary:active { transform: translateY(0); opacity: 0.9; }
.btn-xl { font-size: 1.1rem; padding: 1rem 2.5rem; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  color: var(--text-main); font-family: var(--font-head);
  font-weight: 700; font-size: 1rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-btn);
  padding: 0.8rem 2rem; cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.25); }

.btn-icon { font-size: 1.15rem; }

.link-btn {
  background: none; border: none; cursor: pointer;
  color: var(--magenta); font-size: 0.9rem;
  font-family: var(--font-body); font-weight: 600;
  text-decoration: underline;
  transition: color 0.2s;
}
.link-btn:hover { color: var(--violet); }

/* ── HOME: HERO ─────────────────────────────────────────────────────── */
.hero-section {
  min-height: calc(100vh - 60px);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 4rem 1.5rem;
  text-align: center;
  background-color: var(--navy);
}

/* AI art hero background layers */
.hero-section::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background-image: url('assets/generated/hero-bg-2.png');
  background-size: cover;
  background-position: center 60%;
  background-repeat: no-repeat;
  opacity: 0.82;
}

/* Subtle dark vignette over top so text always reads cleanly */
.hero-section::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(15,15,46,0.45) 0%,
    rgba(15,15,46,0.10) 35%,
    rgba(15,15,46,0.00) 55%,
    rgba(15,15,46,0.40) 100%
  );
}

.hero-content { max-width: 580px; position: relative; z-index: 2; }
.hero-logo-wrap {
  margin-bottom: 2rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
}
.hero-icon {
  width: 110px; height: 110px; object-fit: contain;
  border-radius: 24px;
  filter:
    drop-shadow(0 0 30px rgba(232,18,122,0.75))
    drop-shadow(0 0 60px rgba(123,47,247,0.5))
    drop-shadow(0 6px 20px rgba(0,0,0,0.8));
}
.hero-wordmark {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #E8127A 0%, #c94aff 50%, #7B2FF7 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 20px rgba(232,18,122,0.6)) drop-shadow(0 0 40px rgba(123,47,247,0.4));
  line-height: 1;
}
/* Keep old hero-logo ref in case anything else uses it */
.hero-logo { max-width: 280px; width: 100%; object-fit: contain; }

@media (max-width: 640px) {
  .hero-section::before {
    background-image: url('assets/generated/hero-bg-portrait.png');
    background-position: center top;
  }
}
.hero-tagline {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  line-height: 1.2; margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #ffffff, rgba(250,250,248,0.88));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.6));
}
.season-pill {
  display: inline-block;
  background: linear-gradient(135deg, rgba(232,18,122,0.2), rgba(123,47,247,0.2));
  border: 1px solid rgba(232,18,122,0.4);
  color: var(--offwhite); font-size: 0.82rem; font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 0.35rem 1rem; margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
}
.hero-body {
  color: var(--text-dim); line-height: 1.6;
  font-size: 1.05rem; margin-bottom: 2rem;
}
.demo-badge {
  margin-top: 1.25rem; font-size: 0.78rem;
  color: var(--text-muted); letter-spacing: 0.06em;
}

/* ── EYEBROW LABEL ──────────────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body); font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.1rem;
}
.eyebrow::before {
  content: '';
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--grad-brand);
  box-shadow: 0 0 8px rgba(232,18,122,0.8);
}

/* ── STAT STRIP ─────────────────────────────────────────────────────── */
.stat-strip {
  background: linear-gradient(135deg, rgba(232,18,122,0.08), rgba(123,47,247,0.08));
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 2.5rem 1.5rem;
}
.stat-strip-inner {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; text-align: center;
}
.stat-num {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  background: var(--grad-brand);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.75rem; color: var(--text-dim);
  letter-spacing: 0.02em; line-height: 1.3;
}
@media (max-width: 640px) {
  .stat-strip-inner { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1rem; }
}

/* ── PULL QUOTE ─────────────────────────────────────────────────────── */
.pull-quote-section {
  padding: 3.5rem 1.5rem; text-align: center;
  max-width: 720px; margin: 0 auto;
}
.pull-quote {
  font-family: var(--font-head); font-weight: 700; font-style: italic;
  font-size: clamp(1.15rem, 3.5vw, 1.6rem);
  line-height: 1.5; color: var(--text-main);
  margin-bottom: 1rem;
}
.pull-quote em {
  font-style: italic;
  background: var(--grad-brand);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pull-quote-attr {
  font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0.03em;
}

/* ── HOME: SEASON STRIP ─────────────────────────────────────────────── */
.season-section {
  padding: 4rem 1.5rem;
  background: var(--navy-mid);
}
.season-header { text-align: center; margin-bottom: 2.5rem; }
.season-header h2 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 0.5rem;
}
.season-header p { color: var(--text-dim); font-size: 1rem; }
.card-strip {
  display: flex; gap: 1rem; overflow-x: auto;
  padding: 1rem 0 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(123,47,247,0.5) transparent;
  -webkit-overflow-scrolling: touch;
}
.card-strip::-webkit-scrollbar { height: 4px; }
.card-strip::-webkit-scrollbar-thumb { background: rgba(123,47,247,0.5); border-radius: 2px; }
.strip-card {
  flex-shrink: 0; width: 140px;
  border-radius: var(--radius-card);
  overflow: hidden; cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.strip-card:hover { transform: translateY(-6px) scale(1.03); box-shadow: 0 16px 50px rgba(0,0,0,0.55); }
.strip-card img { width: 100%; display: block; aspect-ratio: 2/3; object-fit: cover; }
.strip-card-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  padding: 1.5rem 0.5rem 0.5rem;
  font-size: 0.7rem; font-weight: 600; color: var(--offwhite);
  text-align: center; line-height: 1.2;
}
.season-cta { text-align: center; margin-top: 1.5rem; }

/* ── HOME: HOW IT WORKS ─────────────────────────────────────────────── */
.how-section {
  padding: 4rem 1.5rem;
  text-align: center;
  max-width: 900px; margin: 0 auto;
}
.how-section h2 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.4rem, 4vw, 1.9rem); margin-bottom: 2.5rem;
}
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.step {
  background: var(--navy-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px; padding: 2rem 1.5rem;
  position: relative;
  text-align: left;
}
.step-num {
  font-family: var(--font-head); font-weight: 800;
  font-size: 0.78rem; letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.step-icon { font-size: 2rem; margin-bottom: 1rem; }
.step h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; margin-bottom: 0.5rem; }
.step p { color: var(--text-dim); font-size: 0.9rem; line-height: 1.6; }

/* ── HOME: RARITY ───────────────────────────────────────────────────── */
.rarity-section {
  padding: 3rem 1.5rem; text-align: center;
  background: var(--navy-mid);
}
.rarity-section h2 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.3rem, 3.5vw, 1.8rem); margin-bottom: 1.5rem;
}
.rarity-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.6rem; margin-bottom: 1rem;
}
.rarity-pill {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: var(--radius-pill); padding: 0.4rem 1rem;
}
.rarity-pill.common    { background: rgba(180,180,220,0.15); border: 1px solid rgba(180,180,220,0.3); color: #c5c5e0; }
.rarity-pill.uncommon  { background: rgba(100,200,130,0.15); border: 1px solid rgba(100,200,130,0.35); color: #7dde9f; }
.rarity-pill.rare      { background: rgba(100,150,255,0.15); border: 1px solid rgba(100,150,255,0.4); color: #8ab4ff; }
.rarity-pill.epic      { background: rgba(217,164,65,0.15);  border: 1px solid rgba(217,164,65,0.4);  color: var(--gold); }
.rarity-pill.legendary { background: rgba(255,200,50,0.15);  border: 1px solid rgba(255,200,50,0.5);  color: #ffd04a; }
.rarity-pill.secret    { background: linear-gradient(90deg,rgba(232,18,122,0.2),rgba(47,224,247,0.2),rgba(123,47,247,0.2)); border: 1px solid rgba(255,255,255,0.3); color: var(--offwhite); }
.rarity-note { color: var(--text-dim); font-size: 0.85rem; }

/* ── HOME: FOOTER ───────────────────────────────────────────────────── */
.site-footer {
  text-align: center; padding: 2.5rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--text-muted); font-size: 0.8rem; line-height: 2;
}

/* ── PULL VIEW ──────────────────────────────────────────────────────── */
.pull-container {
  min-height: calc(100vh - 60px);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem 1.5rem;
  background: radial-gradient(ellipse at 50% 30%, rgba(123,47,247,0.2) 0%, transparent 60%), var(--navy);
}
.pull-state { width: 100%; max-width: 480px; text-align: center; }
.pull-state.hidden { display: none; }

/* Pack */
.pull-header { margin-bottom: 3rem; }
.pull-header h1 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.6rem, 5vw, 2.2rem); margin: 0.75rem 0 0.5rem;
}
.pull-header p { color: var(--text-dim); }

.pack-wrap {
  position: relative; display: inline-block;
  cursor: pointer; margin-bottom: 2.5rem;
  perspective: 1000px;
}
.pack {
  width: 200px; height: 300px;
  border-radius: var(--radius-card);
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-card);
}
.pack-wrap:hover .pack { transform: rotateY(8deg) rotateX(-3deg) scale(1.04); }
.pack-face {
  position: absolute; inset: 0; border-radius: var(--radius-card);
  backface-visibility: hidden;
}
.pack-front {
  background: linear-gradient(145deg, #2a1060, #0f0f2e, #2b0060);
  border: 2px solid rgba(123,47,247,0.6);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem;
}
.pack-logo { width: 90px; height: 90px; object-fit: contain; border-radius: 20px; filter: drop-shadow(0 0 20px rgba(123,47,247,0.8)); }
.pack-shimmer {
  position: absolute; inset: 0; border-radius: var(--radius-card);
  background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.07) 50%, transparent 70%);
  animation: shimmer 3s infinite;
}
@keyframes shimmer {
  0%   { transform: translateX(-100%) rotate(15deg); }
  100% { transform: translateX(200%) rotate(15deg); }
}
.pack-tap-hint {
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); font-weight: 600;
}
.pack-glow {
  position: absolute; inset: -20px; border-radius: 30px;
  background: radial-gradient(ellipse, rgba(123,47,247,0.25) 0%, transparent 70%);
  animation: glowPulse 2.5s ease-in-out infinite;
  pointer-events: none; z-index: -1;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: scale(0.95); }
  50%       { opacity: 1;   transform: scale(1.05); }
}

.pull-count-wrap { color: var(--text-muted); font-size: 0.85rem; }
.pull-count-num { font-family: var(--font-head); font-weight: 700; color: var(--text-dim); font-size: 1rem; margin-left: 0.25rem; }

/* Reveal */
.reveal-wrapper { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.reveal-card-scene {
  perspective: 1200px;
  width: min(280px, 75vw);
}
.reveal-card-flip {
  width: 100%; aspect-ratio: 2/3;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.reveal-card-flip.flipped { transform: rotateY(180deg); }

.reveal-card-face {
  position: absolute; inset: 0;
  border-radius: var(--radius-card);
  backface-visibility: hidden;
  overflow: hidden;
}
.reveal-back {
  background: linear-gradient(145deg, #2a1060, #0f0f2e, #2b0060);
  border: 2px solid rgba(123,47,247,0.6);
  display: flex; align-items: center; justify-content: center;
}
.reveal-back img { width: 60px; height: 60px; object-fit: contain; filter: drop-shadow(0 0 20px rgba(123,47,247,0.8)); }
.reveal-front { transform: rotateY(180deg); }
.reveal-front img { width: 100%; height: 100%; object-fit: cover; }

/* Rarity glow on reveal */
.reveal-card-flip.r-common    { box-shadow: 0 0 30px rgba(197,197,224,0.35), var(--shadow-card); }
.reveal-card-flip.r-uncommon  { box-shadow: 0 0 35px rgba(125,222,159,0.45), var(--shadow-card); }
.reveal-card-flip.r-rare      { box-shadow: 0 0 40px rgba(100,150,255,0.55), var(--shadow-card); }
.reveal-card-flip.r-epic      { box-shadow: 0 0 45px rgba(217,164,65,0.65),  var(--shadow-card); }
.reveal-card-flip.r-legendary { box-shadow: 0 0 60px rgba(255,200,50,0.75),  0 0 100px rgba(255,200,50,0.3), var(--shadow-card); animation: legendaryGlow 2s ease-in-out infinite; }
.reveal-card-flip.r-secret    { box-shadow: 0 0 60px rgba(232,18,122,0.6), 0 0 100px rgba(47,224,247,0.4), var(--shadow-card); animation: secretGlow 3s linear infinite; }

@keyframes legendaryGlow {
  0%,100% { box-shadow: 0 0 50px rgba(255,200,50,0.7), 0 0 80px rgba(255,200,50,0.25), var(--shadow-card); }
  50%      { box-shadow: 0 0 80px rgba(255,200,50,0.9), 0 0 130px rgba(255,200,50,0.45), var(--shadow-card); }
}
@keyframes secretGlow {
  0%   { box-shadow: 0 0 60px rgba(232,18,122,0.7), 0 0 100px rgba(47,224,247,0.4); }
  33%  { box-shadow: 0 0 60px rgba(47,224,247,0.7), 0 0 100px rgba(123,47,247,0.4); }
  66%  { box-shadow: 0 0 60px rgba(123,47,247,0.7), 0 0 100px rgba(232,18,122,0.4); }
  100% { box-shadow: 0 0 60px rgba(232,18,122,0.7), 0 0 100px rgba(47,224,247,0.4); }
}

.reveal-info { text-align: center; width: 100%; max-width: 320px; }
.reveal-info.hidden { display: none; }
.reveal-rarity-badge {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  border-radius: var(--radius-pill); padding: 0.3rem 0.9rem; margin-bottom: 0.75rem;
}
.badge-common    { background: rgba(180,180,220,0.18); border: 1px solid rgba(180,180,220,0.4); color: #c5c5e0; }
.badge-uncommon  { background: rgba(100,200,130,0.18); border: 1px solid rgba(100,200,130,0.5); color: #7dde9f; }
.badge-rare      { background: rgba(100,150,255,0.18); border: 1px solid rgba(100,150,255,0.5); color: #8ab4ff; }
.badge-epic      { background: rgba(217,164,65,0.2);   border: 1px solid rgba(217,164,65,0.6);  color: var(--gold); }
.badge-legendary { background: rgba(255,200,50,0.18);  border: 1px solid rgba(255,200,50,0.65); color: #ffd04a; }
.badge-secret    { background: linear-gradient(90deg,rgba(232,18,122,0.25),rgba(47,224,247,0.25)); border: 1px solid rgba(255,255,255,0.4); color: var(--offwhite); }

.reveal-title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.2rem, 4vw, 1.6rem); margin-bottom: 0.5rem;
}
.reveal-note {
  font-family: var(--font-note); font-size: 1.2rem;
  color: var(--text-dim); line-height: 1.5; margin-bottom: 0.5rem;
}
.reveal-serial { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.reveal-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1rem; }

/* ── COLLECTION VIEW ────────────────────────────────────────────────── */
.collection-header {
  text-align: center; padding: 2.5rem 1.5rem 1.5rem;
  background: radial-gradient(ellipse at 50% 0%, rgba(123,47,247,0.15) 0%, transparent 60%);
}
.collection-header h1 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.7rem, 5vw, 2.4rem); margin-bottom: 1.25rem;
}
.progress-wrap { display: flex; align-items: center; gap: 1rem; justify-content: center; margin-bottom: 0.75rem; }
.progress-bar-outer {
  width: min(280px, 60vw); height: 8px;
  background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden;
}
.progress-bar-inner {
  height: 100%; background: var(--grad-brand); border-radius: 4px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.progress-label { font-size: 0.85rem; font-weight: 600; color: var(--text-dim); white-space: nowrap; }
.season-label { font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.05em; }

.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(160px, 44vw), 1fr));
  gap: 1rem; padding: 2rem 1.25rem;
  max-width: 900px; margin: 0 auto;
}
.coll-card {
  border-radius: var(--radius-card);
  overflow: hidden; position: relative;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  aspect-ratio: 2/3;
}
.coll-card.collected { box-shadow: var(--shadow-card); }
.coll-card.collected:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 16px 50px rgba(0,0,0,0.6); }
.coll-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Uncollected state */
.coll-card.uncollected img { filter: grayscale(1) brightness(0.25); }
.coll-card.uncollected::after {
  content: '?'; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: rgba(255,255,255,0.15);
  font-family: var(--font-head); font-weight: 800;
}
.coll-card-rarity {
  position: absolute; top: 8px; left: 8px;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 4px; padding: 0.2rem 0.4rem;
}
.coll-card-count {
  position: absolute; top: 8px; right: 8px;
  background: rgba(0,0,0,0.65); border-radius: 20px;
  font-size: 0.65rem; font-weight: 700; padding: 0.2rem 0.5rem; color: var(--offwhite);
}
.coll-card-name {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
  padding: 1.5rem 0.6rem 0.6rem;
  font-size: 0.72rem; font-weight: 600; color: var(--offwhite);
  line-height: 1.25;
}

.collection-footer { text-align: center; padding: 1rem 1.5rem 3rem; display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.collection-disclaimer { flex-basis: 100%; font-size: 0.75rem; color: var(--text-muted); margin-top: 0.75rem; }

/* ── ODDS VIEW ──────────────────────────────────────────────────────── */
.odds-container { max-width: 700px; margin: 0 auto; padding: 3rem 1.5rem; }
.odds-container h1 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.7rem, 5vw, 2.2rem); margin-bottom: 1rem; text-align: center;
}
.odds-intro { color: var(--text-dim); text-align: center; margin-bottom: 2.5rem; line-height: 1.6; }
.odds-section { margin-bottom: 2.5rem; }
.odds-section h2 {
  font-family: var(--font-head); font-weight: 700;
  font-size: 1.1rem; margin-bottom: 1rem;
  padding-bottom: 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.odds-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.9rem;
}
.odds-table th {
  text-align: left; padding: 0.6rem 0.75rem;
  color: var(--text-muted); font-weight: 600; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.odds-table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text-main);
}
.odds-table tr:last-child td { border-bottom: none; }
.odds-table tr:hover td { background: rgba(255,255,255,0.03); }
.odds-legal {
  background: rgba(255,255,255,0.04); border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.07);
  padding: 1.25rem; font-size: 0.8rem; line-height: 1.7;
  color: var(--text-muted);
}

/* ── PROVENANCE SECTION ─────────────────────────────────────────────── */
.provenance-section {
  padding: 4rem 1.5rem; text-align: center;
  max-width: 900px; margin: 0 auto;
}
.provenance-section h2 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.4rem, 4.5vw, 2rem); margin-bottom: 1.25rem;
}
.provenance-body {
  color: var(--text-dim); line-height: 1.7; font-size: 1rem;
  max-width: 640px; margin: 0 auto 2.5rem;
}
.provenance-body em {
  font-style: italic; color: var(--offwhite); font-weight: 600;
}
.provenance-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem; text-align: left;
}
.provenance-item {
  background: var(--navy-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px; padding: 1.75rem 1.5rem;
}
.provenance-icon { font-size: 1.6rem; margin-bottom: 0.75rem; }
.provenance-item h4 { font-family: var(--font-head); font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; }
.provenance-item p { color: var(--text-dim); font-size: 0.88rem; line-height: 1.55; }

/* ── DIGITAL CERTIFICATE MODAL ──────────────────────────────────────── */
.cert-link { margin-bottom: 0.5rem; }
.cert-inner {
  position: relative; max-width: 420px; width: 100%;
  background: linear-gradient(160deg, var(--navy-card), var(--navy-mid));
  border: 1px solid rgba(217,164,65,0.35);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 80px rgba(0,0,0,0.7), 0 0 40px rgba(217,164,65,0.12);
}
.cert-header {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1.1rem 1.25rem;
  background: rgba(217,164,65,0.08);
  border-bottom: 1px solid rgba(217,164,65,0.25);
}
.cert-logo { width: 36px; height: 36px; border-radius: 8px; }
.cert-eyebrow { font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.cert-brand { font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; }
.cert-body { display: flex; gap: 1.1rem; padding: 1.25rem; }
.cert-card-img { width: 96px; border-radius: 10px; flex-shrink: 0; object-fit: cover; aspect-ratio: 2/3; box-shadow: 0 6px 20px rgba(0,0,0,0.5); }
.cert-details h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; margin-bottom: 0.5rem; }
.cert-fields { margin: 0.9rem 0 0.75rem; font-size: 0.78rem; }
.cert-fields dt { color: var(--text-muted); margin-top: 0.5rem; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.65rem; }
.cert-fields dd { color: var(--text-main); margin: 0.1rem 0 0; }
.cert-mono { font-family: 'Courier New', monospace; letter-spacing: 0.03em; color: var(--gold); }
.cert-note { font-size: 0.76rem; color: var(--text-muted); line-height: 1.5; }

/* ── TRADE-IN / RECIRCULATION BANNER ────────────────────────────────── */
.trade-in-banner {
  max-width: 900px; margin: 0 1.25rem 1.5rem; margin-inline: auto;
  background: linear-gradient(135deg, rgba(232,18,122,0.1), rgba(123,47,247,0.1));
  border: 1px solid rgba(232,18,122,0.25);
  border-radius: 18px; padding: 1.5rem;
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
}
.trade-in-icon { font-size: 2rem; flex-shrink: 0; }
.trade-in-copy { flex: 1; min-width: 220px; }
.trade-in-copy h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; margin-bottom: 0.35rem; }
.trade-in-copy p { color: var(--text-dim); font-size: 0.85rem; line-height: 1.5; margin-bottom: 0.75rem; }
.trade-in-progress-wrap { display: flex; align-items: center; gap: 0.75rem; }
.trade-in-progress-bar { flex: 1; max-width: 180px; height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; overflow: hidden; }
.trade-in-progress-fill { height: 100%; background: var(--grad-brand); border-radius: 3px; transition: width 0.4s; }
.trade-in-progress-wrap span { font-size: 0.78rem; color: var(--text-dim); font-weight: 600; white-space: nowrap; }
#tradeInBtn { flex-shrink: 0; white-space: nowrap; }
#tradeInBtn:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; }
#tradeInBtn:disabled:hover { transform: none; }

/* ── SHOP VIEW ──────────────────────────────────────────────────────── */
.shop-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem; margin-top: 2rem;
}
.shop-card {
  background: var(--navy-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px; padding: 2rem 1.5rem;
  text-align: center; position: relative;
}
.shop-card.featured {
  border-color: rgba(232,18,122,0.4);
  background: linear-gradient(160deg, rgba(232,18,122,0.08), var(--navy-card));
}
.shop-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--grad-brand); color: #fff;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.3rem 0.9rem; border-radius: var(--radius-pill);
  white-space: nowrap;
}
.shop-card-icon { font-size: 1.8rem; margin-bottom: 0.75rem; }
.shop-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; margin-bottom: 0.5rem; }
.shop-price { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--gold); margin-bottom: 0.75rem; }
.shop-card p { color: var(--text-dim); font-size: 0.85rem; line-height: 1.55; margin-bottom: 1.5rem; min-height: 3.2em; }

/* ── LIGHTBOX ───────────────────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,0.85);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}
.lightbox.hidden { display: none; }
.lightbox-inner {
  position: relative; max-width: 340px; width: 100%;
  background: var(--navy-card); border-radius: 24px;
  overflow: hidden; box-shadow: 0 20px 80px rgba(0,0,0,0.7);
}
.lightbox-inner img { width: 100%; display: block; }
.lightbox-info { padding: 1.25rem 1.25rem 1.5rem; text-align: center; }
.lightbox-rarity { margin-bottom: 0.5rem; }
.lightbox-info h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; margin-bottom: 0.4rem; }
.lightbox-note { font-family: var(--font-note); font-size: 1.1rem; color: var(--text-dim); }
.lightbox-close {
  position: absolute; top: 0.75rem; right: 0.75rem;
  background: rgba(0,0,0,0.5); border: none; border-radius: 50%;
  width: 32px; height: 32px; color: var(--offwhite);
  cursor: pointer; font-size: 0.9rem; display: flex; align-items: center; justify-content: center;
}

/* ── TOAST ──────────────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%);
  background: rgba(30,30,60,0.95); border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-main); border-radius: 50px;
  padding: 0.65rem 1.5rem; font-size: 0.875rem; font-weight: 500;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  z-index: 999; white-space: nowrap;
  opacity: 1; transition: opacity 0.3s;
}
.toast.hidden { opacity: 0; pointer-events: none; }

/* ── CONFETTI ───────────────────────────────────────────────────────── */
.confetti-piece {
  position: fixed; top: -10px; pointer-events: none; z-index: 9999;
  border-radius: 2px;
  animation: confettiFall linear forwards;
}
@keyframes confettiFall {
  to { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

/* ── UTILITY ────────────────────────────────────────────────────────── */
.hidden { display: none !important; }

/* ── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .reveal-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 280px; justify-content: center; }
  .collection-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; padding: 1.5rem 1rem; }
  .pack { width: 170px; height: 255px; }
  .cert-body { flex-direction: column; align-items: center; text-align: center; }
  .cert-card-img { width: 130px; }
  .cert-fields { text-align: left; }
  .trade-in-banner { flex-direction: column; text-align: center; }
  #tradeInBtn { width: 100%; }
  .collection-footer { display: flex; flex-direction: column; gap: 0.75rem; align-items: center; }
}
