/* XOOTICBONUS — Midnight Velvet redesign
   Palette: deep ink + electric violet + brushed gold.
   Type system: Inter (UI), Instrument Serif (display italics),
   Cinzel (engraved labels), JetBrains Mono (codes & numbers).
   Class names match the original JSX so nothing in components.jsx
   needs to change. */

*, *::before, *::after { box-sizing: border-box; }

:root {
  /* Surfaces — desaturated near-black with the faintest violet undertone */
  --bg-0: #07050c;     /* page deepest */
  --bg-1: #100a1c;     /* card base */
  --bg-2: #170f29;     /* surface 2 */
  --bg-3: #1d1431;     /* code chip / inset */
  --bg-velvet: #0f0817;

  /* Text */
  --text:        #f3e9ff;
  --text-dim:    #b09ad1;
  --text-muted:  #6f5d92;

  /* Accent — electric violet */
  --accent:        #b370ff;
  --accent-bright: #d49eff;
  --accent-deep:   #7c3aed;
  --accent-ink:    #4c1d95;
  --accent-glow:   rgba(179, 112, 255, 0.5);

  /* Gold — brushed champagne, for premium moments only */
  --gold:        #e8b964;
  --gold-bright: #f7dc92;
  --gold-deep:   #a87822;
  --gold-glow:   rgba(232, 185, 100, 0.45);

  /* Lines */
  --line:        rgba(179, 112, 255, 0.14);
  --line-strong: rgba(179, 112, 255, 0.32);
  --line-gold:   rgba(232, 185, 100, 0.30);

  --highlight-intensity: 1;
  --motion: 1;
  --density: 1;

  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;

  --shadow-card:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 -1px 0 rgba(0,0,0,0.5) inset,
    0 14px 32px rgba(0,0,0,0.6),
    0 4px 10px rgba(0,0,0,0.4);
  --shadow-card-hi:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 -1px 0 rgba(0,0,0,0.55) inset,
    0 26px 60px rgba(0,0,0,0.75),
    0 10px 20px rgba(0,0,0,0.5),
    0 0 70px var(--accent-glow);
  --shadow-soft: 0 6px 18px rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.03) inset;

  --grad-gold: linear-gradient(180deg, #fce39f 0%, #e8b964 38%, #a87822 100%);
  --grad-gold-flat: linear-gradient(180deg, #f3cf80 0%, #d4a64a 60%, #8a5e1f 100%);

  --card:    #100a1c;  /* alias for --bg-1 */
  --surface: #170f29;  /* alias for --bg-2 */
}

html, body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(124, 58, 237, 0.35) 0%, rgba(70, 28, 145, 0.08) 38%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 110%, rgba(124, 58, 237, 0.18) 0%, transparent 70%),
    linear-gradient(180deg, #0a0712 0%, var(--bg-0) 55%, #030104 100%) fixed;
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}

::selection { background: var(--accent-deep); color: var(--text); }

/* ─── Age gate ─────────────────────────────────────────────────────── */
.age-gate {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 30%, rgba(28, 14, 55, 0.92) 0%, rgba(3, 1, 7, 0.97) 70%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: ageFadeIn 0.4s ease-out;
  padding: 24px;
}
@keyframes ageFadeIn { from { opacity: 0; } to { opacity: 1; } }
.age-gate.exiting { animation: ageFadeOut 0.32s cubic-bezier(0.4,0,0.6,1) forwards; pointer-events: none; }
.age-gate.exiting .age-gate-card { animation: ageCardOut 0.32s cubic-bezier(0.4,0,0.6,1) forwards; }
@keyframes ageFadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes ageCardOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-6px) scale(0.98); } }

.age-gate-card {
  position: relative;
  width: 100%; max-width: 460px;
  padding: 44px 32px 28px;
  background: linear-gradient(180deg, var(--bg-1), var(--bg-0));
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 80px var(--accent-glow);
  animation: ageCardIn 0.5s cubic-bezier(0.2,0.8,0.2,1);
}
@keyframes ageCardIn { from { opacity: 0; transform: translateY(16px) scale(0.96); } to { opacity: 1; transform: none; } }
.age-gate-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, var(--accent-glow), transparent 50%, var(--gold-glow));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0.55; pointer-events: none;
}
.age-gate-badge {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 11px; font-weight: 800; letter-spacing: 0.22em;
  padding: 7px 16px; border-radius: 100px;
  background: var(--grad-gold);
  color: #1a0e02;
  margin-bottom: 18px;
  box-shadow: 0 0 24px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,0.6);
}
.age-gate-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 10px; letter-spacing: 0.32em; font-weight: 700;
  color: var(--gold); text-transform: uppercase;
  margin-bottom: 14px;
}
.age-gate-card h2 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400; font-size: clamp(28px, 5vw, 36px);
  letter-spacing: -0.01em; line-height: 1.1;
  margin: 0 0 12px;
}
.age-gate-card h2 em {
  font-style: italic;
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.age-gate-card p { font-size: 13px; color: var(--text-dim); margin: 0 0 24px; line-height: 1.5; }
.age-gate-actions { display: flex; gap: 10px; justify-content: center; margin-bottom: 18px; }
.age-btn {
  flex: 1; max-width: 170px;
  padding: 14px 22px;
  border-radius: 12px;
  font-family: 'Cinzel', serif;
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.age-btn.yes {
  background: linear-gradient(180deg, var(--accent-bright), var(--accent) 50%, var(--accent-deep));
  color: #fff;
  border: 1px solid var(--accent-bright);
  box-shadow: 0 0 24px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.35), inset 0 -2px 0 rgba(0,0,0,0.25);
}
.age-btn.yes:hover { transform: translateY(-1px); box-shadow: 0 0 36px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.45), inset 0 -2px 0 rgba(0,0,0,0.25); }
.age-btn.no { background: transparent; color: var(--text-dim); border: 1px solid var(--line); }
.age-btn.no:hover { color: var(--text); border-color: var(--line-strong); }
.age-gate-foot { display: block; font-size: 10px; letter-spacing: 0.16em; color: var(--text-muted); text-transform: uppercase; font-weight: 600; }
.age-gate-leave {
  display: inline-block; margin-top: 10px;
  padding: 12px 22px; border-radius: 12px;
  background: var(--bg-2); color: var(--text);
  border: 1px solid var(--line);
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none;
}
.age-gate-leave:hover { color: var(--gold); border-color: var(--line-gold); }

/* ─── Background stage ─────────────────────────────────────────────── */
.bg-stage { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

.bg-grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(to right, rgba(179, 112, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(179, 112, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 65% 50% at 50% 30%, #000 25%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 65% 50% at 50% 30%, #000 25%, transparent 80%);
}

.bg-glow {
  position: absolute;
  width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(179, 112, 255, 0.45), transparent 60%);
  filter: blur(90px);
  top: -250px; left: 50%; transform: translateX(-50%);
  animation: breathe calc(8s / var(--motion, 1)) ease-in-out infinite;
  mix-blend-mode: screen;
}
.bg-glow-2 {
  position: absolute;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 185, 100, 0.18), transparent 60%);
  filter: blur(90px);
  bottom: -150px; right: 5%; opacity: 0.65;
  animation: breathe calc(10s / var(--motion, 1)) ease-in-out infinite reverse;
  mix-blend-mode: screen;
}
@keyframes breathe {
  0%, 100% { opacity: 0.32; transform: translateX(-50%) scale(1); }
  50%      { opacity: 0.55; transform: translateX(-50%) scale(1.08); }
}

.bg-noise {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9' /></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

/* Aurora — slow violet smoke drift */
.bg-aurora {
  position: absolute; inset: -10% -20%;
  background:
    radial-gradient(ellipse 55% 35% at 18% 28%, rgba(168, 85, 247, 0.08), transparent 70%),
    radial-gradient(ellipse 45% 30% at 78% 62%, rgba(124, 58, 237, 0.07), transparent 70%),
    radial-gradient(ellipse 35% 25% at 50% 80%, rgba(217, 70, 239, 0.05), transparent 70%);
  filter: blur(50px);
  animation: auroraDrift calc(40s / var(--motion, 1)) ease-in-out infinite alternate;
  opacity: 0.85;
  mix-blend-mode: screen;
}
@keyframes auroraDrift {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(-3%, 2%); }
  100% { transform: translate(2%, -2%); }
}

/* Vertical light rays at the top — like a stage curtain */
.bg-rays {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(179, 112, 255, 0.05) 35%, transparent 80%),
    repeating-linear-gradient(95deg, transparent 0 110px, rgba(179, 112, 255, 0.018) 110px 111px);
  mask-image: radial-gradient(ellipse 70% 100% at 50% 0%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 50% 0%, black 30%, transparent 75%);
  animation: raysFade calc(8s / var(--motion, 1)) ease-in-out infinite alternate;
}
@keyframes raysFade { 0% { opacity: 0.45; } 100% { opacity: 0.9; } }

.particles { position: fixed; inset: 0; pointer-events: none; z-index: 1; }

/* ─── Layout shell ─────────────────────────────────────────────────── */
.shell {
  position: relative; z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px 60px;
  min-height: 100vh;
  display: flex; flex-direction: column;
}

/* ─── Top header ───────────────────────────────────────────────────── */
.top-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.top-bar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-glow) 35%, var(--gold) 50%, var(--accent-glow) 65%, transparent);
  opacity: 0.7;
  filter: blur(0.5px);
}
/* Spade ornament centered above the divider */
.top-bar::before {
  content: "♠";
  position: absolute; left: 50%; bottom: -10px;
  transform: translateX(-50%);
  width: 20px; height: 20px;
  background: var(--bg-0);
  color: var(--gold);
  font-size: 11px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-gold);
  box-shadow: 0 0 14px var(--gold-glow);
}

.brand { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.brand-text { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }

.logo-mark {
  position: relative;
  width: 44px; height: 44px; border-radius: 11px;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent-ink));
  display: grid; place-items: center;
  color: var(--text); font-weight: 800; font-size: 18px;
  font-family: 'Instrument Serif', serif; font-style: italic;
  box-shadow: 0 0 0 1px var(--line-strong), 0 0 26px var(--accent-glow);
  animation: brandGlow calc(3.4s / var(--motion, 1)) ease-in-out infinite;
}
.lm-img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.logo-mark::before {
  content: ""; position: absolute; inset: 3px;
  border: 1px solid rgba(232, 185, 100, 0.35);
  border-radius: 7px;
  pointer-events: none;
  z-index: 2;
}
.lm-corner {
  position: absolute; width: 7px; height: 7px;
  border: 1.5px solid var(--gold);
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 0 4px var(--gold-glow));
}
.lm-corner.tl { top: -3px; left: -3px; border-right: none; border-bottom: none; border-top-left-radius: 3px; }
.lm-corner.tr { top: -3px; right: -3px; border-left: none; border-bottom: none; border-top-right-radius: 3px; }
.lm-corner.bl { bottom: -3px; left: -3px; border-right: none; border-top: none; border-bottom-left-radius: 3px; }
.lm-corner.br { bottom: -3px; right: -3px; border-left: none; border-top: none; border-bottom-right-radius: 3px; }
@keyframes brandGlow {
  0%, 100% { box-shadow: 0 0 0 1px var(--line-strong), 0 0 22px var(--accent-glow); }
  50%      { box-shadow: 0 0 0 1px var(--line-strong), 0 0 42px var(--accent-glow); }
}

.logo-text {
  font-family: 'Cinzel', serif;
  font-weight: 700; letter-spacing: 0.10em; font-size: 16px;
  color: var(--text);
  line-height: 1;
}
.logo-text .accent {
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.brand-tag {
  font-size: 10px; letter-spacing: 0.16em;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}
.brand-tag-em {
  color: var(--gold);
  font-style: italic;
  font-family: 'Instrument Serif', serif;
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 12px;
  font-weight: 400;
  margin-left: 4px;
}

/* ─── Hero ─────────────────────────────────────────────────────────── */
.hero {
  text-align: center;
  margin-bottom: calc(18px * var(--density));
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 13px;
  background: rgba(179, 112, 255, 0.08);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-family: 'Cinzel', serif;
  font-size: 9.5px; letter-spacing: 0.28em; font-weight: 700;
  color: var(--accent-bright); text-transform: uppercase;
  margin-bottom: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.hero-eyebrow .live-pulse {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: pulse calc(1.5s / var(--motion, 1)) ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}

.hero h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(44px, 7vw, 64px);
  line-height: 1.08; letter-spacing: -0.018em;
  margin: 0 0 24px; font-weight: 400;
  color: var(--text);
  padding-block-end: 0.05em;
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 45%, var(--gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(232, 185, 100, 0.35));
}
.hero p {
  font-size: 14px; color: var(--text-dim);
  margin: 0 auto; max-width: 480px; line-height: 1.5;
}

/* ─── Creator card ─────────────────────────────────────────────────── */
@keyframes feedIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.live-feed-wrap {
  display: flex; justify-content: center;
  margin-bottom: calc(22px * var(--density));
}
.creator-card {
  display: inline-flex; align-items: center; gap: 18px;
  padding: 12px 22px 12px 14px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: 100px;
  position: relative;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    inset 0 -1px 0 rgba(0,0,0,0.45),
    0 12px 28px rgba(0,0,0,0.55),
    0 2px 6px rgba(0,0,0,0.35);
  animation: feedIn 0.4s ease-out;
}
.creator-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, transparent 25%, var(--accent-glow), transparent 50%, var(--gold-glow), transparent 75%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0.65; pointer-events: none;
}
.cc-left { display: flex; align-items: center; gap: 12px; }
.cc-avatar { position: relative; width: 40px; height: 40px; }
.cc-avatar-inner {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent-ink));
  display: grid; place-items: center;
  color: var(--text); font-weight: 800; font-size: 13px;
  border: 2px solid var(--bg-0);
  overflow: hidden;
}
.cc-avatar-inner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-live-ring {
  position: absolute; inset: -3px; border-radius: 50%;
  border: 2px solid var(--accent);
  animation: pulseRing calc(2s / var(--motion, 1)) ease-out infinite;
}
@keyframes pulseRing {
  0%   { box-shadow: 0 0 0 0 var(--accent-glow); opacity: 1; }
  70%  { box-shadow: 0 0 0 8px transparent; opacity: 0.4; }
  100% { box-shadow: 0 0 0 0 transparent; opacity: 1; }
}
.cc-info { display: flex; flex-direction: column; gap: 3px; }
.cc-name-row { display: flex; align-items: center; gap: 6px; }
.cc-twitch { width: 14px; height: 14px; color: #c8a6ff; }
.cc-handle {
  font-size: 13px; font-weight: 700; color: var(--text);
  letter-spacing: 0.01em;
}
.cc-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Cinzel', serif;
  font-size: 9px; letter-spacing: 0.24em; font-weight: 700;
  text-transform: uppercase;
}
.cc-status.live { color: var(--accent-bright); }
.cc-status.offline { color: var(--text-muted); }
.cc-status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
}
.cc-status.live .cc-status-dot { animation: pulse calc(1.4s / var(--motion, 1)) ease-in-out infinite; }
.cc-divider { width: 1px; height: 30px; background: var(--line-strong); }
.cc-stats { display: flex; align-items: center; gap: 20px; }
.cc-stat { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.cc-stat-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px; font-weight: 700; color: var(--text);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  animation: numFlash 0.4s ease-out;
}
.cc-stat-val.accent {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
@keyframes numFlash {
  0%   { color: var(--accent-bright); transform: translateY(-2px); }
  100% { transform: translateY(0); }
}
.cc-stat-lbl {
  font-family: 'Cinzel', serif;
  font-size: 8.5px; letter-spacing: 0.22em; color: var(--text-muted);
  text-transform: uppercase; font-weight: 600;
}

@media (max-width: 600px) {
  .creator-card { gap: 12px; padding: 10px 14px 10px 10px; }
  .cc-stats { gap: 12px; }
  .cc-divider { height: 24px; }
}

/* ─── TOP PICK ─────────────────────────────────────────────────────── */
.toppick {
  position: relative;
  padding: calc(22px * var(--density)) calc(24px * var(--density));
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse 110% 80% at 50% 0%, rgba(179, 112, 255, 0.22), transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(232, 185, 100, 0.06), transparent 65%),
    linear-gradient(180deg, var(--bg-3) 0%, var(--bg-1) 60%, #08040e 100%);
  border: 1px solid var(--line-strong);
  overflow: hidden;
  margin-bottom: calc(20px * var(--density));
  box-shadow:
    0 0 0 1px rgba(179, 112, 255, calc(0.10 * var(--highlight-intensity, 1))),
    inset 0 1px 0 rgba(255,255,255,0.07),
    inset 0 -1px 0 rgba(0,0,0,0.55),
    0 30px 80px -20px rgba(124, 58, 237, calc(0.5 * var(--highlight-intensity, 1))),
    0 22px 50px rgba(0,0,0,0.7),
    0 8px 18px rgba(0,0,0,0.45);
  animation: cardIn 0.7s cubic-bezier(0.2,0.8,0.2,1) both;
  transition: box-shadow 0.5s cubic-bezier(0.2,0.8,0.2,1), transform 0.4s cubic-bezier(0.2,0.8,0.2,1), border-color 0.4s;
}
.toppick:hover {
  border-color: rgba(179, 112, 255, 0.45);
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(179, 112, 255, calc(0.16 * var(--highlight-intensity, 1))),
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -1px 0 rgba(0,0,0,0.55),
    0 30px 70px -20px rgba(124, 58, 237, calc(0.6 * var(--highlight-intensity, 1))),
    0 26px 56px rgba(0,0,0,0.75),
    0 0 70px rgba(232, 185, 100, 0.15);
}
.toppick:hover::before { opacity: 1; filter: brightness(1.2); }
@keyframes cardIn {
  0%   { opacity: 0; transform: translateY(20px) scale(0.98); }
  100% { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .toppick { animation: none; opacity: 1; } }

/* Static gold engraved double-frame — breathes scale instead of rotating.
   Distinctly different from a generic rotating-border treatment. */
.toppick::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(232, 185, 100, 0.55) 0%,
    rgba(232, 185, 100, 0.15) 25%,
    rgba(179, 112, 255, 0.45) 50%,
    rgba(232, 185, 100, 0.15) 75%,
    rgba(232, 185, 100, 0.55) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: calc(0.85 * var(--highlight-intensity, 1));
  pointer-events: none;
  animation: framePulse calc(4.5s / var(--motion, 1)) ease-in-out infinite;
}
@keyframes framePulse {
  0%, 100% { opacity: calc(0.65 * var(--highlight-intensity, 1)); filter: brightness(1); }
  50%      { opacity: calc(0.95 * var(--highlight-intensity, 1)); filter: brightness(1.25); }
}

.toppick-shimmer {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(247, 220, 146, 0.10) 50%, transparent 65%);
  animation: shimmer calc(8s / var(--motion, 1)) ease-in-out infinite;
  opacity: calc(0.9 * var(--highlight-intensity, 1));
  z-index: 1;
}
@keyframes shimmer {
  0%, 100% { transform: translateX(-60%); }
  50%      { transform: translateX(60%); }
}

/* Falling gold/violet embers — drift DOWN from the top of the card,
   the inverse of the standard "particles floating up" trope. */
.toppick-confetti {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  opacity: calc(0.9 * var(--highlight-intensity, 1));
  z-index: 1;
}
.toppick-confetti span {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--gold);
  border-radius: 50%;
  top: -6px;
  left: calc(5% + (var(--i) * 9%));
  box-shadow: 0 0 8px var(--gold-glow), 0 0 14px rgba(232, 185, 100, 0.3);
  animation:
    emberFall calc((7s + (var(--i) * 0.3s)) / var(--motion, 1)) linear infinite,
    emberSway calc((3s + (var(--i) * 0.2s)) / var(--motion, 1)) ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * -0.7s), calc(var(--i) * -0.4s);
}
.toppick-confetti span:nth-child(3n) {
  background: var(--accent-bright);
  box-shadow: 0 0 8px var(--accent-glow), 0 0 14px rgba(179, 112, 255, 0.35);
  width: 2px; height: 2px;
}
.toppick-confetti span:nth-child(5n) {
  width: 4px; height: 4px;
  background: var(--gold-bright);
}
@keyframes emberFall {
  0%   { top: -6px; opacity: 0; }
  8%   { opacity: 0.95; }
  85%  { opacity: 0.7; }
  100% { top: 105%; opacity: 0; }
}
@keyframes emberSway {
  from { transform: translateX(-6px); }
  to   { transform: translateX(6px); }
}

/* Smoke columns — wispy purple plumes rising on either side of the card.
   Echoes the BRB / All My Deals visual references. */
.toppick-smoke {
  position: absolute; top: 0; bottom: 0; width: 110px;
  pointer-events: none; overflow: hidden;
  opacity: calc(0.55 * var(--highlight-intensity, 1));
  z-index: 0;
  mix-blend-mode: screen;
}
.toppick-smoke.left  { left: -20px; }
.toppick-smoke.right { right: -20px; }
.toppick-smoke span {
  position: absolute;
  width: 90px; height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.55) 0%, rgba(124, 58, 237, 0.15) 45%, transparent 70%);
  filter: blur(20px);
  bottom: -90px;
  left: 50%;
  transform: translateX(-50%);
  animation: smokeRise calc(11s / var(--motion, 1)) ease-in infinite;
}
.toppick-smoke span:nth-child(1) { animation-delay: calc(0s / var(--motion, 1)); }
.toppick-smoke span:nth-child(2) { animation-delay: calc(-3.6s / var(--motion, 1)); opacity: 0.85; }
.toppick-smoke span:nth-child(3) { animation-delay: calc(-7.2s / var(--motion, 1)); opacity: 0.7; }
.toppick-smoke.right span {
  background: radial-gradient(circle, rgba(232, 185, 100, 0.35) 0%, rgba(168, 85, 247, 0.18) 45%, transparent 70%);
}
@keyframes smokeRise {
  0%   { bottom: -90px; opacity: 0; transform: translateX(-50%) scale(0.6); }
  20%  { opacity: 1; }
  80%  { opacity: 0.4; }
  100% { bottom: 110%; opacity: 0; transform: translateX(calc(-50% - 30px)) scale(1.4); }
}
@media (prefers-reduced-motion: reduce) {
  .toppick-confetti span,
  .toppick-smoke span,
  .toppick::before,
  .toppick-shimmer { animation: none !important; }
}

/* Static gold filigree corners — engraved-frame feel */
.toppick::after {
  content: ""; position: absolute; inset: 10px; border-radius: 20px; pointer-events: none;
  background:
    /* top-left */
    linear-gradient(var(--gold), var(--gold)) left top / 22px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) left top / 1.5px 22px no-repeat,
    /* top-right */
    linear-gradient(var(--gold), var(--gold)) right top / 22px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right top / 1.5px 22px no-repeat,
    /* bottom-left */
    linear-gradient(var(--gold), var(--gold)) left bottom / 22px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) left bottom / 1.5px 22px no-repeat,
    /* bottom-right */
    linear-gradient(var(--gold), var(--gold)) right bottom / 22px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right bottom / 1.5px 22px no-repeat;
  opacity: 0.45;
  filter: drop-shadow(0 0 4px var(--gold-glow));
  z-index: 1;
}

/* "BEST DEAL" ribbon — gold plate */
.toppick-ribbon {
  display: flex; align-items: center; gap: 8px;
  width: fit-content;
  margin: 0 auto 16px;
  padding: 7px 14px;
  background: var(--grad-gold);
  color: #1a0e02;
  border-radius: 100px;
  font-family: 'Cinzel', serif;
  font-size: 10px; letter-spacing: 0.26em; font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 0 30px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,0.5), inset 0 -1px 0 rgba(0,0,0,0.18);
  position: relative;
  z-index: 2;
}
.toppick-ribbon .ribbon-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #1a0e02;
  animation: pulse calc(1.5s / var(--motion, 1)) ease-in-out infinite;
}

.toppick-body { position: relative; z-index: 2; }
.toppick-brand {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 14px;
}
.toppick-logo { width: 48px; height: 48px; border-radius: 13px;
  background: linear-gradient(135deg, #2a1a4a, #14091f);
  border: 1px solid var(--line-gold);
  display: grid; place-items: center;
  font-family: 'Cinzel', serif;
  font-size: 22px; font-weight: 700;
  color: var(--gold);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -1px 0 rgba(0,0,0,0.4),
    0 0 22px rgba(232, 185, 100, calc(0.3 * var(--highlight-intensity, 1)));
  overflow: hidden;
  flex-shrink: 0;
}
.toppick-logo img,
.deal-row-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.toppick-logo .logo-letter,
.deal-row-logo .logo-letter {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: inherit;
  display: grid; place-items: center;
  width: 100%; height: 100%;
  line-height: 1;
  letter-spacing: 0;
}
.toppick-logo .logo-letter { font-size: 22px; }
.deal-row-logo .logo-letter { font-size: 16px; }
.toppick-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 11px; letter-spacing: 0.28em; font-weight: 700;
  color: var(--gold); margin: 0 0 4px;
}
.toppick-tagline {
  font-size: 13.5px; color: var(--text-dim); margin: 0; line-height: 1.4;
}

.toppick-bonus {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 900; font-style: normal;
  font-size: clamp(40px, 7vw, 64px);
  line-height: 1; letter-spacing: -0.03em;
  margin: 18px 0 10px;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px;
}
.toppick-bonus .num {
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 40%, var(--gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(232, 185, 100, 0.4));
  font-variant-numeric: tabular-nums;
}
.toppick-bonus .plus {
  font-family: 'Instrument Serif', serif;
  font-style: italic; font-weight: 400;
  font-size: 0.42em;
  color: var(--text);
  letter-spacing: -0.005em;
  filter: none;
}

.toppick-meta-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 11.5px; color: var(--text-dim); font-weight: 500;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.toppick-meta-row .accent {
  color: var(--gold); font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.06em; text-transform: uppercase;
  font-size: 11px;
}

.toppick-action {
  display: flex; gap: 12px; align-items: stretch;
  flex-wrap: wrap;
}

/* Code pill */
.code-pill {
  display: flex; align-items: center; gap: 0;
  background: var(--bg-velvet);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  overflow: hidden;
  flex: 1; min-width: 220px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), inset 0 -1px 0 rgba(0,0,0,0.5);
}
.code-pill:hover { border-color: var(--accent); background: #100620; }
.code-pill .pill-label {
  padding: 14px;
  font-family: 'Cinzel', serif;
  font-size: 9.5px; letter-spacing: 0.24em; font-weight: 700;
  color: var(--text-muted); text-transform: uppercase;
  border-right: 1px dashed var(--line-strong);
}
.code-pill .pill-value {
  padding: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px; font-weight: 700;
  color: var(--accent-bright);
  letter-spacing: 0.1em;
  flex: 1; text-align: left;
}
.code-pill .pill-action {
  padding: 14px 18px;
  background: linear-gradient(180deg, rgba(232, 185, 100, 0.14), rgba(232, 185, 100, 0.06));
  font-family: 'Cinzel', serif;
  font-size: 10px; letter-spacing: 0.24em; font-weight: 800;
  color: var(--gold); text-transform: uppercase;
  transition: all 0.2s;
  border-left: 1px dashed var(--line-gold);
}
.code-pill:hover .pill-action { background: var(--grad-gold); color: #1a0e02; }
.code-pill.copied .pill-action { background: var(--grad-gold); color: #1a0e02; }
.code-pill.copied .pill-value { color: var(--gold); }

/* Primary button — CLAIM NOW */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 0 28px;
  background: linear-gradient(180deg, var(--accent-bright) 0%, var(--accent) 50%, var(--accent-deep) 100%);
  color: #fff;
  border-radius: var(--radius-md);
  font-family: 'Cinzel', serif;
  font-size: 12.5px; font-weight: 800;
  letter-spacing: 0.22em; text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  position: relative; overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    inset 0 -2px 0 rgba(0,0,0,0.25),
    0 8px 22px rgba(0,0,0,0.55),
    0 0 32px var(--accent-glow);
  white-space: nowrap;
  min-height: 52px;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.08);
}
.btn-primary::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.5) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:hover {
  background: linear-gradient(180deg, #e8c2ff 0%, var(--accent-bright) 50%, var(--accent) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    inset 0 -2px 0 rgba(0,0,0,0.25),
    0 10px 28px rgba(0,0,0,0.65),
    0 0 50px var(--accent-glow);
}
.btn-primary .arrow { transition: transform 0.2s; display: inline-block; }
.btn-primary:hover .arrow { transform: translateX(4px); }

/* ─── More verified deals ──────────────────────────────────────────── */
.more-label {
  font-family: 'Cinzel', serif;
  font-size: 11px; letter-spacing: 0.32em; color: var(--text-muted);
  text-transform: uppercase; font-weight: 600;
  display: flex; align-items: center; gap: 14px;
  margin: 4px 0 18px;
}
.more-label::before, .more-label::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.more-label::before {
  background: linear-gradient(90deg, transparent, var(--line-strong));
}
.more-label::after {
  background: linear-gradient(90deg, var(--line-strong), transparent);
}

.deal-list { display: flex; flex-direction: column; gap: calc(8px * var(--density)); }

.deal-row {
  display: grid;
  grid-template-columns: 40px 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: calc(14px * var(--density)) calc(16px * var(--density));
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.03),
    inset 0 -1px 0 rgba(0,0,0,0.4),
    0 8px 18px rgba(0,0,0,0.45);
  transition: transform 0.25s cubic-bezier(0.2,0.8,0.2,1), border-color 0.25s, box-shadow 0.25s, background 0.25s;
  animation: rowIn 0.6s cubic-bezier(0.2,0.8,0.2,1) both;
}
@keyframes rowIn {
  0%   { opacity: 0; transform: translateX(-12px); }
  100% { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .deal-row { animation: none; opacity: 1; } }

.deal-row::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent), var(--accent-deep));
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.3s cubic-bezier(0.2,0.8,0.2,1);
  box-shadow: 0 0 12px var(--accent-glow);
}
.deal-row:hover {
  border-color: var(--line-strong);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  transform: translateX(4px) translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    inset 0 -1px 0 rgba(0,0,0,0.45),
    0 16px 32px rgba(0,0,0,0.6),
    0 0 30px rgba(179, 112, 255, 0.14);
}
.deal-row:hover::before { transform: scaleY(1); }

.deal-row-logo {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  overflow: hidden;
  font-family: 'Cinzel', serif;
  font-size: 16px; font-weight: 700;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -1px 0 rgba(0,0,0,0.3),
    0 4px 10px rgba(0,0,0,0.4);
}
.deal-row-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.deal-row-main { min-width: 0; }
.deal-row-name {
  font-size: 14.5px; font-weight: 700; color: var(--text);
  margin-bottom: 3px;
  letter-spacing: 0.005em;
}
.deal-row-bonus { font-size: 12px; color: var(--text-dim); }
.deal-row-bonus strong { color: var(--text); font-weight: 600; }

.deal-row-code {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 7px 13px;
  background: var(--bg-velvet);
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 110px;
  gap: 1px;
}
.deal-row-code:hover { border-color: var(--accent); background: #110724; }
.deal-row-code.copied { background: var(--grad-gold); border-color: var(--gold); }
.deal-row-code.copied .lbl, .deal-row-code.copied .code { color: #1a0e02; }
.deal-row-code .lbl {
  font-family: 'Cinzel', serif;
  font-size: 8px; letter-spacing: 0.22em; font-weight: 700;
  color: var(--text-muted); text-transform: uppercase;
}
.deal-row-code .code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px; font-weight: 700; color: var(--accent-bright);
  letter-spacing: 0.06em;
}

.deal-row-cta {
  font-family: 'Cinzel', serif;
  font-size: 11px; letter-spacing: 0.24em; font-weight: 700;
  color: var(--text-muted); text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.2s;
  padding: 0 6px;
}
.deal-row:hover .deal-row-cta { color: var(--gold); }
.deal-row-cta .arrow { transition: transform 0.2s; }
.deal-row:hover .deal-row-cta .arrow { transform: translateX(4px); }

/* ─── Footer ───────────────────────────────────────────────────────── */
.foot {
  margin-top: calc(36px * var(--density));
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
  position: relative;
}
.foot::before {
  content: "♠";
  position: absolute; left: 50%; top: -11px;
  transform: translateX(-50%);
  width: 22px; height: 22px;
  background: var(--bg-0);
  color: var(--gold);
  font-size: 12px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-gold);
  box-shadow: 0 0 14px var(--gold-glow);
}
.socials { display: flex; gap: 16px; }
.socials-lg .social-btn {
  width: 54px; height: 54px; border-radius: 15px;
  animation: socialFloat calc(4s / var(--motion, 1)) ease-in-out infinite;
}
.socials-lg .social-btn svg { width: 22px; height: 22px; }
@keyframes socialFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.social-btn {
  width: 26px; height: 26px; border-radius: 7px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--text-dim);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s, transform 0.25s;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    inset 0 -1px 0 rgba(0,0,0,0.4),
    0 8px 18px rgba(0,0,0,0.4);
}
.social-btn:hover {
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border-color: var(--accent);
  color: var(--gold);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -1px 0 rgba(0,0,0,0.4),
    0 10px 22px rgba(0,0,0,0.5),
    0 0 30px var(--accent-glow);
}
.social-btn svg { width: 12px; height: 12px; }

.disclaimer {
  margin-top: 28px;
  display: flex; align-items: center; justify-content: center;
  gap: 10px; flex-wrap: wrap;
  font-family: 'Cinzel', serif;
  font-size: 10px; letter-spacing: 0.20em;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.65;
  transition: opacity 0.3s;
}
.disclaimer:hover { opacity: 1; }
.disclaimer .badge {
  padding: 3px 8px;
  border: 1px solid var(--line-gold);
  border-radius: 100px;
  background: rgba(232, 185, 100, 0.06);
  font-size: 9px; font-weight: 800; letter-spacing: 0.22em;
  color: var(--gold);
}
.disclaimer .dot-sep { color: var(--text-muted); opacity: 0.5; }
.affiliate-disclosure {
  margin: 14px auto 0;
  max-width: 520px;
  padding: 0 16px;
  text-align: center;
  font-size: 11px;
  line-height: 1.65;
  color: var(--text-muted);
  opacity: 0.6;
  letter-spacing: 0.01em;
  font-style: italic;
  font-family: 'Instrument Serif', serif;
}

/* ─── Toast ────────────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(14px);
  background: rgba(16, 9, 28, 0.96);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(179, 112, 255, 0.28);
  color: rgba(226, 217, 243, 0.95);
  padding: 9px 16px 9px 12px; border-radius: 100px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.015em;
  z-index: 100; opacity: 0; pointer-events: none;
  transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.2,0.8,0.2,1);
  box-shadow: 0 8px 28px rgba(0,0,0,0.55), 0 0 0 0.5px rgba(179,112,255,0.10);
  display: flex; align-items: center; gap: 8px;
  max-width: min(340px, calc(100vw - 40px));
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-icon {
  display: flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(179, 112, 255, 0.15);
  border: 1px solid rgba(179, 112, 255, 0.3);
  color: var(--accent); flex-shrink: 0;
}
.toast-msg { overflow: hidden; text-overflow: ellipsis; }

/* ─── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .shell { padding: 24px 18px 40px; }
}
@media (max-width: 600px) {
  .toppick-action { flex-direction: column; }
  .code-pill { min-width: 0; }
  .btn-primary { width: 100%; padding: 16px; }
  .deal-row { grid-template-columns: 40px 1fr auto; gap: 10px; padding: 12px; }
  .deal-row-cta { display: none; }
  .deal-row-code { min-width: 0; }
}

/* ─── Filter bar ────────────────────────────────────────────────────── */
.filter-bar {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  margin: 0 0 18px;
}
.filter-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-dim);
}
.filter-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-btn {
  padding: 6px 14px; border-radius: 100px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-dim); font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  cursor: pointer; transition: all 0.18s ease;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active {
  background: var(--accent); border-color: var(--accent);
  color: #fff; box-shadow: 0 0 14px var(--accent-glow);
}

/* ─── Deal trust row (verified / expiry / T&C) ──────────────────────── */
.toppick-trust {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--line);
}
.deal-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 100px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.deal-badge.verified {
  background: rgba(34, 197, 94, 0.12); color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.25);
}
.deal-badge.expired {
  background: rgba(248, 113, 113, 0.1); color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.25);
}
.deal-badge.row-badge {
  font-size: 10px; padding: 2px 7px; margin-left: 6px; vertical-align: middle;
}
.deal-tc-link {
  font-size: 11px; color: var(--text-dim);
  text-decoration: none; transition: color 0.15s;
}
.deal-tc-link:not(.static):hover { color: var(--accent); text-decoration: underline; }
.deal-row-wager {
  font-size: 11px; color: var(--text-dim);
  margin-left: 8px;
}

/* ─── FAQ section ───────────────────────────────────────────────────── */
.faq-section {
  margin: 48px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}
.faq-heading { margin-bottom: 24px; }
.faq-heading h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(22px, 4vw, 30px); font-weight: 400;
  color: var(--text); line-height: 1.2; margin: 0;
}
.faq-heading h2 em { color: var(--accent); font-style: italic; }
.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.18s;
}
.faq-item.open { border-color: var(--line-strong); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  width: 100%; padding: 16px 20px;
  background: none; border: none;
  font-size: 15px; font-weight: 600; color: var(--text);
  text-align: left; cursor: pointer;
  transition: color 0.15s;
}
.faq-q:hover { color: var(--accent); }
.faq-chevron {
  font-size: 18px; font-weight: 400; color: var(--text-dim);
  flex-shrink: 0; line-height: 1;
}
.faq-a {
  padding: 0 20px 18px;
  font-size: 14px; line-height: 1.7; color: var(--text-dim);
}

/* ─── Cookie consent banner ─────────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: rgba(10, 8, 20, 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
  padding: 14px 24px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.cookie-text {
  flex: 1; font-size: 13px; color: var(--text-dim); line-height: 1.5;
}
.cookie-text strong { color: var(--text); }
.cookie-policy-link {
  margin-left: 6px; color: var(--accent); text-decoration: none; font-size: 13px;
}
.cookie-policy-link:hover { text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btn {
  padding: 7px 18px; border-radius: 100px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  cursor: pointer; border: 1px solid var(--line);
  transition: all 0.18s;
}
.cookie-btn.accept {
  background: var(--accent); color: #fff; border-color: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}
.cookie-btn.accept:hover { filter: brightness(1.1); }
.cookie-btn.decline {
  background: transparent; color: var(--text-dim);
}
.cookie-btn.decline:hover { border-color: var(--text-dim); color: var(--text); }

/* ─── Responsible gambling links ────────────────────────────────────── */
.rg-links {
  text-align: center; margin-top: 10px;
  font-size: 11px; color: var(--text-muted);
}
.rg-links a {
  color: var(--text-muted); text-decoration: none;
  transition: color 0.15s;
}
.rg-links a:hover { color: var(--text-dim); text-decoration: underline; }

/* ─── Admin FAQ editor ───────────────────────────────────────────────── */
.faq-admin-row {
  display: grid; grid-template-columns: 28px 1fr auto;
  align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
  cursor: grab;
}
.faq-admin-row:last-of-type { border-bottom: none; }
.faq-admin-text {
  display: flex; flex-direction: column; gap: 3px; min-width: 0;
}
.faq-admin-text strong {
  font-size: 13px; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.faq-admin-text span {
  font-size: 12px; color: var(--text-dim);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.faq-admin-editor {
  margin-top: 16px; padding: 16px;
  background: var(--surface); border-radius: 10px;
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
}

/* ─── Admin expired row tint ────────────────────────────────────────── */
.adm-row-status.expired { color: #f87171; }
.adm-row-status.expired .dot { background: #f87171; box-shadow: 0 0 6px rgba(248,113,113,0.5); }
.adm-table-row.row-expired { opacity: 0.65; }

/* ─── Responsive additions ───────────────────────────────────────────── */
@media (max-width: 600px) {
  .filter-bar { gap: 8px; }
  .filter-btns { gap: 4px; }
  .filter-btn { padding: 5px 10px; font-size: 11px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 16px; }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}

/* ─── Low-performance mode ──────────────────────────────────────────────
   Activated automatically when the canvas timing probe detects software
   rendering (hardware acceleration off) or when the OS "reduce motion"
   setting is on. <html data-perf="low"> is stamped before React renders.

   Design principle: strip only what causes per-frame cost. Static blurred
   gradients (.bg-glow, .bg-aurora etc.) are a one-time paint cost — their
   animation is the expensive part, not the element itself. So we freeze
   them with animation:none rather than hiding them, preserving the full
   purple atmosphere. Only truly per-frame decorations (smoke, confetti,
   floating particles) are removed entirely.                             */

/* Backdrop blur — expensive every frame in software mode.
   Compensate with fully-opaque backgrounds so elements stay crisp.    */
[data-perf="low"] .toast,
[data-perf="low"] .age-gate,
[data-perf="low"] .cookie-banner {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
[data-perf="low"] .age-gate {
  background: radial-gradient(ellipse at 50% 30%, rgba(28, 14, 55, 0.98) 0%, rgba(3, 1, 7, 0.99) 70%);
}
[data-perf="low"] .toast {
  background: rgba(16, 9, 28, 0.99);
  /* Slightly stronger border to compensate for the lost frosted-glass depth */
  border-color: rgba(179, 112, 255, 0.45);
}
[data-perf="low"] .cookie-banner {
  background: rgba(10, 8, 20, 0.99);
}

/* Background atmosphere: FREEZE, don't hide.
   .bg-glow, .bg-glow-2, .bg-aurora, .bg-rays are blurred/gradient layers.
   Static, they render once and sit still — cheap. Their animations are
   what hammer the GPU (filter:blur recalc + compositing every frame).
   Frozen they look identical to mid-animation — the purple glow, aurora
   haze, and light rays are all fully visible.                          */
[data-perf="low"] .bg-glow,
[data-perf="low"] .bg-glow-2,
[data-perf="low"] .bg-aurora {
  animation: none;
}
/* Rays: lock at mid-opacity (its animation ranges 0.45→0.9; 0.6 looks natural) */
[data-perf="low"] .bg-rays {
  animation: none;
  opacity: 0.6;
}

/* Per-frame inline decorations: no meaningful static state, remove them */
[data-perf="low"] .toppick-smoke,
[data-perf="low"] .toppick-confetti {
  display: none;
}

/* Remaining minor animations: freeze in place */
[data-perf="low"] .toppick-shimmer,
[data-perf="low"] .live-pulse,
[data-perf="low"] .cc-status-dot,
[data-perf="low"] .toppick-frame,
[data-perf="low"] .logo-mark,
[data-perf="low"] .social-btn {
  animation: none;
}

/* ── Same rules via the standard OS preference ─────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .toast, .age-gate, .cookie-banner {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .age-gate {
    background: radial-gradient(ellipse at 50% 30%, rgba(28, 14, 55, 0.98) 0%, rgba(3, 1, 7, 0.99) 70%);
  }
  .toast {
    background: rgba(16, 9, 28, 0.99);
    border-color: rgba(179, 112, 255, 0.45);
  }
  .cookie-banner { background: rgba(10, 8, 20, 0.99); }
  /* Freeze background elements — same principle as [data-perf="low"] */
  .bg-glow, .bg-glow-2, .bg-aurora { animation: none; }
  .bg-rays { animation: none; opacity: 0.6; }
  /* Remove per-frame decorations */
  .toppick-smoke, .toppick-confetti { display: none; }
  .toppick-shimmer, .live-pulse, .cc-status-dot, .toppick-frame, .logo-mark, .social-btn {
    animation: none;
  }
}
