:root {
  --bg: #10151c;
  --panel: #171d27;
  --card: #1c2430;
  --line: #2a3342;
  --text: #e6edf6;
  --muted: #8b95a6;
  --accent: #3dce74;
  --accent-dim: #1b3a28;
  --chip: #243044;
  --radius: 12px;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: Inter, system-ui, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; appearance: none; -webkit-appearance: none; }
h1 { font-size: 26px; margin: 0 0 12px; letter-spacing: -0.03em; }
h2 { font-size: 16px; margin: 28px 0 12px; }

.shell { min-height: 100vh; display: flex; flex-direction: column; }
.top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  position: sticky;
  top: 0;
  z-index: 20;
}
.burger {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 10px;
  cursor: pointer;
}
.brand { font-weight: 700; font-size: 15px; letter-spacing: -0.02em; white-space: nowrap; }
.brand span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin-right: auto; }
.nav-a, .nav-more summary {
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 13px;
}
.nav-a:hover, .nav-more summary:hover { color: var(--text); background: var(--card); }
.nav-a.on { color: var(--accent); }
.nav-more { position: relative; }
.nav-more summary { list-style: none; cursor: pointer; }
.nav-more summary::-webkit-details-marker { display: none; }
.nav-drop {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px;
  display: grid;
  z-index: 30;
}
.top-side { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 10px;
  cursor: pointer;
}
.search-bar {
  padding: 10px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.search-bar input {
  width: 100%;
  max-width: 520px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px;
  padding: 9px 12px;
}

.content { padding: 22px 24px 40px; max-width: 1180px; width: 100%; margin: 0 auto; flex: 1; }
.lead { color: var(--muted); margin: 0 0 16px; max-width: 52em; }
.banner { margin: 0 0 18px; border-radius: 14px; overflow: hidden; background: var(--card); }
.banner img { display: block; width: 100%; max-height: 280px; object-fit: cover; }
.stats { display: flex; flex-wrap: wrap; gap: 10px 16px; margin: 0 0 16px; color: var(--muted); font-size: 13px; }
.chips, .tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.tools { justify-content: space-between; }
.sort { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn, .chip {
  background: var(--chip);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 13px;
}
.chip-btn b { color: var(--muted); font-weight: 600; margin-left: 4px; }
.chip-btn.on { background: var(--accent); color: #06210f; }
.chip-btn.on b { color: inherit; opacity: 0.8; }
.chip { cursor: default; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.card-img {
  position: relative;
  display: block;
  background: #111;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.card-img img, .card-img .ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ph { display: flex; align-items: center; justify-content: center; font-size: 42px; color: var(--muted); }
.card-body { padding: 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-name { color: var(--text); font-weight: 600; font-size: 14px; }
.card-meta { color: var(--muted); font-size: 12px; }
.card-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.card-row b { color: var(--accent); }
.fav {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(16, 21, 28, 0.72);
  cursor: pointer;
  font-size: 16px;
}
.hero .fav { position: static; background: var(--chip); }
.fav.on { color: #f07178; }

.hero { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 22px; align-items: start; margin-bottom: 8px; }
.hero img { width: 100%; max-height: 320px; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: #111; }
.hero-top { display: flex; align-items: flex-start; gap: 10px; }
.price-lg { font-size: 22px; font-weight: 700; color: var(--accent); margin: 6px 0 8px; }
.offer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 8px 0;
}
.offer-side { display: flex; align-items: center; gap: 10px; }
.crumb { margin: 0 0 16px; }
.block { margin: 24px 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #06210f;
  font-weight: 650;
  font-size: 13px;
  border: 0;
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  white-space: nowrap;
}
.btn.ghost { background: var(--chip); color: var(--text); }
.btn.buy { padding: 6px 10px; font-size: 12px; }
.empty, .note { text-align: center; padding: 36px 16px; color: var(--muted); }
.oos { color: var(--muted); font-size: 12px; }
.muted { color: var(--muted); }
.mini { font-size: 12px; margin-top: 6px; }
.pay { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.rev { border-top: 1px solid var(--line); padding: 12px 0; }
.rev .who { font-size: 12px; color: var(--muted); margin: 4px 0 6px; }
.stars { color: #f5c14a; letter-spacing: 1px; font-size: 12px; }
.backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 25; }
.mobile-nav { display: none; }
.foot {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 22px 24px 28px;
  color: var(--muted);
  font-size: 13px;
  background: var(--panel);
}
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 10px; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--text); }

@media (max-width: 840px) {
  .burger { display: inline-flex; align-items: center; justify-content: center; }
  .nav { display: none; }
  .content { padding: 16px 14px 36px; }
  .hero { grid-template-columns: 1fr; }
  .mobile-nav {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(82vw, 300px);
    background: var(--panel);
    z-index: 30;
    padding: 18px 12px;
    overflow: auto;
  }
  .mobile-nav .nav { display: grid; gap: 4px; }
  .shell.menu-on .backdrop { display: block; }
  .offer, .card-row { flex-wrap: wrap; }
}

body.gate-lock { overflow: hidden; }

.gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.gate.is-out {
  animation: gate-leave 0.5s ease forwards;
  pointer-events: none;
}
.gate-fx, .gate-mist, .gate-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.gate-inner {
  position: relative;
  z-index: 2;
  width: min(920px, calc(100% - 32px));
  text-align: center;
  padding: 28px 16px 36px;
}
.gate-kicker {
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-size: 11px;
  margin-bottom: 14px;
  opacity: 0;
  animation: gate-rise 0.8s ease 0.15s forwards;
}
.gate-sign {
  margin: 0;
  line-height: 0.9;
}
.gate-sign span {
  display: inline-block;
  opacity: 0;
  animation: gate-letter 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(0.22s + var(--i, 0) * 0.045s);
}
.gate-sign .sp { width: 0.28em; }
.gate-tag {
  max-width: 36em;
  margin: 16px auto 0;
  opacity: 0;
  animation: gate-rise 0.8s ease 0.55s forwards;
  font-size: 15px;
  line-height: 1.45;
}
.gate-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 16px;
}
.gate-btn, .gate-enter, .gate-city {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  text-decoration: none;
  border: 0;
  font: inherit;
}
.gate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  padding: 12px 18px;
  opacity: 0;
  animation: gate-rise 0.7s ease forwards;
  animation-delay: var(--d, 0.6s);
}
.gate-cities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 22px;
}
.gate-city {
  opacity: 0;
  animation: gate-rise 0.6s ease 0.95s forwards;
}
.gate-enter {
  display: inline-flex;
  margin: 0 auto;
  padding: 14px 34px;
  opacity: 0;
  animation: gate-rise 0.8s ease 1.05s forwards;
}

.gate-neon {
  background:
    radial-gradient(1200px 500px at 50% 110%, rgba(255, 60, 120, 0.28), transparent 60%),
    radial-gradient(900px 420px at 15% 0%, rgba(0, 220, 255, 0.14), transparent 55%),
    linear-gradient(180deg, #14040c 0%, #070309 46%, #12030a 100%);
}
.gate-neon .gate-fx {
  background-image:
    linear-gradient(90deg, transparent 0 12%, rgba(255, 70, 140, 0.18) 12.2%, transparent 12.6%),
    linear-gradient(90deg, transparent 0 78%, rgba(0, 240, 255, 0.12) 78.3%, transparent 78.8%);
  animation: neon-streak 7s linear infinite;
}
.gate-neon .gate-scan {
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.035) 0 1px,
    transparent 1px 3px
  );
  mix-blend-mode: overlay;
  opacity: 0.35;
}
.gate-neon .gate-mist {
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 40, 110, 0.22), transparent 32%),
    radial-gradient(circle at 80% 30%, rgba(80, 240, 255, 0.12), transparent 28%);
  filter: blur(30px);
  animation: neon-pulse 4.5s ease-in-out infinite;
}
.gate-neon .gate-kicker {
  color: #ff9ac4;
  font-family: Orbitron, Inter, sans-serif;
  font-weight: 700;
}
.gate-neon .gate-sign {
  font-family: "Bebas Neue", Orbitron, sans-serif;
  font-size: clamp(52px, 12vw, 118px);
  font-weight: 400;
  color: #fff5fb;
  text-shadow:
    0 0 8px #ff2d7a,
    0 0 22px #ff2d7a,
    0 0 48px #ff0055,
    0 0 90px rgba(0, 230, 255, 0.45);
  animation: neon-flicker 4.8s infinite;
}
.gate-neon .gate-sign::after {
  content: "";
  display: block;
  width: min(280px, 70%);
  height: 3px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #ff2d7a, #ffb347, #00e6ff, transparent);
  box-shadow: 0 0 18px #ff2d7a;
}
.gate-neon .gate-tag { color: #f7c6d8; }
.gate-neon .gate-btn {
  color: #fff;
  border: 1px solid rgba(255, 90, 160, 0.7);
  background: rgba(255, 30, 100, 0.12);
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(255, 40, 120, 0.28), inset 0 0 12px rgba(255, 40, 120, 0.12);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
}
.gate-neon .gate-btn:hover {
  background: #ff2d7a;
  color: #1a0010;
  box-shadow: 0 0 28px rgba(255, 45, 122, 0.7);
}
.gate-neon .gate-city {
  color: #9ef6ff;
  background: transparent;
  border: 1px solid rgba(0, 230, 255, 0.45);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
}
.gate-neon .gate-city:hover { background: rgba(0, 230, 255, 0.16); }
.gate-neon .gate-enter {
  font-family: Orbitron, Inter, sans-serif;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1a0010;
  background: linear-gradient(90deg, #ff2d7a, #ffb347);
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(255, 80, 140, 0.55);
}
.gate-neon .gate-enter:hover { filter: brightness(1.08); }

.gate-twilight {
  background:
    radial-gradient(900px 520px at 50% 0%, rgba(120, 70, 210, 0.28), transparent 58%),
    radial-gradient(700px 400px at 50% 100%, rgba(40, 18, 70, 0.55), transparent 50%),
    linear-gradient(180deg, #07060f 0%, #0c0918 48%, #05040b 100%);
}
.gate-twilight .gate-fx {
  background-image: radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,0.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 62%, rgba(255,255,255,0.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 47% 24%, rgba(255,255,255,0.45) 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 78%, rgba(255,255,255,0.5) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 81% 36%, rgba(255,255,255,0.65) 50%, transparent 51%),
    radial-gradient(1px 1px at 91% 12%, rgba(255,255,255,0.4) 50%, transparent 51%),
    radial-gradient(1px 1px at 8% 88%, rgba(255,255,255,0.35) 50%, transparent 51%);
  animation: twilight-drift 18s linear infinite;
  opacity: 0.85;
}
.gate-twilight .gate-mist {
  background:
    radial-gradient(ellipse at 50% 70%, rgba(150, 110, 255, 0.18), transparent 46%),
    radial-gradient(ellipse at 30% 40%, rgba(70, 40, 120, 0.35), transparent 42%),
    radial-gradient(ellipse at 70% 45%, rgba(40, 20, 80, 0.4), transparent 40%);
  filter: blur(40px);
  animation: twilight-fog 9s ease-in-out infinite;
}
.gate-twilight .gate-scan {
  background:
    radial-gradient(circle at 78% 14%, rgba(255, 232, 180, 0.16), transparent 12%),
    linear-gradient(180deg, rgba(8,6,16,0.35), transparent 30%, transparent 70%, rgba(8,6,16,0.55));
}
.gate-twilight .gate-kicker {
  color: #c9b8ff;
  font-family: Cinzel, Inter, serif;
  letter-spacing: 0.5em;
}
.gate-twilight .gate-sign {
  font-family: Cinzel, "Times New Roman", serif;
  font-size: clamp(36px, 8vw, 84px);
  font-weight: 700;
  color: #f4edff;
  text-shadow: 0 0 18px rgba(170, 130, 255, 0.55), 0 0 60px rgba(90, 40, 180, 0.45);
}
.gate-twilight .gate-tag { color: #b9aee0; font-family: Cinzel, serif; }
.gate-twilight .gate-btn {
  color: #efe8ff;
  border: 1px solid rgba(190, 170, 255, 0.35);
  background: rgba(20, 14, 40, 0.55);
  border-radius: 4px;
  min-width: 150px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  font-family: Cinzel, serif;
}
.gate-twilight .gate-btn:hover {
  border-color: #d8c8ff;
  box-shadow: 0 0 24px rgba(140, 90, 255, 0.35);
  background: rgba(50, 30, 90, 0.7);
}
.gate-twilight .gate-city {
  color: #d5c9ff;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(190, 170, 255, 0.35);
  border-radius: 0;
  padding: 4px 8px;
  font-size: 12px;
  font-family: Cinzel, serif;
}
.gate-twilight .gate-enter {
  color: #f7f2ff;
  background: transparent;
  border: 1px solid rgba(230, 210, 255, 0.7);
  border-radius: 999px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
  font-family: Cinzel, serif;
  box-shadow: 0 0 20px rgba(120, 70, 220, 0.28);
}
.gate-twilight .gate-enter:hover {
  background: rgba(140, 90, 255, 0.16);
}

@keyframes gate-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes gate-letter {
  from { opacity: 0; transform: translateY(24px) scale(0.86); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes gate-leave {
  to { opacity: 0; transform: scale(1.04); filter: blur(10px); }
}
@keyframes neon-flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: 0.72; }
}
@keyframes neon-streak {
  from { transform: translateX(-8%); }
  to { transform: translateX(8%); }
}
@keyframes neon-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes twilight-fog {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.85; }
  50% { transform: translateY(-4%) scale(1.08); opacity: 1; }
}
@keyframes twilight-drift {
  from { transform: translateY(0); }
  to { transform: translateY(-18px); }
}

@media (max-width: 640px) {
  .gate-btn { min-width: calc(50% - 10px); }
  .gate-neon .gate-sign { font-size: clamp(40px, 16vw, 72px); }
  .gate-twilight .gate-sign { font-size: clamp(28px, 11vw, 48px); }
}

.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.stage-fx, .stage-mist, .stage-scan {
  position: absolute;
  inset: 0;
}
.shell { position: relative; z-index: 1; }
.page-head { text-align: center; margin: 4px 0 26px; }
.page-kicker {
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-size: 11px;
  margin-bottom: 10px;
  color: var(--muted);
}
.page-title { margin: 0 0 10px; }
.shell.fresh .page-head,
.shell.fresh .stats,
.shell.fresh .chips,
.shell.fresh .tools,
.shell.fresh .hero,
.shell.fresh .offer,
.shell.fresh .rev {
  animation: gate-rise 0.7s ease both;
}
.shell.fresh .stats { animation-delay: 0.08s; }
.shell.fresh .chips { animation-delay: 0.14s; }
.shell.fresh .tools { animation-delay: 0.2s; }
.card.in {
  animation: card-in 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--i, 0) * 0.045s);
}

html.theme-neon, body.theme-neon {
  --bg: #070309;
  --panel: rgba(16, 4, 10, 0.78);
  --card: rgba(28, 8, 16, 0.7);
  --line: rgba(255, 80, 140, 0.28);
  --text: #fff5fb;
  --muted: #e3a8be;
  --accent: #ff2d7a;
  --accent-dim: rgba(255, 45, 122, 0.16);
  --chip: rgba(255, 40, 120, 0.12);
  background: #070309;
  color: #fff5fb;
}
body.theme-neon .stage-neon {
  background:
    radial-gradient(1200px 500px at 50% 110%, rgba(255, 60, 120, 0.22), transparent 60%),
    radial-gradient(900px 420px at 12% 0%, rgba(0, 220, 255, 0.12), transparent 55%),
    linear-gradient(180deg, #14040c 0%, #070309 46%, #12030a 100%);
}
body.theme-neon .stage-fx {
  background-image:
    linear-gradient(90deg, transparent 0 18%, rgba(255, 70, 140, 0.16) 18.2%, transparent 18.7%),
    linear-gradient(90deg, transparent 0 72%, rgba(0, 240, 255, 0.1) 72.3%, transparent 72.8%);
  animation: neon-streak 9s linear infinite;
}
body.theme-neon .stage-mist {
  background:
    radial-gradient(circle at 18% 82%, rgba(255, 40, 110, 0.2), transparent 34%),
    radial-gradient(circle at 82% 22%, rgba(80, 240, 255, 0.1), transparent 30%);
  filter: blur(34px);
  animation: neon-pulse 5.5s ease-in-out infinite;
}
body.theme-neon .stage-scan {
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.03) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
  opacity: 0.28;
}
body.theme-neon .top {
  background: rgba(10, 2, 8, 0.72);
  border-bottom: 1px solid rgba(255, 80, 140, 0.35);
  backdrop-filter: blur(16px);
  box-shadow: 0 0 40px rgba(255, 45, 122, 0.16);
}
body.theme-neon .brand {
  font-family: "Bebas Neue", Orbitron, sans-serif;
  font-size: 26px;
  letter-spacing: 0.08em;
  font-weight: 400;
  text-shadow: 0 0 10px #ff2d7a, 0 0 24px #ff2d7a;
}
body.theme-neon .brand span { color: #7af6ff; text-shadow: 0 0 12px #00e6ff; }
body.theme-neon .nav-a, body.theme-neon .nav-more summary {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  font-weight: 700;
}
body.theme-neon .nav-a.on {
  color: #fff;
  background: rgba(255, 45, 122, 0.22);
  box-shadow: 0 0 16px rgba(255, 45, 122, 0.4);
}
body.theme-neon .nav-a:hover, body.theme-neon .nav-more summary:hover {
  color: #fff;
  background: rgba(255, 45, 122, 0.16);
}
body.theme-neon .page-kicker {
  color: #ff9ac4;
  font-family: Orbitron, Inter, sans-serif;
  font-weight: 700;
}
body.theme-neon .page-title,
body.theme-neon .hero h1 {
  font-family: "Bebas Neue", Orbitron, sans-serif;
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #fff5fb;
  text-shadow: 0 0 10px #ff2d7a, 0 0 28px #ff2d7a, 0 0 54px rgba(0, 230, 255, 0.28);
}
body.theme-neon .page-title::after {
  content: "";
  display: block;
  width: min(220px, 50%);
  height: 3px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #ff2d7a, #ffb347, #00e6ff, transparent);
  box-shadow: 0 0 14px #ff2d7a;
}
body.theme-neon .lead { color: #f3c4d5; }
body.theme-neon .chip-btn, body.theme-neon .chip {
  background: rgba(255, 30, 100, 0.1);
  border-color: rgba(255, 90, 160, 0.45);
  color: #fff;
}
body.theme-neon .chip-btn.on {
  background: #ff2d7a;
  color: #1a0010;
  box-shadow: 0 0 18px rgba(255, 45, 122, 0.5);
}
body.theme-neon .chip-btn.on b { color: #4a1020; }
body.theme-neon .card {
  background: rgba(22, 6, 12, 0.72);
  border-color: rgba(255, 80, 140, 0.3);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
body.theme-neon .card:hover {
  transform: translateY(-7px);
  border-color: #ff2d7a;
  box-shadow: 0 14px 36px rgba(255, 45, 122, 0.28), 0 0 22px rgba(0, 230, 255, 0.12);
}
body.theme-neon .card-img img, body.theme-neon .hero img {
  transition: transform 0.55s ease;
}
body.theme-neon .card:hover .card-img img { transform: scale(1.07); }
body.theme-neon .card-row b, body.theme-neon .price-lg {
  color: #ffb347;
  text-shadow: 0 0 12px rgba(255, 179, 71, 0.45);
}
body.theme-neon .btn {
  background: linear-gradient(90deg, #ff2d7a, #ffb347);
  color: #1a0010;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 0 16px rgba(255, 45, 122, 0.4);
}
body.theme-neon .btn.ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 90, 160, 0.7);
  box-shadow: none;
}
body.theme-neon .btn.ghost:hover {
  background: #ff2d7a;
  color: #1a0010;
}
body.theme-neon .icon-btn, body.theme-neon .burger {
  border-color: rgba(255, 90, 160, 0.45);
  background: rgba(255, 30, 100, 0.12);
}
body.theme-neon .search-bar {
  background: rgba(10, 2, 8, 0.72);
  border-bottom-color: rgba(255, 80, 140, 0.28);
}
body.theme-neon .search-bar input {
  background: rgba(28, 8, 16, 0.8);
  border-color: rgba(255, 90, 160, 0.4);
}
body.theme-neon .offer, body.theme-neon .rev, body.theme-neon .nav-drop, body.theme-neon .mobile-nav {
  background: rgba(16, 4, 10, 0.88);
  border-color: rgba(255, 80, 140, 0.28);
}
body.theme-neon .foot {
  background: transparent;
  border-top-color: rgba(255, 80, 140, 0.28);
}
body.theme-neon .fav { background: rgba(16, 4, 10, 0.7); }
body.theme-neon .fav.on { color: #ff2d7a; text-shadow: 0 0 10px #ff2d7a; }
body.theme-neon a { color: #ff8ab8; }
body.theme-neon .empty { color: #e3a8be; }

html.theme-twilight, body.theme-twilight {
  --bg: #07060f;
  --panel: rgba(12, 9, 24, 0.78);
  --card: rgba(18, 12, 36, 0.7);
  --line: rgba(190, 170, 255, 0.22);
  --text: #f4edff;
  --muted: #b9aee0;
  --accent: #c9b8ff;
  --accent-dim: rgba(140, 90, 255, 0.16);
  --chip: rgba(90, 50, 170, 0.2);
  background: #07060f;
  color: #f4edff;
}
body.theme-twilight .stage-twilight {
  background:
    radial-gradient(900px 520px at 50% 0%, rgba(120, 70, 210, 0.24), transparent 58%),
    radial-gradient(700px 400px at 50% 100%, rgba(40, 18, 70, 0.5), transparent 50%),
    linear-gradient(180deg, #07060f 0%, #0c0918 48%, #05040b 100%);
}
body.theme-twilight .stage-fx {
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,0.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 62%, rgba(255,255,255,0.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 47% 24%, rgba(255,255,255,0.45) 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 78%, rgba(255,255,255,0.5) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 81% 36%, rgba(255,255,255,0.65) 50%, transparent 51%),
    radial-gradient(1px 1px at 91% 12%, rgba(255,255,255,0.4) 50%, transparent 51%),
    radial-gradient(1px 1px at 8% 88%, rgba(255,255,255,0.35) 50%, transparent 51%);
  animation: twilight-drift 22s linear infinite;
}
body.theme-twilight .stage-mist {
  background:
    radial-gradient(ellipse at 50% 70%, rgba(150, 110, 255, 0.16), transparent 46%),
    radial-gradient(ellipse at 30% 40%, rgba(70, 40, 120, 0.32), transparent 42%),
    radial-gradient(ellipse at 70% 45%, rgba(40, 20, 80, 0.36), transparent 40%);
  filter: blur(42px);
  animation: twilight-fog 11s ease-in-out infinite;
}
body.theme-twilight .stage-scan {
  background:
    radial-gradient(circle at 78% 10%, rgba(255, 232, 180, 0.14), transparent 12%),
    linear-gradient(180deg, rgba(8,6,16,0.28), transparent 28%, transparent 72%, rgba(8,6,16,0.4));
}
body.theme-twilight .top {
  background: rgba(8, 6, 18, 0.72);
  border-bottom: 1px solid rgba(190, 170, 255, 0.22);
  backdrop-filter: blur(16px);
}
body.theme-twilight .brand {
  font-family: Cinzel, "Times New Roman", serif;
  font-size: 18px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(170, 130, 255, 0.5);
}
body.theme-twilight .brand span { color: #d8c8ff; }
body.theme-twilight .nav-a, body.theme-twilight .nav-more summary {
  font-family: Cinzel, serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
}
body.theme-twilight .nav-a.on {
  color: #f4edff;
  background: rgba(80, 40, 160, 0.35);
  box-shadow: 0 0 18px rgba(140, 90, 255, 0.28);
}
body.theme-twilight .page-kicker {
  color: #c9b8ff;
  font-family: Cinzel, serif;
  letter-spacing: 0.5em;
}
body.theme-twilight .page-title,
body.theme-twilight .hero h1 {
  font-family: Cinzel, "Times New Roman", serif;
  font-size: clamp(28px, 5.5vw, 52px);
  font-weight: 700;
  color: #f4edff;
  text-shadow: 0 0 18px rgba(170, 130, 255, 0.5);
}
body.theme-twilight .lead { color: #b9aee0; font-family: Cinzel, serif; }
body.theme-twilight .chip-btn, body.theme-twilight .chip {
  background: rgba(20, 14, 40, 0.55);
  border-color: rgba(190, 170, 255, 0.32);
  border-radius: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  font-family: Cinzel, serif;
}
body.theme-twilight .chip-btn.on {
  background: rgba(90, 50, 170, 0.55);
  color: #f7f2ff;
  box-shadow: 0 0 18px rgba(140, 90, 255, 0.3);
}
body.theme-twilight .card {
  background: rgba(16, 10, 32, 0.7);
  border-radius: 6px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
body.theme-twilight .card:hover {
  transform: translateY(-6px);
  border-color: #d8c8ff;
  box-shadow: 0 16px 40px rgba(70, 30, 140, 0.4);
}
body.theme-twilight .card-img img, body.theme-twilight .hero img {
  transition: transform 0.7s ease, filter 0.7s ease;
  filter: saturate(0.92);
}
body.theme-twilight .card:hover .card-img img {
  transform: scale(1.05);
  filter: saturate(1.05);
}
body.theme-twilight .card-row b, body.theme-twilight .price-lg {
  color: #e8dcff;
  text-shadow: 0 0 12px rgba(170, 130, 255, 0.4);
}
body.theme-twilight .btn {
  background: transparent;
  color: #f7f2ff;
  border: 1px solid rgba(230, 210, 255, 0.65);
  border-radius: 999px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  font-family: Cinzel, serif;
  box-shadow: 0 0 16px rgba(120, 70, 220, 0.22);
}
body.theme-twilight .btn:hover { background: rgba(140, 90, 255, 0.16); }
body.theme-twilight .btn.ghost { box-shadow: none; }
body.theme-twilight .icon-btn, body.theme-twilight .burger {
  border-color: rgba(190, 170, 255, 0.35);
  background: rgba(20, 14, 40, 0.55);
  border-radius: 4px;
}
body.theme-twilight .search-bar, body.theme-twilight .offer, body.theme-twilight .rev, body.theme-twilight .nav-drop, body.theme-twilight .mobile-nav {
  background: rgba(10, 8, 20, 0.86);
  border-color: rgba(190, 170, 255, 0.22);
}
body.theme-twilight .search-bar input {
  background: rgba(18, 12, 36, 0.8);
  border-color: rgba(190, 170, 255, 0.3);
  border-radius: 4px;
}
body.theme-twilight .foot { background: transparent; }
body.theme-twilight a { color: #d5c9ff; }
body.theme-twilight .fav.on { color: #d8c8ff; }

@keyframes card-in {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .gate, .gate.is-out, .gate-sign, .gate-sign span, .gate-kicker, .gate-tag, .gate-btn, .gate-city, .gate-enter, .gate-fx, .gate-mist,
  .stage-fx, .stage-mist, .card.in, .shell.fresh .page-head, .shell.fresh .stats, .shell.fresh .chips, .shell.fresh .tools, .shell.fresh .hero, .shell.fresh .offer, .shell.fresh .rev,
  .card, .card-img img, .hero img {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}
