/* ==========================================================
   CARDSTRALIA — design tokens
   Palette:  vault-black #0B0E14 | panel #131A24 | steel #1E2836
             steel-light #2F3D4F | blue #2F6FE4 | blue-bright #5B92F5
             gold (southern cross) #E9B36B | ink #F2EFEA | muted #9AA0A6
   Type: Oswald (display / plate-lettering) · Inter (body) · JetBrains Mono (keypad/prices)
   ========================================================== */

:root {
  --vault-black: #0B0E14;
  --panel: #131A24;
  --panel-raised: #182231;
  --steel: #1E2836;
  --steel-light: #2F3D4F;
  --brass: #2F6FE4;
  --brass-bright: #5B92F5;
  --laser: #E9B36B;
  --ink: #F2EFEA;
  --muted: #9AA0A6;
  --danger: #E15656;
  --radius: 6px;
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

body {
  margin: 0;
  background: var(--vault-black);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  background-image:
    radial-gradient(circle at 15% 0%, rgba(47,111,228,0.10), transparent 45%),
    radial-gradient(circle at 100% 30%, rgba(233,179,107,0.05), transparent 40%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.012) 0 2px, transparent 2px 4px);
}

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--laser);
  outline-offset: 2px;
}

/* ---------- Section 1: Announcement bar ---------- */
.bar-announce {
  background: #000;
  color: #fff;
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  padding: 10px 12px;
  border-bottom: 1px solid var(--steel);
}
.bar-announce .bolt { color: var(--brass-bright); margin-right: 6px; }

/* ---------- Section 2: Nav ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  border-bottom: 1px solid var(--steel);
  background: rgba(19,26,36,0.6);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.nav__name {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 19px;
  color: var(--ink);
}
.dial { width: 32px; height: 32px; }
.dial__card { fill: var(--brass); transform-origin: 30px 30px; transform: rotate(-10deg); }
.dial__ring { fill: none; stroke: var(--vault-black); stroke-width: 1.6; }
.dial__pin { fill: var(--laser); }
.nav__cart { color: var(--ink); }

/* ---------- Section 3: Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding: 28px 18px 40px; }
}

.hero__main-img {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--steel);
  border-radius: 12px;
  aspect-ratio: 4/3;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(47,111,228,0.10), 0 20px 50px -20px rgba(47,111,228,0.25);
}
.hero__main-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.badge-import {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(11,14,20,0.85);
  border: 1px solid var(--brass);
  color: var(--brass-bright);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 6px 10px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}
.hero__thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.thumb {
  background: var(--panel);
  border: 1px solid var(--steel);
  border-radius: 8px;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.eyebrow {
  font-family: var(--font-mono);
  color: var(--laser);
  font-size: 12px;
  letter-spacing: 0.12em;
  margin: 0 0 10px;
}
.hero__buy h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  margin: 0 0 10px;
  letter-spacing: 0.01em;
}
.hero__subtitle { color: var(--muted); margin: 0 0 14px; font-size: 15px; }
.stars { color: var(--brass-bright); font-size: 14px; margin-bottom: 22px; }
.stars span { color: var(--muted); margin-left: 6px; }

.price-block {
  border-top: 1px solid var(--steel);
  border-bottom: 1px solid var(--steel);
  padding: 18px 0;
  margin-bottom: 18px;
}
.price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 34px;
  color: var(--ink);
}
.price small { font-size: 15px; color: var(--muted); font-weight: 500; }
.afterpay { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; }

.keypad-counter {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--panel-raised);
  border: 1px solid var(--brass);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
  box-shadow: 0 0 0 1px rgba(47,111,228,0.12), 0 0 22px rgba(47,111,228,0.12);
}
.keypad-counter strong { color: var(--brass-bright); font-size: 15px; }
.keypad-counter--out {
  border-color: var(--steel-light);
  box-shadow: none;
  color: var(--muted);
}
.keypad-counter__led { font-size: 15px; }

.alert {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 18px;
}
.alert--success { background: rgba(79,209,174,0.1); border: 1px solid var(--laser); color: var(--laser); }
.alert--error { background: rgba(225,86,86,0.1); border: 1px solid var(--danger); color: #ff9a9a; }

.order-form { margin-bottom: 26px; }
.field-row { margin-bottom: 12px; }
.field-row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-row label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.03em;
  margin-bottom: 5px;
}
.field-row input, .field-row select, .field-row textarea {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--steel);
  border-radius: 6px;
  padding: 11px 12px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  resize: vertical;
}
.field-row input:focus, .field-row select:focus, .field-row textarea:focus {
  border-color: var(--brass);
}
.contact-form { max-width: 520px; margin: 16px 0 32px; }

.cta {
  display: block;
  width: 100%;
  background: var(--brass-bright);
  color: #08101F;
  border: none;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.06em;
  padding: 16px 20px;
  cursor: pointer;
  box-shadow: 0 12px 30px -12px rgba(47,111,228,0.55);
  transition: transform 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
}
.cta:hover { background: #78A6FF; transform: translateY(-1px); box-shadow: 0 16px 34px -12px rgba(47,111,228,0.7); }
.cta:active { transform: translateY(0); }
.cta--outline {
  background: transparent;
  border: 1px solid var(--laser);
  color: var(--laser);
  box-shadow: none;
}
.cta--outline:hover { background: rgba(233,179,107,0.1); }

.trust-badges {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.form-note {
  font-size: 12px;
  color: var(--muted);
  margin: -4px 0 14px;
}

.countdown {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--panel-raised);
  border: 1px solid var(--brass);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 22px;
  box-shadow: 0 0 0 1px rgba(47,111,228,0.12), 0 0 22px rgba(47,111,228,0.12);
}
.countdown__units {
  display: flex;
  gap: 14px;
  font-family: var(--font-mono);
}
.countdown__units div { text-align: center; }
.countdown__units span {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--brass-bright);
  line-height: 1;
}
.countdown__units small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-top: 3px;
}

/* ---------- Status pages (checkout success/cancel) ---------- */
.status-page {
  max-width: 520px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}
.status-icon { font-size: 40px; margin-bottom: 14px; }
.status-page h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  margin: 0 0 14px;
}
.status-page p { color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.status-page__total {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--ink) !important;
  font-weight: 700;
  margin-top: 16px !important;
}

/* ---------- Legal / static pages ---------- */
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.legal-page h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  margin: 0 0 8px;
}
.legal-page .updated { color: var(--muted); font-size: 13px; margin-bottom: 32px; }
.legal-page h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin: 32px 0 10px;
}
.legal-page p, .legal-page li { color: var(--muted); font-size: 14.5px; }
.legal-page a { color: var(--laser); }
.legal-page ul { padding-left: 20px; }
.contact-details {
  background: var(--panel);
  border: 1px solid var(--steel);
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
}
.contact-details p { margin: 6px 0; color: var(--ink); }
.contact-details a { color: var(--laser); text-decoration: none; }

/* ---------- Section 4: Details ---------- */
.details {
  border-top: 1px solid var(--steel);
  background: var(--panel);
}
.details__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
}
@media (max-width: 900px) { .details__inner { grid-template-columns: 1fr; gap: 32px; } }
.details__block h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.02em;
  margin: 0 0 14px;
}
.details__block h2 .muted { color: var(--muted); font-size: 14px; font-family: var(--font-body); font-weight: 400; }
.details__block p { color: var(--muted); font-size: 15px; }
.contents-list { list-style: none; margin: 0; padding: 0; }
.contents-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--steel);
  font-size: 14.5px;
}
.contents-list li::before { content: '◆ '; color: var(--brass); }

/* ---------- Section 5: Waitlist ---------- */
.waitlist { border-top: 1px solid var(--steel); }
.waitlist__inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 64px 24px;
  text-align: center;
}
.waitlist__inner h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  margin: 0 0 10px;
}
.waitlist__inner p { color: var(--muted); font-size: 14.5px; margin: 0 0 22px; }
.waitlist__form { display: flex; gap: 10px; }
@media (max-width: 560px) { .waitlist__form { flex-direction: column; } }
.waitlist__form input {
  flex: 1;
  background: var(--panel);
  border: 1px solid var(--steel);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  font-size: 14px;
}
.waitlist__form .cta { width: auto; white-space: nowrap; }

/* ---------- Section 6: Footer ---------- */
.footer {
  border-top: 1px solid var(--steel);
  padding: 28px 24px 40px;
  text-align: center;
  color: var(--muted);
  font-size: 12.5px;
}
.footer__links { display: flex; justify-content: center; gap: 18px; margin-bottom: 12px; }
.footer__links a { text-decoration: none; color: var(--muted); }
.footer__links a:hover { color: var(--brass-bright); }

/* ---------- Content hub: main nav with dropdowns ---------- */
.nav { gap: 20px; }
.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.nav-menu > li > a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  padding: 10px 14px;
  border-radius: 6px;
  transition: background 0.12s ease, color 0.12s ease;
}
.nav-menu > li > a:hover { background: var(--panel-raised); color: var(--brass-bright); }
.dropdown { position: relative; }
.dropdown-content {
  list-style: none;
  margin: 0;
  padding: 8px;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 200px;
  background: var(--panel-raised);
  border: 1px solid var(--steel);
  border-radius: 10px;
  box-shadow: 0 20px 40px -16px rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.14s ease, transform 0.14s ease, visibility 0.14s ease;
  z-index: 20;
}
.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-content li a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-size: 13.5px;
  padding: 9px 10px;
  border-radius: 6px;
}
.dropdown-content li a:hover { background: var(--steel); color: var(--ink); }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

@media (max-width: 860px) {
  .main-nav {
    display: none;
    order: 3;
    flex-basis: 100%;
  }
  body.nav-open .main-nav { display: block; }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 0; }
  .dropdown-content {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    display: none;
    box-shadow: none;
    border: none;
    background: var(--panel);
    margin: 2px 0 6px 14px;
  }
  .dropdown:hover .dropdown-content, .dropdown:focus-within .dropdown-content { display: block; }
  body.nav-open .dropdown .dropdown-content { display: block; }
  .nav__burger { display: flex; }
}

/* ---------- Content hub: hero / section headers ---------- */
.hub-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  text-align: center;
}
.hub-hero .eyebrow { justify-content: center; display: flex; }
.hub-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 44px);
  margin: 0 0 14px;
  line-height: 1.1;
}
.hub-hero p {
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto;
  font-size: 15.5px;
}

.section-head {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  margin: 0;
}
.section-head a { color: var(--laser); text-decoration: none; font-size: 13.5px; }
.section-head a:hover { text-decoration: underline; }

/* ---------- Content hub: card grids ---------- */
.hub-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 24px 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .hub-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .hub-grid { grid-template-columns: 1fr; } }

.hub-card {
  background: var(--panel);
  border: 1px solid var(--steel);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}
.hub-card:hover {
  transform: translateY(-3px);
  border-color: var(--brass);
  box-shadow: 0 16px 34px -18px rgba(47,111,228,0.5);
}
.hub-card__img {
  aspect-ratio: 16/9;
  background: var(--panel-raised);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--steel);
}
.hub-card__body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.hub-card__tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--laser);
  margin-bottom: 8px;
}
.hub-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16.5px;
  margin: 0 0 8px;
  line-height: 1.3;
}
.hub-card p { color: var(--muted); font-size: 13.5px; margin: 0; flex: 1; }
.hub-card__meta {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}

/* ---------- Content hub: category tiles (homepage) ---------- */
.category-tiles {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 760px) { .category-tiles { grid-template-columns: 1fr; } }
.category-tile {
  background: linear-gradient(160deg, var(--panel-raised), var(--panel));
  border: 1px solid var(--steel);
  border-radius: 14px;
  padding: 26px 22px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.14s ease, border-color 0.14s ease;
}
.category-tile:hover { transform: translateY(-3px); border-color: var(--brass); }
.category-tile .icon { font-size: 26px; margin-bottom: 10px; display: block; }
.category-tile h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 6px;
}
.category-tile p { color: var(--muted); font-size: 13.5px; margin: 0 0 12px; }
.category-tile .sub-links { display: flex; flex-wrap: wrap; gap: 8px; }
.category-tile .sub-links span {
  font-size: 11.5px;
  color: var(--brass-bright);
  background: rgba(47,111,228,0.12);
  border: 1px solid var(--brass);
  padding: 3px 9px;
  border-radius: 20px;
}

/* ---------- Content hub: article page ---------- */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.article .eyebrow { margin-bottom: 14px; }
.article h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.2;
  margin: 0 0 14px;
}
.article .article-meta { color: var(--muted); font-size: 13px; margin-bottom: 30px; }
.article p { color: var(--ink); font-size: 15.5px; line-height: 1.7; margin: 0 0 18px; }
.article h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  margin: 32px 0 12px;
}
.coming-soon {
  border: 1px dashed var(--steel-light);
  border-radius: 12px;
  padding: 40px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Category icon graphics (used in place of image placeholders) ---------- */
.hub-card__img, .article-hero-icon {
  position: relative;
  overflow: hidden;
}
.cat-icon {
  width: 42%;
  max-width: 96px;
  opacity: 0.9;
}
.cat-icon-bg-nba { background: radial-gradient(circle at 30% 20%, rgba(47,111,228,0.22), transparent 60%), var(--panel-raised); }
.cat-icon-bg-nfl { background: radial-gradient(circle at 30% 20%, rgba(233,179,107,0.20), transparent 60%), var(--panel-raised); }
.cat-icon-bg-mlb { background: radial-gradient(circle at 30% 20%, rgba(233,179,107,0.20), transparent 60%), var(--panel-raised); }
.cat-icon-bg-pokemon { background: radial-gradient(circle at 30% 20%, rgba(233,179,107,0.24), transparent 60%), var(--panel-raised); }
.cat-icon-bg-yugioh { background: radial-gradient(circle at 30% 20%, rgba(47,111,228,0.22), transparent 60%), var(--panel-raised); }
.cat-icon-bg-dragonball { background: radial-gradient(circle at 30% 20%, rgba(233,179,107,0.24), transparent 60%), var(--panel-raised); }
.cat-icon-bg-afl { background: radial-gradient(circle at 30% 20%, rgba(233,179,107,0.22), transparent 60%), var(--panel-raised); }
.cat-icon-bg-nrl { background: radial-gradient(circle at 30% 20%, rgba(47,111,228,0.22), transparent 60%), var(--panel-raised); }
.cat-icon-bg-onepiece { background: radial-gradient(circle at 30% 20%, rgba(233,179,107,0.24), transparent 60%), var(--panel-raised); }
.cat-icon-bg-soccer { background: radial-gradient(circle at 30% 20%, rgba(47,111,228,0.22), transparent 60%), var(--panel-raised); }
.cat-icon-bg-wwe { background: radial-gradient(circle at 30% 20%, rgba(233,179,107,0.22), transparent 60%), var(--panel-raised); }
.article-hero-icon {
  aspect-ratio: 21/9;
  border-radius: 12px;
  border: 1px solid var(--steel);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

/* ---------- Newsletter popup ---------- */
.nl-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6,9,14,0.72);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.nl-overlay.is-visible { opacity: 1; visibility: visible; }
.nl-modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: linear-gradient(165deg, var(--panel-raised), var(--panel));
  border: 1px solid var(--steel);
  border-radius: 16px;
  padding: 34px 30px 28px;
  text-align: center;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(47,111,228,0.08);
  transform: translateY(10px) scale(0.98);
  transition: transform 0.2s ease;
}
.nl-overlay.is-visible .nl-modal { transform: translateY(0) scale(1); }
.nl-modal__close {
  position: absolute;
  top: 12px; right: 12px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 6px;
}
.nl-modal__close:hover { color: var(--ink); }
.nl-modal .icon {
  width: 52px; height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(47,111,228,0.14);
  border: 1px solid var(--brass);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.nl-modal h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  margin: 0 0 8px;
}
.nl-modal p { color: var(--muted); font-size: 14px; margin: 0 0 20px; line-height: 1.55; }
.nl-modal form { display: flex; flex-direction: column; gap: 10px; }
.nl-modal input {
  background: var(--panel);
  border: 1px solid var(--steel);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font-size: 14px;
  width: 100%;
}
.nl-modal input:focus { border-color: var(--brass); outline: none; }
.nl-modal .cta { margin-top: 2px; }
.nl-modal__fine { font-size: 11px; color: var(--muted); margin: 14px 0 0 !important; }
.nl-modal__success { display: none; }
.nl-modal.is-success .nl-modal__form,
.nl-modal.is-success .icon,
.nl-modal.is-success h3,
.nl-modal.is-success > p { display: none; }
.nl-modal.is-success .nl-modal__success { display: block; }

/* ---------- Article share row ---------- */
.share-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--steel);
}
.share-row__label {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  margin-right: 6px;
  width: 100%;
  margin-bottom: 4px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--panel);
  border: 1px solid var(--steel);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  padding: 9px 16px 9px 12px;
  border-radius: 24px;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.14s ease, color 0.14s ease, background 0.14s ease, transform 0.12s ease;
}
.share-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.share-btn:hover { border-color: var(--brass); color: var(--brass-bright); transform: translateY(-1px); background: var(--panel-raised); }
.share-btn.share-btn--copied { border-color: var(--laser); color: var(--laser); background: rgba(233,179,107,0.10); }

/* ---------- Tags ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag-chip {
  background: var(--panel);
  border: 1px solid var(--steel);
  color: var(--muted);
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 16px;
  text-decoration: none;
  transition: border-color 0.12s ease, color 0.12s ease;
}
.tag-chip:hover { border-color: var(--brass); color: var(--brass-bright); }

/* ---------- Related articles ---------- */
.related-section { max-width: 900px; margin: 12px auto 64px; padding: 0 24px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 16px; }
@media (max-width: 760px) { .related-grid { grid-template-columns: 1fr; } }

/* ---------- Search page ---------- */
.search-form { max-width: 620px; margin: 0 auto 8px; display: flex; gap: 10px; }
.search-form input {
  flex: 1;
  background: var(--panel);
  border: 1px solid var(--steel);
  border-radius: 8px;
  padding: 13px 16px;
  color: var(--ink);
  font-size: 14.5px;
}
.search-form input:focus { border-color: var(--brass); outline: none; }
.search-form button {
  background: var(--brass-bright);
  color: #08101F;
  border: none;
  border-radius: 8px;
  padding: 0 22px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-display);
}
.nav__search-btn {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
}
.nav__search-btn:hover { color: var(--brass-bright); }
.nav__search-btn svg { width: 18px; height: 18px; }

/* ---------- Trending section ---------- */
.trending-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(233,179,107,0.14);
  border: 1px solid var(--laser);
  color: var(--laser);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 20px;
  margin-bottom: 8px;
}

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed;
  left: 20px; right: 20px; bottom: -140px;
  max-width: 720px;
  margin: 0 auto;
  background: var(--panel-raised);
  border: 1px solid var(--steel);
  border-radius: 12px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.6);
  z-index: 90;
  transition: bottom 0.3s ease;
}
.cookie-banner.is-visible { bottom: 20px; }
.cookie-banner p { color: var(--muted); font-size: 13px; margin: 0; flex: 1; min-width: 240px; line-height: 1.5; }
.cookie-banner p a { color: var(--laser); }
.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-outline-small {
  background: transparent;
  border: 1px solid var(--steel-light);
  color: var(--muted);
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-family: var(--font-body);
}
.btn-outline-small:hover { border-color: var(--brass); color: var(--ink); }

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 8px auto 56px;
  padding: 0 24px;
}
.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--steel);
  background: var(--panel);
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-family: var(--font-mono);
}
.page-link:hover { border-color: var(--brass); color: var(--ink); }
.page-link--active { background: var(--brass-bright); border-color: var(--brass-bright); color: #08101F; font-weight: 700; }
.page-dots { color: var(--muted); padding: 0 4px; }

/* ---------- Was this helpful? ---------- */
.helpful-box {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--steel);
  border-radius: 10px;
}
.helpful-box__label { font-size: 13.5px; color: var(--ink); font-weight: 600; margin-right: 4px; }
.helpful-btn {
  background: var(--panel-raised);
  border: 1px solid var(--steel);
  color: var(--ink);
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.12s ease;
}
.helpful-btn:hover:not(:disabled) { border-color: var(--brass); }
.helpful-btn:disabled { opacity: 0.5; cursor: default; }
.helpful-box__thanks { color: var(--laser); font-size: 13px; }
