/* DealStrike — mobile-first, lightning/strike, deals-first */
:root {
  --bg: #07070a;
  --bg-card: #14151d;
  --ink: #f4f1ea;
  --muted: #a8a49a;
  --line: rgba(255, 212, 0, 0.16);
  --gold: #ffd400;
  --gold-2: #ffbe0b;
  --strike: #ff3b1f;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --max: 1120px;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 480px at 12% -10%, rgba(255, 212, 0, 0.16), transparent 55%),
    radial-gradient(700px 420px at 100% 8%, rgba(255, 59, 31, 0.16), transparent 50%),
    repeating-linear-gradient(-18deg, transparent 0 18px, rgba(255, 255, 255, 0.015) 18px 19px);
}

img { max-width: 100%; display: block; }
a { color: var(--gold); }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--gold);
  color: #111;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 30;
  font-weight: 700;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(7, 7, 10, 0.78);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark { width: 36px; height: 36px; flex: none; }

.brand-name {
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

.brand-name span {
  color: var(--gold);
  text-decoration: line-through;
  text-decoration-color: var(--strike);
  text-decoration-thickness: 3px;
}

.disclosure-pill {
  font-size: 0.72rem;
  color: var(--muted);
  max-width: 16rem;
  text-align: right;
  line-height: 1.35;
}

.hero {
  position: relative;
  z-index: 1;
  padding: 2.2rem 0 1.4rem;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(255, 212, 0, 0.08);
  border: 1px solid var(--line);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.bolt {
  width: 12px;
  height: 12px;
  animation: flash 1.8s ease-in-out infinite;
}

@keyframes flash {
  0%, 100% { opacity: 0.45; filter: drop-shadow(0 0 0 transparent); }
  40% { opacity: 1; filter: drop-shadow(0 0 8px var(--gold)); }
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(3.2rem, 12vw, 7.2rem);
  line-height: 0.86;
  letter-spacing: 0.04em;
  margin: 0.7rem 0 0.45rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
  position: relative;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  top: 52%;
  height: 0.12em;
  background: var(--strike);
  transform: rotate(-4deg);
  border-radius: 4px;
}

.pitch {
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  color: var(--ink);
  max-width: 36rem;
  margin: 0 0 1.1rem;
  font-weight: 600;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.sample-banner {
  margin-top: 1.3rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(255, 59, 31, 0.16), rgba(255, 212, 0, 0.08));
  border: 1px solid rgba(255, 59, 31, 0.35);
  font-size: 0.92rem;
}

.sample-banner strong { color: var(--gold); }

.toolbar {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.4rem 0 1rem;
}

.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }

.chip {
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
}

.chip[aria-pressed="true"] {
  background: var(--gold);
  color: #111;
  border-color: var(--gold);
}

.deal-count {
  color: var(--muted);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}

.status {
  position: relative;
  z-index: 1;
  margin: 0 0 1rem;
  color: var(--muted);
}
.status.is-error { color: #ffb4a8; }

.grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding-bottom: 2.5rem;
}

.card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #1a1b26 0%, var(--bg-card) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 100%;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 212, 0, 0.45);
}

.card-media {
  background: radial-gradient(circle at 30% 20%, rgba(255, 212, 0, 0.18), transparent 55%), #0c0d12;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  padding: 1.1rem;
  text-decoration: none;
  color: var(--gold);
}

.card-media img {
  width: min(78%, 240px);
  height: 100%;
  object-fit: contain;
}

.img-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(135deg, #111 0 12px, #1c1c22 12px 24px);
  color: var(--gold);
  font-family: var(--display);
  letter-spacing: 0.12em;
  font-size: 1.4rem;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem 1rem 1.1rem;
  flex: 1;
}

.badges { display: flex; flex-wrap: wrap; gap: 0.35rem; }

.badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.22rem 0.45rem;
  border-radius: 6px;
}

.badge-sample { background: #2a2410; color: var(--gold); }
.badge-off { background: var(--strike); color: #fff; }
.badge-cat { background: #22232e; color: var(--muted); }

.card h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.25;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  font-variant-numeric: tabular-nums;
}

.price-now {
  font-family: var(--display);
  font-size: 1.85rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  line-height: 1;
}

.price-was {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: var(--strike);
}

.blurb {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.45;
}

.cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.78rem 0.9rem;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-2) 100%);
  color: #14110a;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 0 #9a6e00;
}

.cta:hover { filter: brightness(1.05); }
.cta:active { transform: translateY(2px); box-shadow: 0 6px 0 #9a6e00; }

.skeleton .card-media,
.skeleton .sk {
  background: linear-gradient(90deg, #1b1c26 25%, #2a2b38 50%, #1b1c26 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
}
.sk { height: 12px; border-radius: 6px; }
.sk-sm { width: 40%; }
.sk-lg { width: 88%; height: 18px; }
.sk-md { width: 70%; }

@keyframes shimmer {
  to { background-position: -200% 0; }
}

.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 2.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.ftc {
  color: var(--ink);
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.footer p { margin: 0 0 0.45rem; }

@media (min-width: 560px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .disclosure-pill { max-width: 22rem; }
}

@media (min-width: 900px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
  .hero { padding-top: 3rem; }
}

@media (min-width: 1120px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

code {
  font-size: 0.9em;
  color: var(--gold);
}

.nav {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  font-weight: 700;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
}
.nav a[aria-current="page"],
.nav a:hover { color: var(--gold); }

.disclosure-bar {
  margin: 0;
  padding: 0.55rem 1rem;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 700;
  color: #14110a;
  background: var(--gold);
  border-top: 1px solid #9a6e00;
}

.card-art {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  font-family: var(--display);
  letter-spacing: 0.14em;
  font-size: 1.15rem;
  color: var(--gold);
}
.card-art svg { display: block; }

.badge-amazon { background: #2a2410; color: var(--gold); }

.price-note {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.legal {
  position: relative;
  z-index: 1;
  padding: 2rem 0 2.5rem;
  max-width: 42rem;
}
.legal h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 8vw, 4rem);
  letter-spacing: 0.06em;
  margin: 0 0 0.6rem;
}
.legal h2 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.4rem;
}
.legal .lede { font-size: 1.1rem; color: var(--ink); }
.legal p { color: var(--muted); }

.footer a { color: var(--gold); }
