/* ==========================================================================
   RBXSHOP — main styles
   ========================================================================== */

:root {
  --bg: #050806;
  --bg-soft: #070c09;
  --panel: #0a110d;
  --panel-2: #0d1711;
  --panel-3: #101d16;
  --line: rgba(132, 255, 186, 0.12);
  --line-strong: rgba(132, 255, 186, 0.26);
  --green: #22ff88;
  --green-bright: #8bffc0;
  --green-deep: #00b862;
  --green-dim: rgba(34, 255, 136, 0.12);
  --text: #eafff3;
  --muted: #92ac9f;
  --muted-2: #668174;
  --danger: #ff6f7d;
  --warning: #ffd166;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --header-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 15% -5%, rgba(34, 255, 136, 0.09), transparent 60%),
    radial-gradient(ellipse 55% 40% at 95% 20%, rgba(0, 184, 98, 0.06), transparent 65%),
    radial-gradient(ellipse 60% 50% at 50% 105%, rgba(34, 255, 136, 0.04), transparent 70%),
    var(--bg);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image: radial-gradient(rgba(139, 255, 192, 0.11) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 70%);
}

::selection {
  background: var(--green);
  color: #03150b;
}

img,
svg {
  display: block;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

svg {
  width: 20px;
  height: 20px;
  flex: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden,
[hidden] {
  display: none !important;
}

/* --------------------------------------------------------------------------
   Buttons & atoms
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  color: #02150a;
  background: linear-gradient(180deg, #6bffae 0%, var(--green) 45%, #0ee273 100%);
  border-color: rgba(139, 255, 192, 0.7);
  box-shadow: 0 10px 30px rgba(34, 255, 136, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(34, 255, 136, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background: rgba(34, 255, 136, 0.08);
  border-color: rgba(34, 255, 136, 0.45);
  transform: translateY(-1px);
}

.btn-sm {
  min-height: 40px;
  padding: 0 18px;
  border-radius: 11px;
  font-size: 0.88rem;
}

.btn-lg {
  min-height: 56px;
  font-size: 1rem;
  border-radius: 14px;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  filter: grayscale(0.55);
  transform: none !important;
  box-shadow: none;
}

#calc-buy:disabled {
  opacity: 1;
  background: linear-gradient(180deg, #17271e, #101b14);
  border-color: var(--line);
  color: #7f978a;
  filter: none;
}

.btn.is-loading {
  pointer-events: none;
  color: transparent;
  position: relative;
}

.btn.is-loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(2, 21, 10, 0.35);
  border-top-color: #02150a;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

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

.eyebrow {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(10, 20, 14, 0.7);
  backdrop-filter: blur(12px);
  color: #c9f5dc;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.live-dot {
  position: relative;
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(34, 255, 136, 0.9);
  flex: none;
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(34, 255, 136, 0.55);
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(5, 8, 6, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand-logo {
  width: 34px;
  height: 34px;
  color: var(--green);
  filter: drop-shadow(0 0 14px rgba(34, 255, 136, 0.35));
}

.brand-name {
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand-name span {
  color: var(--green);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: 14px;
}

.nav a {
  position: relative;
  padding: 6px 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.18s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--green);
  transition: width 0.2s ease;
}

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

.nav a:hover::after {
  width: 100%;
}

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

.stock-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.stock-pill span:last-child {
  color: var(--text);
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.02);
}

.burger svg {
  width: 22px;
  height: 22px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: calc(var(--header-h) + 58px) 0 24px;
  overflow: clip;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
}

.hero-glow-1 {
  width: 520px;
  height: 520px;
  left: -160px;
  top: 40px;
  background: rgba(34, 255, 136, 0.09);
}

.hero-glow-2 {
  width: 440px;
  height: 440px;
  right: -120px;
  top: 190px;
  background: rgba(0, 184, 98, 0.1);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(132, 255, 186, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(132, 255, 186, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 75% 65% at 55% 30%, #000 0%, transparent 75%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.hero-copy h1 {
  margin: 22px 0 24px;
  font-size: clamp(3.1rem, 7vw, 5.6rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.hero-copy h1 .accent {
  position: relative;
  display: inline-block;
  color: var(--green);
  text-shadow: 0 0 38px rgba(34, 255, 136, 0.35);
}

.hero-copy h1 .accent::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: 0.03em;
  height: 0.1em;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(34, 255, 136, 0), rgba(34, 255, 136, 0.55), rgba(34, 255, 136, 0));
  filter: blur(1px);
}

.hero-lead {
  max-width: 520px;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.65;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c4ddcf;
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-points svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}

.stock-widget {
  max-width: 460px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, rgba(16, 30, 22, 0.75), rgba(7, 12, 9, 0.65));
  backdrop-filter: blur(10px);
}

.stock-widget-top,
.stock-widget-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stock-widget-top {
  font-size: 0.82rem;
  color: var(--muted);
}

.stock-widget-top > span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.stock-widget-top b {
  color: var(--green);
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}

.stock-bar {
  height: 6px;
  margin: 12px 0 10px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
}

.stock-bar i {
  display: block;
  width: 10%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-deep), var(--green));
  box-shadow: 0 0 14px rgba(34, 255, 136, 0.55);
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.stock-widget-foot {
  color: var(--muted-2);
  font-size: 0.72rem;
}

.stock-widget-foot span:last-child {
  color: var(--muted);
  white-space: nowrap;
}

/* Buy card */

.buy-wrap {
  position: relative;
}

.coin-deco {
  position: absolute;
  top: -100px;
  right: 26px;
  width: 150px;
  height: 150px;
  z-index: 0;
  animation: float 7s ease-in-out infinite;
  pointer-events: none;
}

.coin-deco-inner {
  position: absolute;
  inset: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(34, 255, 136, 0.45);
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.32), transparent 30%),
    conic-gradient(from 210deg, #0b3d24, #1cff89, #067a43, #56ffa8, #0b3d24);
  color: #042312;
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  box-shadow: 0 0 60px rgba(34, 255, 136, 0.3), inset 0 0 34px rgba(255, 255, 255, 0.2);
  transform: rotate(-12deg);
}

.coin-deco-inner::after {
  content: "ROBUX";
  position: absolute;
  bottom: 23px;
  color: rgba(4, 35, 18, 0.68);
  font-size: 0.38rem;
  font-weight: 900;
  letter-spacing: 0.26em;
}

.coin-orbit {
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(34, 255, 136, 0.18);
  border-radius: 50%;
  animation: spin 28s linear infinite;
}

.coin-spark {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.coin-spark.s1 { top: 24px; left: 34px; }
.coin-spark.s2 { bottom: 16px; right: 62px; width: 3px; height: 3px; }
.coin-spark.s3 { top: 90px; right: 4px; width: 4px; height: 4px; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-14px) rotate(2deg); }
}

.buy-card {
  position: relative;
  z-index: 1;
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background:
    linear-gradient(160deg, rgba(22, 44, 32, 0.92), rgba(7, 12, 9, 0.97) 62%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.buy-card::before {
  content: "";
  position: absolute;
  top: -55%;
  left: -10%;
  width: 120%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(34, 255, 136, 0.16), transparent 62%);
  pointer-events: none;
}

.buy-card-head {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.buy-card-head h2 {
  margin-top: 7px;
  font-size: clamp(1.35rem, 2.1vw, 1.7rem);
}

.stock-mini {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 8, 6, 0.6);
  color: var(--muted);
  font-size: 0.74rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.stock-mini b {
  color: var(--text);
}

.amount-row {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-strong);
}

.amount-input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: clamp(2.8rem, 5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}

.amount-input::-webkit-outer-spin-button,
.amount-input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.amount-input:focus {
  color: var(--green-bright);
}

.amount-unit {
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 800;
}

.range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  margin: 24px 0 0;
  border-radius: 99px;
  outline: none;
  background: linear-gradient(
    90deg,
    var(--green) 0%,
    var(--green) var(--range-fill, 9%),
    #1a2920 var(--range-fill, 9%),
    #1a2920 100%
  );
  cursor: pointer;
}

.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border: 3px solid #04130a;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 4px rgba(34, 255, 136, 0.18), 0 0 20px rgba(34, 255, 136, 0.6);
}

.range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 3px solid #04130a;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 4px rgba(34, 255, 136, 0.18), 0 0 20px rgba(34, 255, 136, 0.6);
}

.range:focus-visible {
  box-shadow: 0 0 0 4px rgba(34, 255, 136, 0.2);
}

.range-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 9px;
  color: var(--muted-2);
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
}

.amount-hint {
  margin-top: 10px;
  color: var(--muted-2);
  font-size: 0.76rem;
}

.amount-hint b {
  color: var(--muted);
  font-weight: 700;
}

.amount-hint.is-warning {
  color: var(--warning);
}

.amount-hint.is-warning b {
  color: var(--warning);
}

.price-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 22px 0 18px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(5, 8, 6, 0.45);
}

.price-label {
  color: var(--muted);
  font-size: 0.82rem;
}

.price-value-wrap {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.price-value {
  color: var(--green-bright);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 24px rgba(34, 255, 136, 0.3);
}

.price-rate {
  color: var(--muted-2);
  font-size: 0.68rem;
  white-space: nowrap;
}

.micro-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 13px;
  color: var(--muted-2);
  font-size: 0.7rem;
  line-height: 1.5;
}

.micro-note svg {
  width: 14px;
  height: 14px;
  margin-top: 1px;
  color: var(--green-dim);
  filter: brightness(2.4);
}

/* Trust strip */

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(9, 16, 12, 0.55);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(34, 255, 136, 0.06);
  color: var(--green);
}

.trust-icon svg {
  width: 19px;
  height: 19px;
}

.trust-item b {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.3;
}

.trust-item span:not(.trust-icon) {
  display: block;
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 0.72rem;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  position: relative;
  padding: 72px 0;
}

.section-head {
  max-width: 660px;
  margin-bottom: 46px;
}

.section-head h2 {
  margin: 12px 0 16px;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
}

.section-lead {
  max-width: 540px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

/* Steps */

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

.step-card {
  position: relative;
  padding: 26px 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(16, 28, 21, 0.7), rgba(8, 13, 10, 0.75));
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 255, 136, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 255, 136, 0.28);
  background: linear-gradient(165deg, rgba(21, 38, 28, 0.8), rgba(8, 13, 10, 0.8));
}

.step-card:hover::before {
  opacity: 1;
}

.step-num {
  position: absolute;
  top: 16px;
  right: 20px;
  color: rgba(139, 255, 192, 0.1);
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 38px;
  border: 1px solid rgba(34, 255, 136, 0.22);
  border-radius: 13px;
  background: rgba(34, 255, 136, 0.07);
  color: var(--green);
}

.step-icon svg {
  width: 22px;
  height: 22px;
}

.step-card h3 {
  margin-bottom: 9px;
  font-size: 1.06rem;
  letter-spacing: -0.02em;
}

.step-card p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

/* Features */

.features-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 16px;
}

.feature-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(15, 27, 20, 0.72), rgba(8, 13, 10, 0.78));
  overflow: hidden;
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.feature-card:hover {
  border-color: rgba(34, 255, 136, 0.26);
  transform: translateY(-2px);
}

.feature-wide {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 380px;
  background:
    radial-gradient(ellipse 90% 60% at 20% 0%, rgba(34, 255, 136, 0.14), transparent 60%),
    linear-gradient(165deg, rgba(19, 38, 27, 0.85), rgba(7, 12, 9, 0.92));
}

.feature-glow {
  position: absolute;
  top: -130px;
  left: -90px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(34, 255, 136, 0.13);
  filter: blur(70px);
  pointer-events: none;
}

.feature-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: auto;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.feature-wide h3 {
  position: relative;
  margin: 20px 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.08;
}

.feature-wide h3 span {
  color: var(--green);
  font-variant-numeric: tabular-nums;
}

.feature-wide p {
  position: relative;
  max-width: 380px;
  color: var(--muted);
  font-size: 0.86rem;
}

.feature-bar {
  position: relative;
  height: 5px;
  margin-top: 26px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.feature-bar i {
  display: block;
  width: 10%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-deep), var(--green));
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(34, 255, 136, 0.06);
  color: var(--green);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature-card h3 {
  margin-bottom: 7px;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

/* Reviews */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.review-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(15, 26, 20, 0.66), rgba(8, 13, 10, 0.76));
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.review-card:hover {
  border-color: rgba(34, 255, 136, 0.25);
  transform: translateY(-3px);
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: var(--green);
}

.stars svg {
  width: 15px;
  height: 15px;
}

.review-card p {
  flex: 1;
  color: #c6dcd0;
  font-size: 0.88rem;
  line-height: 1.65;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(145deg, #1d6e44, #0c2c1b);
  color: var(--green-bright);
  font-size: 0.9rem;
  font-weight: 800;
}

.avatar-pink {
  background: linear-gradient(145deg, #6e1d4d, #2c0c1e);
  color: #ffb1d6;
}

.avatar-blue {
  background: linear-gradient(145deg, #1d4a6e, #0c1c2c);
  color: #9ad4ff;
}

.review-author b {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
}

.review-author span:not(.avatar) {
  display: block;
  color: var(--muted-2);
  font-size: 0.72rem;
}

/* FAQ */

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.faq-head {
  position: sticky;
  top: calc(var(--header-h) + 30px);
  margin-bottom: 0;
}

.faq-head .btn {
  margin-top: 26px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  padding: 22px 46px 22px 0;
  color: #dcf5e7;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
  transition: color 0.18s ease;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 18px;
  right: 4px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.22s ease, background 0.22s ease;
}

.faq-item[open] summary::after {
  content: "−";
  background: rgba(34, 255, 136, 0.08);
  transform: rotate(180deg);
}

.faq-item summary:hover {
  color: var(--green-bright);
}

.faq-item p {
  max-width: 640px;
  padding: 0 40px 24px 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* CTA */

.cta-section {
  padding-top: 30px;
}

.cta-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid rgba(34, 255, 136, 0.28);
  border-radius: 28px;
  background:
    radial-gradient(ellipse 70% 120% at 10% 0%, rgba(34, 255, 136, 0.16), transparent 60%),
    linear-gradient(150deg, rgba(19, 39, 27, 0.95), rgba(6, 11, 8, 0.98));
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  right: 5%;
  top: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(34, 255, 136, 0.12);
  filter: blur(60px);
  pointer-events: none;
}

.cta-copy {
  position: relative;
  max-width: 560px;
}

.cta-copy h2 {
  margin: 12px 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.cta-copy p {
  color: var(--muted);
  font-size: 0.95rem;
}

.cta-actions {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  flex: none;
}

.cta-note {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted-2);
  font-size: 0.73rem;
}

.cta-note svg {
  width: 14px;
  height: 14px;
  color: var(--green);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  margin-top: 100px;
  padding: 64px 0 30px;
  border-top: 1px solid var(--line);
  background: linear-gradient(to bottom, rgba(9, 15, 11, 0.5), rgba(5, 8, 6, 0.9));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 44px;
}

.footer-brand p {
  max-width: 300px;
  margin: 16px 0 20px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.footer-support {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #c9e9d8;
  font-size: 0.8rem;
  font-weight: 600;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.footer-support svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}

.footer-support:hover {
  border-color: rgba(34, 255, 136, 0.35);
  background: rgba(34, 255, 136, 0.05);
}

.footer-col h3 {
  margin-bottom: 14px;
  color: var(--muted-2);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  width: fit-content;
  padding: 4px 0;
  color: var(--muted);
  font-size: 0.84rem;
  transition: color 0.18s ease;
}

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

.footer-stock {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.footer-small {
  margin-top: 6px;
  color: var(--muted-2);
  font-size: 0.72rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 0.7rem;
  line-height: 1.6;
}

.footer-disclaimer {
  max-width: 620px;
  text-align: right;
}

/* --------------------------------------------------------------------------
   Modal
   -------------------------------------------------------------------------- */

body.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.modal.open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 5, 3, 0.78);
  backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 32px;
  border: 1px solid rgba(34, 255, 136, 0.25);
  border-radius: 24px;
  background:
    radial-gradient(ellipse 100% 50% at 50% 0%, rgba(34, 255, 136, 0.08), transparent 70%),
    #09110c;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  scrollbar-width: thin;
  scrollbar-color: #1c3325 transparent;
}

.modal.open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  transition: color 0.18s ease, background 0.18s ease;
}

.modal-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.modal-view h2 {
  margin: 8px 0 20px;
  font-size: 1.75rem;
  padding-right: 40px;
}

.order-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
  overflow: hidden;
}

.order-summary > div {
  padding: 13px 16px;
  background: #0b140f;
}

.order-summary span {
  display: block;
  margin-bottom: 2px;
  color: var(--muted-2);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.order-summary b {
  color: var(--text);
  font-size: 0.98rem;
  font-variant-numeric: tabular-nums;
}

#order-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: #c4ddcf;
  font-size: 0.8rem;
  font-weight: 600;
}

.field .optional {
  color: var(--muted-2);
  font-size: 0.68rem;
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: none;
  background: rgba(5, 8, 6, 0.6);
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.field textarea {
  resize: vertical;
  min-height: 58px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #52695b;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(34, 255, 136, 0.5);
  background: rgba(7, 12, 9, 0.9);
  box-shadow: 0 0 0 3px rgba(34, 255, 136, 0.1);
}

.field-hint {
  display: block;
  margin-top: 5px;
  color: var(--muted-2);
  font-size: 0.7rem;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.field select {
  appearance: none;
  padding-right: 40px;
  cursor: pointer;
}

.field select option {
  background: #0b140f;
  color: var(--text);
}

.form-error {
  padding: 10px 13px;
  border: 1px solid rgba(255, 111, 125, 0.28);
  border-radius: 10px;
  background: rgba(255, 111, 125, 0.08);
  color: #ffadb5;
  font-size: 0.8rem;
  line-height: 1.5;
}

#order-form .btn {
  margin-top: 4px;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border: 1px solid rgba(34, 255, 136, 0.35);
  border-radius: 50%;
  background: rgba(34, 255, 136, 0.1);
  color: var(--green);
  box-shadow: 0 0 40px rgba(34, 255, 136, 0.15);
}

.success-icon svg {
  width: 27px;
  height: 27px;
}

#success-title:focus {
  outline: none;
}

.success-lead {
  margin: -8px 0 20px;
  color: var(--muted);
  font-size: 0.86rem;
}

.success-lead b {
  color: var(--text);
  letter-spacing: 0.03em;
}

.payment-box {
  margin: 20px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(34, 255, 136, 0.035);
}

.payment-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: #cfebdc;
  font-size: 0.8rem;
  font-weight: 700;
}

.payment-chip {
  padding: 3px 9px;
  border: 1px solid rgba(34, 255, 136, 0.3);
  border-radius: 999px;
  background: rgba(34, 255, 136, 0.08);
  color: var(--green);
  font-size: 0.66rem;
  font-weight: 700;
  white-space: nowrap;
}

.payment-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pay-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(5, 8, 6, 0.5);
}

.pay-row-label {
  display: block;
  color: var(--muted-2);
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pay-row-value {
  display: block;
  margin-top: 1px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  word-break: break-word;
}

.copy-btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.copy-btn:hover {
  color: var(--green);
  border-color: rgba(34, 255, 136, 0.35);
}

.copy-btn svg {
  width: 15px;
  height: 15px;
}

.payment-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.55;
}

.success-steps {
  margin: 0 0 22px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.7;
}

.success-steps li::marker {
  color: var(--green);
  font-weight: 700;
}

.success-actions {
  display: flex;
  gap: 10px;
}

.success-actions .btn {
  flex: 1;
}

/* Wizard steps */

#order-form .modal-view {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#order-form .modal-view[hidden] {
  display: none;
}

.step-lead {
  margin: -12px 0 4px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.step-lead b {
  color: var(--text);
}

.wizard-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -6px 0 6px;
}

.wstep {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-2);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.wstep span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.76rem;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.wstep::after {
  content: "";
  width: 20px;
  height: 1px;
  margin-left: 8px;
  background: var(--line);
  flex: none;
}

.wstep:last-child::after {
  display: none;
}

.wstep.is-active {
  color: var(--text);
}

.wstep.is-active span {
  border-color: var(--green);
  background: rgba(34, 255, 136, 0.12);
  color: var(--green);
}

.wstep.is-done span {
  border-color: rgba(34, 255, 136, 0.4);
  background: rgba(34, 255, 136, 0.1);
  color: var(--green);
}

.btn-link {
  min-height: auto;
  padding: 8px 6px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.86rem;
  justify-content: flex-start;
}

.btn-link:hover {
  color: var(--green);
  transform: none;
  box-shadow: none;
}

/* Search (шаг 1) */

.search-box-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box-wrap > svg {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 18px;
  color: var(--muted-2);
  pointer-events: none;
}

.search-box-wrap input {
  padding-left: 40px;
  padding-right: 42px;
}

.spinner {
  width: 16px;
  height: 16px;
  flex: none;
  border: 2px solid rgba(34, 255, 136, 0.25);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.search-box-wrap .spinner {
  position: absolute;
  right: 13px;
}

.search-results {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 260px;
  overflow-y: auto;
  margin-top: -4px;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(5, 8, 6, 0.5);
  color: var(--text);
  text-align: left;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.search-item:hover {
  border-color: rgba(34, 255, 136, 0.4);
  background: rgba(34, 255, 136, 0.06);
}

.search-item-avatar {
  width: 38px;
  height: 38px;
  flex: none;
}

.search-item-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #0d1a12;
}

.avatar-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(34, 255, 136, 0.12);
  color: var(--green);
  font-weight: 800;
  font-size: 1rem;
}

.search-item-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.search-item-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-item-name svg {
  width: 13px;
  height: 13px;
  color: var(--green);
}

.search-item-sub {
  color: var(--muted-2);
  font-size: 0.76rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-status {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.account-pick {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(34, 255, 136, 0.35);
  border-radius: 13px;
  background: rgba(34, 255, 136, 0.06);
}

.account-pick-avatar {
  width: 44px;
  height: 44px;
  flex: none;
}

.account-pick-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #0d1a12;
}

.account-pick-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.account-pick-body b {
  color: var(--text);
  font-size: 0.92rem;
}

.account-pick-body span {
  color: var(--muted-2);
  font-size: 0.76rem;
}

.account-pick-change {
  margin-left: auto;
  flex: none;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.account-pick-change:hover {
  color: var(--text);
  border-color: rgba(34, 255, 136, 0.35);
}

/* Game Pass (шаг 2) */

.gp-steps {
  margin: 0 0 2px;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.gp-steps b {
  color: var(--text);
}

.gp-steps li::marker {
  color: var(--green);
  font-weight: 700;
}

.gp-check-result {
  padding: 11px 13px;
  border-radius: 11px;
  font-size: 0.8rem;
  line-height: 1.5;
}

.gp-check-result.is-success {
  border: 1px solid rgba(34, 255, 136, 0.3);
  background: rgba(34, 255, 136, 0.08);
  color: #c9ffe2;
}

.gp-check-result.is-error {
  border: 1px solid rgba(255, 111, 125, 0.3);
  background: rgba(255, 111, 125, 0.08);
  color: #ffadb5;
}

.wizard-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}

.wizard-nav .btn-primary {
  min-width: 160px;
}

/* Toast */

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 200;
  padding: 11px 18px;
  border: 1px solid rgba(34, 255, 136, 0.35);
  border-radius: 11px;
  background: #0d1a12;
  color: var(--text);
  font-size: 0.82rem;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, 20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.toast.error {
  border-color: rgba(255, 111, 125, 0.4);
}

.noscript {
  position: fixed;
  inset: auto 0 0;
  z-index: 300;
  padding: 12px;
  background: var(--danger);
  color: #1b0205;
  text-align: center;
  font-weight: 700;
}

/* Reveal */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* Focus */

:focus-visible {
  outline: 2px solid rgba(34, 255, 136, 0.7);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .nav {
    gap: 18px;
    margin-left: 6px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    gap: 40px;
  }

  .coin-deco {
    top: -88px;
    right: 18px;
    width: 130px;
    height: 130px;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-wide {
    grid-column: span 2;
    grid-row: auto;
    min-height: 300px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-stock-col {
    display: none;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 68px;
  }

  .container {
    width: min(1180px, calc(100% - 36px));
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 18px;
    right: 18px;
    z-index: 60;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 10px;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    background: rgba(8, 14, 10, 0.97);
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav a {
    padding: 12px 14px;
    border-radius: 9px;
    font-size: 0.95rem;
  }

  .nav a:hover {
    background: rgba(34, 255, 136, 0.06);
  }

  .nav a::after {
    display: none;
  }

  .burger {
    display: inline-flex;
  }

  .header-buy,
  .stock-pill {
    display: none;
  }

  .hero {
    padding-top: calc(var(--header-h) + 38px);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 10vw, 4.6rem);
  }

  .buy-wrap {
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
  }

  .coin-deco {
    top: -74px;
    right: 18px;
    width: 130px;
    height: 130px;
    opacity: 0.9;
  }

  .coin-deco-inner {
    inset: 14px;
    font-size: 2rem;
  }

  .coin-deco-inner::after {
    bottom: 20px;
    font-size: 0.34rem;
  }

  .trust-strip {
    grid-template-columns: 1fr 1fr;
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(1),
  .trust-item:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .faq-head {
    position: static;
    margin-bottom: 0;
  }

  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 56px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 28px);
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .hero-lead {
    font-size: 0.95rem;
  }

  .hero-points {
    gap: 8px 16px;
    margin: 20px 0 24px;
  }

  .stock-widget {
    max-width: none;
  }

  .coin-deco {
    display: none;
  }

  .buy-card {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .buy-card-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
  }

  .amount-input {
    font-size: 3rem;
  }

  .price-block {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .price-value-wrap {
    width: 100%;
    justify-content: space-between;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:nth-child(3) {
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step-icon {
    margin-bottom: 30px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-wide {
    grid-column: auto;
    min-height: 280px;
  }

  .feature-wide h3 {
    font-size: 1.8rem;
  }

  .faq-item summary {
    padding-right: 40px;
    font-size: 0.9rem;
  }

  .faq-item p {
    padding-right: 20px;
  }

  .cta-card {
    padding: 28px 22px;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-disclaimer {
    text-align: left;
  }

  .modal {
    padding: 0;
    align-items: flex-end;
  }

  .modal-card {
    width: 100%;
    max-height: 94vh;
    padding: 26px 20px 30px;
    border-radius: 22px 22px 0 0;
    border-bottom: 0;
    transform: translateY(40px);
  }

  .modal.open .modal-card {
    transform: none;
  }

  .modal-view h2 {
    font-size: 1.5rem;
  }

  .success-actions {
    flex-direction: column;
  }

  .success-actions .btn {
    width: 100%;
  }
}

@media (max-width: 400px) {
  .container {
    width: calc(100% - 28px);
  }

  .hero-copy h1 {
    font-size: 2.65rem;
  }

  .amount-input {
    font-size: 2.6rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Строка наличия + последние покупки в hero
   -------------------------------------------------------------------------- */

.stock-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.stock-line b {
  color: var(--green);
  font-size: 1.12rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.hero-recent {
  margin-top: 28px;
}

.hero-recent-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--green-bright);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --------------------------------------------------------------------------
   Последние покупки
   -------------------------------------------------------------------------- */

.recent-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.recent-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px 7px 7px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(9, 17, 12, 0.6);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.recent-item:hover {
  border-color: rgba(34, 255, 136, 0.35);
  transform: translateY(-2px);
}

.recent-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(34, 255, 136, 0.12);
  color: var(--green);
  font-weight: 800;
  font-size: 0.82rem;
}

.recent-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.recent-name {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.recent-amount {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
}

.recent-empty {
  margin: 0;
  color: var(--muted-2);
  font-size: 0.88rem;
}

/* --------------------------------------------------------------------------
   Оверлей «Ваш заказ выполнен»
   -------------------------------------------------------------------------- */

.done-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(2, 5, 3, 0.86);
  backdrop-filter: blur(12px);
}

.done-overlay[hidden] {
  display: none;
}

.done-card {
  width: min(460px, 100%);
  padding: 40px 32px;
  border: 1px solid rgba(34, 255, 136, 0.35);
  border-radius: 24px;
  background:
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(34, 255, 136, 0.12), transparent 70%),
    #09110c;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
  text-align: center;
}

.done-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border: 1px solid rgba(34, 255, 136, 0.4);
  border-radius: 50%;
  background: rgba(34, 255, 136, 0.12);
  color: var(--green);
  box-shadow: 0 0 50px rgba(34, 255, 136, 0.25);
}

.done-icon svg {
  width: 34px;
  height: 34px;
}

.done-card h2 {
  margin: 8px 0 12px;
  font-size: 1.8rem;
}

.done-lead {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.done-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.done-actions .btn {
  width: 100%;
}
