/* metacheats.fun — storefront stylesheet */

:root {
  --bg:        #08080a;
  --bg-soft:   #0c0c10;
  --panel:     #101015;
  --panel-2:   #14141b;
  --line:      #1d1d26;
  --line-hot:  #2c2c3a;
  --text:      #ececf2;
  --muted:     #8a8a9a;
  --dim:       #5d5d6d;
  --accent:    #ff2d78;
  --accent-2:  #b25bff;
  --ok:        #35d07f;
  --warn:      #ffcc00;
  --radius:    4px;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --sans: "Inter", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { min-height: 100vh; display: flex; flex-direction: column; }

a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }

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

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
}

/* ---------------------------------------------------------------- topbar */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 28px;
  height: 64px;
  background: rgba(8, 8, 10, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-weight: 800;
  letter-spacing: .16em;
  font-size: 15px;
  margin-right: 8px;
}

.brand-mark {
  width: 10px;
  height: 10px;
  align-self: center;
  margin-right: 9px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(255, 47, 69, .8);
  clip-path: polygon(0 0, 100% 0, 100% 60%, 60% 100%, 0 100%);
}

.brand-logo {
  width: 30px;
  height: 30px;
  align-self: center;
  margin-right: 10px;
  object-fit: contain;
  border-radius: 6px;
  filter: drop-shadow(0 0 10px rgba(140, 70, 255, .45));
}

.brand-dot { color: var(--accent); letter-spacing: 0; }

.nav { display: flex; align-items: center; gap: 22px; font-size: 13px; letter-spacing: .04em; }
.nav a { color: var(--muted); padding: 6px 0; position: relative; }
.nav a:hover { color: var(--text); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}
.nav a:hover::after { transform: scaleX(1); }
.nav-admin { color: var(--accent-2) !important; }

.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* ----------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line-hot);
  background: transparent;
  color: var(--text);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .1s ease;
  white-space: nowrap;
}
.btn:hover { border-color: #3a3a4c; background: rgba(255,255,255,.03); }
.btn:active { transform: translateY(1px); }

.btn-solid {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255,47,69,.25), 0 8px 24px -12px rgba(255,47,69,.9);
}
.btn-solid:hover { background: #ff4557; border-color: #ff4557; color: #fff; }

.btn-ghost { border-color: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--text); background: rgba(255,255,255,.04); border-color: transparent; }

.btn-lg { height: 46px; padding: 0 24px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-danger { border-color: rgba(255,47,69,.4); color: #ff8794; }
.btn-danger:hover { background: rgba(255,47,69,.1); border-color: var(--accent); }

.inline { display: inline; }

/* ------------------------------------------------------------------ flash */

.flash {
  margin: 18px auto 0;
  max-width: 1180px;
  width: calc(100% - 56px);
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  border: 1px solid;
}
.flash-ok   { background: rgba(53,208,127,.08); border-color: rgba(53,208,127,.32); color: #9bf0c4; }
.flash-err  { background: rgba(255,47,69,.08);  border-color: rgba(255,47,69,.32);  color: #ff9aa5; }
.flash-info { background: rgba(255,255,255,.03); border-color: var(--line-hot); color: var(--muted); }

/* ------------------------------------------------------------------- main */

.main {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px 96px;
}

/* ------------------------------------------------------------------- hero */

.hero {
  padding: 84px 0 56px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  left: 50%;
  translate: -50% 0;
  width: 900px;
  height: 460px;
  background: radial-gradient(ellipse at center, rgba(255,47,69,.16), transparent 66%);
  filter: blur(20px);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line-hot);
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 26px;
  background: rgba(255,255,255,.02);
}
.eyebrow .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

h1.display {
  font-size: clamp(42px, 7vw, 78px);
  line-height: .95;
  letter-spacing: -.035em;
  font-weight: 800;
  margin: 0 0 22px;
  text-wrap: balance;
}
h1.display em {
  font-style: normal;
  color: var(--accent);
  text-shadow: 0 0 42px rgba(255,47,69,.45);
}
h1.display .outline {
  color: transparent;
  -webkit-text-stroke: 1px #3a3a48;
}

.hero-copy {
  max-width: 560px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.68;
  margin: 0 0 34px;
}

.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.hero-meta {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero-meta div { display: flex; flex-direction: column; gap: 4px; }
.hero-meta strong { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.hero-meta span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }

/* ----------------------------------------------------------------- ticker */

.ticker {
  display: flex;
  gap: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
  height: 40px;
  align-items: center;
}
.ticker-track {
  display: flex;
  gap: 44px;
  white-space: nowrap;
  animation: slide 38s linear infinite;
  padding-left: 44px;
}
.ticker b { color: var(--text); font-weight: 500; }
.ticker .up { color: var(--ok); }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* -------------------------------------------------------------------- grid */

.section { padding: 72px 0 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.section-head h2 {
  font-size: 13px;
  font-family: var(--mono);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin: 0;
}
.section-head .link { font-size: 13px; color: var(--muted); }
.section-head .link:hover { color: var(--accent); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 14px;
}

.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  min-height: 232px;
  background: linear-gradient(180deg, var(--panel), var(--bg-soft));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.game-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity .2s ease;
}
.game-card:hover { border-color: var(--line-hot); transform: translateY(-2px); }
.game-card:hover::after { opacity: .8; }

.game-card .gc-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dim);
}
.game-card h3 { font-size: 21px; margin: 0; letter-spacing: -.02em; font-weight: 700; }
.game-card p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); flex: 1; }

.gc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.gc-price { font-family: var(--mono); font-size: 13px; color: var(--text); }
.gc-price span { color: var(--dim); font-size: 11px; }
.gc-link { font-size: 12px; color: var(--accent); letter-spacing: .06em; text-transform: uppercase; }

/* ------------------------------------------------------------------ panels */

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.panel + .panel { margin-top: 14px; }
.panel h3 { margin: 0 0 6px; font-size: 15px; letter-spacing: -.01em; }
.panel p.sub { margin: 0 0 20px; color: var(--muted); font-size: 13px; }

.split {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 14px;
  align-items: start;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ tables */

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
table.data th {
  text-align: left;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 500;
  padding: 0 14px 12px 0;
  border-bottom: 1px solid var(--line);
}
table.data td {
  padding: 14px 14px 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  vertical-align: middle;
}
table.data tr:last-child td { border-bottom: 0; }
table.data td.mono, .mono { font-family: var(--mono); font-size: 12.5px; }
table.data td.dim, .dim { color: var(--muted); }
.t-right { text-align: right; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid var(--line-hot);
  color: var(--muted);
}
.pill.active   { color: #9bf0c4; border-color: rgba(53,208,127,.32); background: rgba(53,208,127,.07); }
.pill.expired  { color: var(--muted); }
.pill.revoked  { color: #ff9aa5; border-color: rgba(255,47,69,.3); background: rgba(255,47,69,.06); }
.pill.pending  { color: var(--warn); border-color: rgba(255,204,0,.3); background: rgba(255,204,0,.06); }
.pill.paid     { color: #9bd4ff; border-color: rgba(90,170,255,.3); background: rgba(90,170,255,.06); }
.pill.delivered{ color: #9bf0c4; border-color: rgba(53,208,127,.32); background: rgba(53,208,127,.07); }
.pill.paused   { color: var(--warn); border-color: rgba(255,204,0,.3); }

/* -------------------------------------------------------------- price cards */

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}
.price-card {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
}
.price-card:hover { border-color: var(--line-hot); }
.price-card.featured { border-color: rgba(255,47,69,.45); background: linear-gradient(180deg, rgba(255,47,69,.07), var(--bg-soft)); }
.price-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.price-card:focus-within { border-color: rgba(255,47,69,.55); }
.price-card .pc-name { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.price-card .pc-price { font-size: 30px; font-weight: 750; letter-spacing: -.03em; }
.price-card .pc-price small { font-size: 12px; color: var(--dim); font-weight: 500; letter-spacing: 0; }
.price-card .pc-note { font-size: 11.5px; color: var(--dim); }
.price-card:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px rgba(255,47,69,.4) inset; }
.badge-featured {
  position: absolute; top: -1px; right: 14px;
  background: var(--accent); color: #fff;
  font-family: var(--mono); font-size: 9px; letter-spacing: .16em;
  padding: 3px 8px; text-transform: uppercase;
}

/* ------------------------------------------------------------------- forms */

.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dim);
}
.field input, .field select, .field textarea {
  height: 42px;
  padding: 0 13px;
  background: #0a0a0e;
  border: 1px solid var(--line-hot);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { height: auto; min-height: 96px; padding: 11px 13px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: rgba(255,47,69,.6);
  box-shadow: 0 0 0 3px rgba(255,47,69,.1);
}
.field .hint { font-size: 11.5px; color: var(--dim); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }

.auth-shell { max-width: 420px; margin: 72px auto 0; }
.auth-shell h1 { font-size: 30px; letter-spacing: -.03em; margin: 0 0 8px; }
.auth-shell .lede { color: var(--muted); font-size: 13.5px; margin: 0 0 26px; }

.alt-action { margin-top: 20px; font-size: 13px; color: var(--muted); text-align: center; }
.alt-action a { color: var(--accent); }

/* ---------------------------------------------------------------- checkout */

.steps { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.step {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--dim); padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius);
}
.step.on { color: var(--text); border-color: var(--line-hot); }
.step b { color: var(--accent); }

.copy-box {
  display: flex; align-items: center; gap: 8px;
  background: #0a0a0e;
  border: 1px dashed var(--line-hot);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-family: var(--mono);
  font-size: 12px;
  word-break: break-all;
}
.copy-box button {
  margin-left: auto;
  flex: 0 0 auto;
  background: transparent;
  border: 1px solid var(--line-hot);
  color: var(--muted);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 8px;
  cursor: pointer;
}
.copy-box button:hover { color: var(--text); border-color: #3a3a4c; }

.kv { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.kv:last-child { border-bottom: 0; }
.kv span:first-child { color: var(--muted); }
.kv span:last-child { font-family: var(--mono); }

.total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; margin-top: 6px; border-top: 1px solid var(--line-hot); }
.total strong { font-size: 26px; letter-spacing: -.02em; }

/* ------------------------------------------------------------------- misc */

.note {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
  border-left: 2px solid var(--line-hot);
  padding-left: 14px;
}
.empty {
  padding: 44px 24px;
  text-align: center;
  border: 1px dashed var(--line-hot);
  border-radius: var(--radius);
  color: var(--dim);
  font-size: 13.5px;
}
.stack { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 14px; }
.mt-4 { margin-top: 28px; }
.mb-0 { margin-bottom: 0; }
.page-title { font-size: 34px; letter-spacing: -.03em; margin: 56px 0 6px; font-weight: 750; }
.page-sub { color: var(--muted); font-size: 14px; margin: 0 0 30px; }

kbd {
  font-family: var(--mono); font-size: 11px;
  border: 1px solid var(--line-hot); border-bottom-width: 2px;
  border-radius: 3px; padding: 1px 6px; color: var(--muted);
}

/* ------------------------------------------------------------------ footer */

.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 48px 28px 26px;
}
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap;
}
.footer-brand { display: flex; gap: 12px; max-width: 320px; }
.footer-brand strong { letter-spacing: .14em; font-size: 13px; }
.footer-brand p { color: var(--dim); font-size: 12.5px; margin: 6px 0 0; line-height: 1.6; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-cols > div { display: flex; flex-direction: column; gap: 9px; font-size: 12.5px; color: var(--dim); }
.footer-cols h4 {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 3px; font-weight: 500;
}
.footer-cols a:hover { color: var(--text); }
.footer-fine {
  max-width: 1180px; margin: 34px auto 0; padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em;
  color: var(--dim); text-transform: uppercase;
}

@media (max-width: 900px) {
  .nav { display: none; }
  .topbar { padding: 0 18px; }
  .main { padding: 0 18px 64px; }
  .hero { padding: 56px 0 40px; }
  .footer-cols { gap: 32px; }
}

@media (max-width: 620px) {
  .topbar-actions .btn-ghost { display: none; }
  .hero-meta { gap: 24px; }
  .page-title { margin-top: 36px; font-size: 26px; }
}


/* ================================================================ SEASONAL
   Applied by body.theme-<season>. Nothing below runs unless the season is on,
   so the base design stays untouched the rest of the year.
   ================================================================ */

body.theme-christmas {
  --xmas-green: #2ecc71;
  --xmas-gold:  #ffd166;
  --xmas-ice:   #cfe9ff;
}

/* ---- falling snow canvas ---- */
.snow-layer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: .85;
}

/* ---- festive light line under the topbar ---- */
body.theme-christmas .topbar::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(46, 204, 113, .7) 12%,
    rgba(255, 209, 102, .8) 36%,
    rgba(255, 45, 69, .8) 62%,
    rgba(46, 204, 113, .7) 86%,
    transparent);
  box-shadow: 0 0 12px rgba(255, 177, 32, .35), 0 0 22px rgba(255, 45, 69, .25);
  animation: lights 4.5s ease-in-out infinite;
}
@keyframes lights {
  0%, 100% { opacity: .5; }
  50%      { opacity: 1; }
}

/* ---- hero aurora: cold green above, warm red below ---- */
body.theme-christmas .hero::before {
  background:
    radial-gradient(ellipse 60% 46% at 28% 10%, rgba(46, 204, 113, .12), transparent 65%),
    radial-gradient(ellipse 62% 52% at 72% 6%, rgba(255, 45, 69, .16), transparent 66%);
  filter: blur(26px);
}

body.theme-christmas h1.display em {
  color: #ff3b50;
  text-shadow:
    0 0 30px rgba(255, 45, 69, .55),
    0 0 70px rgba(255, 177, 32, .22);
}

body.theme-christmas h1.display .outline {
  -webkit-text-stroke: 1px rgba(207, 233, 255, .22);
}

/* ---- the eyebrow becomes a gift tag ---- */
body.theme-christmas .eyebrow {
  border-color: rgba(255, 209, 102, .28);
  background: linear-gradient(90deg, rgba(255,45,69,.08), rgba(46,204,113,.07));
  color: #f2e6cf;
}

/* ---- frost on every panel edge ---- */
body.theme-christmas .panel,
body.theme-christmas .game-card,
body.theme-christmas .price-card {
  border-color: rgba(207, 233, 255, .10);
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, .022), transparent 42%),
    linear-gradient(180deg, var(--panel), var(--bg-soft));
}

body.theme-christmas .game-card::after {
  background: linear-gradient(90deg, transparent, var(--xmas-green), var(--xmas-gold), var(--accent), transparent);
  opacity: 0;
}
body.theme-christmas .game-card:hover { border-color: rgba(255, 209, 102, .28); }
body.theme-christmas .game-card:hover::after { opacity: .9; }

body.theme-christmas .price-card.featured {
  border-color: rgba(255, 45, 69, .5);
  background: linear-gradient(180deg, rgba(255, 45, 69, .09), rgba(46, 204, 113, .04), var(--bg-soft));
}

body.theme-christmas .badge-featured {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #150a04;
  font-weight: 700;
}

/* ---- buttons pick up a warm rim ---- */
body.theme-christmas .btn-solid {
  background: linear-gradient(180deg, #ff3d8b, #e0146b);
  border-color: rgba(255, 209, 102, .3);
  box-shadow: 0 0 0 1px rgba(255, 45, 120, .25), 0 10px 28px -14px rgba(255, 45, 120, 1);
}
body.theme-christmas .btn-solid:hover {
  background: linear-gradient(180deg, #ff559b, #ef1c7a);
}

/* ---- snow caps the section rules ---- */
body.theme-christmas .section-head h2 { color: var(--xmas-gold); }
body.theme-christmas .ticker { border-color: rgba(207, 233, 255, .08); }
body.theme-christmas .ticker .up { color: var(--xmas-green); }
body.theme-christmas .ticker b.holly { color: var(--accent); }

body.theme-christmas .footer { border-top-color: rgba(255, 209, 102, .18); }
body.theme-christmas .footer-fine { color: rgba(207, 233, 255, .45); }

/* ---- the seasonal line ---- */
.greeting {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--xmas-gold);
}
.greeting::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--xmas-gold));
}

@media (prefers-reduced-motion: reduce) {
  body.theme-christmas .topbar::after { animation-duration: 7s; }
}

/* ============================================================== CATALOG UI
   Centered hero, product cards with menu previews, bundle strip, feature row.
   ============================================================== */

.nav-mid {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  display: flex;
  align-items: center;
  gap: 26px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.nav-mid a { color: var(--muted); }
.nav-mid a:hover { color: #fff; }

.nav-end { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: rgba(255, 255, 255, .02);
}
.icon-btn:hover { color: #fff; border-color: var(--line-hot); }
.icon-btn svg { width: 15px; height: 15px; }
.icon-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 16px;
  text-align: center;
}

/* ---------------------------------------------------------------- hero */

.hero-c {
  position: relative;
  padding: 74px 0 30px;
  text-align: center;
  overflow: hidden;
}
.hero-c::before {
  content: "";
  position: absolute;
  top: -260px;
  left: 50%;
  translate: -50% 0;
  width: 1100px;
  height: 560px;
  background:
    radial-gradient(ellipse 40% 60% at 30% 40%, rgba(160, 60, 255, .16), transparent 70%),
    radial-gradient(ellipse 46% 62% at 72% 30%, rgba(255, 45, 120, .18), transparent 70%);
  filter: blur(26px);
  pointer-events: none;
}

.hero-c .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 45, 120, .3);
  border-radius: 999px;
  background: rgba(255, 45, 120, .06);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #ffb3cd;
  margin-bottom: 30px;
}
.hero-c .badge .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
  animation: pulse 2.4s ease-in-out infinite;
}

.hero-title {
  margin: 0 auto 20px;
  max-width: 760px;
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 800;
  text-wrap: balance;
}
.hero-title .thin { color: #c9c9d6; }
.hero-title .grad {
  background: linear-gradient(92deg, #ff3d8b, #b25bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 560px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.72;
}

.hero-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero-cta .btn-discord { background: #16161d; border-color: #26262f; }
.hero-cta .btn-discord:hover { background: #1c1c25; border-color: #33333f; }
.hero-cta svg { width: 14px; height: 14px; }

.trust-row {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin-top: 26px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
}
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row i {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 1px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(255, 45, 120, .6);
}
.trust-row .g { background: var(--ok); box-shadow: 0 0 8px rgba(53, 208, 127, .5); }

/* ------------------------------------------------------------ catalog */

.catalog-head { text-align: center; margin: 54px 0 26px; }
.catalog-head .kicker {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.catalog-head h2 {
  margin: 0;
  font-size: clamp(20px, 2.6vw, 26px);
  letter-spacing: -.02em;
  font-weight: 750;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 16px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.cat-card:hover { border-color: rgba(255, 45, 120, .28); transform: translateY(-2px); }

/* faux loader menu as the card artwork */
.cat-preview {
  position: relative;
  height: 132px;
  padding: 12px 14px;
  background:
    radial-gradient(ellipse 90% 90% at 20% 0%, rgba(140, 60, 255, .16), transparent 70%),
    radial-gradient(ellipse 80% 90% at 90% 10%, rgba(255, 45, 120, .14), transparent 70%),
    #08080b;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .06em;
  color: #6f6f80;
}
.cat-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 100% 4px;
  opacity: .5;
  pointer-events: none;
}
.pv-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 9px;
  color: #4a4a58;
}
.pv-bar b { width: 4px; height: 4px; border-radius: 50%; background: #2a2a35; display: inline-block; }
.pv-bar span { margin-left: auto; letter-spacing: .16em; font-size: 7.5px; text-transform: uppercase; }
.pv-row { display: flex; justify-content: space-between; gap: 10px; padding: 1.5px 0; }
.pv-row i {
  font-style: normal;
  color: #8a8a9c;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 82%;
}
.pv-row .on { color: var(--accent); }
.pv-row .ok { color: var(--ok); }
.pv-tabs { display: flex; gap: 6px; margin-top: 8px; }
.pv-tabs u {
  text-decoration: none;
  padding: 2px 6px;
  border: 1px solid var(--line-hot);
  border-radius: 2px;
  color: #8a8a9c;
  font-size: 7.5px;
  letter-spacing: .1em;
}
.pv-tabs u.sel { color: #fff; border-color: rgba(255,45,120,.5); background: rgba(255,45,120,.12); }

.cat-body { display: flex; flex-direction: column; gap: 10px; padding: 16px; flex: 1; }
.cat-title-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cat-title-row h3 { margin: 0; font-size: 14.5px; letter-spacing: -.01em; font-weight: 700; }
.cat-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border: 1px solid rgba(53, 208, 127, .28);
  border-radius: 999px;
  background: rgba(53, 208, 127, .07);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7ff0b0;
  white-space: nowrap;
}
.cat-status b { width: 4px; height: 4px; border-radius: 50%; background: var(--ok); }

.cat-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.cat-list li {
  display: flex;
  gap: 8px;
  font-size: 11.5px;
  line-height: 1.45;
  color: #a2a2b2;
}
.cat-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  margin-top: 3px;
  border: 1px solid rgba(255, 45, 120, .45);
  border-radius: 2px;
  background:
    linear-gradient(135deg, transparent 45%, var(--accent) 45% 55%, transparent 55%) center/70% 70% no-repeat,
    rgba(255, 45, 120, .12);
}

.cat-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.cat-foot .label {
  display: block;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 3px;
}
.cat-foot .price { font-size: 17px; font-weight: 750; letter-spacing: -.02em; }
.cat-foot .btn { height: 32px; font-size: 11.5px; padding: 0 14px; }

/* ------------------------------------------------------------- bundle */

.bundle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 16px;
  padding: 20px 24px;
  border: 1px solid rgba(255, 45, 120, .35);
  border-radius: 8px;
  background:
    radial-gradient(ellipse 60% 140% at 8% 0%, rgba(255, 45, 120, .12), transparent 70%),
    linear-gradient(90deg, rgba(255,255,255,.02), transparent 60%),
    var(--panel);
  flex-wrap: wrap;
}
.bundle .kicker {
  display: block;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 7px;
}
.bundle h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -.02em; }
.bundle p { margin: 0; font-size: 12.5px; color: var(--muted); max-width: 520px; line-height: 1.6; }
.bundle .deal { display: flex; align-items: center; gap: 14px; }
.bundle .deal .now { font-size: 26px; font-weight: 750; letter-spacing: -.03em; }
.bundle .deal .was { font-size: 13px; color: var(--dim); text-decoration: line-through; }
.bundle .deal .save {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ok);
  border: 1px solid rgba(53,208,127,.3);
  background: rgba(53,208,127,.07);
  border-radius: 3px;
  padding: 3px 6px;
}

/* ------------------------------------------------------- feature cards */

.feature-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
  margin-top: 34px;
}
.feature {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.feature .fico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: rgba(255, 45, 120, .1);
  border: 1px solid rgba(255, 45, 120, .25);
  color: var(--accent);
  margin-bottom: 14px;
}
.feature .fico svg { width: 14px; height: 14px; }
.feature h4 { margin: 0 0 8px; font-size: 14.5px; letter-spacing: -.01em; }
.feature p { margin: 0; font-size: 12px; line-height: 1.65; color: var(--muted); }

@media (max-width: 900px) {
  .nav-mid { display: none; }
  .bundle { flex-direction: column; align-items: flex-start; }
}

/* ---- uploaded product artwork ---- */
.cat-art {
  display: block;
  width: 100%;
  height: 132px;
  object-fit: cover;
  object-position: center 32%;
  border-bottom: 1px solid var(--line);
  background: #08080b;
}
.product-art {
  display: block;
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  object-position: center 30%;
  border: 1px solid var(--line);
  border-radius: 8px;
}

/* ---- product artwork everywhere ---- */
.cat-art {
  height: 168px;
  object-position: center 38%;
}
.product-art {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  background: #08080b;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
}
.thumb {
  width: 46px;
  height: 30px;
  flex: 0 0 auto;
  object-fit: cover;
  object-position: center 35%;
  border: 1px solid var(--line-hot);
  border-radius: 3px;
  background: #08080b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.thumb-empty {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  background: var(--panel-2);
}
.thumb-lg { width: 68px; height: 44px; }
.cell-product { display: flex; align-items: center; gap: 10px; }
.order-art { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.order-art .thumb { width: 64px; height: 42px; }
