:root {
  --bg: #03081b;
  --bg-soft: rgba(13, 21, 48, 0.82);
  --card: linear-gradient(180deg, rgba(15, 23, 49, 0.9), rgba(9, 15, 34, 0.76));
  --stroke: rgba(255, 255, 255, 0.08);
  --text: #f4f7ff;
  --muted: rgba(236, 241, 255, 0.62);
  --blue: #49bfff;
  --blue-2: #7f79ff;
  --cyan: #7be8ff;
  --shadow: 0 18px 60px rgba(36, 81, 192, 0.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, system-ui, sans-serif;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }

.page-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(44, 132, 255, 0.18), transparent 35%),
    radial-gradient(circle at 80% 65%, rgba(108, 75, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #040c22 0%, #020717 100%);
  z-index: -4;
}
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -3;
  animation: float 12s ease-in-out infinite;
}
.orb-1 { width: 280px; height: 280px; background: rgba(54, 130, 255, 0.18); top: -40px; left: -60px; }
.orb-2 { width: 340px; height: 340px; background: rgba(127, 121, 255, 0.16); top: 180px; right: -80px; animation-duration: 15s; }
.orb-3 { width: 260px; height: 260px; background: rgba(0, 221, 255, 0.10); bottom: 40px; left: 35%; animation-duration: 11s; }

.steam-watermark {
  position: fixed;
  right: -160px;
  top: 130px;
  width: 760px;
  opacity: 0.08;
  z-index: -2;
  pointer-events: none;
  filter: drop-shadow(0 0 40px rgba(84, 112, 255, 0.2));
}

.container {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.glass-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: blur(18px);
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.brand__icon img { width: 28px; height: 28px; object-fit: contain; }
.brand__title { font-size: 22px; font-weight: 900; letter-spacing: .02em; }
.brand__subtitle { color: var(--muted); font-size: 14px; }

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.nav a {
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,0.04);
  color: #f5f8ff;
  font-weight: 600;
}
.nav-support {
  background: linear-gradient(90deg, rgba(43, 185, 255, .18), rgba(127, 121, 255, .12));
  border-color: rgba(91, 214, 255, 0.24) !important;
}

.main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 540px;
  gap: 42px;
  align-items: start;
  padding-top: 28px;
}

.hero {
  padding-top: 84px;
}
.badge, .eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(72, 176, 255, 0.24);
  background: rgba(53, 123, 255, 0.08);
  color: #b7dfff;
  font-size: 14px;
  font-weight: 500;
}
.eyebrow {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: rgba(255,255,255,0.38);
  letter-spacing: .28em;
  font-size: 13px;
  font-weight: 700;
}
.hero h1 {
  margin: 24px 0 18px;
  font-size: clamp(52px, 7vw, 82px);
  line-height: .96;
  font-weight: 900;
}
.hero h1 span {
  background: linear-gradient(90deg, #e7f0ff 0%, #95dfff 55%, #bcc1ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  max-width: 640px;
  margin: 0;
  color: rgba(240, 245, 255, 0.78);
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1.18;
  font-weight: 500;
}
.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.primary-button,
.secondary-button,
.topup-button {
  border: 0;
  border-radius: 20px;
  padding: 17px 28px;
  font-weight: 800;
  font-size: 18px;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.primary-button,
.topup-button:not(:disabled) {
  background: linear-gradient(90deg, #46c5ff 0%, #67c4ff 40%, #8672ff 100%);
  box-shadow: 0 14px 34px rgba(70, 156, 255, 0.28);
  color: white;
}
.primary-button:hover,
.secondary-button:hover,
.topup-button:not(:disabled):hover {
  transform: translateY(-1px);
}
.secondary-button {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
}

.topup-panel {
  position: relative;
  padding: 24px;
  border-radius: 30px;
}
.topup-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(81, 183, 255, 0.25), rgba(136, 116, 255, 0.18));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.topup-panel__head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.topup-panel h2 {
  margin: 12px 0 0;
  font-size: clamp(30px, 3vw, 42px);
  line-height: .96;
}

.region-picker { position: relative; min-width: 190px; }
.region-picker__button {
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.region-picker__value,
.region-option { display: flex; align-items: center; gap: 10px; }
.region-picker img,
.region-option img { width: 24px; height: 16px; object-fit: cover; border-radius: 2px; }
.region-picker__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 100%;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(10, 17, 38, 0.96);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  display: none;
  z-index: 10;
}
.region-picker.open .region-picker__menu { display: block; }
.region-option {
  width: 100%;
  background: transparent;
  border: 0;
  color: white;
  padding: 11px 12px;
  border-radius: 12px;
}
.region-option:hover { background: rgba(255,255,255,0.05); }

.field-group + .field-group { margin-top: 18px; }
.field-label {
  display: block;
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 800;
}
.input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 18px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(3, 9, 25, 0.72);
}
.input-wrap:focus-within { border-color: rgba(83, 183, 255, 0.36); }
.input-wrap input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: white;
  padding: 10px 0;
  font-size: 18px;
  font-weight: 600;
}
.input-wrap input::placeholder { color: rgba(255,255,255,0.32); }
.input-wrap--amount input { font-size: 28px; font-weight: 800; }
.help-button,
.currency-pill {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.help-button {
  border: 0;
  background: rgba(127, 121, 255, 0.24);
  color: white;
  font-weight: 800;
  font-size: 19px;
}
.currency-pill {
  background: rgba(127, 121, 255, 0.24);
  color: #dfe6ff;
  font-weight: 800;
  font-size: 24px;
}
.field-hint {
  margin-top: 9px;
  color: rgba(255,255,255,0.4);
  font-weight: 600;
}

.summary-card {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}
.summary-card__line { color: rgba(255,255,255,0.68); font-weight: 600; }
.summary-card__line--accent { color: var(--cyan); font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.summary-card__total { margin-top: 8px; font-size: 30px; font-weight: 900; }

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.82);
}
.check-row input {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  accent-color: #62d9ff;
}

.topup-button {
  width: 100%;
  margin-top: 18px;
}
.topup-button:disabled {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.34);
  box-shadow: none;
  cursor: not-allowed;
}
.disabled-hint {
  margin-top: 10px;
  color: rgba(255,255,255,0.45);
  font-size: 14px;
}

.stats-section,
.reviews-section,
.faq-section,
.support-section { margin-top: 72px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.stat-card {
  padding: 28px;
  border-radius: 28px;
}
.stat-card__value {
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 900;
}
.stat-card__label {
  margin-top: 10px;
  font-size: 18px;
  color: rgba(255,255,255,0.68);
  line-height: 1.25;
  max-width: 210px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.section-head h3,
.support-card h3 { margin: 10px 0 0; font-size: clamp(30px, 4vw, 42px); }
.section-note { color: rgba(255,255,255,0.46); font-weight: 500; }
.section-head--center { justify-content: center; text-align: center; }

.reviews-wrap { overflow: hidden; }
.reviews-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.reviews-wrap:hover .reviews-track { animation-play-state: paused; }
.review-card {
  width: 320px;
  padding: 22px;
  border-radius: 28px;
  flex: none;
}
.review-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.review-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #4ec4ff 0%, #8276ff 100%);
  font-weight: 900;
}
.review-name { font-weight: 700; }
.review-card p {
  min-height: 96px;
  color: rgba(255,255,255,0.72);
  line-height: 1.45;
}
.review-amount {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 15px;
  background: rgba(112, 224, 255, 0.10);
  border: 1px solid rgba(112, 224, 255, 0.18);
  color: #9eeeff;
  font-weight: 700;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.faq-card {
  border-radius: 24px;
  padding: 4px 20px;
}
.faq-card summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-size: 22px;
  font-weight: 700;
}
.faq-card summary::-webkit-details-marker { display: none; }
.faq-card p {
  margin: 0 0 20px;
  color: rgba(255,255,255,0.68);
  line-height: 1.55;
}

.support-card {
  border-radius: 30px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.support-card p {
  max-width: 700px;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
}

.help-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 50;
}
.help-modal.open { display: block; }
.help-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.62);
}
.help-modal__dialog {
  position: relative;
  width: min(760px, calc(100% - 24px));
  margin: 32px auto;
  padding: 22px;
  border-radius: 28px;
  max-height: calc(100vh - 64px);
  overflow: auto;
  animation: modalIn .18s ease;
}
.help-modal__dialog h3 { margin: 6px 0 18px; font-size: 34px; }
.help-modal__dialog img { border-radius: 18px; border: 1px solid rgba(255,255,255,0.08); }
.help-modal__text { color: rgba(255,255,255,0.76); line-height: 1.55; }
.help-modal__close {
  position: absolute;
  right: 16px;
  top: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.05);
  color: white;
  font-size: 24px;
}

@keyframes float {
  0%,100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-16px) translateX(8px); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 8px)); }
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1180px) {
  .main-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding-top: 12px; }
  .hero p { max-width: 860px; }
  .steam-watermark { width: 560px; right: -130px; top: 230px; }
}

@media (max-width: 820px) {
  .header { flex-direction: column; align-items: flex-start; }
  .nav { width: 100%; }
  .nav a { flex: 1; text-align: center; padding: 13px 16px; }
  .topup-panel__head { flex-direction: column; }
  .region-picker { width: 100%; }
  .stats-grid { grid-template-columns: 1fr; }
  .support-card { flex-direction: column; align-items: flex-start; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-note { display: none; }
  .review-card { width: 280px; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 20px, 1240px); }
  .header { padding-top: 16px; }
  .brand__title { font-size: 18px; }
  .brand__subtitle { font-size: 12px; }
  .nav { gap: 8px; }
  .nav a { font-size: 14px; padding: 12px 14px; }
  .hero h1 { margin-top: 18px; font-size: 54px; }
  .hero p { font-size: 24px; }
  .hero-actions { gap: 10px; }
  .primary-button, .secondary-button, .topup-button { width: 100%; justify-content: center; text-align: center; }
  .topup-panel { padding: 18px; border-radius: 24px; }
  .topup-panel h2 { font-size: 28px; }
  .field-label { font-size: 18px; }
  .input-wrap--amount input { font-size: 22px; }
  .summary-card__total { font-size: 24px; }
  .review-card { width: 260px; }
  .faq-card summary { font-size: 18px; }
  .steam-watermark { width: 360px; right: -110px; top: 190px; opacity: .07; }
}
