/* ================= Reset & Tokens ================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0d1c;
  --bg2: #111528;
  --panel: rgba(255, 255, 255, .055);
  --panel-2: rgba(255, 255, 255, .09);
  --stroke: rgba(255, 255, 255, .10);
  --stroke-2: rgba(255, 255, 255, .18);
  --text: #f4f5fb;
  --muted: #a9aecb;
  --muted-2: #71779a;
  --pink: #ff5c8a;
  --amber: #ffb45e;
  --purple: #8b6cff;
  --green: #3ddc97;
  --red: #ff5a76;
  --grad: linear-gradient(120deg, #ff5c8a 0%, #ff8e5e 50%, #ffb45e 100%);
  --grad-soft: linear-gradient(120deg, rgba(255, 92, 138, .16), rgba(139, 108, 255, .16));
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --shadow: 0 16px 48px rgba(0, 0, 0, .38);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --nav-h: 64px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(52rem 40rem at 12% -10%, rgba(139, 108, 255, .16), transparent 60%),
    radial-gradient(46rem 36rem at 92% 8%, rgba(255, 92, 138, .14), transparent 60%),
    radial-gradient(50rem 40rem at 50% 110%, rgba(255, 180, 94, .10), transparent 60%);
}

::selection { background: rgba(255, 92, 138, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }

::-webkit-scrollbar { width: 10px; height: 8px; }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .14);
  border-radius: 99px;
  border: 2px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-track { background: transparent; }

img, svg { display: block; max-width: 100%; }
button { font: inherit; }

/* ================= Layout ================= */
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.sec { padding: 52px 0; }
#today { scroll-margin-top: 88px; }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.sec-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--pink);
  text-transform: uppercase;
}
.sec-title { font-size: clamp(22px, 3.4vw, 30px); font-weight: 800; margin-top: 6px; letter-spacing: .5px; }
.sec-sub { color: var(--muted); font-size: 13px; max-width: 420px; text-align: right; line-height: 1.7; }
.sec-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: .2s;
}
.sec-link:hover { color: var(--amber); gap: 10px; }

/* ================= Buttons ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 22px;
  text-decoration: none;
  color: var(--text);
  background: transparent;
  transition: transform .2s, box-shadow .25s, background .2s, border-color .2s, color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--grad);
  color: #241018;
  box-shadow: 0 8px 24px rgba(255, 92, 138, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255, 92, 138, .45); }
.btn-ghost { background: var(--panel); border: 1px solid var(--stroke); }
.btn-ghost:hover { background: var(--panel-2); transform: translateY(-2px); border-color: var(--stroke-2); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn.on { color: var(--pink); border-color: rgba(255, 92, 138, .55); }

/* ================= Reveal ================= */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ================= Nav ================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 13, 28, .72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--stroke);
}
.nav-inner { height: var(--nav-h); display: flex; align-items: center; gap: 24px; }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .5px;
  white-space: nowrap;
}
.logo-badge {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--grad);
  font-size: 17px;
  box-shadow: 0 4px 16px rgba(255, 92, 138, .4);
}
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-link {
  position: relative;
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: .2s;
}
.nav-link:hover { color: var(--text); background: var(--panel); }
.nav-link.active { color: var(--text); background: var(--panel-2); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: 1px solid var(--stroke);
  background: var(--panel);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-toggle span { width: 16px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ================= Hero ================= */
.hero { position: relative; padding: 80px 0 56px; text-align: center; }
.hero-kicker {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 92, 138, .4);
  background: rgba(255, 92, 138, .12);
  color: #ff9db8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
}
.hero h1 {
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: 1px;
  margin: 18px 0 16px;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p { color: var(--muted); max-width: 620px; margin: 0 auto 30px; font-size: 16px; line-height: 1.8; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-badges { margin-top: 42px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow);
}
.hero-pill b { color: var(--amber); }
.f-float { animation: float 5s ease-in-out infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ================= Stats ================= */
.stats { padding: 26px 0 8px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--r-md);
  padding: 22px 12px;
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: .25s;
}
.stat:hover { transform: translateY(-3px); border-color: var(--stroke-2); }
.stat-num {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { margin-top: 6px; color: var(--muted); font-size: 13px; }

/* ================= Product Card ================= */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(252px, 1fr)); gap: 18px; }

.p-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .28s, box-shadow .28s, border-color .28s;
}
.p-card:hover {
  transform: translateY(-6px);
  border-color: var(--stroke-2);
  box-shadow: var(--shadow);
}
.p-card.expired { opacity: .55; filter: saturate(.4); }
.p-card.expired .btn { pointer-events: none; }

.p-media {
  position: relative;
  aspect-ratio: 16 / 11;
  display: grid;
  place-items: center;
  font-size: 58px;
  overflow: hidden;
}
.p-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 13, 28, .6));
}
.p-emoji { filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35)); transform: translateY(4px); }

.p-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .5px;
}
.p-badge.off { background: var(--grad); color: #241018; }
.p-badge.hot {
  left: 12px;
  right: auto;
  top: auto;
  bottom: 12px;
  background: rgba(255, 92, 138, .15);
  border: 1px solid rgba(255, 92, 138, .45);
  color: #ff9db8;
}
.p-badge.exp {
  left: auto;
  right: 12px;
  top: auto;
  bottom: 12px;
  background: rgba(255, 90, 118, .14);
  border: 1px solid rgba(255, 90, 118, .5);
  color: #ff8a9e;
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

.p-fav {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--stroke);
  background: rgba(10, 13, 28, .55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 15px;
  transition: .2s;
}
.p-fav:hover { color: var(--pink); transform: scale(1.08); }
.p-fav.on { color: var(--pink); border-color: rgba(255, 92, 138, .5); }

.p-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.p-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.p-tag {
  font-size: 11px;
  color: var(--muted-2);
  border: 1px solid var(--stroke);
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.p-title { font-size: 15px; font-weight: 700; line-height: 1.45; }
.p-brand { font-size: 12px; color: var(--muted); }
.p-price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; flex-wrap: wrap; }
.p-price { font-size: 21px; font-weight: 800; color: var(--amber); font-variant-numeric: tabular-nums; }
.p-price small { font-size: 12px; font-weight: 700; margin-right: 1px; }
.p-orig { font-size: 12px; color: var(--muted-2); text-decoration: line-through; }
.p-foot { margin-top: auto; display: flex; gap: 8px; align-items: center; }
.p-coupon { flex: 1; }
.p-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.p-sold { color: var(--muted-2); }
.p-countdown { display: inline-flex; align-items: center; gap: 4px; }
.p-countdown b { color: var(--red); font-variant-numeric: tabular-nums; }

/* ================= Today Track ================= */
.today-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 18px;
  margin: -4px;
}
.today-track .p-card { min-width: 262px; max-width: 262px; scroll-snap-align: start; }
.today-track::-webkit-scrollbar { height: 6px; }
.today-track::-webkit-scrollbar-thumb { background: var(--stroke-2); border-radius: 99px; }

/* ================= Celebrity Card ================= */
.c-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.c-card {
  position: relative;
  text-align: center;
  padding: 24px 12px 20px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  transition: .25s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.c-card:hover { transform: translateY(-5px); border-color: var(--stroke-2); box-shadow: var(--shadow); }
.c-avatar {
  width: 76px;
  height: 76px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 34px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  position: relative;
}
.c-avatar::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, .35);
}
.c-name { font-weight: 700; font-size: 15px; }
.c-meta { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ================= Category Card ================= */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat-card {
  padding: 18px 8px;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--r-md);
  text-decoration: none;
  color: inherit;
  transition: .25s;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.cat-card:hover { transform: translateY(-4px); border-color: var(--stroke-2); box-shadow: var(--shadow); }
.cat-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 8px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 22px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
}
.cat-name { font-size: 13px; font-weight: 600; }

/* ================= Deals Page ================= */
.deals-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.result-count { font-size: 13px; color: var(--muted); }
.sort-select {
  background: var(--panel);
  border: 1px solid var(--stroke);
  color: var(--text);
  padding: 9px 14px;
  border-radius: 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}
.sort-select option { background: #141830; }
.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.filter-label { font-size: 13px; color: var(--muted); font-weight: 700; flex-shrink: 0; }
.filter-group { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--panel);
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: .2s;
}
.chip:hover { color: var(--text); border-color: var(--stroke-2); transform: translateY(-1px); }
.chip.active { background: var(--grad); border-color: transparent; color: #241018; }

/* ================= Star Page ================= */
.star-picker { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.star-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--panel);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  transition: .2s;
}
.star-chip:hover { border-color: var(--stroke-2); transform: translateY(-2px); }
.star-chip.active { background: var(--grad-soft); border-color: rgba(255, 92, 138, .5); box-shadow: 0 0 0 1px rgba(255, 92, 138, .25); }
.star-chip .chip-ava {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
}

.star-hero {
  position: relative;
  border-radius: var(--r-lg);
  padding: 36px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: var(--panel);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  gap: 30px;
  align-items: center;
}
.star-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-soft);
  opacity: .65;
  pointer-events: none;
}
.star-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 56px;
  flex-shrink: 0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
  position: relative;
}
.star-avatar::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, .35);
}
.star-info { position: relative; z-index: 1; flex: 1; min-width: 0; }
.star-tagline {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 180, 94, .14);
  border: 1px solid rgba(255, 180, 94, .4);
  color: var(--amber);
  font-size: 13px;
  font-weight: 700;
}
.star-name { font-size: clamp(26px, 4vw, 38px); font-weight: 900; }
.star-desc { margin-top: 10px; color: var(--muted); line-height: 1.8; font-size: 14px; max-width: 640px; }
.star-stats { display: flex; gap: 24px; margin-top: 16px; flex-wrap: wrap; }
.star-stat b { font-size: 21px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.star-stat span { color: var(--muted); font-size: 12px; margin-left: 6px; }
.star-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }

.tips-grid { display: grid; gap: 12px; }
.tip-item {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--r-md);
  align-items: flex-start;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.tip-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--grad);
  color: #241018;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 14px;
}
.tip-text { color: var(--text); font-size: 14px; line-height: 1.7; }

/* ================= Coupon Page ================= */
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-top: 18px;
  font-size: 13px;
  color: var(--muted-2);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); text-decoration: none; transition: .2s; }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb span:last-child { color: var(--text); max-width: 60vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.coupon-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  align-items: start;
}
.cp-media {
  border-radius: var(--r-lg);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  font-size: 96px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--stroke);
}
.cp-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 13, 28, .55));
}
.cp-emoji { filter: drop-shadow(0 16px 28px rgba(0, 0, 0, .35)); position: relative; z-index: 1; }

.cp-info { padding: 24px; background: var(--panel); border: 1px solid var(--stroke); border-radius: var(--r-lg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.cp-title { font-size: 23px; font-weight: 800; line-height: 1.4; margin-top: 12px; }
.cp-brand { margin-top: 6px; color: var(--muted); font-size: 14px; }
.cp-price-row { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.cp-price { font-size: 34px; font-weight: 900; color: var(--amber); font-variant-numeric: tabular-nums; }
.cp-price small { font-size: 15px; }
.cp-orig { font-size: 14px; color: var(--muted-2); text-decoration: line-through; }
.cp-price-row .p-badge { position: static; }
.cp-desc { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.cp-feature { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; font-size: 12px; color: var(--muted); }
.cp-feature span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--stroke); background: var(--panel); }

.coupon-layout > .coupon-panel {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.coupon-panel {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  padding: 24px;
  position: sticky;
  top: calc(var(--nav-h) + 18px);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.coupon-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.coupon-title { font-weight: 800; font-size: 17px; }
.coupon-card {
  border-radius: var(--r-md);
  padding: 22px 18px;
  text-align: center;
  border: 1px dashed rgba(255, 180, 94, .55);
  background: linear-gradient(135deg, rgba(255, 180, 94, .10), rgba(255, 92, 138, .08));
}
.coupon-amount { font-size: 32px; font-weight: 900; color: var(--amber); line-height: 1; font-variant-numeric: tabular-nums; }
.coupon-amount span { font-size: 12px; color: var(--muted); font-weight: 600; margin-left: 6px; }
.coupon-code {
  display: inline-block;
  margin: 14px auto 16px;
  padding: 9px 20px;
  border-radius: 10px;
  background: rgba(10, 13, 28, .5);
  border: 1px dashed rgba(255, 180, 94, .5);
  letter-spacing: 5px;
  font-weight: 800;
  font-size: 22px;
  color: var(--amber);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  user-select: all;
}
.coupon-copy { margin-top: 2px; }
.coupon-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.coupon-meta b { color: var(--red); font-variant-numeric: tabular-nums; }

.cp-section { margin-top: 22px; }
.cp-section h3 { font-size: 14px; font-weight: 800; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.steps { display: grid; gap: 10px; counter-reset: step; }
.step {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--panel-2);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--amber);
  flex-shrink: 0;
}
.usage { display: grid; gap: 8px; }
.usage li {
  list-style: none;
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}
.usage li::before { content: "•"; position: absolute; left: 4px; color: var(--pink); font-weight: 800; }
.cp-actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.cp-actions .btn { flex: 1; }

/* ================= Empty & Skeleton ================= */
.empty { text-align: center; padding: 56px 20px; color: var(--muted); }
.empty .empty-icon { font-size: 44px; margin-bottom: 12px; }
.empty p { margin-bottom: 18px; }
.skeleton {
  min-height: 260px;
  border-radius: var(--r-lg);
  background: var(--panel);
  border: 1px solid var(--stroke);
  position: relative;
  overflow: hidden;
}
.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .07), transparent);
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer { to { transform: translateX(100%); } }

/* ================= Toast ================= */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  background: rgba(20, 24, 44, .92);
  border: 1px solid var(--stroke-2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: .3s;
  z-index: 100;
  box-shadow: var(--shadow);
  max-width: calc(100vw - 40px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ================= Footer ================= */
footer { border-top: 1px solid var(--stroke); margin-top: 70px; background: rgba(10, 13, 28, .6); }
.footer-inner { padding: 40px 0; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.f-brand p { color: var(--muted); font-size: 13px; line-height: 1.8; margin-top: 12px; max-width: 320px; }
.f-col h4 { font-size: 14px; font-weight: 800; margin-bottom: 14px; }
.f-col a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  padding: 5px 0;
  transition: .2s;
}
.f-col a:hover { color: var(--amber); }
.f-bottom { border-top: 1px solid var(--stroke); padding: 18px 0; text-align: center; color: var(--muted-2); font-size: 12px; }

/* ================= Responsive ================= */
@media (max-width: 960px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .coupon-layout { grid-template-columns: 1fr; }
  .coupon-layout > .coupon-panel { grid-column: auto; grid-row: auto; position: static; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    padding: 12px 20px 18px;
    background: rgba(10, 13, 28, .96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--stroke);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links .nav-link.active::after { display: none; }
}

@media (max-width: 720px) {
  .sec { padding: 38px 0; }
  .hero { padding: 56px 0 40px; }
  .hero-badges { margin-top: 32px; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .sec-sub { text-align: left; }
  .star-hero { flex-direction: column; text-align: center; padding: 30px 20px; }
  .star-stats { justify-content: center; }
  .star-actions { justify-content: center; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .today-track .p-card { min-width: 240px; max-width: 240px; }
}
