:root {
  --bg: #070814;
  --bg-alt: #0d1020;
  --paper: #12162a;
  --ink: #eef2ff;
  --muted: #b7c0dc;
  --line: rgba(167, 180, 224, 0.22);
  --cyan: #5eead4;
  --cyan-ink: #04231f;
  --violet: #c4b5fd;
  --purple: #7c5cff;
  --green: #34d399;
  --glow: 0 0 24px rgba(94, 234, 212, 0.28);
  --radius: 16px;
  --header: 68px;
  --font: "Segoe UI", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  --psn: #60a5fa;
  --xbox: #4ade80;
  --steam: #67e8f9;
  --google: #f0abfc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 100% 0%, rgba(124, 92, 255, 0.16), transparent 60%),
    var(--bg);
  line-height: 1.55;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan); }
button, input, select { font: inherit; color: inherit; }
.wrap { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--cyan);
  color: var(--cyan-ink);
  padding: 8px 12px;
  z-index: 40;
  border-radius: 8px;
  font-weight: 700;
}
.skip:focus { top: 12px; }
.hidden, [hidden] { display: none !important; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(7, 8, 20, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #7c5cff, #22d3ee);
  color: #071018;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.02em;
  flex: none;
  box-shadow: var(--glow);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; font-size: 1.05rem; }
.brand-tag { font-size: 0.75rem; color: var(--violet); }
.nav { display: none; gap: 18px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.nav a:hover { color: var(--cyan); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lang-toggle {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.lang-toggle button {
  background: transparent;
  color: var(--muted);
  border: 0;
  padding: 6px 10px;
  min-width: 44px;
  min-height: 36px;
  cursor: pointer;
}
.lang-toggle button[aria-pressed="true"] {
  background: linear-gradient(135deg, #7c5cff, #22d3ee);
  color: #071018;
  font-weight: 800;
}
.cart-btn {
  background: rgba(94, 234, 212, 0.1);
  color: var(--ink);
  border: 1px solid rgba(94, 234, 212, 0.45);
  border-radius: 999px;
  padding: 6px 12px;
  min-height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.cart-btn:hover { box-shadow: var(--glow); border-color: var(--cyan); }
.cart-btn:active { transform: scale(0.97); }
.cart-count {
  background: var(--cyan);
  color: var(--cyan-ink);
  border-radius: 999px;
  min-width: 1.4rem;
  padding: 0 6px;
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(26rem, 70vh, 38rem);
  display: flex;
  align-items: center;
  padding: 48px 0 40px;
}
.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-bg { z-index: 0; }
.hero-bg picture {
  position: absolute;
  inset: 0;
  display: block;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: right center;
}
.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, #070814 0%, rgba(7, 8, 20, 0.94) 34%, rgba(7, 8, 20, 0.55) 56%, rgba(7, 8, 20, 0.18) 74%, rgba(7, 8, 20, 0.08) 100%),
    linear-gradient(180deg, rgba(7, 8, 20, 0.2) 0%, transparent 30%, rgba(7, 8, 20, 0.45) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 36rem;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--cyan);
  margin: 0 0 12px;
}
.hero h1 {
  font-size: clamp(2.15rem, 7vw, 3.6rem);
  line-height: 1.05;
  margin: 0 0 14px;
  font-weight: 850;
  letter-spacing: -0.03em;
  text-wrap: balance;
  background: linear-gradient(180deg, #fff 20%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: #fff;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 { color: transparent; }
}
.lede { margin: 0 0 22px; color: var(--muted); max-width: 42ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }

.trust-band {
  background: linear-gradient(180deg, rgba(7, 8, 20, 0.2), var(--bg-alt));
  padding: 8px 0 20px;
  margin-top: -8px;
}
.trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.trust li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink);
  font-size: 0.92rem;
}
.trust-icon {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  background: rgba(94, 234, 212, 0.1);
  border: 1px solid rgba(94, 234, 212, 0.25);
}
.affiliate { max-width: 52ch; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 18px;
  min-height: 44px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 750;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn.primary {
  background: linear-gradient(135deg, #7c5cff 0%, #22d3ee 100%);
  color: #071018;
  box-shadow: var(--glow);
}
.btn.ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--ink);
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; filter: none; }
.btn.full { width: 100%; }
.fine-print { font-size: 0.85rem; color: var(--muted); }

.strip {
  background: linear-gradient(90deg, rgba(124, 92, 255, 0.18), rgba(34, 211, 238, 0.1));
  border-block: 1px solid var(--line);
  padding: 16px 0;
}
.strip-grid { display: grid; gap: 14px; }
.strip-label { display: block; font-size: 0.75rem; color: var(--violet); }
.strip strong { font-weight: 700; }

.section { padding: 48px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { margin-bottom: 18px; }
h2 { font-size: 1.7rem; margin: 0 0 10px; letter-spacing: -0.02em; }
h3 { font-size: 1.05rem; margin: 0 0 6px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filters button {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  min-height: 40px;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.filters button:hover { border-color: var(--cyan); }
.filters button:active { transform: scale(0.97); }
.filters button[aria-pressed="true"] {
  background: linear-gradient(135deg, #7c5cff, #22d3ee);
  color: #071018;
  border-color: transparent;
  font-weight: 800;
}

.status-banner {
  background: rgba(251, 191, 36, 0.12);
  color: #fde68a;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 14px;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-accent, var(--cyan));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 0 1px var(--brand-accent, transparent);
}
.card:active { transform: scale(0.99); }
.card.brand-psn { --brand-accent: var(--psn); }
.card.brand-xbox { --brand-accent: var(--xbox); }
.card.brand-steam { --brand-accent: var(--steam); }
.card.brand-google { --brand-accent: var(--google); }
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.brand-chip {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: none;
  color: #071018;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}
.card.brand-psn .brand-chip { background: linear-gradient(135deg, #1d4ed8, #60a5fa); color: #eff6ff; }
.card.brand-xbox .brand-chip { background: linear-gradient(135deg, #14532d, #4ade80); color: #052e16; }
.card.brand-steam .brand-chip { background: linear-gradient(135deg, #155e75, #67e8f9); color: #042f2e; }
.card.brand-google .brand-chip { background: linear-gradient(135deg, #6b21a8, #f0abfc); color: #3b0764; }
.brand-chip svg { display: block; }
.card h3 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.25;
}
.badges { display: flex; flex-wrap: wrap; gap: 4px; }
.badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 7px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}
.badge.best {
  background: rgba(52, 211, 153, 0.18);
  color: #6ee7b7;
}
.badge.popular {
  background: rgba(124, 92, 255, 0.22);
  color: #ddd6fe;
}
.price { font-size: 1.15rem; font-weight: 800; margin: 2px 0; letter-spacing: -0.02em; }
.source { font-size: 0.7rem; color: var(--muted); margin: 0; line-height: 1.35; }
.card .btn { margin-top: auto; width: 100%; padding: 10px 12px; font-size: 0.9rem; }
.unavailable {
  color: #fde68a;
  background: rgba(251, 191, 36, 0.1);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.8rem;
  font-weight: 650;
  margin: auto 0 0;
}

.steps-strip {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
  counter-reset: step;
}
.steps-strip li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  position: relative;
  counter-increment: step;
}
.step-art { display: block; margin-bottom: 8px; }
.steps-strip h3::before {
  content: counter(step) ". ";
  color: var(--cyan);
}

.example-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fde68a;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 999px;
  padding: 4px 10px;
  margin: 0 0 12px;
}
.first-review {
  background: var(--paper);
  border: 1px dashed rgba(196, 181, 253, 0.45);
  border-radius: var(--radius);
  padding: 20px;
  max-width: 46rem;
}

.faq-list, .split { display: grid; gap: 16px; }
.faq-list article, .split > div {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.contact-facts { padding-left: 1.1rem; }

.site-footer { padding: 28px 0 140px; color: var(--muted); }
.site-footer p { margin: 0 0 8px; }

.cart-bar {
  position: fixed;
  left: 0;
  right: 88px;
  bottom: 16px;
  z-index: 35;
  pointer-events: none;
}
.cart-bar-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(18, 22, 42, 0.94);
  border: 1px solid rgba(94, 234, 212, 0.35);
  box-shadow: var(--glow), 0 10px 40px rgba(0, 0, 0, 0.4);
  border-radius: 999px;
  padding: 8px 8px 8px 16px;
  backdrop-filter: blur(10px);
}

.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 36;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #05321a;
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.wa-float:hover { transform: translateY(-2px) scale(1.04); }
.wa-float:active { transform: scale(0.96); }
.wa-float-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 16, 0.72);
  z-index: 40;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100%);
  background: #0e1224;
  color: var(--ink);
  z-index: 50;
  box-shadow: -16px 0 40px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 { margin: 0; font-size: 1.2rem; }
.icon-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 999px;
  min-height: 40px;
  padding: 0 12px;
  cursor: pointer;
}
.drawer-body { padding: 16px; overflow: auto; flex: 1; }
.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.qty-row { display: flex; align-items: center; gap: 8px; }
.qty-row button {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.15s ease;
}
.qty-row button:active { transform: scale(0.94); }
.cart-total { display: flex; justify-content: space-between; font-size: 1.15rem; font-weight: 800; margin: 16px 0; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field label { font-weight: 650; font-size: 0.92rem; }
.field input, .field select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  min-height: 44px;
  background: #080b18;
  color: var(--ink);
  width: 100%;
}
.pay-options { display: grid; gap: 8px; margin-bottom: 14px; }
.pay-options label {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
}
.pay-options input { margin-top: 3px; accent-color: var(--cyan); }
.summary-box {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 14px;
  margin: 0 0 14px;
  border: 1px solid var(--line);
}
.summary-box p { margin: 0 0 8px; }
.order-ref { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 700; }
.checkout-steps { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; font-size: 0.8rem; color: var(--muted); }
.checkout-steps span[aria-current="step"] { color: var(--cyan); font-weight: 700; }

@media (min-width: 640px) {
  .product-grid { gap: 14px; }
  .card { padding: 16px; }
  .card h3, .price { font-size: 1.15rem; }
  .price { font-size: 1.3rem; }
  .strip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split, .faq-list, .steps-strip { grid-template-columns: 1fr 1fr; }
  .steps-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust { grid-template-columns: 1fr; }
  .wa-float { width: auto; height: 56px; padding: 0 16px 0 14px; border-radius: 999px; grid-auto-flow: column; gap: 8px; }
  .wa-float-label {
    position: static;
    width: auto;
    height: auto;
    clip: auto;
    overflow: visible;
    font-weight: 800;
    font-size: 0.88rem;
    color: #05321a;
  }
  .cart-bar { right: 16px; left: 0; }
  .cart-bar-inner { width: min(520px, calc(100% - 220px)); margin-left: 16px; margin-right: auto; }
}
@media (min-width: 900px) {
  .nav { display: flex; }
  .header-actions { margin-left: 0; }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero { padding: 48px 0 64px; }
  .hero-content { max-width: 38rem; }
  .trust { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 639px) {
  .hero {
    min-height: 26rem;
    align-items: flex-end;
    padding-top: 4.75rem;
    padding-bottom: 28px;
  }
  .hero-bg img { object-position: 92% 38%; }
  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 8, 20, 0.78) 0%, rgba(7, 8, 20, 0.5) 42%, rgba(7, 8, 20, 0.18) 68%, rgba(7, 8, 20, 0.12) 100%),
      linear-gradient(180deg, rgba(7, 8, 20, 0.2) 0%, rgba(7, 8, 20, 0.35) 40%, #070814 100%);
  }
  .hero-content { max-width: none; }
  .trust { gap: 8px; }
  .trust li { font-size: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .cart-btn, .wa-float, .filters button, .qty-row button {
    transition: none;
  }
  .btn:hover, .card:hover, .wa-float:hover, .cart-btn:hover {
    transform: none;
  }
}
