/* ============================================================
   VoltVault — Coupon "Promo" Light Design System
   Warm sale palette: sunset orange→red→pink on warm white.
   Green = verified/savings · amber = discount · ink anchors.
   ============================================================ */

:root {
  --bg: #FFF6F1;        /* warm white page */
  --ink: #241A33;       /* deep plum-ink (dark anchors: ticker, footer) */
  --void: #241A33;      /* alias kept for ticker/footer */
  --band: #FFEDE4;      /* peach section band */
  --panel: #FFFFFF;     /* cards */
  --panel2: #FFF6F0;    /* soft warm surface */
  --line: #F2DFD4;      /* warm hairline */
  --line-cool: #ECE3F2; /* cool hairline (violet-ish) */

  --volt: #FF3B5C;      /* PRIMARY hot-sale red-pink (name kept for compat) */
  --primary: #FF3B5C;
  --magenta: #FF2E9A;   /* hot pink */
  --violet: #7C4DFF;    /* electric violet accent */
  --green: #12B76A;     /* verified / savings */
  --amber: #FF9F1C;     /* discount pop / sunny */

  --text: #2A1F3D;      /* body ink */
  --muted: #6E6280;     /* muted plum-gray */
  --dim: #A99FB8;       /* faint */
  --on-ink: #FFF3EC;    /* text on dark anchors */
  --on-ink-muted: #B8AEC6;

  --grad: linear-gradient(90deg, #FF8A00, #FF3B5C, #FF2E9A);
  --shadow-sm: 0 3px 12px rgba(42, 31, 61, .07);
  --shadow-md: 0 10px 28px rgba(42, 31, 61, .10);
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--primary); color: #fff; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* ---------- Typography ---------- */
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; color: var(--text); }

.h1 { font-size: clamp(38px, 4.6vw, 60px); line-height: 1.1; }
.h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.2; }
.h3 { font-size: 18px; font-family: var(--font-body); font-weight: 600; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow--magenta { color: var(--magenta); }

.lead { font-size: 18px; color: var(--muted); line-height: 1.66; }
.body-muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }

.grad-text {
  background: linear-gradient(90deg, #FF8A00, #FF3B5C, #FF2E9A, #FF8A00);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15.5px;
  font-family: var(--font-body);
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn-volt {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 59, 92, .30);
}
.btn-volt:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 59, 92, .44);
}
.btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  color: var(--primary);
}
.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-block { width: 100%; }

.glow-pulse { animation: glowPulse 3.2s ease-in-out infinite; }
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 8px 20px rgba(255, 59, 92, .30); }
  50% { box-shadow: 0 12px 34px rgba(255, 59, 92, .52); }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.nav.scrolled {
  background: rgba(255, 246, 241, .86);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(42, 31, 61, .05);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  max-width: 1440px;
  margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-size: 21px; color: var(--text); }
.logo-icon {
  width: 32px; height: 32px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--grad);
  color: #fff;
  font-weight: 700; font-size: 17px;
  box-shadow: 0 4px 14px rgba(255, 59, 92, .40);
}
.logo b { font-weight: 700; color: var(--primary); }
.logo span { font-weight: 500; color: var(--text); }
.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--muted); transition: color .2s; position: relative; }
.nav-links > a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad); transition: width .25s ease; border-radius: 2px;
}
.nav-links a:hover { color: var(--text); }
.nav-links > a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-burger { display: none; }

.nav--solid {
  background: rgba(255, 246, 241, .9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-tag { font-size: 10.5px; letter-spacing: .14em; color: var(--dim); text-transform: uppercase; }

/* ---------- Search hero (homepage top) ---------- */
.search-hero { position: relative; overflow: hidden; padding: 132px 0 40px; }
.search-hero-inner { position: relative; display: grid; justify-items: center; text-align: center; gap: 22px; max-width: 760px; margin: 0 auto; }
.search-hero .h1 { font-size: clamp(32px, 4.4vw, 52px); }
.hero-meta { font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.hero-meta b { color: var(--primary); font-weight: 600; }
.search-box--lg { max-width: 620px; width: 100%; padding: 2px 8px 2px 20px; border-radius: 16px; }
.search-box--lg input { padding: 18px 12px; font-size: 16.5px; }
.search-box--lg .search-ic { font-size: 18px; }

.section--list { padding-top: 24px; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
.section--band { background: var(--band); }
.section-head { max-width: 780px; margin-bottom: 48px; display: grid; gap: 16px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }

/* ---------- Glow blobs (warm promo tints) ---------- */
.blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.blob--magenta { background: radial-gradient(circle, rgba(255, 46, 154, .16) 0%, rgba(255, 46, 154, 0) 68%); }
.blob--violet { background: radial-gradient(circle, rgba(124, 77, 255, .13) 0%, rgba(124, 77, 255, 0) 68%); }
.blob--volt { background: radial-gradient(circle, rgba(255, 159, 28, .18) 0%, rgba(255, 159, 28, 0) 68%); }
.blob-drift { animation: drift 14s ease-in-out infinite alternate; }
.blob-drift--rev { animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(60px, -40px) scale(1.15); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 172px 0 96px;
  overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 59, 92, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 59, 92, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 26%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 26%, black 30%, transparent 75%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: center;
}
.hero-copy { display: grid; gap: 26px; justify-items: start; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 100px;
  background: rgba(18, 183, 106, .10);
  border: 1px solid rgba(18, 183, 106, .4);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em;
  color: var(--green);
}
.pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(18, 183, 106, .7);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.trust-line { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--dim); }

.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stat { display: grid; gap: 3px; }
.hero-stat b { font-family: var(--font-display); font-size: 30px; color: var(--primary); line-height: 1; }
.hero-stat span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; color: var(--dim); text-transform: uppercase; }

/* ============================================================
   COUPON TICKET — the signature component
   ============================================================ */
.ticket {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 128px 1fr;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  will-change: transform;
}
.ticket:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 59, 92, .4);
  box-shadow: 0 18px 40px rgba(255, 59, 92, .16);
}
.ticket--hot {
  border-color: transparent;
  background-image: linear-gradient(var(--panel), var(--panel)), var(--grad);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 12px 30px rgba(255, 59, 92, .16);
}
.ticket--expired { opacity: .55; filter: grayscale(.5); }

/* Left stub — discount amount, with perforation + notches */
.ticket-stub {
  position: relative;
  background: linear-gradient(155deg, rgba(255, 159, 28, .16), rgba(255, 46, 154, .12));
  display: grid;
  place-content: center;
  gap: 2px;
  text-align: center;
  padding: 22px 10px;
  border-right: 2px dashed var(--line);
}
.ticket--hot .ticket-stub { background: linear-gradient(155deg, rgba(255, 159, 28, .26), rgba(255, 46, 154, .2)); }
.ticket-stub .amt {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em;
  font-size: 40px; line-height: .95; color: #E5342E;
}
.ticket-stub .amt small { font-size: 20px; }
.ticket-stub .amt-sub {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em;
  color: var(--muted); text-transform: uppercase; margin-top: 4px;
}
/* Perforation notches — page-colored circles biting the perforation */
.ticket-stub::before, .ticket-stub::after {
  content: ""; position: absolute; right: -9px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line);
}
.ticket-stub::before { top: -9px; }
.ticket-stub::after { bottom: -9px; }
.section--band .ticket-stub::before, .section--band .ticket-stub::after { background: var(--band); }

/* Right body */
.ticket-body { padding: 22px 24px; display: grid; gap: 12px; align-content: start; }
.ticket-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ticket-cat {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--violet);
  padding: 4px 9px; border-radius: 5px; background: rgba(124, 77, 255, .08);
  border: 1px solid rgba(124, 77, 255, .22);
}
.ticket-verified {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em;
  color: var(--green); text-transform: uppercase; margin-left: auto;
}
.ticket-verified .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px rgba(18, 183, 106, .7); }
.ticket-title { font-family: var(--font-body); font-weight: 600; font-size: 17px; line-height: 1.35; color: var(--text); }
.ticket-desc { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* Code + copy row */
.ticket-code {
  display: flex; align-items: stretch; gap: 0;
  border: 1px dashed var(--primary); border-radius: 9px; overflow: hidden;
  background: rgba(255, 59, 92, .05);
}
.ticket-code .code {
  flex: 1; display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  font-family: var(--font-mono); font-size: 15px; font-weight: 600;
  letter-spacing: .06em; color: var(--primary);
  position: relative;
}
.ticket-code .code .lock { font-size: 11px; }
.ticket-code.masked .code { color: var(--dim); }
.ticket-code.masked .code .text { filter: blur(4px); user-select: none; }
.copy-btn {
  border: none; border-left: 1px dashed var(--primary);
  background: var(--primary); color: #fff;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 0 18px; cursor: pointer;
  transition: background .2s, color .2s;
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
}
.copy-btn:hover { background: #E5324F; }
.copy-btn.copied { background: var(--green); color: #fff; border-color: var(--green); }

.ticket-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11px; color: var(--dim);
}
.ticket-foot .exp { display: inline-flex; align-items: center; gap: 6px; }
.ticket-foot .exp.soon { color: #E5342E; }
.ticket-terms { color: var(--violet); cursor: help; border-bottom: 1px dotted var(--violet); }

/* ---------- Codes toolbar: search + filter ---------- */
.codes-toolbar { display: grid; gap: 20px; margin-bottom: 34px; }
.search-box {
  position: relative; display: flex; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-sm); padding: 0 6px 0 18px; max-width: 640px;
  transition: border-color .2s, box-shadow .2s;
}
.search-box:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(255, 59, 92, .12); }
.search-ic { font-size: 16px; opacity: .65; flex: none; }
.search-box input {
  flex: 1; border: none; background: none; outline: none;
  font-family: var(--font-body); font-size: 15.5px; color: var(--text);
  padding: 15px 12px;
}
.search-box input::placeholder { color: var(--dim); }
.search-box input::-webkit-search-cancel-button { display: none; }
.search-clear {
  border: none; background: var(--band); color: var(--muted);
  width: 30px; height: 30px; border-radius: 8px; cursor: pointer; flex: none;
  display: none; align-items: center; justify-content: center; font-size: 13px; margin-right: 4px;
  transition: background .2s, color .2s;
}
.search-box.has-value .search-clear { display: flex; }
.search-clear:hover { background: var(--primary); color: #fff; }
.search-count { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.search-count b { color: var(--primary); font-weight: 600; }

.filter-bar {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.filter-chip {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase;
  padding: 9px 16px; border-radius: 100px;
  border: 1px solid var(--line); background: #fff;
  color: var(--muted); cursor: pointer;
  transition: color .2s, border-color .2s, background .2s, box-shadow .2s;
}
.filter-chip:hover { color: var(--primary); border-color: var(--primary); }
.filter-chip.active {
  color: #fff; background: var(--primary);
  border-color: var(--primary); font-weight: 600;
  box-shadow: 0 6px 16px rgba(255, 59, 92, .30);
}
.filter-chip .n { opacity: .6; margin-left: 4px; }

.coupon-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.coupon-grid .empty {
  grid-column: 1 / -1; text-align: center; padding: 60px 20px;
  color: var(--dim); font-family: var(--font-mono);
}
/* "Get code →" cue on homepage cards */
.get-code {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--primary);
  transition: transform .2s ease;
}
.ticket:hover .get-code { transform: translateX(3px); }

/* ---------- Detail page ---------- */
.detail { padding: 128px 0 96px; overflow: hidden; }
.detail-inner { position: relative; max-width: 880px; margin: 0 auto; }
.crumb { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .04em; margin-bottom: 22px; color: var(--dim); }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--primary); }
.crumb span { color: var(--dim); }

.ticket-detail { grid-template-columns: 210px 1fr; border-radius: 20px; box-shadow: var(--shadow-md); }
.ticket-detail:hover { transform: none; box-shadow: var(--shadow-md); }
.ticket-detail.ticket--hot:hover { transform: none; }
.ticket-stub--lg { padding: 40px 16px; }
.ticket-stub--lg .amt { font-size: 56px; }
.ticket-stub--lg .amt small { font-size: 26px; }
.ticket-detail .ticket-body { padding: 32px 34px; gap: 16px; }
.ticket-title--lg { font-family: var(--font-display); font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; }
.ticket-desc--lg { font-size: 16px; }
.ticket-detail .ticket-code { border-radius: 12px; }
.ticket-detail .ticket-code .code { font-size: 19px; padding: 17px 20px; }
.ticket-detail .copy-btn { padding: 0 26px; font-size: 13px; }
.terms { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.terms b { color: var(--text); }
.redeem { font-size: 12px; color: var(--dim); letter-spacing: .02em; }

.related { margin-top: 56px; }
.related-h { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 20px; }

/* ---------- Featured / hero ticket ---------- */
.hero-ticket-wrap { position: relative; will-change: transform; }
.hero-ticket-wrap .glow { position: absolute; inset: -24px; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(255, 159, 28, .22), transparent 70%); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { display: grid; gap: 12px; align-content: start; }
.step .step-rule { height: 3px; background: var(--grad); transform-origin: left; border-radius: 3px; }
.step .step-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--primary); }
.step h3 { font-size: 18px; font-family: var(--font-body); font-weight: 600; }
.step p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 59, 92, .35);
  box-shadow: 0 16px 36px rgba(42, 31, 61, .12);
}
.card .ic {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px;
  display: grid; place-items: center; font-size: 22px;
  background: linear-gradient(155deg, rgba(255, 159, 28, .16), rgba(255, 59, 92, .12));
  border: 1px solid var(--line);
}
.card h3 { margin: 0 0 8px; font-size: 18px; font-family: var(--font-body); font-weight: 600; line-height: 1.4; }
.card p { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ---------- Ticker (bright promo bar) ---------- */
.ticker {
  border: none;
  background: var(--grad);
  overflow: hidden;
  padding: 15px 0;
}
.ticker-track {
  display: flex; gap: 48px; width: max-content;
  animation: tickerScroll 32s linear infinite;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em;
  color: rgba(255, 255, 255, .82); white-space: nowrap;
}
.ticker-track b { color: #fff; font-weight: 500; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Compare (vs aggregators) ---------- */
.compare2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cmp-col { display: grid; gap: 14px; align-content: start; height: 100%; }
.cmp-col h3 { font-size: 18px; font-family: var(--font-body); font-weight: 600; }
.cmp-col--good { border-color: rgba(18, 183, 106, .45); background: linear-gradient(180deg, rgba(18,183,106,.05), #fff); }
.cmp-item { display: flex; gap: 12px; font-size: 15px; color: var(--muted); line-height: 1.55; }
.cmp-item .mark { font-weight: 700; flex: none; }
.cmp-item .mark--yes { color: var(--green); }
.cmp-item .mark--no { color: var(--magenta); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 24px; font-size: 16px; font-weight: 600; color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .plus { font-family: var(--font-mono); color: var(--primary); font-size: 20px; flex: none; transition: transform .3s ease; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 24px 20px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---------- Newsletter (promo-tinted block) ---------- */
.newsletter {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #FFF0E4, #FFE7F1);
  border: 1px solid var(--line);
  border-radius: 22px; padding: 56px 48px; text-align: center;
  box-shadow: var(--shadow-md);
}
.newsletter-form { display: flex; gap: 12px; max-width: 460px; margin: 22px auto 0; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1; min-width: 200px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  color: var(--text); font-family: var(--font-body); font-size: 15px; padding: 14px 16px;
  transition: border-color .2s, box-shadow .2s;
}
.newsletter-form input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255, 59, 92, .16); }
.newsletter-note { font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-top: 14px; letter-spacing: .04em; }

/* ---------- Final CTA ---------- */
.final-cta { position: relative; overflow: hidden; padding: 124px 0; text-align: center; background: var(--band); }
.final-cta-inner { position: relative; display: grid; gap: 26px; justify-items: center; }
.final-cta .h1 { font-size: clamp(32px, 3.6vw, 46px); }

/* ---------- Footer (warm light) ---------- */
.footer { background: linear-gradient(180deg, #FFF3EC, #FFE8EF); border-top: 1px solid var(--line); padding: 56px 0 36px; color: var(--text); }
.footer .logo, .footer .logo span { color: var(--text); }
.footer .logo b { color: var(--primary); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer-tagline { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; color: var(--muted); margin-top: 10px; }
.footer-links { display: flex; gap: 30px; }
.footer-links a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: var(--primary); }
.footer-divider { height: 1px; background: var(--line); margin: 34px 0 22px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.footer-motto { color: var(--primary); font-weight: 500; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(120%);
  background: var(--green); color: #fff;
  font-weight: 600; font-size: 14px; font-family: var(--font-body);
  padding: 13px 22px; border-radius: 12px; z-index: 200;
  box-shadow: 0 12px 34px rgba(18, 183, 106, .4);
  display: flex; align-items: center; gap: 10px;
  transition: transform .4s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast .mono { font-family: var(--font-mono); }

/* ---------- Reveal defaults ---------- */
[data-reveal] { opacity: 0; }
.no-js [data-reveal] { opacity: 1; }

/* ---------- Header mini-nav + footer categories ---------- */
.nav-mini a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav-mini a:hover { color: var(--primary); }
.footer-cats { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.footer-cats a { font-size: 14px; color: var(--muted); font-weight: 500; transition: color .2s; }
.footer-cats a:hover { color: var(--primary); }

/* ---------- Store grid + cards ---------- */
.store-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.store-grid .empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--dim); font-family: var(--font-mono); }
.store-card {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 22px; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.store-card:hover { transform: translateY(-4px); border-color: rgba(255, 59, 92, .35); box-shadow: 0 14px 30px rgba(42, 31, 61, .12); }
.store-logo {
  width: 52px; height: 52px; border-radius: 13px; flex: none;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 19px; color: #fff;
  background: var(--grad); box-shadow: 0 4px 12px rgba(255, 59, 92, .3);
}
.store-info { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.store-name { font-family: var(--font-body); font-weight: 600; font-size: 16.5px; color: var(--text); }
.store-cat { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; color: var(--dim); text-transform: uppercase; }
.store-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; text-align: right; }
.store-count { font-family: var(--font-mono); font-size: 11px; color: var(--muted); white-space: nowrap; }
.store-best { font-size: 12.5px; font-weight: 600; color: var(--primary); white-space: nowrap; }

/* ---------- Category chips ---------- */
.cat-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.cat-chip {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em;
  padding: 9px 16px; border-radius: 100px; border: 1px solid var(--line);
  background: #fff; color: var(--muted);
  transition: color .2s, border-color .2s, transform .2s;
}
.cat-chip:hover { color: var(--primary); border-color: var(--primary); transform: translateY(-1px); }

/* ---------- Store page ---------- */
.store-page { padding-top: 122px; overflow: hidden; }
.store-head { display: flex; align-items: center; gap: 20px; margin-bottom: 36px; position: relative; }
.store-logo--lg { width: 72px; height: 72px; border-radius: 18px; font-size: 26px; }
.store-h1 { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.12; }
.store-sub { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.store-sub b { color: var(--primary); font-weight: 600; }
.coupon-list { display: grid; gap: 18px; margin-bottom: 48px; }

/* Deal (no-code) row + type chips + details link */
.ticket-cat--deal { color: var(--green); background: rgba(18, 183, 106, .08); border-color: rgba(18, 183, 106, .28); }
.deal-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border: 1px dashed rgba(18, 183, 106, .45); border-radius: 10px;
  background: rgba(18, 183, 106, .05); padding: 12px 14px;
}
.deal-tag { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--green); letter-spacing: .04em; }
.ticket-more { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--violet); text-transform: uppercase; }
.ticket-more:hover { color: var(--primary); }

.store-about, .store-faq { max-width: 820px; margin-bottom: 44px; }
.about-h { font-size: 20px; margin-bottom: 14px; color: var(--text); }
.store-about p { color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.store-cta { display: inline-block; margin: 6px 0 0; font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--primary); letter-spacing: .04em; }
.store-cta:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .store-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 52px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .coupon-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .container { padding: 0 22px; }
  .section { padding: 72px 0; }
  .nav-inner { padding: 15px 20px; }
  .nav-burger {
    display: grid; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; z-index: 70;
  }
  .nav-burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
  .nav.open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-burger span:nth-child(2) { opacity: 0; }
  .nav.open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-right {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 6px 20px 22px;
    max-height: calc(100vh - 60px); overflow-y: auto;
    display: none;
    box-shadow: 0 24px 48px rgba(42, 31, 61, .14);
  }
  .nav.open .nav-right { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav-links > a { padding: 15px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav-links > a::after { display: none; }
  .nav-right > .btn { margin-top: 18px; }

  .grid-3, .grid-2, .compare2 { grid-template-columns: 1fr; }
  .hero { padding: 128px 0 72px; }
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { flex: 1; }
  .hero-stats { gap: 26px; }
  .nav-tag { display: none; }
  .store-grid { grid-template-columns: 1fr; }
  .store-head { gap: 14px; margin-bottom: 28px; }
  .store-logo--lg { width: 56px; height: 56px; border-radius: 14px; font-size: 20px; }
  .store-page { padding-top: 104px; }
  .ticket { grid-template-columns: 96px 1fr; }
  .ticket-stub .amt { font-size: 30px; }
  .search-hero { padding: 108px 0 32px; }
  .ticket-detail { grid-template-columns: 90px 1fr; }
  .ticket-stub--lg { padding: 24px 10px; }
  .ticket-stub--lg .amt { font-size: 32px; }
  .ticket-detail .ticket-body { padding: 22px 20px; }
  .ticket-detail .ticket-code .code { font-size: 16px; padding: 14px 14px; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; gap: 14px 22px; }
  .final-cta .h1 br { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
