:root {
  color-scheme: dark;
  --ink: #f3efe6;
  --muted: #b0a99a;
  --faint: #7a7468;
  --bg: #0c0e14;
  --panel: #161a24;
  --panel-2: #1c2230;
  --line: rgba(243, 239, 230, 0.1);
  --line-strong: rgba(243, 239, 230, 0.22);
  --gold: #f0b74a;
  --gold-2: #c88820;
  --gold-soft: rgba(240, 183, 74, 0.18);
  --danger: #ff7a7a;
  --ok: #74d4a0;
  --display: "Outfit", system-ui, sans-serif;
  --sans: "Outfit", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: var(--sans);
  background: var(--bg);
  overflow-x: hidden;
}

.stage {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 12% 8%, rgba(160, 140, 100, 0.06), transparent 60%),
    radial-gradient(ellipse 60% 50% at 88% 20%, rgba(90, 110, 150, 0.05), transparent 58%),
    radial-gradient(ellipse 70% 55% at 50% 92%, rgba(120, 95, 70, 0.05), transparent 60%),
    linear-gradient(160deg, #0b0d13 0%, #121722 48%, #0a0c11 100%);
}

.haze {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
  will-change: transform, opacity;
}

.haze-a {
  width: 82vw;
  height: 66vw;
  top: -28%;
  left: -24%;
  background: radial-gradient(circle, rgba(180, 150, 95, 0.14), transparent 72%);
  opacity: 0.45;
  animation: haze-breathe 14s ease-in-out infinite;
}

.haze-b {
  width: 68vw;
  height: 58vw;
  right: -24%;
  top: 16%;
  background: radial-gradient(circle, rgba(100, 120, 160, 0.1), transparent 74%);
  opacity: 0.38;
  animation: haze-breathe 18s ease-in-out infinite reverse;
  animation-delay: -5s;
}

.vignette {
  position: absolute;
  inset: -4%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 75% at 50% 40%, transparent 48%, rgba(6, 7, 10, 0.5) 100%),
    radial-gradient(ellipse 95% 70% at 50% 100%, rgba(6, 7, 10, 0.28), transparent 58%);
  opacity: 0.78;
  animation: vignette-pulse 16s ease-in-out infinite;
}

.sweep {
  position: absolute;
  inset: -20% -40%;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 36%,
    rgba(210, 190, 150, 0.03) 46%,
    rgba(230, 210, 170, 0.055) 50%,
    rgba(210, 190, 150, 0.025) 54%,
    transparent 64%
  );
  mix-blend-mode: soft-light;
  opacity: 0.55;
  will-change: transform;
  animation: light-sweep 22s ease-in-out infinite;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(44px);
  will-change: transform, opacity;
  animation: drift 22s ease-in-out infinite;
}

.orb-a {
  width: 64vw;
  height: 64vw;
  top: -20%;
  left: -16%;
  --orb-min: 0.35;
  --orb-max: 0.55;
  background: radial-gradient(circle, rgba(200, 165, 95, 0.22), transparent 68%);
  animation: drift 24s ease-in-out infinite, breathe 9s ease-in-out infinite;
}

.orb-b {
  width: 50vw;
  height: 50vw;
  top: 2%;
  right: -12%;
  --orb-min: 0.28;
  --orb-max: 0.48;
  background: radial-gradient(circle, rgba(110, 130, 170, 0.16), transparent 70%);
  animation: drift-alt 28s ease-in-out infinite, breathe 11s ease-in-out infinite;
  animation-delay: -8s, -2s;
}

.orb-c {
  width: 54vw;
  height: 42vw;
  bottom: -16%;
  left: 20%;
  --orb-min: 0.28;
  --orb-max: 0.46;
  background: radial-gradient(circle, rgba(170, 120, 85, 0.16), transparent 70%);
  animation: drift 20s ease-in-out infinite, breathe 10s ease-in-out infinite;
  animation-delay: -12s, -4s;
}

.orb-d {
  width: 40vw;
  height: 40vw;
  top: 36%;
  left: -8%;
  --orb-min: 0.24;
  --orb-max: 0.4;
  background: radial-gradient(circle, rgba(160, 145, 110, 0.14), transparent 72%);
  animation: drift-alt 26s ease-in-out infinite, breathe 12s ease-in-out infinite;
  animation-delay: -4s, -6s;
}

.orb-e {
  width: 36vw;
  height: 36vw;
  top: 46%;
  right: 6%;
  --orb-min: 0.22;
  --orb-max: 0.38;
  background: radial-gradient(circle, rgba(140, 155, 185, 0.12), transparent 72%);
  animation: drift 30s ease-in-out infinite, breathe 8s ease-in-out infinite;
  animation-delay: -16s, -1s;
}

.orb-f {
  width: 34vw;
  height: 34vw;
  top: 10%;
  left: 40%;
  --orb-min: 0.2;
  --orb-max: 0.36;
  background: radial-gradient(circle, rgba(190, 160, 100, 0.14), transparent 70%);
  animation: drift-alt 18s ease-in-out infinite, breathe 13s ease-in-out infinite;
  animation-delay: -9s, -3s;
}

.grain {
  position: absolute;
  inset: -10%;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  will-change: transform, opacity;
  animation: grain-drift 14s linear infinite, grain-breathe 8s ease-in-out infinite;
}

@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  25%  { transform: translate3d(3.2%, -2.2%, 0) scale(1.06); }
  50%  { transform: translate3d(-1.4%, 3.4%, 0) scale(1.1); }
  75%  { transform: translate3d(-3%, 0.8%, 0) scale(1.04); }
  100% { transform: translate3d(1.6%, 1.8%, 0) scale(1.02); }
}

@keyframes drift-alt {
  0%   { transform: translate3d(0, 0, 0) scale(1.02); }
  30%  { transform: translate3d(-3.4%, 2%, 0) scale(1.08); }
  55%  { transform: translate3d(2.6%, -2.8%, 0) scale(1.03); }
  80%  { transform: translate3d(1.2%, 3.2%, 0) scale(1.09); }
  100% { transform: translate3d(-1%, -1.2%, 0) scale(1.01); }
}

@keyframes breathe {
  0%, 100% { opacity: var(--orb-min, 0.6); filter: blur(42px); }
  50%      { opacity: var(--orb-max, 0.9); filter: blur(34px); }
}

@keyframes haze-breathe {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.32; }
  50%      { transform: translate3d(2%, 1.4%, 0) scale(1.06); opacity: 0.52; }
}

@keyframes vignette-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 0.86; transform: scale(1.02); }
}

@keyframes light-sweep {
  0%   { transform: translate3d(-18%, -6%, 0) rotate(0.5deg); opacity: 0.28; }
  45%  { transform: translate3d(8%, 4%, 0) rotate(-0.4deg); opacity: 0.55; }
  100% { transform: translate3d(22%, 8%, 0) rotate(0.2deg); opacity: 0.25; }
}

@keyframes grain-drift {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-3.5%, 2.2%, 0); }
}

@keyframes grain-breathe {
  0%, 100% { opacity: 0.07; }
  50%      { opacity: 0.12; }
}

@media (prefers-reduced-motion: reduce) {
  .orb,
  .haze,
  .vignette,
  .sweep,
  .grain {
    animation: none !important;
  }

  .orb-a, .orb-b, .orb-c { opacity: 0.65; }
  .orb-d, .orb-e, .orb-f { opacity: 0.4; }
  .haze-a { opacity: 0.45; }
  .haze-b { opacity: 0.35; }
  .sweep { opacity: 0.25; }
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 18px 0 56px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0 34px;
  animation: enter 0.75s ease both;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  box-shadow: 0 0 24px rgba(240, 183, 74, 0.35);
  display: block;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover { color: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: min(76vh, 700px);
  padding-bottom: 40px;
}

.hero-copy {
  animation: enter 0.85s 0.05s ease both;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.hero-badges li {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

/* Solid gold + white text (primary) */
.hero-badges li:first-child {
  border: 1px solid transparent;
  color: #1a1204;
  background: linear-gradient(135deg, #ffd06a 0%, #f0b74a 42%, #c88820 100%);
  box-shadow: 0 8px 22px rgba(200, 136, 32, 0.28);
}

/* Gold outline + gold text (secondary) */
.hero-badges li:last-child {
  border: 1.5px solid var(--gold);
  color: var(--gold);
  background: transparent;
}

/*
  Brand — same clip technique as Royal Stars .rs-agent__name / aimens water.webp:
  Oswald italic + animated caustic webp clipped into glyphs.
  RS/aimens: animated water.webp + accent color + luminosity (motion is the webp frames).
  Soft-light over blue water.webp failed (cyan fill, gold halo only).
  Fix: precolored animated gold-water.webp (32-frame) + gold accent + luminosity.
  Do not rebuild gold-water via sharp raw->webp (collapses to 1 still frame).
*/
.brand {
  /* Muted honey between --gold and --gold-2 — sits in stage haze, not neon sticker */
  --rs-auth-accent: #d4a038;
  display: inline-block;
  width: max-content;
  max-width: 100%;
  margin: 0;
  padding: 0.06em 0.28em 0.1em 0.04em;
  box-sizing: content-box;
  overflow: visible;
  font-family: "Oswald", Impact, sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(3.4rem, 8.2vw, 6.4rem);
  line-height: 1.02;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background-color: var(--rs-auth-accent);
  background-image: url("/assets/gold-water.webp?v=20261108-gold9");
  background-blend-mode: luminosity;
  background-size: 100px;
  background-repeat: repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter:
    brightness(0.9) saturate(0.86) contrast(0.97)
    drop-shadow(0 0 6px rgba(200, 136, 32, 0.22))
    drop-shadow(0 0 16px rgba(160, 108, 24, 0.14))
    drop-shadow(0 2px 0 rgba(40, 24, 4, 0.72));
}

@media (prefers-reduced-motion: reduce) {
  .brand {
    background-image: none;
    background-color: rgba(212, 160, 56, 0.95);
  }
}

.lead {
  margin: 26px 0 0;
  max-width: 30ch;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.5;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.trust li {
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.86rem;
  font-weight: 500;
}

.hero-panel {
  position: relative;
  animation: enter 0.95s 0.12s ease both;
}

.ring {
  position: absolute;
  inset: -18% -14%;
  border-radius: 40% 60% 55% 45%;
  background:
    conic-gradient(from 120deg, rgba(240, 183, 74, 0.18), transparent 35%, rgba(100, 140, 220, 0.12), transparent 70%, rgba(240, 183, 74, 0.14));
  filter: blur(18px);
  animation: spin 28s linear infinite;
  pointer-events: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.checkout {
  position: relative;
  display: grid;
  gap: 13px;
  padding: 28px 26px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.06), transparent 36%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.checkout-head {
  display: grid;
  gap: 4px;
  margin-bottom: 2px;
}

.checkout-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.checkout-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.checkout-head > p {
  margin: 0;
  color: var(--faint);
  font-size: 0.85rem;
}

.first-topup-link {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.15s ease;
}

.first-topup-link:hover,
.first-topup-link:focus-visible {
  color: var(--gold);
  outline: none;
}

.first-topup-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  color: #e07070;
  font-size: 0.68rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  flex-shrink: 0;
}

.first-topup-link:hover .first-topup-link__icon,
.first-topup-link:focus-visible .first-topup-link__icon {
  color: var(--gold);
  border-color: var(--gold);
}

.first-topup-dialog {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: min(560px, calc(100vw - 32px));
  color: var(--ink);
}

.first-topup-dialog::backdrop {
  background: rgba(4, 6, 12, 0.72);
  backdrop-filter: blur(6px);
}

.first-topup-dialog__panel {
  position: relative;
  padding: 28px 26px 24px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.05), transparent 40%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

.first-topup-dialog__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.first-topup-dialog__close:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
}

.first-topup-dialog__panel h2 {
  margin: 0 36px 14px 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 3.5vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.first-topup-dialog__panel > p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.first-topup-dialog__panel > p strong {
  color: var(--ink);
  font-weight: 600;
}

.first-topup-dialog__panel ol {
  margin: 0 0 18px;
  padding-left: 1.25em;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.55;
  display: grid;
  gap: 10px;
}

.first-topup-dialog__panel a {
  color: #6eb6ff;
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-all;
}

.first-topup-dialog__panel a:hover {
  color: #9ad0ff;
}

.first-topup-dialog__panel code {
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(240, 183, 74, 0.12);
  color: var(--gold);
  font-size: 0.95em;
}

.first-topup-dialog__finale {
  margin: 0 !important;
  color: var(--ink) !important;
  font-weight: 500;
}

@media (max-width: 560px) {
  .checkout-head-row {
    flex-wrap: wrap;
    align-items: center;
  }
}

.field { display: grid; gap: 7px; }
.field span,
.field-label {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 500;
}

.field input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.35);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-soft);
  background: rgba(0, 0, 0, 0.45);
}

.field-hint {
  margin: 0;
  color: var(--faint);
  font-size: 0.78rem;
  line-height: 1.45;
}

.login-help {
  margin: 0;
  border-radius: 10px;
  border: 1px solid transparent;
}

.login-help summary {
  list-style: none;
  cursor: pointer;
  width: fit-content;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.9;
  transition: opacity 0.15s ease;
}

.login-help summary::-webkit-details-marker { display: none; }
.login-help summary::after {
  content: " ▾";
  font-size: 0.7em;
  opacity: 0.7;
}
.login-help[open] summary::after { content: " ▴"; }
.login-help summary:hover { opacity: 1; }

.login-help p {
  margin: 8px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.login-help strong {
  color: var(--ink);
  font-weight: 600;
}

.amount-wrap {
  position: relative;
}

.amount-wrap input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.amount-wrap input[type="number"]::-webkit-outer-spin-button,
.amount-wrap input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.amount-wrap .currency {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--faint);
  pointer-events: none;
}

.amount-hint {
  margin: 0;
  min-height: 1.2em;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.amount-hint[hidden] {
  display: none;
}

.amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.amounts button {
  padding: 11px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.amounts button:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.amounts button.active {
  border-color: var(--gold);
  background: var(--gold-soft);
  box-shadow: 0 8px 24px rgba(240, 183, 74, 0.15);
  color: #ffe7b0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 4px;
  border-radius: 10px;
  color: var(--faint);
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.03);
}

.steps li i {
  font-style: normal;
  font-weight: 700;
  opacity: 0.7;
}

.steps li.active {
  color: #ffe7b0;
  background: var(--gold-soft);
  box-shadow: inset 0 -2px 0 var(--gold);
}

.submit {
  width: 100%;
  margin-top: 4px;
  padding: 14px 16px;
  border: 0;
  border-radius: 14px;
  color: #1a1204;
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  background: linear-gradient(135deg, #ffd06a 0%, var(--gold) 40%, var(--gold-2) 100%);
  box-shadow: 0 14px 36px rgba(200, 136, 32, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(200, 136, 32, 0.45);
  filter: brightness(1.04);
}

.submit:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.ghost { display: none; }

.result {
  min-height: 1.35em;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.result[data-tone="error"] { color: var(--danger); }
.result[data-tone="success"] { color: var(--ok); }

.how {
  padding: 64px 0 20px;
  border-top: 1px solid var(--line);
}

.how-intro h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
}

.how-intro p {
  margin: 12px 0 0;
  max-width: 40ch;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.5;
}

.how-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.how-list li {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.how-list li:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.how-list .num {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.4rem;
}

.how-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.how-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.reviews {
  padding: 40px 0 12px;
}

.reviews-intro h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
}

.reviews-intro p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.45;
}

.reviews-grid {
  margin-top: 22px;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.9fr);
  align-items: start;
}

.reviews-panel {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.reviews-list {
  display: grid;
  gap: 12px;
  max-height: min(52vh, 420px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  scrollbar-gutter: stable;
}

.reviews-empty {
  margin: 0;
  color: var(--faint);
  font-size: 0.92rem;
}

.review-card {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  min-width: 0;
}

.review-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 8px;
}

.review-card-top {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.review-card strong {
  color: var(--ink);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.stars-view {
  color: var(--gold);
  letter-spacing: 0.08em;
  font-size: 0.92rem;
  line-height: 1;
}

.stars-view .stars-empty {
  color: rgba(240, 183, 74, 0.28);
}

.stars-view.is-empty {
  color: rgba(240, 183, 74, 0.28);
}

.reviews-form {
  position: relative;
  padding: 28px 24px 22px;
  border-radius: 4px 22px 22px 22px;
  border: 1px solid rgba(240, 183, 74, 0.16);
  background:
    linear-gradient(180deg, rgba(240, 183, 74, 0.05), transparent 28%),
    linear-gradient(155deg, #1a2030 0%, #121722 52%, #0f131c 100%);
  display: grid;
  gap: 20px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(243, 239, 230, 0.04);
}

.reviews-form::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(240, 183, 74, 0.15));
}

.reviews-form-head {
  display: grid;
  gap: 6px;
  padding-left: 4px;
}

.reviews-form-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.reviews-form h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.4vw, 1.9rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.reviews-form-lead {
  margin: 0;
  color: var(--faint);
  font-size: 0.88rem;
  line-height: 1.4;
  max-width: 28ch;
}

.reviews-form-fields {
  display: grid;
  gap: 14px;
}

.reviews-form .field span {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.reviews-form .field input,
.reviews-form .field textarea {
  border-radius: 12px;
  border-color: rgba(243, 239, 230, 0.12);
  background: rgba(8, 10, 14, 0.55);
}

.reviews-form .field input:focus,
.reviews-form .field textarea:focus {
  border-color: rgba(240, 183, 74, 0.55);
  box-shadow: 0 0 0 3px rgba(240, 183, 74, 0.12);
}

.reviews-form textarea {
  width: 100%;
  min-height: 118px;
  resize: vertical;
  padding: 13px 14px;
  color: var(--ink);
  outline: none;
  font: inherit;
  line-height: 1.5;
}

.reviews-count {
  margin: -6px 0 0;
  color: var(--faint);
  font-size: 0.74rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.reviews-form-actions {
  display: grid;
  gap: 10px;
  padding-top: 2px;
}

.reviews-submit {
  width: 100%;
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.reviews-status {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.84rem;
  color: var(--muted);
}

.reviews-status[data-tone="success"] { color: var(--ok); }
.reviews-status[data-tone="error"] { color: var(--danger); }

.stars-field {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  display: grid;
  gap: 8px;
  min-inline-size: 0;
}

.stars-legend {
  padding: 0;
  float: none;
  width: auto;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.stars-hint {
  margin: 0;
  color: var(--faint);
  font-size: 0.78rem;
  line-height: 1.45;
  min-height: 1.2em;
}

.stars-input {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.star-btn {
  appearance: none;
  flex: 0 0 auto;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(240, 183, 74, 0.38);
  font-size: 1.85rem;
  line-height: 1;
  padding: 0;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease, text-shadow 0.15s ease, background 0.15s ease;
}

.star-btn span {
  display: block;
  transition: transform 0.15s ease;
}

.star-btn:hover span,
.star-btn.is-preview span,
.star-btn.is-on span {
  transform: scale(1.1);
}

.star-btn:hover,
.star-btn.is-preview {
  color: rgba(240, 183, 74, 0.92);
  background: rgba(240, 183, 74, 0.08);
}

.star-btn.is-on {
  color: var(--gold);
  text-shadow: 0 0 14px rgba(240, 183, 74, 0.4);
}

.star-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.review-card time {
  color: var(--faint);
  font-size: 0.78rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.review-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-height: calc(1.5em * 6);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.reviews-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

.reviews-page-nav,
.reviews-page-dot {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  color: var(--muted);
  border-radius: 10px;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  font: inherit;
  font-size: 0.86rem;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.reviews-page-nav:hover:not(:disabled),
.reviews-page-dot:hover {
  border-color: rgba(240, 183, 74, 0.45);
  color: var(--ink);
}

.reviews-page-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.reviews-page-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.reviews-page-dot.is-active {
  border-color: var(--gold);
  color: #1a1408;
  background: var(--gold);
  font-weight: 600;
}

.reviews-page-meta {
  margin: 0;
  margin-left: auto;
  color: var(--faint);
  font-size: 0.78rem;
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

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

.support {
  padding: 36px 0 8px;
}

.support-card {
  padding: 28px 28px 30px;
  border-radius: 22px;
  border: 1px solid rgba(240, 183, 74, 0.22);
  background:
    radial-gradient(circle at 100% 0%, rgba(240, 183, 74, 0.16), transparent 45%),
    linear-gradient(145deg, #1d2330, #141820);
}

.support-card h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.8rem;
}

.support-card p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 42ch;
  line-height: 1.45;
}

.mail {
  display: inline-block;
  margin-top: 18px;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.15rem;
}

.faq {
  padding: 28px 0 8px;
}

.faq-intro {
  margin-bottom: 18px;
}

.faq-intro h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.4vw, 1.85rem);
}

.faq-intro p {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 46ch;
  line-height: 1.45;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  margin: 0;
  border-radius: 18px;
  border: 1px solid rgba(240, 183, 74, 0.18);
  background:
    radial-gradient(circle at 0% 0%, rgba(240, 183, 74, 0.1), transparent 42%),
    linear-gradient(145deg, #1a2030, #131820);
  overflow: clip;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.35;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: -0.15rem;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  opacity: 0.85;
  transition: transform 0.18s ease;
}

.faq-item[open] summary::after {
  margin-top: 0.2rem;
  transform: rotate(-135deg);
}

.faq-item summary:hover,
.faq-item summary:focus-visible {
  color: #fff6e4;
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.faq-item p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 62ch;
}

.faq-item a {
  color: var(--gold);
  font-weight: 600;
}

.faq-item a:hover {
  text-decoration: underline;
}

.faq-inline {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--gold);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-inline:hover,
.faq-inline:focus-visible {
  color: #ffd06a;
}

.faq-inline:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.9rem;
}

.footer-meta {
  display: grid;
  gap: 8px;
  max-width: 420px;
}

.footer strong {
  color: var(--muted);
  font-family: var(--display);
}

.footer .legal-entity {
  margin: 0;
  line-height: 1.45;
  font-size: 0.82rem;
  color: var(--faint);
}

/* ps-traffic-footer */
.footer-right {
  display: grid;
  gap: 12px;
  margin-left: auto;
  justify-items: end;
  align-content: start;
  text-align: right;
}

.footer-right nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
  align-items: flex-start;
}

.footer-traffic {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-end;
  gap: 8px 10px;
  margin: 0;
  padding: 10px 12px;
  max-width: 420px;
  border-radius: 12px;
  border: 1px solid rgba(240, 183, 74, 0.22);
  background:
    radial-gradient(circle at 0% 50%, rgba(240, 183, 74, 0.1), transparent 55%),
    rgba(0, 0, 0, 0.22);
  color: var(--faint, #7a7468);
  font-size: 0.84rem;
  letter-spacing: 0.01em;
}

.footer-traffic strong {
  color: var(--gold, #f0b74a);
  font-family: var(--sans, "Outfit", system-ui, sans-serif);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.footer-traffic-sep {
  color: rgba(240, 183, 74, 0.45);
}
/* /ps-traffic-footer */

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-start;
}

.footer a:hover { color: var(--ink); }

.legal-shell {
  padding-bottom: 40px;
}

.legal-shell .nav {
  padding-bottom: 22px;
}

.legal-shell .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 0.92rem;
}

.legal-shell .nav-links a {
  color: var(--muted);
  transition: color 0.15s ease;
}

.legal-shell .nav-links a:hover {
  color: var(--ink);
}

.legal-shell .nav-links a.is-active {
  color: var(--gold);
}

.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 4px 0 8px;
  line-height: 1.6;
  animation: enter 0.7s ease both;
}

.legal-hero {
  margin: 0 0 22px;
}

.legal-eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal h1 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  font-weight: 700;
}

.legal .meta {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 42rem;
}

.legal-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(240, 183, 74, 0.08);
  color: var(--muted);
  font-size: 0.84rem;
}

.legal-updated::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(240, 183, 74, 0.55);
}

.legal-panel {
  margin: 0;
  padding: 28px 30px 30px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(28, 34, 48, 0.92) 0%, rgba(18, 22, 32, 0.88) 100%);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(243, 239, 230, 0.06);
}

.legal-panel > h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal h2 {
  margin: 28px 0 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.legal p {
  margin: 0 0 12px;
  color: rgba(243, 239, 230, 0.88);
}

.legal ul,
.legal ol {
  margin: 0 0 14px;
  padding-left: 1.2em;
  color: var(--muted);
}

.legal li {
  margin: 0 0 8px;
  padding-left: 2px;
}

.legal li::marker {
  color: var(--gold);
}

.legal strong {
  color: var(--ink);
  font-weight: 600;
}

.legal a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 183, 74, 0.35);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.legal a:hover {
  color: #ffd06a;
  border-bottom-color: rgba(255, 208, 106, 0.7);
}

.legal .entity,
.legal-card {
  margin: 14px 0 16px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--gold);
  background: rgba(12, 14, 20, 0.55);
  line-height: 1.55;
  color: var(--muted);
  box-shadow: inset 0 1px 0 rgba(243, 239, 230, 0.04);
}

.legal p.legal-back,
.legal-back {
  margin: 32px 0 0;
}

.legal-back a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(22, 26, 36, 0.7);
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.legal-back a:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}

.legal-shell .footer {
  margin-top: 36px;
}

@keyframes enter {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 30px;
  }

  .nav-links { display: none; }

  .legal-shell .nav-links { display: flex; font-size: 0.82rem; gap: 4px 12px; }

  .how-list { grid-template-columns: 1fr; }

  .amounts { grid-template-columns: repeat(2, 1fr); }

  .brand { font-size: clamp(3rem, 14vw, 4.4rem); }
}

@media (max-width: 640px) {
  .legal-panel {
    padding: 20px 16px 22px;
    border-radius: 18px;
  }

  .legal h1 {
    font-size: clamp(1.75rem, 8vw, 2.2rem);
  }
}