:root {
  --bg-app: hsl(0 0% 3%);
  --bg-app-mid: hsl(348 32% 6%);
  --bg-raised: hsl(348 28% 10% / 0.72);
  --text-primary: hsl(0 0% 96%);
  --text-muted: hsl(348 14% 60%);
  --accent: hsl(348 100% 56%);
  --accent-hover: hsl(348 100% 64%);
  --sale: hsl(28 100% 56%);
  --acid: hsl(128 92% 52%);
  --acid-hover: hsl(128 92% 60%);
  --neon: hsl(296 100% 62%);
  --cyan: hsl(186 100% 56%);
  --glass-bg: hsl(348 28% 9% / 0.62);
  --glass-soft: hsl(348 26% 11% / 0.46);
  --glass-border: hsl(348 60% 60% / 0.22);
  --glass-inset: inset 0 1px 0 0 hsl(0 0% 100% / 0.10);
  /* Lighter blur = far less GPU cost on Windows Chrome (backdrop-filter is per-pixel). */
  --glass-blur: blur(14px) saturate(1.4);
  --panel-shadow: 0 26px 60px hsl(0 0% 0% / 0.72), 0 0 0 1px hsl(348 60% 50% / 0.06);
  --card-red: hsl(348 100% 56%);
  --card-red-dark: hsl(348 80% 34%);
  --card-blue: hsl(186 100% 56%);
  --price-green: hsl(128 92% 52%);
  --page-gutter: clamp(20px, 3.2vw, 52px);
  --header-gutter: clamp(32px, 6vw, 120px);
  --nav-outer-inset: clamp(18px, 3.2vw, 56px);
  --catalog-stack-gap: 16px;
  /* Breathing room between hero (under nav) and catalog grid — scales with viewport. */
  --hero-catalog-gap: clamp(40px, 6vw, 80px);
  --hero-top-gap: clamp(28px, 4vw, 56px);
  --font-body: "Rajdhani", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Orbitron", var(--font-body);
  --scrollbar-track: hsl(348 26% 8%);
  --scrollbar-thumb: var(--accent);
  --scrollbar-thumb-hover: hsl(348 100% 68%);
}

[data-theme="light"] {
  /* "Blue trust" psycho theme (softened contrast): mid-navy base, blue glass,
     soft off-white text. Semantic neon accents kept from :root. */
  --bg-app: hsl(220 40% 13%);
  --bg-app-mid: hsl(220 36% 16%);
  --bg-raised: hsl(218 38% 20% / 0.7);
  --text-primary: hsl(210 24% 90%);
  --text-muted: hsl(210 18% 68%);
  --accent: hsl(348 100% 56%);
  --accent-hover: hsl(348 100% 64%);
  --sale: hsl(28 100% 56%);
  --glass-bg: hsl(218 38% 19% / 0.6);
  --glass-soft: hsl(218 36% 21% / 0.46);
  --glass-border: hsl(200 60% 65% / 0.18);
  --glass-inset: inset 0 1px 0 0 hsl(0 0% 100% / 0.08);
  --glass-blur: blur(14px) saturate(1.32);
  --panel-shadow: 0 22px 54px hsl(220 50% 6% / 0.6), 0 0 0 1px hsl(200 60% 55% / 0.05);
  --card-red: hsl(348 100% 56%);
  --card-red-dark: hsl(348 80% 34%);
  --card-blue: hsl(186 100% 56%);
  --price-green: hsl(128 92% 52%);
  --scrollbar-track: hsl(220 36% 15%);
  --scrollbar-thumb: hsl(200 70% 58%);
  --scrollbar-thumb-hover: hsl(200 80% 66%);
}

@media (prefers-reduced-transparency: reduce) {
  :root {
    --glass-blur: none;
    --glass-bg: hsl(355 20% 14% / 0.94);
    --glass-soft: hsl(355 20% 16% / 0.82);
  }
  [data-theme="light"] {
    --glass-blur: none;
    --glass-bg: hsl(0 0% 100% / 0.94);
    --glass-soft: hsl(0 0% 100% / 0.9);
  }
  [data-theme="light"] .buy-modal,
  [data-theme="light"] .buy-modal-summary,
  [data-theme="light"] .buy-modal-consent--single,
  [data-theme="light"] .buy-modal .buy-modal-delivery {
    background: hsl(218 40% 15%) !important;
    color: hsl(210 24% 90%) !important;
  }
}

* {
  box-sizing: border-box;
}

/* Custom scrollbars — theme track + accent thumb (standard size) */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

html,
body {
  scrollbar-width: auto;
  scrollbar-color: var(--scrollbar-thumb-hover) var(--scrollbar-track);
}

html::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 16px;
  height: 16px;
}

html::-webkit-scrollbar-track,
*::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
  border-left: 1px solid var(--glass-border);
}

html::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--scrollbar-thumb-hover), var(--scrollbar-thumb));
  border-radius: 8px;
  border: 3px solid var(--scrollbar-track);
}

html::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--scrollbar-thumb-hover), var(--accent-hover));
}

html::-webkit-scrollbar-corner,
*::-webkit-scrollbar-corner {
  background: var(--scrollbar-track);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-primary);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: clip;
  background-color: var(--bg-app);
  background-image: none;
  /* scroll: fixed backgrounds repaint the whole viewport on scroll (bad on many Windows GPUs). */
  background-attachment: scroll;
}
@supports not (overflow: clip) {
  body {
    overflow-x: hidden;
  }
}
h1,
h2,
h3,
.page-title,
.buy-price,
.buy-modal-title,
.buy-modal-price,
.buy-modal-price-amount,
.reviews-head h2,
.reviews-rating,
.detail-buy .buy-price {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}
.btn-buy,
.btn-buy-hero,
.btn-card-primary,
.btn-card-download,
.btn-primary,
.card-ribbon,
.badge {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
}
.nav-search input[type="text"] {
  font-family: var(--font-body);
  font-weight: 600;
}
[data-theme="light"] body {
  background-color: var(--bg-app);
  background-image: none;
  background-attachment: scroll;
}
[data-theme="light"] *,
html[data-theme="light"],
html[data-theme="light"] body {
  scrollbar-color: var(--scrollbar-thumb-hover) var(--scrollbar-track);
}
[data-theme="light"] *::-webkit-scrollbar-track,
html[data-theme="light"]::-webkit-scrollbar-track,
html[data-theme="light"] body::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
  border-left: 1px solid var(--glass-border);
}
[data-theme="light"] *::-webkit-scrollbar-thumb,
html[data-theme="light"]::-webkit-scrollbar-thumb,
html[data-theme="light"] body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--scrollbar-thumb-hover), var(--scrollbar-thumb));
  border-color: var(--scrollbar-track);
}
[data-theme="light"] *::-webkit-scrollbar-thumb:hover,
html[data-theme="light"]::-webkit-scrollbar-thumb:hover,
html[data-theme="light"] body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--scrollbar-thumb-hover), var(--accent-hover));
}
a { color: var(--text-primary); text-decoration: none; }
.site-wrap {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding-inline: var(--page-gutter);
}
.bg-waves {
  display: none;
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  contain: paint;
}
.bg-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 70% at 0% 0%, hsl(350 72% 48% / 0.42), transparent 55%),
    radial-gradient(ellipse 75% 65% at 100% 5%, hsl(198 88% 52% / 0.28), transparent 52%),
    radial-gradient(ellipse 90% 60% at 50% 100%, hsl(350 65% 42% / 0.22), transparent 58%),
    radial-gradient(ellipse 55% 45% at 72% 38%, hsl(350 80% 50% / 0.12), transparent 45%);
  opacity: 0.92;
}
[data-theme="light"] .bg-mesh {
  background:
    radial-gradient(ellipse 90% 75% at 5% 0%, hsl(350 88% 92% / 0.95), transparent 54%),
    radial-gradient(ellipse 80% 70% at 100% 0%, hsl(195 90% 90% / 0.88), transparent 50%),
    radial-gradient(ellipse 100% 55% at 50% 100%, hsl(350 60% 92% / 0.65), transparent 58%),
    radial-gradient(ellipse 50% 40% at 30% 55%, hsl(43 96% 88% / 0.35), transparent 48%);
  opacity: 1;
}
.wave {
  position: absolute;
  filter: blur(12px);
  opacity: 0.62;
  transform: translate3d(0, 0, 0);
}
.wave-a {
  width: 56vw;
  height: 56vw;
  left: -16vw;
  top: -14vw;
  border-radius: 45% 55% 63% 37% / 44% 36% 64% 56%;
  background: radial-gradient(circle at 30% 25%, hsl(350 82% 66% / 0.62), hsl(350 70% 48% / 0.08) 70%);
}
.wave-b {
  width: 52vw;
  height: 52vw;
  right: -14vw;
  top: 12vh;
  border-radius: 61% 39% 41% 59% / 40% 65% 35% 60%;
  background: radial-gradient(circle at 60% 40%, hsl(198 90% 62% / 0.5), hsl(236 80% 46% / 0.05) 72%);
}
.wave-c {
  width: 60vw;
  height: 60vw;
  left: 22vw;
  bottom: -34vw;
  border-radius: 58% 42% 34% 66% / 56% 44% 66% 34%;
  background: radial-gradient(circle at 50% 30%, hsl(350 75% 65% / 0.38), hsl(350 70% 40% / 0.06) 70%);
}
[data-theme="light"] .wave-a {
  background: radial-gradient(circle at 30% 25%, hsl(350 84% 74% / 0.42), hsl(350 90% 70% / 0.06) 72%);
}
[data-theme="light"] .wave-b {
  background: radial-gradient(circle at 60% 40%, hsl(196 86% 72% / 0.36), hsl(196 90% 72% / 0.06) 70%);
}
[data-theme="light"] .wave-c {
  background: radial-gradient(circle at 50% 30%, hsl(350 76% 74% / 0.3), hsl(350 86% 74% / 0.04) 70%);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 16px 0 var(--catalog-stack-gap);
  background: transparent;
}
[data-theme="light"] .site-header {
  background: transparent;
}
.nav-glass {
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 9999px;
  padding: 10px 16px;
  display: grid;
  grid-template-columns: minmax(48px, 1fr) minmax(280px, 520px) minmax(48px, 1fr);
  align-items: center;
  gap: 16px;
  box-shadow: var(--glass-inset), var(--panel-shadow);
  width: calc(100% - (var(--nav-outer-inset) * 2));
  margin-inline: auto;
}
.site-header .site-wrap {
  padding-inline: 0;
}

.genre-bar {
  position: sticky;
  top: var(--header-h, 0px);
  z-index: 19;
  padding-block: 6px;
  margin: 0;
  transition: transform .25s ease, opacity .2s ease;
}
.genre-bar.is-hidden {
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
}
.genre-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
  padding: 0;
  width: calc(100% - (var(--nav-outer-inset) * 2));
  margin-inline: auto;
  padding-inline: 0;
  box-sizing: border-box;
}
.genre-bar .genre-bar-inner.site-wrap {
  padding-inline: 0;
}
.genre-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-secondary);
  border: 1px solid hsl(0 0% 100% / 0.14);
  background: hsl(232 26% 14% / 0.55);
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.genre-pill .genre-icon {
  width: 14px;
  height: 14px;
  margin-right: 6px;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.genre-pill:hover .genre-icon { opacity: 1; transform: translateY(-1px); }
.genre-pill.is-active .genre-icon { opacity: 1; }
.genre-pill:hover {
  color: var(--text-primary);
  border-color: hsl(219 90% 72% / 0.45);
  background: hsl(232 26% 18% / 0.72);
}
.genre-pill.is-active {
  color: hsl(0 0% 100%);
  border-color: hsl(219 90% 62% / 0.65);
  background: linear-gradient(135deg, hsl(219 90% 52% / 0.85), hsl(350 72% 52% / 0.75));
}
[data-theme="light"] .genre-pill {
  color: hsl(210 24% 88%);
  border-color: hsl(200 50% 55% / 0.22);
  background: hsl(218 38% 18% / 0.6);
}
[data-theme="light"] .genre-pill:hover {
  color: hsl(0 0% 100%);
  border-color: hsl(200 70% 60% / 0.5);
  background: hsl(218 38% 22% / 0.7);
}
[data-theme="light"] .genre-pill.is-active {
  color: hsl(0 0% 100%);
  border-color: hsl(200 80% 60% / 0.6);
  background: linear-gradient(135deg, hsl(200 80% 50%), hsl(348 80% 52%));
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  justify-self: start;
  min-width: 0;
  margin-inline-start: 20px;
}
@keyframes brand-logo-breathe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
.brand-logo-img {
  display: block;
  height: 44px;
  width: 44px;
  object-fit: contain;
  flex-shrink: 0;
  transform-origin: center center;
  animation: brand-logo-breathe 2.8s ease-in-out infinite;
  filter: brightness(0) invert(1);
  opacity: 1;
}
[data-theme="dark"] .brand-logo-img {
  filter: brightness(0) invert(1);
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .brand-logo-img {
    animation: none;
  }
  .wave {
    filter: none;
    opacity: 0.38;
  }
  .detail-buy .btn-buy.btn-buy-hero::after,
  .buy-modal .btn-buy.btn-buy-hero.buy-modal-submit::after {
    animation: none;
    opacity: 0;
  }
}
.nav-toolbar-end {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
  flex-wrap: nowrap;
  justify-content: flex-end;
  min-width: 0;
  margin-inline-end: 20px;
}
.nav-buy-btn {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: auto;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid hsl(0 0% 100% / 0.22);
  border-radius: 12px;
  background: linear-gradient(135deg, hsl(148 92% 36%), hsl(193 92% 44%));
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 8px 18px hsl(170 84% 20% / 0.28);
  transition: transform 0.15s ease, filter 0.2s ease;
}
.nav-buy-btn:hover {
  filter: brightness(1.06);
}
.nav-buy-btn:focus-visible {
  outline: 2px solid hsl(217 95% 62%);
  outline-offset: 3px;
}
.theme-slider {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  min-width: 52px;
  min-height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
  margin: 0;
}
.theme-slider:focus-visible {
  outline: 2px solid hsl(217 95% 62%);
  outline-offset: 3px;
  border-radius: 999px;
}
.theme-slider-track {
  position: relative;
  width: 52px;
  height: 30px;
  border-radius: 999px;
  background: hsl(0 0% 100% / 0.08);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  box-shadow: inset 0 1px 3px hsl(0 0% 0% / 0.12);
  transition:
    background 0.5s cubic-bezier(0.45, 0, 0.55, 1),
    border-color 0.5s cubic-bezier(0.45, 0, 0.55, 1),
    box-shadow 0.5s cubic-bezier(0.45, 0, 0.55, 1);
}
[data-theme="light"] .theme-slider-track {
  background: hsl(218 38% 18%);
  box-shadow: inset 0 1px 2px hsl(220 50% 4% / 0.5);
}
.theme-slider-ic {
  position: absolute;
  top: 50%;
  margin-top: -7px;
  width: 14px;
  height: 14px;
  object-fit: contain;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.5s cubic-bezier(0.45, 0, 0.55, 1);
}
.theme-slider-ic--moon {
  left: 8px;
}
.theme-slider-ic--sun {
  right: 8px;
}
[data-theme="dark"] .theme-slider-ic {
  filter: invert(1);
}
[data-theme="dark"] .theme-slider-ic--moon {
  opacity: 1;
}
[data-theme="dark"] .theme-slider-ic--sun {
  opacity: 0.32;
}
[data-theme="light"] .theme-slider-ic--moon {
  opacity: 0.32;
  filter: invert(1);
}
[data-theme="light"] .theme-slider-ic--sun {
  opacity: 1;
  filter: invert(1);
}
.theme-slider-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(165deg, hsl(0 0% 100% / 0.98), hsl(0 0% 90%));
  border: 1px solid hsl(0 0% 100% / 0.3);
  box-shadow: 0 2px 8px hsl(0 0% 0% / 0.2);
  transition:
    transform 0.55s cubic-bezier(0.45, 0, 0.55, 1),
    background 0.55s cubic-bezier(0.45, 0, 0.55, 1),
    border-color 0.55s cubic-bezier(0.45, 0, 0.55, 1),
    box-shadow 0.55s cubic-bezier(0.45, 0, 0.55, 1);
  z-index: 2;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}
[data-theme="light"] .theme-slider-thumb {
  transform: translate3d(24px, 0, 0);
  background: linear-gradient(165deg, hsl(0 0% 100%), hsl(220 16% 96%));
  border-color: hsl(224 20% 82% / 0.95);
}
@media (prefers-reduced-motion: reduce) {
  .theme-slider-thumb,
  .theme-slider-track,
  .theme-slider-ic {
    transition: none;
  }
}

.nav-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: center;
  width: min(520px, 100%);
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 9999px;
  /* Opaque fill: parent .nav-glass already applies backdrop-filter (nested blur is very costly). */
  background: hsl(230 28% 7% / 0.98);
  border: 1px solid hsl(0 0% 100% / 0.1);
  box-shadow:
    inset 0 1px 0 hsl(0 0% 100% / 0.06),
    0 0 0 1px hsl(0 0% 0% / 0.18),
    0 6px 18px hsl(0 0% 0% / 0.22);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}
[data-theme="light"] .nav-search {
  background: hsl(218 38% 17% / 0.7);
  border: 1px solid hsl(200 50% 55% / 0.22);
  box-shadow:
    inset 0 1px 0 hsl(0 0% 100% / 0.08),
    0 0 0 1px hsl(220 50% 6% / 0.4),
    0 6px 18px hsl(220 50% 6% / 0.4);
}
.nav-search:focus-within {
  border-color: hsl(350 88% 62% / 0.55);
  box-shadow:
    inset 0 1px 0 hsl(0 0% 100% / 0.1),
    0 0 0 1px hsl(350 88% 50% / 0.22),
    0 0 0 3px hsl(350 88% 58% / 0.14),
    0 8px 24px hsl(350 60% 6% / 0.3);
}
[data-theme="light"] .nav-search:focus-within {
  border-color: hsl(200 80% 60% / 0.6);
  box-shadow:
    inset 0 1px 0 hsl(0 0% 100% / 0.08),
    0 0 0 1px hsl(200 80% 55% / 0.3),
    0 0 0 3px hsl(200 80% 60% / 0.18),
    0 8px 22px hsl(220 50% 6% / 0.4);
}
.nav-search input[type="text"] {
  width: 100%;
  min-width: 120px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text-primary);
  font: inherit;
}
.nav-search input[type="text"]::placeholder {
  color: var(--text-muted);
}
.nav-search-ic {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.88;
}
[data-theme="dark"] .nav-search-ic {
  filter: invert(1);
  opacity: 0.95;
}
[data-theme="light"] .nav-search-ic {
  filter: invert(1);
  opacity: 0.95;
}
.nav-search-clear {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  color: hsl(356 88% 60%);
}
.nav-search-clear:hover {
  color: hsl(356 94% 67%);
}
.nav-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  max-height: min(62vh, 420px);
  overflow: auto;
  border-radius: 14px;
  background: hsl(226 28% 12%);
  border: 1px solid hsl(220 22% 38%);
  box-shadow: 0 12px 32px hsl(350 50% 4% / 0.45);
  z-index: 30;
}
[data-theme="light"] .nav-suggest {
  background: hsl(218 40% 16%);
  border: 1px solid hsl(200 50% 45% / 0.4);
  box-shadow: 0 12px 32px hsl(220 50% 4% / 0.5);
}
.suggest-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-bottom: 1px solid hsl(220 18% 22%);
  min-width: 0;
}
.suggest-hit {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.suggest-cta {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 8px 12px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
}
.suggest-cta--download {
  color: #fff;
  background: linear-gradient(135deg, hsl(154 72% 42%), hsl(160 70% 32%));
  border: 1px solid hsl(0 0% 100% / 0.22);
}
.suggest-cta--download:hover {
  filter: brightness(1.06);
}
[data-theme="light"] .suggest-item {
  border-bottom-color: hsl(224 16% 90%);
}
.suggest-item:last-child { border-bottom: 0; }
.suggest-item:hover {
  background: hsl(228 24% 17%);
}
[data-theme="light"] .suggest-item:hover {
  background: hsl(220 30% 96%);
}
.suggest-cover {
  width: 44px;
  height: 58px;
  object-fit: cover;
  border-radius: 8px;
}
.suggest-main { display: inline-flex; flex-direction: column; min-width: 0; flex: 1; }
.suggest-side {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
}
.suggest-title {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.suggest-price {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.suggest-price .badge {
  font-size: 10px;
  padding: 1px 6px;
}
.suggest-price .old {
  font-size: 12px;
}
.suggest-price-current {
  font-size: 17px;
  font-weight: 800;
  color: var(--price-green);
}
.messages { margin: 10px 0; }
.msg {
  background: var(--glass-soft);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 8px;
  box-shadow: var(--glass-inset);
}

.page-title {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12;
  margin: 8px 0;
}
.page-subtitle {
  color: var(--text-muted);
  margin: 0 0 6px;
}
.page-subtitle--primary,
.page-subtitle--primary strong {
  color: var(--text-primary);
}
.detail-media-price {
  margin: -4px 0 14px;
}
.detail-media-price .current-price {
  font-size: clamp(22px, 3.2vw, 30px);
}
.catalog-section {
  margin: 20px 0 16px;
}
.catalog-hero.catalog-section {
  /* Vertical rhythm only — keep margin-inline:auto from wide breakpoints. */
  margin-block: var(--hero-top-gap) var(--hero-catalog-gap);
}
.catalog-hero {
  position: relative;
  text-align: center;
  padding: 22px 22px 18px;
  margin-block: var(--hero-top-gap) var(--hero-catalog-gap);
  border-radius: 22px;
  border: 1px solid hsl(0 0% 100% / 0.10);
  background:
    radial-gradient(120% 140% at 0% 0%, hsl(350 72% 58% / 0.30) 0%, transparent 55%),
    radial-gradient(120% 140% at 100% 0%, hsl(193 82% 52% / 0.22) 0%, transparent 55%),
    linear-gradient(180deg, hsl(0 0% 100% / 0.06) 0%, hsl(235 28% 8% / 0.42) 100%);
  box-shadow: var(--glass-inset), var(--panel-shadow);
  overflow: hidden;
}
.catalog-hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 60%;
  height: 60%;
  background: radial-gradient(closest-side, hsl(148 92% 36% / 0.18), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}
.catalog-hero > * { position: relative; z-index: 1; }
[data-theme="light"] .catalog-hero {
  border-color: hsl(224 24% 88% / 0.95);
  background:
    radial-gradient(120% 140% at 0% 0%, hsl(350 92% 96% / 0.95) 0%, transparent 55%),
    radial-gradient(120% 140% at 100% 0%, hsl(198 95% 94% / 0.85) 0%, transparent 55%),
    linear-gradient(180deg, hsl(48 100% 99% / 0.65) 0%, hsl(224 35% 93% / 0.55) 100%);
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  margin-bottom: 10px;
  border-radius: 9999px;
  border: 1px solid hsl(148 70% 45% / 0.45);
  background: hsl(148 70% 45% / 0.12);
  color: hsl(148 70% 50%);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-kicker__icon { filter: brightness(0) invert(1); }
[data-theme="light"] .hero-kicker { color: hsl(150 60% 30%); }
.catalog-hero-title {
  margin: 0 0 6px;
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  background: linear-gradient(135deg, hsl(350 80% 72%), hsl(193 82% 60%) 60%, hsl(148 80% 55%));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.catalog-hero .page-subtitle {
  margin: 0 auto 16px;
  max-width: 620px;
  font-size: clamp(14px, 1.6vw, 17px);
}
.hero-trust {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 auto 16px;
  max-width: 760px;
  padding: 0;
}
.hero-trust__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid hsl(0 0% 100% / 0.10);
  background: hsl(0 0% 100% / 0.05);
  text-align: left;
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--text-muted);
}
.hero-trust__item strong { color: var(--text-primary); font-weight: 800; }
[data-theme="light"] .hero-trust__item {
  border-color: hsl(224 24% 88% / 0.95);
  background: hsl(220 30% 96% / 0.8);
}
.hero-trust__icon { flex-shrink: 0; width: 18px; height: 18px; filter: brightness(0) invert(1); }
[data-theme="dark"] .hero-trust__icon { filter: brightness(0) invert(1); }
[data-theme="light"] .hero-trust__icon { filter: brightness(0) invert(1); }
.hero-trust__emoji { flex-shrink: 0; font-size: 18px; line-height: 1; }
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 16px;
  max-width: max-content;
}
.hero-proof__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 9999px;
  border: 1px solid hsl(0 0% 100% / 0.10);
  background: hsl(0 0% 100% / 0.05);
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
}
.hero-proof__chip--rating { gap: 5px; }
.hero-proof__chip--discount { border-color: hsl(148 70% 48% / 0.30); background: hsl(148 70% 48% / 0.08); }
.hero-proof__chip--urgency { border-color: hsl(12 86% 62% / 0.32); background: hsl(12 86% 62% / 0.08); }
[data-theme="light"] .hero-proof__chip {
  border-color: hsl(224 24% 88% / 0.95);
  background: hsl(220 30% 96% / 0.8);
}
[data-theme="light"] .hero-proof__chip--discount { border-color: hsl(148 70% 48% / 0.45); background: hsl(148 70% 48% / 0.10); }
[data-theme="light"] .hero-proof__chip--urgency { border-color: hsl(12 86% 62% / 0.45); background: hsl(12 86% 62% / 0.10); }
.hero-proof__stars { color: hsl(48 96% 56%); letter-spacing: 1px; }
.hero-proof__rating { font-weight: 800; color: var(--text-primary); }
.hero-proof__orders strong { color: var(--text-primary); font-weight: 800; }
.hero-proof__discount strong { color: hsl(148 70% 48%); font-weight: 800; }
.hero-proof__urgency { color: hsl(12 86% 62%); font-weight: 700; }
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 4px auto 0;
  padding: 12px 26px;
  font-size: 16px;
  text-decoration: none;
  width: 100%;
  max-width: 520px;
}
@media (max-width: 720px) {
  .hero-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-proof { max-width: 100%; }
}

@media (min-width: 1600px) {
  .catalog-hero,
  .catalog-hero.catalog-section {
    max-width: 1120px;
    margin-inline: auto;
    padding: 24px 32px 20px;
  }
  .catalog-hero-title { font-size: clamp(30px, 2.4vw, 44px); }
  .catalog-hero .page-subtitle { font-size: clamp(14px, 1.1vw, 16px); }
  .hero-trust { max-width: 820px; }
  .hero-cta {
    max-width: 440px;
    font-size: 18px;
    padding: 13px 22px;
  }
}
@media (min-width: 2200px) {
  .catalog-hero,
  .catalog-hero.catalog-section { max-width: 1280px; padding: 26px 36px 22px; }
  .catalog-hero-title { font-size: clamp(30px, 2vw, 46px); }
  .hero-cta { max-width: 460px; font-size: 18px; }
}

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.catalog-grid { margin-top: var(--catalog-stack-gap); }
/* Hero already owns the gap into the catalog — avoid stacking a second top margin. */
.catalog-hero + .catalog-grid,
.catalog-section + .catalog-grid {
  margin-top: 0;
}

.similar-games-section {
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
  padding: 16px 18px 18px;
}
.similar-games-head {
  margin-bottom: 12px;
}
.similar-games-title {
  margin: 0 0 6px;
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.similar-games-sub {
  margin: 0;
  font-size: 13px;
}
.similar-games-genre {
  font-weight: 700;
  color: hsl(219 90% 72%);
  text-decoration: none;
  border-bottom: 1px solid hsl(219 90% 72% / 0.35);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.similar-games-genre:hover {
  color: hsl(219 95% 82%);
  border-bottom-color: hsl(219 90% 72% / 0.75);
}
.similar-games-grid {
  margin-top: 4px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.similar-game-card .title {
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
}
@media (max-width: 960px) {
  .similar-games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .similar-games-grid {
    grid-template-columns: 1fr;
  }
}
/* Game / catalog cards — glass + tonal washes (brand red / cyan) */
.card {
  position: relative;
  border-radius: 12px;
  padding: 12px;
  backdrop-filter: blur(5px) saturate(1.22);
  -webkit-backdrop-filter: blur(5px) saturate(1.22);
  background-color: rgba(255, 255, 255, 0.1);
  background-image:
    linear-gradient(148deg, hsl(350 72% 58% / 0.26) 0%, hsl(350 45% 42% / 0.06) 38%, transparent 58%),
    linear-gradient(322deg, hsl(198 82% 52% / 0.18) 0%, hsl(220 60% 45% / 0.05) 42%, transparent 62%),
    linear-gradient(180deg, hsl(0 0% 100% / 0.07) 0%, hsl(235 28% 8% / 0.42) 100%);
  border: 1px solid hsl(0 0% 100% / 0.22);
  box-shadow:
    0 6px 20px hsl(350 55% 4% / 0.38),
    inset 0 1px 0 hsl(0 0% 100% / 0.14);
}
[data-theme="light"] .card {
  background-color: rgba(255, 255, 255, 0.66);
  background-image:
    linear-gradient(148deg, hsl(350 92% 96% / 0.95) 0%, hsl(350 60% 98% / 0.25) 42%, transparent 58%),
    linear-gradient(318deg, hsl(198 95% 94% / 0.85) 0%, hsl(220 70% 98% / 0.2) 45%, transparent 62%),
    linear-gradient(180deg, hsl(48 100% 99% / 0.65) 0%, hsl(224 35% 93% / 0.55) 100%);
  border: 1px solid hsl(224 22% 72% / 0.85);
  box-shadow:
    0 6px 22px hsl(350 35% 55% / 0.12),
    0 2px 8px hsl(210 40% 50% / 0.06),
    inset 0 1px 0 hsl(0 0% 100% / 1);
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .card {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background-image: none;
    background-color: hsl(232 26% 16% / 0.92);
    box-shadow: 0 4px 14px hsl(350 45% 6% / 0.35);
  }
  [data-theme="light"] .card {
    background-color: hsl(0 0% 100% / 0.96);
    box-shadow: 0 4px 16px hsl(225 28% 70% / 0.18);
  }
}
.game-card {
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.game-card .cover-link {
  flex-shrink: 0;
}
.card-ribbon {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .4px;
  color: white;
  background: linear-gradient(120deg, var(--card-red), var(--card-red-dark));
  border-radius: 999px;
  padding: 4px 11px;
  border: 1px solid hsl(0 0% 100% / 0.28);
  box-shadow:
    0 4px 12px hsl(350 80% 28% / 0.45),
    0 0 0 1px hsl(350 80% 20% / 0.4),
    inset 0 1px 0 hsl(0 0% 100% / 0.4);
  transform-origin: top left;
  animation: bg-ribbon-wiggle 2.2s ease-in-out infinite;
}
@keyframes bg-ribbon-wiggle {
  0%   { transform: rotate(-6deg) translateY(0); }
  25%  { transform: rotate(5deg)  translateY(-1px); }
  50%  { transform: rotate(-4deg) translateY(0); }
  75%  { transform: rotate(6deg)  translateY(-1px); }
  100% { transform: rotate(-6deg) translateY(0); }
}
/* stagger so ribbons don't wiggle in lockstep */
.similar-game-card:nth-child(4n+2) .card-ribbon { animation-delay: -0.5s; }
.similar-game-card:nth-child(4n+3) .card-ribbon { animation-delay: -1.0s; }
.similar-game-card:nth-child(4n+4) .card-ribbon { animation-delay: -1.5s; }
.similar-game-card:hover .card-ribbon { animation-duration: 1s; }
.game-card .cover-link { display: block; border-radius: 6px; overflow: hidden; }
.cover {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 6px;
  background: #0f1420;
  transition: transform .2s ease, filter .2s ease;
  border: 0;
  max-height: clamp(150px, 18vh, 220px);
}
.cover-fallback {
  width: 100%;
  aspect-ratio: 16/10;
  max-height: clamp(150px, 18vh, 220px);
  border-radius: 6px;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 10px;
  background:
    radial-gradient(circle at 18% 20%, hsl(353 84% 56% / 0.38), transparent 40%),
    radial-gradient(circle at 80% 26%, hsl(213 92% 60% / 0.36), transparent 44%),
    linear-gradient(135deg, hsl(236 46% 18%), hsl(224 40% 14%) 56%, hsl(350 44% 19%));
}
.cover-fallback-kicker {
  font-size: 10px;
  letter-spacing: .8px;
  font-weight: 800;
  border-radius: 999px;
  border: 1px solid hsl(0 0% 100% / 0.28);
  background: hsl(0 0% 100% / 0.08);
  padding: 3px 8px;
  color: hsl(0 0% 100% / 0.95);
}
.cover-fallback-title {
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.06;
  font-weight: 900;
  text-shadow: 0 0 18px hsl(0 0% 0% / 0.3);
  max-width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.cover-fallback-sub {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: hsl(210 22% 86%);
  text-align: center;
  max-width: 100%;
  padding-inline: 6px;
  line-height: 1.35;
  opacity: 0.95;
}
[data-theme="light"] .cover-fallback-sub {
  color: hsl(220 18% 36%);
}
.cover-fallback--no-title-dup .cover-fallback-kicker {
  margin-bottom: 2px;
}
.title { font-size: 16px; margin: 10px 0 6px; min-height: 38px; }
.game-card .title,
.similar-game-card .title {
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
  word-break: break-word;
}
.game-card .title a,
.similar-game-card .title a {
  word-break: break-word;
}
.cover-link:hover .cover {
  transform: none;
  filter: brightness(1.08) saturate(1.08);
}
.cover-link:hover .cover-fallback {
  filter: brightness(1.06) saturate(1.08);
}
.title a:hover { color: hsl(352 98% 72%); }
.meta { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.meta-dot { opacity: .55; margin: 0 4px; }
/* Catalog cards: center the meta strip and vertically align pill / rating / text */
.game-card .meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 4px 8px;
  text-align: left;
}
.game-card .meta .meta-dot {
  margin: 0;
  flex-shrink: 0;
}
.rating-line { color: hsl(219 90% 67%); font-weight: 700; letter-spacing: .2px; }
.rating-line--review {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.review-item__author {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}
.rating-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  vertical-align: middle;
}
.rating-num { color: var(--text-muted); font-weight: 600; }
/* Заполнение по шкале 0–5 (напр. 3,7 → ~74%) */
.star-rating {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  flex-shrink: 0;
}
.star-rating__track {
  position: relative;
  display: inline-block;
  line-height: 1;
  letter-spacing: 2px;
  color: hsl(215 12% 38%);
}
.star-rating__track::before {
  content: "★★★★★";
}
.star-rating__fill {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  white-space: nowrap;
  height: 100%;
  color: hsl(219 90% 67%);
}
.star-rating__fill::before {
  content: "★★★★★";
}
.star-rating--sm .star-rating__track { font-size: 13px; }
.star-rating--md .star-rating__track { font-size: 14px; letter-spacing: 2px; }
.star-rating--lg .star-rating__track { font-size: 22px; letter-spacing: 3px; }
.orders-line { color: var(--text-muted); }
.catalog-reset-link {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid hsl(0 0% 100% / 0.18);
  background: hsl(355 66% 44% / 0.26);
  color: var(--text-primary);
}
.catalog-reset-link:hover {
  background: hsl(355 74% 48% / 0.4);
}
.price { display: flex; gap: 8px; align-items: center; }
.old { text-decoration: line-through; opacity: .65; }
.badge {
  color: #fff;
  background: linear-gradient(120deg, var(--card-red), hsl(14 92% 58%));
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid hsl(0 0% 100% / 0.2);
}
.current-price {
  color: var(--price-green);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: .2px;
  text-shadow: 0 0 12px hsl(154 72% 50% / 0.28);
}
[data-theme="light"] .current-price {
  text-shadow: none;
}
.card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}
.btn-card {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 11px;
  padding: 9px 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn-card-primary {
  color: #fff;
  background: linear-gradient(135deg, hsl(357 83% 56%), hsl(11 94% 56%));
  border-color: hsl(0 0% 100% / 0.22);
}
.btn-card-primary:hover {
  filter: brightness(1.05);
}
.btn-card-download {
  color: #fff;
  background: linear-gradient(135deg, hsl(154 72% 42%), hsl(160 70% 32%));
  border-color: hsl(0 0% 100% / 0.22);
}
.btn-card-download:hover {
  filter: brightness(1.05);
}

.btn-card-label {
  position: relative;
  z-index: 1;
}
.game-card .btn-card-primary,
.game-card .btn-card-download {
  position: relative;
  overflow: hidden;
}
.game-card .btn-card-primary::after,
.game-card .btn-card-download::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 50%;
  background: linear-gradient(
    90deg,
    hsl(0 0% 100% / 0),
    hsl(0 0% 100% / 0.38),
    hsl(0 0% 100% / 0)
  );
  transform: translateX(-125%);
  pointer-events: none;
  z-index: 0;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.game-card .btn-card-primary:hover::after,
.game-card .btn-card-download:hover::after {
  transform: translateX(235%);
}
.game-card .btn-card-primary:focus-visible,
.game-card .btn-card-download:focus-visible {
  outline: 2px solid hsl(217 95% 62%);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .game-card .btn-card-primary::after,
  .game-card .btn-card-download::after {
    display: none;
  }
}
.btn-card-ghost {
  color: var(--text-primary);
  background: hsl(0 0% 100% / 0.06);
  border-color: var(--glass-border);
}
.btn-card-ghost:hover {
  background: hsl(0 0% 100% / 0.12);
}
#sentinel { height: 2px; margin-top: 10px; }
#loading { text-align: center; padding: 20px; color: var(--text-muted); }

.form-wrap {
  max-width: 520px;
  margin: 56px auto 24px;
  padding: 24px;
  border-radius: 22px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-inset), var(--panel-shadow);
}
.form-wrap h1 { margin-top: 0; }
.form-wrap p { margin: 0 0 14px; }
.form-wrap label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 14px;
}
.form-wrap input[type="text"],
.form-wrap input[type="email"],
.form-wrap input[type="password"] {
  width: 100%;
  border: 1px solid var(--glass-border);
  outline: none;
  border-radius: 12px;
  background: var(--glass-soft);
  color: var(--text-primary);
  padding: 11px 12px;
}
.form-wrap input:focus {
  border-color: hsl(350 88% 66% / 0.75);
  box-shadow: 0 0 0 3px hsl(350 88% 66% / 0.2);
}
.btn-primary {
  border: 1px solid hsl(0 0% 100% / 0.22);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), hsl(214 84% 61%));
  color: #fff;
  padding: 11px 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, filter .2s ease;
}
.btn-buy {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  border: 1px solid hsl(0 0% 100% / 0.22);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), hsl(20 90% 56%));
  color: #fff;
  padding: 12px 16px;
  font-weight: 800;
  letter-spacing: .2px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, filter .2s ease;
}
.btn-primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 0 0 1px hsl(0 0% 100% / 0.2) inset, 0 0 20px hsl(350 90% 66% / 0.25);
}
.btn-buy:hover {
  filter: brightness(1.06);
  box-shadow: 0 0 0 1px hsl(0 0% 100% / 0.24) inset, 0 0 24px hsl(355 85% 56% / 0.28);
}
.btn-buy:active {
  transform: translateY(1px);
}
.btn-buy:focus-visible {
  outline: 2px solid hsl(0 0% 100% / 0.7);
  outline-offset: 2px;
}
.btn-buy-hero {
  font-size: 24px;
  padding: 16px 18px;
  border-radius: 14px;
  border-color: hsl(350 70% 30% / 0.9);
  background: linear-gradient(135deg, hsl(350 95% 58%), hsl(12 94% 56%));
  box-shadow:
    0 14px 34px hsl(350 85% 40% / 0.5),
    0 0 24px hsl(350 95% 58% / 0.45);
  text-shadow: 0 1px 2px hsl(350 80% 20% / 0.55);
}
.btn-buy-shine-text {
  position: relative;
  z-index: 1;
}
@keyframes detail-buy-shine-sweep {
  0% {
    transform: translate3d(-135%, 0, 0);
  }
  100% {
    transform: translate3d(260%, 0, 0);
  }
}
.detail-buy .btn-buy.btn-buy-hero,
.buy-modal .btn-buy.btn-buy-hero.buy-modal-submit {
  position: relative;
  overflow: hidden;
}
.detail-buy .btn-buy.btn-buy-hero::after,
.buy-modal .btn-buy.btn-buy-hero.buy-modal-submit::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 50%;
  background: linear-gradient(
    90deg,
    hsl(0 0% 100% / 0),
    hsl(0 0% 100% / 0.5),
    hsl(0 0% 100% / 0)
  );
  transform: translate3d(-135%, 0, 0);
  pointer-events: none;
  z-index: 0;
  animation: detail-buy-shine-sweep 2.2s linear infinite;
}

.glass-panel {
  background: var(--glass-soft);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-inset), var(--panel-shadow);
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(320px, .95fr);
  gap: 24px;
  margin-top: 18px;
}
.purchase-success-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 4px 0 18px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-inset), var(--panel-shadow);
}
.purchase-success-banner__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 4px;
}
.purchase-success-banner__kicker {
  width: fit-content;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(120deg, hsl(355 84% 56%), hsl(14 92% 56%));
  border: 1px solid hsl(0 0% 100% / 0.22);
}
.purchase-success-banner__text strong {
  font-size: 22px;
  line-height: 1.15;
}
.purchase-success-banner__text p {
  margin: 0;
  color: hsl(164 44% 84%);
  font-size: 14px;
}
.purchase-success-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
}
.purchase-success-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid hsl(0 0% 100% / 0.24);
  color: #fff;
  background: linear-gradient(135deg, hsl(146 76% 44%), hsl(194 88% 44%));
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.purchase-gift-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid hsl(355 72% 42% / 0.85);
  color: #fff;
  background: linear-gradient(135deg, hsl(355 84% 48%), hsl(14 88% 46%));
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 8px 22px hsl(355 78% 28% / 0.35);
  transition: filter 0.15s ease, transform 0.15s ease;
}
.purchase-gift-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  color: #fff;
}
.purchase-success-banner__cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
[data-theme="light"] .purchase-success-banner {
  border-color: var(--glass-border);
  background: var(--glass-bg);
  box-shadow: var(--glass-inset), var(--panel-shadow);
}
[data-theme="light"] .purchase-success-banner__text p {
  color: hsl(164 26% 28%);
}
[data-theme="light"] .purchase-success-banner__cta {
  color: #fff;
}
[data-theme="light"] .purchase-gift-btn {
  color: #fff;
  border-color: hsl(355 72% 42% / 0.65);
  box-shadow: 0 6px 18px hsl(355 60% 45% / 0.22);
}
.detail-layout--no-buy {
  grid-template-columns: minmax(0, 1fr);
}
.detail-media {
  padding: 22px 24px 26px;
}
.legal-page {
  padding: 24px 28px 32px;
  max-width: 52rem;
  margin-inline: auto;
}
.legal-page--offer .legal-lead {
  font-size: 1.05rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.legal-page--offer h2 {
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
  font-size: 1.15rem;
}
.legal-page--offer h3 {
  margin-top: 1.1rem;
  margin-bottom: 0.45rem;
  font-size: 1rem;
  font-weight: 700;
  color: hsl(210 24% 88%);
}
[data-theme="light"] .legal-page--offer h3 {
  color: hsl(228 35% 22%);
}
.legal-defs dt {
  font-weight: 700;
  margin-top: 0.75rem;
}
.legal-defs dd {
  margin: 0.25rem 0 0 0;
  padding-left: 0;
  line-height: 1.55;
}
.legal-ol {
  margin: 0.5rem 0 0;
  padding-left: 0;
  margin-left: 0;
  list-style: none;
}
.legal-ol > li + li {
  margin-top: 0.65rem;
}
.legal-callout {
  margin: 0.75rem 0 0;
  padding: 12px 16px;
  border-left: 3px solid hsl(199 72% 52%);
  border-radius: 0 10px 10px 0;
  background: hsl(0 0% 100% / 0.06);
  font-style: normal;
  line-height: 1.5;
}
[data-theme="light"] .legal-callout {
  background: hsl(228 40% 18% / 0.06);
  border-left-color: hsl(199 72% 38%);
}
.legal-req {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  margin: 1rem 0;
  align-items: baseline;
}
.legal-req dt {
  font-weight: 600;
  color: hsl(210 18% 72%);
}
[data-theme="light"] .legal-req dt {
  color: hsl(228 22% 38%);
}
.legal-req dd {
  margin: 0;
  font-family: ui-monospace, monospace;
  font-size: 0.95rem;
}
.legal-published {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid hsl(0 0% 100% / 0.12);
}
[data-theme="light"] .legal-published {
  border-top-color: hsl(228 30% 82%);
}
.detail-image-wrap {
  border-radius: 14px;
  overflow: hidden;
  background: hsl(228 26% 11% / 0.72);
  border: none;
  min-height: 320px;
  box-shadow: inset 0 1px 0 hsl(0 0% 100% / 0.08);
}
[data-theme="light"] .detail-image-wrap {
  background: hsl(0 0% 100% / 0.52);
  border: none;
}
.detail-image {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16/10;
  max-height: min(62vh, 560px);
  height: auto;
  object-fit: cover;
  display: block;
}
.detail-fallback-art {
  min-height: 320px;
  height: min(56vh, 500px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  text-align: center;
  background:
    radial-gradient(circle at 22% 22%, hsl(350 85% 56% / 0.38), transparent 42%),
    radial-gradient(circle at 78% 28%, hsl(204 90% 58% / 0.34), transparent 43%),
    linear-gradient(135deg, hsl(237 46% 18%), hsl(226 40% 14%) 55%, hsl(350 44% 18%));
}
.fallback-kicker {
  font-size: 12px;
  letter-spacing: .8px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid hsl(0 0% 100% / 0.3);
  background: hsl(0 0% 100% / 0.08);
}
.fallback-title {
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.05;
  font-weight: 900;
  text-shadow: 0 0 20px hsl(0 0% 0% / 0.35);
}
.fallback-sub {
  color: hsl(210 24% 82%);
  font-size: 13px;
  letter-spacing: .6px;
}
.detail-buy {
  padding: 20px;
  position: sticky;
  top: 94px;
  align-self: start;
  border: 1px solid hsl(0 0% 100% / 0.2);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(
    160deg,
    hsl(355 40% 18% / 0.48),
    hsl(350 36% 14% / 0.42)
  );
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: hsl(210 25% 96%);
  box-shadow: var(--glass-inset), var(--panel-shadow);
}
[data-theme="light"] .detail-buy {
  background: linear-gradient(
    165deg,
    hsl(0 0% 100% / 0.72),
    hsl(350 50% 98% / 0.5)
  );
  border: 1px solid hsl(0 0% 100% / 0.75);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-inset), var(--panel-shadow);
  color: var(--text-primary);
}
.detail-buy__pricecard {
  position: relative;
  margin: 0 0 16px;
  padding: 14px 14px 12px;
  border-radius: 18px;
  border: 1px solid hsl(0 0% 100% / 0.10);
  background:
    radial-gradient(120% 140% at 0% 0%, hsl(148 84% 50% / 0.12) 0%, transparent 55%),
    linear-gradient(180deg, hsl(0 0% 100% / 0.06), hsl(0 0% 100% / 0.02));
  box-shadow: inset 0 1px 0 hsl(0 0% 100% / 0.08);
}
[data-theme="light"] .detail-buy__pricecard {
  border-color: hsl(224 24% 88% / 0.95);
  background:
    radial-gradient(120% 140% at 0% 0%, hsl(148 80% 60% / 0.16) 0%, transparent 55%),
    linear-gradient(180deg, hsl(0 0% 100% / 0.8), hsl(350 50% 98% / 0.5));
}
.detail-buy__pricecard .detail-buy-price-row { margin: 0 0 8px; }
.detail-buy__pricecard .detail-buy-social { margin: 0; padding-top: 8px; border-top: none; gap: 8px; }
[data-theme="light"] .detail-buy__pricecard .detail-buy-social { border-top: none; }
.dbs-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 9999px;
  border: 1px solid hsl(0 0% 100% / 0.10);
  background: hsl(0 0% 100% / 0.04);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.dbs-chip__icon { width: 14px; height: 14px; flex-shrink: 0; object-fit: contain; filter: brightness(0) invert(1); }
.dbs-chip--orders .dbs-chip__icon { filter: brightness(0) invert(1) drop-shadow(0 0 4px hsl(16 94% 56% / 0.65)); }
.dbs-chip--reviews .dbs-chip__icon { filter: brightness(0) invert(1) drop-shadow(0 0 4px hsl(199 89% 60% / 0.65)); }
[data-theme="light"] .dbs-chip__icon { filter: none; }
.dbs-chip--rating {
  border-color: hsl(42 96% 60% / 0.45);
  background: linear-gradient(180deg, hsl(42 96% 60% / 0.18), hsl(42 96% 60% / 0.08));
  box-shadow: inset 0 1px 0 hsl(42 96% 70% / 0.20), 0 2px 10px hsl(42 96% 55% / 0.10);
}
.dbs-chip--rating .rating-num { color: hsl(44 100% 72%); font-weight: 800; }
.dbs-chip--orders {
  border-color: hsl(16 94% 56% / 0.45);
  background: linear-gradient(180deg, hsl(16 94% 56% / 0.18), hsl(16 94% 56% / 0.08));
  box-shadow: inset 0 1px 0 hsl(16 94% 66% / 0.20), 0 2px 10px hsl(16 94% 52% / 0.10);
}
.dbs-chip--orders .orders-line { color: hsl(20 90% 82%); font-weight: 700; }
.dbs-chip--reviews {
  border-color: hsl(199 89% 60% / 0.40);
  background: linear-gradient(180deg, hsl(199 89% 60% / 0.16), hsl(199 89% 60% / 0.06));
  box-shadow: inset 0 1px 0 hsl(199 89% 70% / 0.18), 0 2px 10px hsl(199 89% 55% / 0.08);
}
.dbs-chip--reviews .detail-buy-reviews { color: hsl(200 60% 82%); }
[data-theme="light"] .dbs-chip {
  border-color: hsl(224 24% 88% / 0.95);
  background: hsl(220 30% 98% / 0.85);
}
[data-theme="light"] .dbs-chip--rating {
  border-color: hsl(38 80% 50% / 0.55);
  background: linear-gradient(180deg, hsl(38 80% 55% / 0.18), hsl(38 80% 55% / 0.06));
  box-shadow: inset 0 1px 0 hsl(38 80% 65% / 0.25), 0 2px 10px hsl(38 80% 50% / 0.10);
}
[data-theme="light"] .dbs-chip--rating .rating-num { color: hsl(36 80% 32%); }
[data-theme="light"] .dbs-chip--orders {
  border-color: hsl(16 80% 50% / 0.50);
  background: linear-gradient(180deg, hsl(16 80% 55% / 0.16), hsl(16 80% 55% / 0.05));
  box-shadow: inset 0 1px 0 hsl(16 80% 65% / 0.25), 0 2px 10px hsl(16 80% 50% / 0.10);
}
[data-theme="light"] .dbs-chip--orders .orders-line { color: hsl(14 70% 35%); }
[data-theme="light"] .dbs-chip--reviews {
  border-color: hsl(200 70% 50% / 0.45);
  background: linear-gradient(180deg, hsl(200 70% 55% / 0.14), hsl(200 70% 55% / 0.04));
  box-shadow: inset 0 1px 0 hsl(200 70% 65% / 0.22), 0 2px 10px hsl(200 70% 50% / 0.08);
}
[data-theme="light"] .dbs-chip--reviews .detail-buy-reviews { color: hsl(205 50% 35%); }
.detail-buy__cta-row { display: flex; flex-direction: column; gap: 8px; margin: 0 0 14px; }
.detail-buy__urgency {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
}
.detail-buy__urgency strong { color: hsl(12 86% 60%); font-weight: 800; }
.buy-price {
  font-size: clamp(38px, 5vw, 52px);
  font-weight: 900;
  line-height: 1;
  margin: 8px 0 10px;
  color: hsl(152 84% 50%);
  text-shadow: 0 0 20px hsl(152 84% 50% / 0.24);
}
.detail-buy-price-row {
  margin: 8px 0 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.detail-buy-price-main {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.detail-buy-price-row.price .buy-price {
  margin: 0;
}
.detail-buy-savings {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
  color: hsl(150 80% 78%);
  background: linear-gradient(
    120deg,
    hsl(150 80% 45% / 0.28),
    hsl(155 75% 38% / 0.22)
  );
  border: 1px solid hsl(150 80% 55% / 0.45);
  box-shadow: 0 2px 10px hsl(150 80% 40% / 0.18);
}
[data-theme="light"] .detail-buy-savings {
  color: hsl(158 78% 22%);
  background: linear-gradient(
    120deg,
    hsl(150 80% 92%),
    hsl(158 75% 88%)
  );
  border-color: hsl(158 70% 45% / 0.45);
  box-shadow: 0 2px 8px hsl(158 70% 45% / 0.12);
}
.detail-buy-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 2px;
  margin: 0 0 8px;
  font-size: 14px;
}
.detail-buy-reviews {
  color: var(--text-muted);
  font-weight: 600;
}
[data-theme="light"] .detail-buy .detail-buy-reviews {
  color: var(--text-muted);
}
[data-theme="light"] .detail-buy .buy-price {
  color: var(--price-green);
  text-shadow: none;
}
.buy-headline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .4px;
  color: white;
  padding: 4px 10px;
  background: linear-gradient(120deg, hsl(355 84% 56%), hsl(16 94% 56%));
  border: 1px solid hsl(0 0% 100% / 0.2);
}
.buy-headline__icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.detail-buy-steam {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  pointer-events: none;
  opacity: 0.96;
  background: transparent;
  box-shadow: 0 4px 14px hsl(0 0% 0% / 0.45);
}
[data-theme="light"] .detail-buy-steam {
  background: transparent;
  box-shadow: 0 4px 14px hsl(350 30% 45% / 0.18);
}
.detail-buy-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: nowrap;
  margin: 0 0 14px;
}
.buy-title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 64px;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 12px;
  color: inherit;
}
.buy-title__logo {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid hsl(350 90% 58% / 0.45);
  box-shadow:
    0 4px 14px hsl(350 80% 30% / 0.35),
    0 0 16px hsl(350 90% 50% / 0.22),
    inset 0 0 0 1px hsl(0 0% 100% / 0.08);
  background: hsl(355 30% 14% / 0.6);
}
.buy-title__logo--fallback {
  display: inline-block;
  background: linear-gradient(
    145deg,
    hsl(350 45% 24%),
    hsl(18 50% 20%) 52%,
    hsl(355 40% 14%)
  );
}
[data-theme="light"] .buy-title__logo {
  border-color: hsl(350 60% 70% / 0.7);
  box-shadow:
    0 4px 12px hsl(350 50% 50% / 0.2),
    inset 0 0 0 1px hsl(0 0% 100% / 0.65);
}
[data-theme="light"] .buy-title__logo--fallback {
  background: linear-gradient(
    145deg,
    hsl(350 45% 92%),
    hsl(18 50% 90%) 52%,
    hsl(355 40% 88%)
  );
}
.buy-title__text {
  min-width: 0;
  background: linear-gradient(135deg, hsl(350 95% 62%), hsl(18 95% 58%) 55%, hsl(40 98% 62%));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
[data-theme="light"] .buy-title__text {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: hsl(0 0% 100%);
}
.delivery-box {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid hsl(0 0% 100% / 0.14);
  background: hsl(0 0% 100% / 0.05);
  border-radius: 14px;
  padding: 12px;
  margin: 0 0 16px;
}
.delivery-box__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}
.delivery-box__body {
  flex: 1;
  min-width: 0;
}
[data-theme="light"] .detail-buy .delivery-box {
  border: 1px solid hsl(200 60% 62% / 0.4);
  background: linear-gradient(165deg, hsl(218 42% 22% / 0.6), hsl(220 40% 15% / 0.42));
  color: hsl(210 30% 92%);
}
[data-theme="light"] .detail-buy .delivery-box .delivery-main {
  color: hsl(0 0% 98%);
}
[data-theme="light"] .detail-buy .delivery-box .delivery-sub {
  color: hsl(210 20% 78%);
}
.delivery-title {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 6px;
  color: inherit;
}
.delivery-main {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 2px;
  color: inherit;
}
.delivery-sub {
  font-size: 13px;
  color: var(--text-muted);
}

.game-gift-promo {
  position: relative;
  margin: 0 0 16px;
  padding: 2px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(
    125deg,
    hsl(330 100% 60%),
    hsl(350 100% 58%) 40%,
    hsl(20 100% 56%) 100%
  );
  box-shadow:
    0 14px 40px hsl(340 90% 50% / 0.42),
    0 0 30px hsl(340 90% 55% / 0.35),
    0 0 0 1px hsl(0 0% 100% / 0.22) inset;
}
.game-gift-promo__shine {
  position: absolute;
  inset: -40% -20% auto 30%;
  height: 120%;
  background: radial-gradient(
    circle at 50% 0%,
    hsl(0 0% 100% / 0.35),
    transparent 58%
  );
  pointer-events: none;
  mix-blend-mode: overlay;
}
.game-gift-promo__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 14px 15px;
  border-radius: 14px;
  background: linear-gradient(
    165deg,
    hsl(330 45% 14% / 0.97),
    hsl(350 40% 12% / 0.94) 52%,
    hsl(10 35% 11% / 0.96)
  );
  border: 1px solid hsl(0 0% 100% / 0.16);
  box-shadow: inset 0 1px 0 hsl(0 0% 100% / 0.12);
}
.game-gift-promo__icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px hsl(45 100% 50% / 0.35)) brightness(0) invert(1);
}
.game-gift-promo__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.game-gift-promo__kicker {
  width: fit-content;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(45 100% 12%);
  background: linear-gradient(120deg, hsl(48 100% 72%), hsl(38 96% 62%));
  border: 1px solid hsl(0 0% 100% / 0.35);
  box-shadow: 0 2px 10px hsl(45 90% 40% / 0.25);
}
.game-gift-promo__title {
  font-family: var(--font-display);
  font-size: clamp(17px, 2.6vw, 20px);
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.2;
  color: hsl(210 28% 98%);
  text-shadow: 0 0 28px hsl(330 90% 60% / 0.5);
}
.game-gift-promo__sub {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: hsl(210 18% 78%);
}
[data-theme="light"] .game-gift-promo {
  box-shadow:
    0 12px 30px hsl(340 80% 50% / 0.28),
    0 0 24px hsl(340 80% 55% / 0.22),
    0 0 0 1px hsl(340 80% 55% / 0.4) inset;
}
[data-theme="light"] .game-gift-promo__inner {
  background: linear-gradient(
    165deg,
    hsl(330 45% 14% / 0.92),
    hsl(350 40% 12% / 0.9) 52%,
    hsl(10 35% 11% / 0.92)
  );
  border-color: hsl(0 0% 100% / 0.16);
  box-shadow: inset 0 1px 0 hsl(0 0% 100% / 0.12);
}
[data-theme="light"] .game-gift-promo__title {
  color: hsl(210 28% 98%);
  text-shadow: 0 0 28px hsl(330 90% 60% / 0.5);
}
[data-theme="light"] .game-gift-promo__sub {
  color: hsl(210 18% 80%);
}
[data-theme="light"] .game-gift-promo__kicker {
  color: hsl(35 90% 18%);
  border-color: hsl(43 70% 55% / 0.45);
  box-shadow: 0 2px 8px hsl(45 70% 50% / 0.15);
}

[data-theme="light"] .detail-buy .detail-buy-price-row .old {
  color: hsl(220 12% 46%);
  opacity: 1;
}
[data-theme="light"] .detail-buy .meta {
  color: var(--text-muted);
}
[data-theme="light"] .detail-buy a {
  color: var(--accent);
}
[data-theme="light"] .detail-buy a:hover {
  color: var(--accent-hover);
}
.detail-reviews {
  margin-top: 22px;
  padding: 22px 24px 26px;
}
.reviews-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.reviews-head h2 {
  margin: 0 0 6px;
}
.reviews-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.reviews-rating {
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.reviews-count {
  color: var(--text-muted);
  font-size: 14px;
}
.reviews-all-link {
  color: var(--text-muted);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 6px 10px;
  background: hsl(0 0% 100% / 0.04);
  white-space: nowrap;
}
.reviews-all-link:hover {
  color: var(--text-primary);
}
.review-form {
  margin: 8px 0 16px;
}
.review-form-box {
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 12px;
  background: hsl(0 0% 100% / 0.03);
}
.buy-modal-overlay {
  position: fixed;
  inset: 0;
  background: hsl(236 42% 6% / 0.66);
  backdrop-filter: blur(4px) saturate(1.08);
  -webkit-backdrop-filter: blur(4px) saturate(1.08);
  z-index: 60;
}
[data-theme="light"] .buy-modal-overlay {
  background: hsl(225 28% 22% / 0.42);
}
.buy-modal-overlay[hidden],
.buy-modal[hidden] {
  display: none !important;
}
.buy-modal {
  position: fixed;
  left: 50%;
  top: 96px;
  transform: translateX(-50%);
  margin: 0;
  width: min(400px, calc(100vw - 20px));
  max-height: calc(100vh - 112px);
  overflow: auto;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-inset), var(--panel-shadow);
  z-index: 61;
  padding: 14px 14px 10px;
}
.buy-modal-title {
  margin: 0 0 24px;
  padding-right: 36px;
  font-size: clamp(1.45rem, 4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.buy-modal-close {
  position: absolute;
  right: 12px;
  top: 14px;
  border: 0;
  background: hsl(0 0% 100% / 0.06);
  color: var(--text-primary);
  font-size: 24px;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.buy-modal-close:hover {
  background: hsl(0 0% 100% / 0.12);
}
.buy-modal-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}
.buy-modal-summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 0;
  background: hsl(0 0% 100% / 0.04);
  border-radius: 14px;
}
[data-theme="light"] .buy-modal-summary {
  border: 1px solid hsl(200 60% 60% / 0.2);
  background: linear-gradient(165deg, hsl(218 40% 20% / 0.6), hsl(220 40% 14% / 0.46));
  color: hsl(210 24% 90%);
}
.buy-modal-instant {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: hsl(148 70% 45%);
}
[data-theme="dark"] .buy-modal-instant__icon {
  filter: brightness(0) invert(1);
}
.buy-title--modal {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}
.buy-title--modal .buy-title__logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 0;
  box-shadow: none;
}
.buy-modal-social {
  flex-wrap: wrap;
  font-size: 13px;
  margin: 0;
}
.buy-modal-delivery {
  margin: 0;
  padding: 10px;
  border-radius: 12px;
}
.buy-modal-delivery .delivery-box__icon {
  width: 24px;
  height: 24px;
}
.buy-modal-delivery .delivery-title {
  font-size: 12px;
  margin-bottom: 2px;
}
.buy-modal-delivery .delivery-main {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 0;
}

.buy-modal-discount {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 2px;
}
.buy-modal-discount-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(125deg, hsl(358 84% 58%), hsl(339 78% 46%));
}
.buy-modal-discount-old {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.buy-modal-discount-save {
  font-size: 12px;
  color: var(--text-muted);
}
.buy-modal-label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.buy-modal-email-field {
  margin: 0 0 14px;
  padding: 12px 12px 14px;
  border: 1px solid hsl(200 60% 60% / 0.32);
  border-radius: 14px;
  background: linear-gradient(165deg, hsl(200 60% 24% / 0.34), hsl(218 42% 16% / 0.26));
  box-shadow: inset 0 1px 0 hsl(0 0% 100% / 0.08), 0 2px 12px hsl(200 60% 20% / 0.18);
}
.buy-modal-label--email {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: hsl(190 90% 70%);
}
.buy-modal-input--email {
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 600;
  border-color: hsl(200 70% 60% / 0.5);
  background: hsl(218 42% 14% / 0.6);
}
.buy-modal-input--email::placeholder { color: hsl(210 16% 62%); }
.buy-modal-input {
  width: 100%;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  background: var(--glass-soft);
  color: var(--text-primary);
  padding: 10px 12px;
  font-size: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.buy-modal-input:focus {
  outline: none;
  border-color: hsl(154 55% 42% / 0.65);
  box-shadow: 0 0 0 3px hsl(154 60% 45% / 0.2);
}
.buy-modal-hint {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.45;
  margin: 8px 0 12px;
}
.buy-modal-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 2px 0 12px;
}
.buy-modal-discount-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.buy-modal-price-amount {
  font-size: clamp(1.65rem, 4vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--price-green);
}
.buy-modal-price-line {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.buy-modal-price strong {
  color: var(--price-green);
}
.buy-trust-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.detail-buy-trust-list {
  margin: 0 0 16px;
  gap: 7px;
}
.detail-buy-trust-list li {
  padding: 7px 10px;
  font-size: 12px;
}
.buy-trust-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 8px 10px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
  background: linear-gradient(
    135deg,
    hsl(154 42% 42% / 0.14),
    hsl(172 38% 38% / 0.1)
  );
  border: 1px solid hsl(154 45% 42% / 0.28);
  box-shadow: inset 0 1px 0 hsl(0 0% 100% / 0.08);
}
.buy-trust-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(145deg, hsl(154 72% 38%), hsl(168 68% 34%));
  box-shadow:
    0 2px 10px hsl(154 65% 28% / 0.45),
    inset 0 1px 0 hsl(0 0% 100% / 0.22);
}
[data-theme="light"] .buy-trust-list li {
  background: linear-gradient(135deg, hsl(154 42% 20% / 0.5), hsl(168 38% 16% / 0.38));
  border-color: hsl(154 55% 52% / 0.4);
  box-shadow: inset 0 1px 0 hsl(0 0% 100% / 0.1);
  color: hsl(150 30% 92%);
}
[data-theme="light"] .buy-trust-list li::before {
  box-shadow:
    0 2px 10px hsl(154 50% 35% / 0.35),
    inset 0 1px 0 hsl(0 0% 100% / 0.25);
}
.buy-modal-submit.btn-buy-hero {
  margin-top: 6px;
  margin-bottom: 0;
  min-height: 40px;
  padding-block: 9px;
}
.payment-badges {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 14px;
}
.payment-badge-img {
  display: block;
  height: 26px;
  width: auto;
  max-width: 108px;
  object-fit: contain;
  object-position: center;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}
.payment-badge-img:not(.payment-badge-img--card) {
  background: transparent;
}
.payment-badge-img--sbp {
  height: 28px;
  max-width: 140px;
}
.payment-badge-img--card {
  height: 28px;
  width: auto;
  max-width: 44px;
  color: hsl(0 0% 96%);
}
.detail-buy .payment-badges {
  margin-top: 14px;
  margin-bottom: 2px;
  gap: clamp(1rem, 3vw, 1.75rem);
  background: transparent;
}
[data-theme="light"] .payment-badge-img--card {
  filter: none;
  color: hsl(210 30% 92%);
}
.detail-buy-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 14px 0 0;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: hsl(210 18% 72%);
}
.detail-buy-footnote__icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  object-fit: contain;
}
.detail-buy-footnote__icon {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
[data-theme="light"] .detail-buy-footnote {
  color: var(--text-muted);
}
.buy-modal-consents {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 12px;
}
.buy-modal-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-muted);
  cursor: pointer;
}
.buy-modal-consent input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: hsl(154 65% 42%);
  flex-shrink: 0;
  cursor: pointer;
}
.buy-modal-consent--single {
  padding: 12px 13px;
  border: 1px solid hsl(154 42% 42% / 0.28);
  border-radius: 12px;
  background: linear-gradient(
    145deg,
    hsl(154 40% 40% / 0.12),
    hsl(170 42% 36% / 0.08)
  );
  box-shadow: inset 0 1px 0 hsl(0 0% 100% / 0.08);
}
[data-theme="light"] .buy-modal-consent--single {
  border-color: hsl(154 45% 45% / 0.4);
  background: linear-gradient(145deg, hsl(154 42% 20% / 0.5), hsl(170 40% 16% / 0.38));
  color: hsl(210 24% 90%);
}
[data-theme="light"] .buy-modal .buy-modal-delivery {
  border-color: hsl(200 60% 62% / 0.4);
  background: linear-gradient(165deg, hsl(218 42% 22% / 0.6), hsl(220 40% 15% / 0.42));
  color: hsl(210 30% 92%);
}
[data-theme="light"] .buy-modal .buy-modal-delivery .delivery-main { color: hsl(0 0% 98%); }
[data-theme="light"] .buy-modal .buy-modal-delivery .delivery-title { color: hsl(200 60% 80%); }
.modal-open {
  overflow: auto;
}
.review-form select,
.review-form textarea,
.review-form input.review-input {
  width: 100%;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  background: var(--glass-soft);
  color: var(--text-primary);
  padding: 10px 12px;
}
.review-form input.review-input:focus,
.review-form textarea:focus {
  outline: 2px solid hsl(152 76% 44% / 0.45);
  outline-offset: 1px;
}
.detail-buy input[type="email"] {
  width: 100%;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  background: var(--glass-soft);
  color: var(--text-primary);
  padding: 10px 12px;
}
.after-purchase-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 8px;
}
.after-purchase-banner-slot {
  margin-bottom: 14px;
}
.after-purchase-review-slot {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
  margin-bottom: 8px;
}
.post-purchase-review {
  padding: 18px 20px 20px;
  border: 1px solid hsl(152 76% 42% / 0.22);
  box-shadow:
    0 1px 0 hsl(0 0% 100% / 0.06) inset,
    0 12px 40px hsl(152 84% 18% / 0.12);
}
.post-purchase-review__title {
  margin: 0 0 16px;
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.review-status-notice {
  padding: 14px 18px;
}
.review-status-notice .meta {
  margin: 0;
}
.review-status-notice--pending {
  border-color: hsl(42 92% 50% / 0.28);
  box-shadow: 0 12px 40px hsl(42 80% 20% / 0.1);
}
.review-status-notice--published {
  border-color: hsl(152 76% 42% / 0.35);
}
.review-form-post-purchase {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}
.review-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.review-field-rating .review-label {
  margin-bottom: 4px;
}
.review-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}
.review-field-error {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: hsl(358 82% 62%);
}
.review-rating-wrap {
  margin: 0;
}
.review-star-field__hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.review-star-field__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}
.review-star-field__track {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 6px 8px;
  margin: -6px -8px;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.review-star-field__track:focus-visible {
  outline: 2px solid hsl(152 76% 44%);
  outline-offset: 3px;
}
.review-star-field__track:hover {
  background: hsl(0 0% 100% / 0.04);
}
.review-star-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  margin: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: hsl(220 16% 38%);
  cursor: pointer;
  transition:
    color 0.12s ease,
    transform 0.12s ease,
    filter 0.12s ease;
}
.review-star-btn:hover {
  transform: scale(1.06);
}
.review-star-btn:focus-visible {
  outline: 2px solid hsl(152 76% 44%);
  outline-offset: 2px;
}
.review-star-btn--on {
  color: hsl(48 96% 54%);
  filter: drop-shadow(0 0 10px hsl(48 96% 52% / 0.45));
}
.review-star-field__number-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.review-star-field__number-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.review-star-field__number {
  width: 4.25rem;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: var(--glass-soft);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.review-star-field__number:focus {
  outline: 2px solid hsl(152 76% 44% / 0.45);
  outline-offset: 1px;
}
.btn-review-submit {
  margin-top: 4px;
  align-self: flex-start;
}
.review-login-hint {
  padding: 16px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  justify-content: space-between;
}
.review-login-hint__text {
  margin: 0;
  flex: 1;
  min-width: 200px;
}
.review-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.review-item {
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 12px 14px;
  background: linear-gradient(165deg, hsl(233 28% 18% / 0.42), hsl(228 26% 14% / 0.36));
  backdrop-filter: blur(10px) saturate(1.12);
  -webkit-backdrop-filter: blur(10px) saturate(1.12);
  box-shadow: var(--glass-inset);
}
.review-item--stars-only {
  padding: 8px 14px;
}
.review-item--stars-only .review-head {
  margin: 0;
}
.review-item--highlight {
  border-color: hsl(219 75% 48% / 0.6);
  box-shadow:
    var(--glass-inset),
    0 0 0 1px hsl(219 75% 50% / 0.28),
    0 10px 26px hsl(219 70% 28% / 0.22);
  background: linear-gradient(
    165deg,
    hsl(219 40% 22% / 0.55),
    hsl(228 24% 15% / 0.42)
  );
}
.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.review-date {
  color: var(--text-muted);
  font-size: 12px;
}
[data-theme="light"] .detail-reviews .reviews-rating {
  color: var(--text-primary);
}
[data-theme="light"] .detail-reviews .reviews-summary .star-rating__track {
  color: hsl(220 14% 76%);
}
[data-theme="light"] .detail-reviews .reviews-summary .star-rating__fill {
  color: hsl(219 75% 46%);
}
[data-theme="light"] .reviews-all-link {
  background: hsl(218 40% 20% / 0.5);
  border-color: hsl(200 55% 60% / 0.32);
  backdrop-filter: blur(6px) saturate(1.06);
  -webkit-backdrop-filter: blur(6px) saturate(1.06);
}
[data-theme="light"] .reviews-all-link:hover {
  background: hsl(200 50% 26% / 0.6);
  border-color: hsl(200 70% 62% / 0.5);
}
[data-theme="light"] .similar-games-genre {
  color: hsl(219 75% 46%);
  border-bottom-color: hsl(219 75% 46% / 0.35);
}
[data-theme="light"] .similar-games-genre:hover {
  color: hsl(219 80% 38%);
  border-bottom-color: hsl(219 75% 46% / 0.75);
}
[data-theme="light"] .review-form-box {
  background: linear-gradient(165deg, hsl(218 40% 20% / 0.5), hsl(220 40% 14% / 0.36));
  border-color: hsl(200 55% 60% / 0.3);
  backdrop-filter: blur(8px) saturate(1.08);
  -webkit-backdrop-filter: blur(8px) saturate(1.08);
}
[data-theme="light"] .review-item {
  background: linear-gradient(165deg, hsl(218 40% 20% / 0.58), hsl(220 40% 14% / 0.44));
  border: 1px solid hsl(200 55% 60% / 0.32);
  backdrop-filter: blur(8px) saturate(1.08);
  -webkit-backdrop-filter: blur(8px) saturate(1.08);
  box-shadow: var(--glass-inset), 0 4px 14px hsl(220 50% 6% / 0.28);
  color: hsl(210 28% 94%);
}
[data-theme="light"] .review-item .review-date {
  color: hsl(210 20% 72%);
}
[data-theme="light"] .review-item .rating-line {
  color: hsl(200 80% 66%);
}
[data-theme="light"] .review-item strong {
  color: hsl(0 0% 98%);
}
[data-theme="light"] .review-item p {
  color: hsl(210 24% 90%);
}
[data-theme="light"] .review-item--highlight {
  border-color: hsl(200 80% 62% / 0.55);
  box-shadow: var(--glass-inset), 0 0 0 1px hsl(200 70% 60% / 0.3), 0 6px 22px hsl(200 70% 40% / 0.22);
  background: linear-gradient(
    165deg,
    hsl(200 50% 24% / 0.62),
    hsl(218 42% 16% / 0.48)
  );
}
[data-theme="light"] .post-purchase-review {
  border-color: var(--glass-border);
}
[data-theme="light"] .review-star-btn {
  color: hsl(220 14% 72%);
}
[data-theme="light"] .review-star-btn--on {
  color: hsl(43 96% 44%);
  filter: drop-shadow(0 0 8px hsl(43 96% 44% / 0.35));
}
[data-theme="light"] .review-star-field__number {
  background: hsl(0 0% 100%);
  border-color: hsl(224 22% 82% / 0.95);
}
[data-theme="light"] .review-star-field__track:hover {
  background: hsl(220 30% 98%);
}

main.site-wrap {
  position: relative;
  z-index: 1;
  padding-bottom: 28px;
}
.site-footer {
  position: relative;
  z-index: 0;
  margin-top: auto;
  padding: 28px 0 36px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
  padding: 14px 22px 12px;
  border-radius: 9999px;
  border: 1px solid var(--glass-border);
  background: hsl(232 28% 12% / 0.38);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  box-shadow: var(--glass-inset), 0 14px 36px hsl(350 50% 4% / 0.28);
}
[data-theme="light"] .footer-inner {
  background: linear-gradient(
      180deg,
      hsl(225 32% 14% / 0.62),
      hsl(232 30% 10% / 0.66)
    );
  border-color: hsl(200 60% 65% / 0.32);
  box-shadow: var(--glass-inset), 0 12px 28px hsl(225 40% 8% / 0.34);
}
[data-theme="light"] .footer-links a,
[data-theme="light"] .footer-sep,
[data-theme="light"] .footer-copy {
  color: hsl(210 24% 86%) !important;
}
[data-theme="light"] .footer-links a:hover {
  color: hsl(200 90% 82%) !important;
}
[data-theme="light"] .footer-sep {
  opacity: 0.55;
}
@media (prefers-reduced-transparency: reduce) {
  [data-theme="light"] .footer-inner {
    background: hsl(232 30% 11%);
  }
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
  font-size: 13px;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-sep {
  color: var(--text-muted);
  opacity: 0.5;
  user-select: none;
}
.footer-copy {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.88;
}

@media (max-width: 980px) {
  :root {
    --page-gutter: 16px;
    --header-gutter: 20px;
    --nav-outer-inset: 12px;
  }
  .nav-glass {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px 10px;
    padding: 13px 10px;
  }
  .brand-link {
    margin-inline-start: 20px;
    justify-self: start;
  }
  .brand-logo-img {
    height: 40px;
    width: 40px;
  }
  .nav-search {
    grid-column: 2;
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    max-width: none;
  }
  .nav-toolbar-end {
    grid-column: 3;
    justify-self: end;
    gap: 6px;
  }
  .nav-buy-btn {
    display: inline-flex;
  }
  .theme-slider {
    margin: 0;
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .detail-media {
    padding: 18px 16px 22px;
  }
  .detail-image-wrap {
    min-height: 220px;
  }
  .detail-image {
    max-height: min(52vh, 480px);
  }
  .detail-fallback-art {
    min-height: 220px;
    height: min(48vh, 420px);
  }
  .detail-buy {
    position: static;
  }
  .purchase-success-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .purchase-success-banner__actions {
    width: 100%;
    justify-content: stretch;
    flex-direction: column;
    align-items: stretch;
  }
  .purchase-success-banner__cta,
  .purchase-gift-btn {
    width: 100%;
    justify-content: center;
  }
  .review-list {
    grid-template-columns: 1fr;
  }
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Tablet / small laptop: wider search, same row height as phone header */
@media (min-width: 481px) and (max-width: 980px) {
  .nav-search {
    justify-self: center;
    width: min(100%, clamp(280px, 58vw, 440px));
    padding: 7.5px 10px;
    gap: 6px;
    font-size: 14px;
  }
  .nav-search-ic {
    width: 16px;
    height: 16px;
  }
  .nav-search input[type="text"] {
    min-width: 0;
    font-size: 14px;
  }
  .nav-search-clear {
    font-size: 12px;
  }
}

/* Phone: compact search so brand + buy + theme fit the header row */
@media (max-width: 480px) {
  .brand-link {
    margin-inline-start: 14px;
  }
  .nav-toolbar-end {
    margin-inline-end: 14px;
  }
  .nav-glass:has(.nav-buy-btn) .nav-search {
    width: min(100%, 118px);
    max-width: 118px;
  }
  .nav-search {
    justify-self: center;
    width: min(100%, 168px);
    max-width: 168px;
    padding: 5px 8px;
    gap: 6px;
    min-height: 0;
    font-size: 14px;
    border-radius: 9999px;
  }
  .nav-search-ic {
    width: 16px;
    height: 16px;
  }
  .nav-search input[type="text"] {
    min-width: 0;
    font-size: 14px;
  }
  .nav-search-clear {
    font-size: 12px;
    min-width: 0;
    min-height: 0;
    display: inline;
  }
}

@media (max-width: 760px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .detail-media {
    padding: 14px 12px 18px;
  }
  .detail-image-wrap {
    min-height: 180px;
    border-radius: 12px;
  }
  .detail-image {
    max-height: min(42vh, 360px);
  }
  .detail-fallback-art {
    min-height: 180px;
    height: min(40vh, 320px);
    padding: 14px;
  }
}

@media (max-width: 420px) {
  .detail-image-wrap {
    min-height: 0;
  }
  .detail-image {
    max-height: min(36vh, 240px);
  }
  .detail-fallback-art {
    min-height: 0;
    height: min(34vh, 220px);
    padding: 12px;
  }
  .fallback-title {
    font-size: clamp(18px, 8vw, 32px);
  }
}

@media (max-width: 460px) {
  .grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   Gamery micro-animations (detail page)
   Progressive: ambient + entrance only under no-preference;
   scroll-reveal only where animation-timeline is supported.
   ============================================================ */

@keyframes bg-fade-up {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to   { opacity: 1; transform: none; }
}
@keyframes bg-slide-in-right {
  from { opacity: 0; transform: translate3d(32px, 0, 0); }
  to   { opacity: 1; transform: none; }
}
@keyframes bg-pop {
  0%   { opacity: 0; transform: scale(.82); }
  70%  { opacity: 1; transform: scale(1.04); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes bg-glow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 hsl(16 94% 56% / 0), 0 0 10px hsl(16 94% 56% / 0.25); }
  50%      { box-shadow: 0 0 0 1px hsl(16 94% 56% / 0.35), 0 0 18px hsl(16 94% 56% / 0.55); }
}
@keyframes bg-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-4px) rotate(-3deg); }
}
@keyframes bg-badge-pulse {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50%      { transform: scale(1.07); filter: brightness(1.15); }
}
@keyframes bg-price-glow {
  0%, 100% { text-shadow: 0 0 18px hsl(152 84% 50% / 0.22); }
  50%      { text-shadow: 0 0 26px hsl(152 84% 50% / 0.5), 0 0 4px hsl(152 84% 50% / 0.4); }
}
@keyframes bg-grad-pan {
  0%   { background-position: 0% 0%, 0 0; }
  100% { background-position: 100% 0%, 0 0; }
}
@keyframes bg-shine-pan {
  0%   { transform: translateX(-120%) skewX(-18deg); }
  100% { transform: translateX(240%) skewX(-18deg); }
}
@keyframes bg-reveal {
  from { opacity: 0; transform: translateY(24px) scale(.985); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  /* Entrance — above the fold */
  .detail-media {
    animation: bg-fade-up .6s cubic-bezier(.2,.7,.2,1) both;
  }
  .detail-buy {
    animation: bg-slide-in-right .55s cubic-bezier(.2,.7,.2,1) both;
    animation-delay: .08s;
  }
  .detail-buy > * {
    animation: bg-fade-up .5s ease both;
  }
  .detail-buy > *:nth-child(1) { animation-delay: .12s; }
  .detail-buy > *:nth-child(2) { animation-delay: .18s; }
  .detail-buy > *:nth-child(3) { animation-delay: .24s; }
  .detail-buy > *:nth-child(4) { animation-delay: .30s; }
  .detail-buy > *:nth-child(5) { animation-delay: .36s; }
  .detail-buy > *:nth-child(6) { animation-delay: .42s; }
  .detail-buy > *:nth-child(7) { animation-delay: .48s; }
  .detail-buy > *:nth-child(8) { animation-delay: .54s; }
  .detail-buy > *:nth-child(9) { animation-delay: .60s; }

  .dbs-chip {
    animation: bg-pop .42s cubic-bezier(.2,.8,.3,1.2) both;
  }
  .dbs-chip:nth-child(1) { animation-delay: .30s; }
  .dbs-chip:nth-child(2) { animation-delay: .38s; }
  .dbs-chip:nth-child(3) { animation-delay: .46s; }

  /* Ambient — gamery neon + float */
  .detail-buy .buy-headline {
    animation: bg-glow-pulse 2.6s ease-in-out infinite;
  }
  .detail-buy-steam {
    animation: bg-float 4.5s ease-in-out infinite;
  }
  .detail-buy__pricecard .badge {
    animation: bg-badge-pulse 1.8s ease-in-out infinite;
  }
  .detail-buy__pricecard .buy-price {
    animation: bg-price-glow 3.2s ease-in-out infinite;
  }
  .detail-buy__pricecard {
    background-size: 200% 100%, 100% 100%;
    animation: bg-fade-up .5s ease both, bg-grad-pan 7s linear infinite alternate;
  }

  /* Hover micro-interactions */
  .dbs-chip {
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }
  .dbs-chip:hover {
    transform: translateY(-2px) scale(1.03);
  }
  .detail-buy__pricecard {
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  }
  .detail-buy__pricecard:hover {
    transform: translateY(-2px);
    border-color: hsl(152 84% 60% / 0.45);
    box-shadow: inset 0 1px 0 hsl(0 0% 100% / 0.1), 0 6px 22px hsl(152 84% 50% / 0.18);
  }
  .delivery-box {
    transition: transform .2s ease, box-shadow .2s ease;
  }
  .delivery-box:hover {
    transform: translateY(-2px);
  }
  .delivery-box:hover .delivery-box__icon {
    animation: bg-float 1.1s ease-in-out infinite;
  }
  .game-gift-promo {
    transition: transform .2s ease, box-shadow .2s ease;
  }
  .game-gift-promo:hover {
    transform: translateY(-3px) scale(1.01);
  }
  .detail-buy .btn-buy.btn-buy-hero {
    transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
  }
  .detail-buy .btn-buy.btn-buy-hero:hover {
    transform: translateY(-2px) scale(1.02);
    filter: brightness(1.08);
    box-shadow: 0 18px 38px hsl(350 85% 28% / 0.6), 0 0 30px hsl(350 95% 50% / 0.45);
  }
  .detail-buy .btn-buy.btn-buy-hero:active {
    transform: translateY(0) scale(.99);
  }
  .similar-game-card {
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }
  .similar-game-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px hsl(350 80% 24% / 0.45), 0 0 22px hsl(350 90% 50% / 0.18);
  }
  .review-item {
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  }
  .review-item:hover {
    transform: translateY(-2px);
  }

  /* Scroll reveal — progressive enhancement only */
  @supports (animation-timeline: view()) {
    .similar-game-card,
    .review-item,
    .detail-reviews > .reviews-head,
    .similar-games-section > .similar-games-head {
      animation: bg-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 22%;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .detail-buy .buy-headline,
  .detail-buy-steam,
  .detail-buy__pricecard .badge,
  .detail-buy__pricecard .buy-price,
  .detail-buy__pricecard,
  .detail-buy .btn-buy.btn-buy-hero::after,
  .card-ribbon {
    animation: none !important;
  }
}
/* ============================================================
   PSYCHO GAMER — dark / high-conversion palette (careful apply)
   Bold palette the user liked; elements audited for correct
   color in this palette. Media/legal/review panels stay neutral
   dark; buy & similar panels keep the crimson psycho accent.
   ============================================================ */

/* --- Atmosphere: scanlines + vignette --- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background: repeating-linear-gradient(
    180deg,
    hsl(0 0% 0% / 0) 0px,
    hsl(0 0% 0% / 0) 2px,
    hsl(0 0% 0% / 0.16) 3px,
    hsl(0 0% 0% / 0) 4px
  );
  mix-blend-mode: multiply;
  opacity: 0.4;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background: radial-gradient(ellipse 120% 100% at 50% 50%, transparent 58%, hsl(0 0% 0% / 0.5) 100%);
}
[data-theme="light"] body::before { opacity: 0.25; }
[data-theme="light"] body::after { background: radial-gradient(ellipse 120% 100% at 50% 50%, transparent 64%, hsl(220 50% 6% / 0.4) 100%); }

/* --- Header: darker, neon edge --- */
.site-header {
  border-bottom: none !important;
  box-shadow: none !important;
}
.nav-glass {
  background: hsl(348 28% 7% / 0.72) !important;
  border-color: hsl(348 60% 55% / 0.2) !important;
}
.nav-buy-btn {
  background: linear-gradient(135deg, hsl(348 100% 56%), hsl(348 80% 40%)) !important;
  box-shadow: 0 0 18px hsl(348 100% 56% / 0.4) !important;
}
.nav-buy-btn:hover { box-shadow: 0 0 26px hsl(348 100% 64% / 0.65) !important; }

/* --- Hero: psycho glow + neon proof --- */
.catalog-hero {
  border: 1px solid hsl(348 60% 50% / 0.28) !important;
  background:
    radial-gradient(120% 140% at 0% 0%, hsl(348 70% 20% / 0.55) 0%, transparent 55%),
    radial-gradient(120% 140% at 100% 0%, hsl(296 50% 18% / 0.4) 0%, transparent 55%),
    linear-gradient(180deg, hsl(348 30% 8% / 0.6) 0%, hsl(0 0% 4% / 0.5) 100%) !important;
  box-shadow: var(--glass-inset), 0 0 0 1px hsl(348 100% 56% / 0.06), 0 30px 70px hsl(0 0% 0% / 0.6) !important;
}
.catalog-hero-title {
  background-image: linear-gradient(135deg, hsl(348 100% 66%), hsl(12 95% 60%)) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  filter: drop-shadow(0 0 14px hsl(348 100% 58% / 0.45)) drop-shadow(0 2px 10px hsl(0 0% 0% / 0.6));
}
.hero-kicker {
  border-color: hsl(128 92% 52% / 0.5) !important;
  background: hsl(128 92% 52% / 0.14) !important;
  color: hsl(128 92% 62%) !important;
  box-shadow: 0 0 18px hsl(128 92% 52% / 0.25) !important;
}
.hero-trust__item {
  border-color: hsl(348 60% 55% / 0.2) !important;
  background: hsl(348 28% 10% / 0.6) !important;
}
.hero-proof__chip {
  border-color: hsl(348 60% 55% / 0.2) !important;
  background: hsl(348 28% 10% / 0.55) !important;
}
.hero-proof__chip--discount {
  border-color: hsl(128 92% 52% / 0.45) !important;
  background: hsl(128 92% 52% / 0.12) !important;
  box-shadow: 0 0 16px hsl(128 92% 52% / 0.2) !important;
}
.hero-proof__discount strong { color: hsl(128 92% 60%) !important; }
.hero-proof__chip--urgency {
  border-color: hsl(12 90% 56% / 0.5) !important;
  background: hsl(12 90% 56% / 0.14) !important;
  box-shadow: 0 0 16px hsl(12 90% 56% / 0.25) !important;
}
.hero-proof__urgency { color: hsl(12 90% 62%) !important; }
.hero-cta {
  font-size: 18px !important;
  padding: 14px 30px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, hsl(348 100% 56%), hsl(348 80% 38%)) !important;
  box-shadow: 0 14px 34px hsl(348 85% 40% / 0.5), 0 0 26px hsl(348 100% 56% / 0.45) !important;
  text-shadow: 0 1px 2px hsl(348 80% 20% / 0.6) !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}
.hero-cta:hover {
  filter: brightness(1.08);
  box-shadow: 0 18px 44px hsl(348 90% 46% / 0.65), 0 0 40px hsl(348 100% 60% / 0.7) !important;
}

/* --- Catalog cards: darker, neon hover glow --- */
.card, .game-card, .similar-game-card {
  background: linear-gradient(180deg, hsl(348 26% 10% / 0.7), hsl(0 0% 5% / 0.6)) !important;
  border-color: hsl(348 50% 50% / 0.16) !important;
  box-shadow: 0 10px 26px hsl(0 0% 0% / 0.5) !important;
}
.game-card:hover, .similar-game-card:hover {
  border-color: hsl(348 100% 60% / 0.55) !important;
  box-shadow: 0 22px 48px hsl(0 0% 0% / 0.7), 0 0 26px hsl(348 100% 56% / 0.35), inset 0 0 0 1px hsl(348 100% 60% / 0.2) !important;
}
.game-card:hover .cover, .similar-game-card:hover .cover { filter: saturate(1.25) contrast(1.05); }
.game-card .title a, .similar-game-card .title a { text-shadow: 0 2px 10px hsl(0 0% 0% / 0.6); }
.game-card:hover .title a, .similar-game-card:hover .title a {
  color: hsl(348 100% 72%) !important;
  text-shadow: 0 0 14px hsl(348 100% 56% / 0.5);
}

/* --- Discount badge: toxic acid, readable --- */
.badge {
  background: linear-gradient(135deg, hsl(128 92% 52%), hsl(128 80% 38%)) !important;
  color: hsl(0 0% 5%) !important;
  border: 1px solid hsl(128 92% 70% / 0.6) !important;
  box-shadow: 0 0 16px hsl(128 92% 52% / 0.45) !important;
  font-weight: 900 !important;
  letter-spacing: 0.5px;
}

/* --- Card buy button: crimson glow --- */
.btn-card-primary {
  background: linear-gradient(135deg, hsl(348 100% 56%), hsl(348 80% 40%)) !important;
  box-shadow: 0 0 16px hsl(348 100% 56% / 0.3) !important;
}
.btn-card-primary:hover {
  box-shadow: 0 0 24px hsl(348 100% 60% / 0.55) !important;
  filter: brightness(1.08);
}

/* --- Ribbon: more aggressive --- */
.card-ribbon {
  background: linear-gradient(120deg, hsl(348 100% 60%), hsl(348 85% 42%)) !important;
  box-shadow:
    0 4px 14px hsl(348 90% 30% / 0.55),
    0 0 0 1px hsl(348 80% 20% / 0.5),
    inset 0 1px 0 hsl(0 0% 100% / 0.4),
    0 0 18px hsl(348 100% 60% / 0.5) !important;
  text-shadow: 0 1px 2px hsl(348 80% 20% / 0.6);
}

/* --- Glass panels: NEUTRAL dark (media / legal / reviews / upload) ---
   Placed before .detail-buy / .similar-games-section so those keep
   their own crimson accent below. --- */
.glass-panel {
  background: linear-gradient(180deg, hsl(0 0% 8% / 0.66), hsl(0 0% 4% / 0.55)) !important;
  border-color: hsl(348 50% 50% / 0.16) !important;
}
/* Media panel: explicitly neutral so game cover/screenshots are not tinted */
.detail-media {
  background: hsl(0 0% 5% / 0.62) !important;
  border-color: hsl(348 50% 50% / 0.16) !important;
}

/* --- Detail buy panel: psycho CTA + acid price (crimson accent) --- */
.detail-buy {
  background: linear-gradient(180deg, hsl(348 28% 9% / 0.78), hsl(0 0% 4% / 0.7)) !important;
  border-color: hsl(348 60% 50% / 0.28) !important;
  box-shadow: var(--glass-inset), 0 0 0 1px hsl(348 100% 56% / 0.08), 0 30px 70px hsl(0 0% 0% / 0.65) !important;
}
.detail-buy__pricecard {
  border-color: hsl(348 60% 50% / 0.22) !important;
  background:
    radial-gradient(120% 120% at 100% 0%, hsl(348 70% 20% / 0.4), transparent 60%),
    linear-gradient(180deg, hsl(348 28% 10% / 0.7), hsl(0 0% 5% / 0.6)) !important;
  box-shadow: inset 0 1px 0 hsl(348 100% 60% / 0.12), 0 0 22px hsl(348 100% 56% / 0.1) !important;
}
.buy-price {
  color: hsl(128 92% 58%) !important;
  text-shadow: 0 0 18px hsl(128 92% 52% / 0.4) !important;
}
.detail-buy-savings { color: hsl(128 92% 60%) !important; }
.detail-buy__urgency {
  border-color: hsl(12 90% 56% / 0.45) !important;
  background: hsl(12 90% 56% / 0.12) !important;
  box-shadow: 0 0 18px hsl(12 90% 56% / 0.2) !important;
}
.detail-buy__urgency strong { color: hsl(12 90% 62%) !important; }

/* Hero buy CTA: bigger, pulsing, double glow, uppercase */
.btn-buy.btn-buy-hero {
  font-size: 26px !important;
  padding: 18px 18px !important;
  border-radius: 14px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  border-color: hsl(348 70% 30% / 0.9) !important;
  background: linear-gradient(135deg, hsl(348 100% 58%), hsl(12 94% 56%)) !important;
  box-shadow:
    0 16px 38px hsl(348 90% 42% / 0.55),
    0 0 28px hsl(348 100% 58% / 0.5),
    inset 0 1px 0 hsl(0 0% 100% / 0.3) !important;
  text-shadow: 0 1px 2px hsl(348 80% 20% / 0.6) !important;
}
.btn-buy.btn-buy-hero:hover {
  filter: brightness(1.08);
  box-shadow:
    0 20px 48px hsl(348 95% 48% / 0.7),
    0 0 44px hsl(348 100% 62% / 0.75),
    inset 0 1px 0 hsl(0 0% 100% / 0.35) !important;
}

/* --- Similar games section: neon head (crimson accent) --- */
.similar-games-section {
  border-color: hsl(348 50% 50% / 0.2) !important;
  background: linear-gradient(180deg, hsl(348 26% 9% / 0.6), hsl(0 0% 4% / 0.5)) !important;
  box-shadow: 0 0 0 1px hsl(348 100% 56% / 0.05), 0 24px 60px hsl(0 0% 0% / 0.55) !important;
}
.similar-games-title { text-shadow: 0 0 16px hsl(348 100% 56% / 0.35); }

/* --- Psycho animations (ambient) --- */
@keyframes psycho-cta-pulse {
  0%, 100% { box-shadow: 0 16px 38px hsl(348 90% 42% / 0.55), 0 0 28px hsl(348 100% 58% / 0.5), inset 0 1px 0 hsl(0 0% 100% / 0.3); }
  50%      { box-shadow: 0 20px 48px hsl(348 95% 48% / 0.7),  0 0 44px hsl(348 100% 62% / 0.75), inset 0 1px 0 hsl(0 0% 100% / 0.35); }
}
@keyframes psycho-urgency-pulse {
  0%, 100% { box-shadow: 0 0 0 0 hsl(12 90% 56% / 0); }
  50%      { box-shadow: 0 0 0 6px hsl(12 90% 56% / 0.14); }
}
@keyframes psycho-kicker-pulse {
  0%, 100% { box-shadow: 0 0 18px hsl(128 92% 52% / 0.25); }
  50%      { box-shadow: 0 0 26px hsl(128 92% 52% / 0.5); }
}

@media (prefers-reduced-motion: no-preference) {
  .btn-buy.btn-buy-hero { animation: psycho-cta-pulse 2.4s ease-in-out infinite; }
  .hero-cta { animation: psycho-cta-pulse 2.8s ease-in-out infinite; }
  .detail-buy__urgency { animation: psycho-urgency-pulse 1.8s ease-in-out infinite; }
  .hero-proof__chip--urgency { animation: psycho-urgency-pulse 2s ease-in-out infinite; }
  .hero-kicker { animation: psycho-kicker-pulse 2.6s ease-in-out infinite; }
}

@media (prefers-reduced-motion: reduce) {
  body::before, body::after { display: none; }
  .btn-buy.btn-buy-hero,
  .hero-cta,
  .detail-buy__urgency,
  .hero-proof__chip--urgency,
  .hero-kicker {
    animation: none !important;
  }
}

/* detail-buy-social chips: transparent background (keep colored border + text) */
.detail-buy-social .dbs-chip,
.detail-buy-social .dbs-chip--rating,
.detail-buy-social .dbs-chip--orders,
.detail-buy-social .dbs-chip--reviews,
[data-theme="light"] .detail-buy-social .dbs-chip,
[data-theme="light"] .detail-buy-social .dbs-chip--rating,
[data-theme="light"] .detail-buy-social .dbs-chip--orders,
[data-theme="light"] .detail-buy-social .dbs-chip--reviews {
  background: transparent !important;
  box-shadow: none !important;
}

/* ============================================================
   LIGHT THEME FIX — undo psycho dark backgrounds/!important
   so the white theme reads correctly (light surfaces, dark
   text, coherent accents).
   ============================================================ */

/* Body: soft mid-navy blue trust radials */
[data-theme="light"] body {
  background-image:
    radial-gradient(ellipse 130% 95% at 50% -10%, hsl(210 60% 24% / 0.8), transparent 60%),
    radial-gradient(ellipse 90% 60% at 100% 0%, hsl(190 70% 22% / 0.4), transparent 55%),
    linear-gradient(168deg, hsl(220 40% 12%) 0%, hsl(220 36% 15%) 42%, hsl(222 40% 13%) 100%) !important;
}

/* Header / nav */
[data-theme="light"] .site-header {
  border-bottom: none !important;
  box-shadow: none !important;
}
[data-theme="light"] .nav-glass {
  background: hsl(218 38% 17% / 0.7) !important;
  border-color: hsl(200 60% 60% / 0.2) !important;
}

/* Hero */
[data-theme="light"] .catalog-hero {
  border-color: hsl(200 60% 50% / 0.24) !important;
  background:
    radial-gradient(120% 140% at 0% 0%, hsl(210 60% 26% / 0.45) 0%, transparent 55%),
    radial-gradient(120% 140% at 100% 0%, hsl(190 70% 24% / 0.32) 0%, transparent 55%),
    linear-gradient(180deg, hsl(220 38% 16% / 0.55) 0%, hsl(222 40% 12% / 0.45) 100%) !important;
  box-shadow: var(--glass-inset), 0 0 0 1px hsl(200 70% 60% / 0.06), 0 24px 60px hsl(220 50% 6% / 0.5) !important;
}
[data-theme="light"] .hero-kicker {
  color: hsl(190 80% 60%) !important;
  border-color: hsl(190 70% 55% / 0.45) !important;
  background: hsl(190 70% 50% / 0.12) !important;
  box-shadow: 0 0 14px hsl(190 70% 55% / 0.18) !important;
}
[data-theme="light"] .hero-trust__item {
  border-color: hsl(200 60% 60% / 0.18) !important;
  background: hsl(218 36% 20% / 0.55) !important;
}
[data-theme="light"] .hero-proof__chip {
  border-color: hsl(200 60% 60% / 0.18) !important;
  background: hsl(218 36% 20% / 0.5) !important;
}
[data-theme="light"] .hero-proof__discount strong { color: hsl(128 80% 58%) !important; }

/* Cards / panels / media / buy */
[data-theme="light"] .card,
[data-theme="light"] .game-card,
[data-theme="light"] .similar-game-card {
  background: linear-gradient(180deg, hsl(218 38% 20% / 0.6), hsl(220 40% 14% / 0.5)) !important;
  border-color: hsl(200 50% 55% / 0.16) !important;
  box-shadow: 0 8px 22px hsl(220 50% 6% / 0.45) !important;
}
[data-theme="light"] .game-card:hover,
[data-theme="light"] .similar-game-card:hover {
  border-color: hsl(200 80% 62% / 0.45) !important;
  box-shadow: 0 18px 40px hsl(220 50% 6% / 0.55), 0 0 20px hsl(200 80% 60% / 0.22), inset 0 0 0 1px hsl(200 80% 62% / 0.16) !important;
}
[data-theme="light"] .game-card:hover .title a,
[data-theme="light"] .similar-game-card:hover .title a {
  color: hsl(200 80% 72%) !important;
  text-shadow: 0 0 12px hsl(200 80% 60% / 0.4);
}

[data-theme="light"] .glass-panel {
  background: linear-gradient(180deg, hsl(218 38% 19% / 0.56), hsl(220 40% 14% / 0.46)) !important;
  border-color: hsl(200 50% 55% / 0.16) !important;
}
[data-theme="light"] .detail-media {
  background: hsl(220 40% 13% / 0.55) !important;
  border-color: hsl(200 50% 55% / 0.16) !important;
}
[data-theme="light"] .detail-buy {
  background: linear-gradient(180deg, hsl(218 40% 19% / 0.66), hsl(220 40% 14% / 0.58)) !important;
  border-color: hsl(200 60% 55% / 0.24) !important;
  box-shadow: var(--glass-inset), 0 0 0 1px hsl(200 70% 60% / 0.08), 0 24px 60px hsl(220 50% 6% / 0.55) !important;
}
[data-theme="light"] .detail-buy__pricecard {
  border-color: hsl(200 60% 55% / 0.2) !important;
  background:
    radial-gradient(120% 120% at 100% 0%, hsl(200 60% 26% / 0.3), transparent 60%),
    linear-gradient(180deg, hsl(218 38% 20% / 0.6), hsl(220 40% 14% / 0.5)) !important;
  box-shadow: inset 0 1px 0 hsl(200 80% 70% / 0.1), 0 0 18px hsl(200 70% 60% / 0.08) !important;
}
[data-theme="light"] .buy-price {
  color: hsl(128 80% 58%) !important;
  text-shadow: 0 0 14px hsl(128 80% 52% / 0.3) !important;
}
[data-theme="light"] .detail-buy-savings { color: hsl(128 80% 60%) !important; }
[data-theme="light"] .similar-games-section {
  border-color: hsl(200 50% 55% / 0.18) !important;
  background: linear-gradient(180deg, hsl(218 38% 19% / 0.5), hsl(220 40% 14% / 0.42)) !important;
  box-shadow: 0 0 0 1px hsl(200 70% 60% / 0.05), 0 20px 50px hsl(220 50% 6% / 0.45) !important;
}
[data-theme="light"] .similar-games-title { text-shadow: 0 0 14px hsl(200 80% 60% / 0.28); }

/* Discount badge: toxic acid (same semantic as dark theme) */
[data-theme="light"] .badge {
  background: linear-gradient(135deg, hsl(128 92% 52%), hsl(128 80% 38%)) !important;
  color: hsl(0 0% 5%) !important;
  border-color: hsl(128 92% 70% / 0.6) !important;
  box-shadow: 0 0 16px hsl(128 92% 52% / 0.45) !important;
}

/* ============================================================
   DARKER PSYCHO BG — deeper void, stronger neon, subtle drift.
   Layers on top of the base body bg. Light theme unaffected
   (its [data-theme="light"] body override still wins).
   ============================================================ */
body {
  background-color: hsl(0 0% 2%) !important;
  background-image:
    radial-gradient(ellipse 140% 100% at 50% -12%, hsl(348 72% 18% / 0.95), transparent 62%),
    radial-gradient(ellipse 80% 50% at 100% 0%, hsl(296 60% 16% / 0.55), transparent 58%),
    radial-gradient(ellipse 70% 50% at 0% 8%, hsl(186 70% 14% / 0.32), transparent 55%),
    linear-gradient(168deg, hsl(348 40% 4%) 0%, hsl(0 0% 3%) 60%, hsl(0 0% 2%) 100%) !important;
}

@keyframes psycho-bg-drift {
  0%   { background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%; }
  50%  { background-position: 14% 10%, -12% 8%, 10% -8%, 0% 0%; }
  100% { background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%; }
}
@media (prefers-reduced-motion: no-preference) {
  body { animation: psycho-bg-drift 20s ease-in-out infinite; }
}

/* Header: blend into the psycho void (transparent so header, genre-bar and main share the body bg) */
.site-header {
  background: transparent !important;
}

/* Slightly stronger scanlines for more CRT-gamer feel (dark theme only) */
[data-theme="dark"] body::before,
:root:not([data-theme="light"]) body::before { opacity: 0.5; }

@media (prefers-reduced-motion: reduce) {
  body { animation: none !important; }
}

/* ============================================================
   PRICE / REVIEW BLOCK — cohesive, readable color theme.
   Fixes: invisible strikethrough old price, purple stars vs
   amber rating number, pale-mint savings clashing with the
   acid-green price, low-contrast grey reviews text.
   ============================================================ */

/* Strikethrough old price: clearly readable muted light gray */
.detail-buy .detail-buy-price-row .old {
  color: hsl(210 22% 82%) !important;
  opacity: 0.85 !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  text-decoration: line-through !important;
}

/* Savings capsule: dark green glass + bright green text, cohesive with the price */
.detail-buy .detail-buy-savings {
  color: hsl(128 92% 74%) !important;
  background: linear-gradient(120deg, hsl(128 70% 20% / 0.55), hsl(132 60% 16% / 0.42)) !important;
  border-color: hsl(128 70% 48% / 0.5) !important;
  box-shadow: inset 0 1px 0 hsl(128 80% 60% / 0.18), 0 2px 10px hsl(128 70% 30% / 0.22) !important;
}

/* Rating chip: amber stars to match the amber rating number (was purple) */
.dbs-chip--rating .star-rating__fill { color: hsl(42 96% 64%) !important; }
.dbs-chip--rating .star-rating__track { color: hsl(42 30% 28%) !important; }

/* Reviews chip: bright cool blue, readable (was grey) */
.dbs-chip--reviews .detail-buy-reviews { color: hsl(200 85% 80%) !important; }

/* --- Light theme (dark-glass navy): same readable palette --- */
[data-theme="light"] .detail-buy .detail-buy-price-row .old {
  color: hsl(210 22% 82%) !important;
  opacity: 0.85 !important;
  font-weight: 700 !important;
  font-size: 16px !important;
}
[data-theme="light"] .detail-buy .detail-buy-savings {
  color: hsl(128 90% 74%) !important;
  background: linear-gradient(120deg, hsl(128 70% 20% / 0.5), hsl(132 60% 16% / 0.38)) !important;
  border-color: hsl(128 70% 48% / 0.5) !important;
  box-shadow: inset 0 1px 0 hsl(128 80% 60% / 0.16), 0 2px 10px hsl(128 70% 30% / 0.2) !important;
}
[data-theme="light"] .dbs-chip--rating .rating-num { color: hsl(42 100% 72%) !important; }
[data-theme="light"] .dbs-chip--orders .orders-line { color: hsl(20 95% 78%) !important; }
[data-theme="light"] .dbs-chip--reviews .detail-buy-reviews { color: hsl(200 85% 80%) !important; }

/* Catalog cards: drop the left/right borders (keep top/bottom) for a cleaner grid */
.card,
.game-card,
.similar-game-card {
  border-left-style: none !important;
  border-right-style: none !important;
}
