/* Страница пополнения Steam — раскладка зелёного реф., стиль наш (сине-фиолетовый). */
.steam-page {
  max-width: 560px;
  margin: 0 auto;
  padding: 2px 16px 96px;
  color: #eef3ff;
}

.steam-topbar { padding: 2px 0 0; }
.steam-back {
  background: none; border: none; color: rgba(129, 132, 255, 0.9);
  font-size: 15px; font-weight: 700; cursor: pointer; padding: 4px 2px;
}

.steam-hero { text-align: center; padding: 2px 0 16px; }
.steam-logo {
  display: block; width: 84px; height: 84px; margin: 0 auto 12px; object-fit: contain;
}
.steam-title { margin: 0; font-size: 31px; font-weight: 800; letter-spacing: 0.2px; }
.steam-subtitle { margin-top: 6px; color: rgba(237, 243, 255, 0.62); font-size: 14px; font-weight: 600; }
.steam-commission-pill {
  display: inline-block; margin-top: 14px; padding: 9px 20px; border-radius: 999px;
  background: rgba(129, 132, 255, 0.12); border: 1px solid rgba(129, 132, 255, 0.32);
  color: #9a9dff; font-size: 15px; font-weight: 800;
}

.steam-card {
  margin-top: 14px; padding: 16px; border-radius: 18px;
  background: rgba(15, 24, 45, 0.72); border: 1px solid rgba(120, 150, 210, 0.16);
}
.steam-field-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.steam-label {
  color: rgba(237, 243, 255, 0.6); font-size: 13px; font-weight: 800;
  letter-spacing: 0.6px; text-transform: uppercase;
}
.steam-label-amount { display: block; margin: 16px 0 8px; }
.steam-help-btn {
  background: rgba(129, 132, 255, 0.1); border: 1px solid rgba(129, 132, 255, 0.28);
  color: #9a9dff; font-size: 12px; font-weight: 700; border-radius: 999px;
  padding: 5px 12px; cursor: pointer;
}
.steam-login-input, .steam-custom-input {
  width: 100%; box-sizing: border-box; padding: 16px 16px; border-radius: 13px;
  background: rgba(8, 15, 32, 0.8); border: 1px solid rgba(120, 150, 210, 0.22);
  color: #eef3ff; font-size: 17px; font-weight: 600; outline: none;
}
.steam-login-input::placeholder, .steam-custom-input::placeholder { color: rgba(237, 243, 255, 0.34); font-weight: 500; }
.steam-login-input:focus, .steam-custom-input:focus { border-color: rgba(129, 132, 255, 0.5); }
.steam-login-input.is-invalid { border-color: rgba(255, 96, 96, 0.75); }
.steam-login-error { margin-top: 7px; color: rgba(255, 122, 122, 0.96); font-size: 13px; font-weight: 600; }
.steam-custom-input { margin-top: 10px; }

/* Быстрые номиналы — в ОДИН ряд, компактные и ненавязчивые (акцент на поле суммы, а не
   на кнопках). Выбранный подсвечивается. */
.steam-amount-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.steam-amount-btn {
  padding: 9px 4px; border-radius: 9px; cursor: pointer;
  background: rgba(8, 15, 32, 0.5); border: 1px solid rgba(120, 150, 210, 0.14);
  color: rgba(237, 243, 255, 0.72); font-size: 12px; font-weight: 700; white-space: nowrap;
}
.steam-amount-btn.is-active {
  background: rgba(129, 132, 255, 0.14); border-color: rgba(129, 132, 255, 0.5); color: #cdceff;
}

/* Примерная сумма зачисления по региону кошелька (Россия ₽ / Казахстан ₸) — небольшие,
   ненавязчивые (по референсу). Ориентир, оплату считает сервер в ₽. */
.steam-region-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.steam-region-card {
  display: flex; align-items: center; gap: 12px; padding: 15px 15px; border-radius: 14px;
  background: rgba(15, 24, 45, 0.55); border: 1px solid rgba(120, 150, 210, 0.16);
}
.steam-region-code {
  font-size: 20px; font-weight: 800; color: rgba(237, 243, 255, 0.55); flex-shrink: 0;
  letter-spacing: 0.5px;
}
.steam-region-info { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.steam-region-sum { font-size: 18px; font-weight: 800; color: rgba(237, 243, 255, 0.9); white-space: nowrap; }
.steam-region-name { font-size: 12px; font-weight: 600; color: rgba(237, 243, 255, 0.45); }

.steam-summary {
  margin-top: 14px; padding: 14px 16px; border-radius: 14px;
  display: flex; align-items: center; gap: 10px;
  background: rgba(15, 24, 45, 0.6); border: 1px solid rgba(120, 150, 210, 0.14);
}
.steam-summary-caption { color: rgba(237, 243, 255, 0.55); font-size: 14px; font-weight: 700; }
.steam-summary-paysum { margin-left: auto; font-size: 22px; font-weight: 800; color: #eef3ff; }
.steam-summary-markup { color: rgba(237, 243, 255, 0.4); font-size: 13px; font-weight: 700; }

.steam-pay-btn {
  width: 100%; margin-top: 18px; padding: 18px; border-radius: 15px; cursor: pointer;
  background: linear-gradient(135deg, #33b7d6, #3f7be0);
  border: none; color: #fff; font-size: 19px; font-weight: 800;
}
.steam-pay-btn:disabled { opacity: 0.7; }
.steam-agree { margin-top: 12px; text-align: center; color: rgba(237, 243, 255, 0.45); font-size: 12px; line-height: 1.5; }
.steam-legal-link { color: rgba(129, 132, 255, 0.9); text-decoration: underline; cursor: pointer; }

/* Модалка «Где взять логин Steam» */
.steam-modal {
  position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(4, 8, 18, 0.72); backdrop-filter: blur(2px);
}
.steam-modal[hidden] { display: none; }
.steam-modal-card {
  position: relative; width: 100%; max-width: 420px; padding: 22px; border-radius: 18px;
  background: #121c33; border: 1px solid rgba(120, 150, 210, 0.24);
}
.steam-modal-x {
  position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(120, 150, 210, 0.2);
  color: rgba(237, 243, 255, 0.75); font-size: 20px; line-height: 1; font-weight: 400;
}
.steam-modal-title { margin: 0 34px 12px 0; font-size: 19px; font-weight: 800; color: #eef3ff; }
.steam-modal-text { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: rgba(237, 243, 255, 0.82); }
.steam-modal-open {
  width: 100%; padding: 14px; border-radius: 12px; cursor: pointer;
  background: linear-gradient(135deg, #33b7d6, #3f7be0); border: none; color: #fff;
  font-size: 15px; font-weight: 800;
}

.steam-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 16px; }
.steam-badges span { color: rgba(237, 243, 255, 0.62); font-size: 12px; font-weight: 700; }
.steam-note { margin-top: 12px; text-align: center; color: rgba(237, 243, 255, 0.4); font-size: 12px; line-height: 1.5; }

.steam-faq-title { margin: 22px 0 10px; font-size: 18px; font-weight: 800; }
.steam-faq { display: flex; flex-direction: column; gap: 8px; }
.steam-faq-item {
  border-radius: 12px; overflow: hidden;
  background: rgba(15, 24, 45, 0.6); border: 1px solid rgba(120, 150, 210, 0.14);
}
.steam-faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 16px; background: none; border: none; cursor: pointer;
  color: #eef3ff; font-size: 14px; font-weight: 700; text-align: left;
}
.steam-faq-plus { color: #878bff; font-size: 18px; font-weight: 800; flex-shrink: 0; }
.steam-faq-a {
  max-height: 0; overflow: hidden; padding: 0 16px;
  color: rgba(237, 243, 255, 0.66); font-size: 13px; line-height: 1.55;
  transition: max-height 0.25s ease, padding 0.25s ease;
}
.steam-faq-item.is-open .steam-faq-a { max-height: 460px; padding: 0 16px 14px; }
.steam-faq-item.is-open .steam-faq-plus { transform: rotate(45deg); }
