/* ============================================= */
/* БЛОК: УПРАВЛЕНИЕ ЭКРАНАМИ                    */
/* ============================================= */

.screen {
  display: none;
}

.screen.active {
  display: block;
}


/* ============================================= */
/* БЛОК: ЗАГОЛОВКИ СЕКЦИЙ (ОБЩИЕ)              */
/* ============================================= */

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  justify-content: center;
  width: 100%;
}

.section-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.section-title {
  color: #FAF8F6;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
  text-align: center;
   font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.section-subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  font-weight: 300;
  text-align: center;
  width: 100%;
  margin-bottom: 24px;
  letter-spacing: 0.2px;
}

.back-btn {
  background: transparent;
  border: none;
  color: #FAF8F6;
  font-size: 24px;
  cursor: pointer;
  padding: 8px 12px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

/* ============================================= */
/* ГЛОБАЛЬНЫЙ ЛОАДЕР                           */
/* ============================================= */

.global-loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.global-loader.active {
  opacity: 1;
  pointer-events: all;
}

.global-loader-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.global-loader-spinner {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  animation: spin 0.8s linear infinite;
}

.global-loader-spinner img {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ============================================= */
/* БЛОК: PLAYSTATION SECTION                    */
/* ============================================= */

.ps-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 48px;
}

.ps-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  justify-content: center;
  width: 100%;
}

.ps-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.ps-title {
  color: #FAF8F6;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
  text-align: center;
}

.ps-subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  font-weight: 300;
  margin-bottom: 24px;
  letter-spacing: 0.3px;
  text-align: center;
  width: 100%;
}

/* ============================================= */
/* БЛОК: КНОПКИ РЕГИОНОВ                        */
/* ============================================= */
/* ============================================= */
/* БЛОК: PSN РЕГИОНЫ БАННЕРЫ (НОВЫЕ)            */
/* ============================================= */


.psn-regions-banners {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

.psn-region-banner {
    position: relative;
    width: 100%;
    max-width: 560px;
    height: 96px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

.psn-region-banner-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* ===== ГРАДИЕНТ ТУРЦИЯ (СВЕРХУ ВНИЗ) ===== */
.psn-region-banner--turkey .psn-region-banner-inner {
    background: linear-gradient(180deg, #2A0808 0%, #000000 100%);
}

/* ===== ГРАДИЕНТ ИНДИЯ (СВЕРХУ ВНИЗ) ===== */
.psn-region-banner--india .psn-region-banner-inner {
    background: linear-gradient(180deg, #0A2A08 0%, #000000 100%);
}

.psn-region-banner {
    position: relative;
}

/* ===== ЛЕВЫЙ ВЕРХНИЙ УГОЛ ===== */
.psn-region-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 55%;
    pointer-events: none;
    z-index: 10;
    border-top: 2.1px solid rgba(255, 255, 255, 1);
    border-left: 2.1px solid rgba(255, 255, 255, 1);
    border-top-left-radius: 20px;
    mask: linear-gradient(135deg, 
        rgba(255,255,255,1) 0%, 
        rgba(255,255,255,0.3) 30%, 
        rgba(255,255,255,0) 100%
    );
    -webkit-mask: linear-gradient(135deg, 
        rgba(255,255,255,1) 0%, 
        rgba(255,255,255,0.3) 30%, 
        rgba(255,255,255,0) 100%
    );
}

/* ===== ПРАВЫЙ НИЖНИЙ УГОЛ ===== */
.psn-region-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 55%;
    pointer-events: none;
    z-index: 10;
    border-bottom: 2.1px solid rgba(255, 255, 255, 1);
    border-right: 2.1px solid rgba(255, 255, 255, 1);
    border-bottom-right-radius: 20px;
    mask: linear-gradient(315deg, 
        rgba(255,255,255,1) 0%, 
        rgba(255,255,255,0.3) 30%, 
        rgba(255,255,255,0) 100%
    );
    -webkit-mask: linear-gradient(315deg, 
        rgba(255,255,255,1) 0%, 
        rgba(255,255,255,0.3) 30%, 
        rgba(255,255,255,0) 100%
    );
}
/* ===== ТУРЦИЯ — КРАСНО-ОРАНЖЕВОЕ СВЕЧЕНИЕ ===== */
.psn-region-banner--turkey .psn-region-banner-inner {
    box-shadow: 
        inset 0 -40px 40px -20px rgba(255, 80, 0, 0.35),
        inset 0 -60px 60px -30px rgba(255, 50, 0, 0.20);
}

/* ===== ИНДИЯ — ЖЁЛТО-ЗЕЛЁНОЕ СВЕЧЕНИЕ ===== */
.psn-region-banner--india .psn-region-banner-inner {
    box-shadow: 
        inset 0 -40px 40px -20px rgba(255, 200, 0, 0.35),
        inset 0 -60px 60px -30px rgba(50, 255, 0, 0.20);
}
/* ===== ВНУТРЕННИЙ БЛИК (INNER SHADOW) ===== */
.psn-region-banner-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    z-index: 1;
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* ТУРЦИЯ */
.psn-region-banner--turkey .psn-region-banner-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    pointer-events: none;
    z-index: 20;
    box-shadow:
        inset 0 -45px 20px -30px rgba(255, 100, 0, 0.15),
        inset 0 -57px 25px -30px rgba(255, 50, 0, 0.10),
        inset 0 -70px 30px -30px rgba(200, 20, 0, 0.08);
}

/* ИНДИЯ */
.psn-region-banner--india .psn-region-banner-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    pointer-events: none;
    z-index: 20;
    box-shadow:
        inset 0 -45px 20px -30px rgba(255, 200, 0, 0.15),
        inset 0 -57px 25px -30px rgba(150, 255, 0, 0.10),
        inset 0 -70px 30px -30px rgba(50, 200, 0, 0.08);
}

/* ===== ВЕРХНЯЯ ПЛАШКА "PSN МАГАЗИН" ===== */
.psn-region-banner-tag {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    color: #FFFFFF;
    font-family: 'Russian Bold', 'Manrope', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 2px 14px;
    border-radius: 6px;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* ===== ТУРЦИЯ — БОРДОВАЯ ПЛАШКА ===== */
.psn-region-banner--turkey .psn-region-banner-tag {
    background: rgba(128, 0, 0, 0.8);
}

/* ===== ИНДИЯ — ТЕМНО-ЗЕЛЁНАЯ ПЛАШКА ===== */
.psn-region-banner--india .psn-region-banner-tag {
    background: rgba(0, 80, 0, 0.8);
}

/* ===== ОБВОДКА ДЛЯ ПЛАШКИ ===== */
.psn-region-banner-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 45%;
    pointer-events: none;
    z-index: 1;
    border-top: 1.8px solid rgba(255, 255, 255, 1);
    border-left: 1.8px solid rgba(255, 255, 255, 1);
    border-top-left-radius: 6px;
    mask: linear-gradient(135deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,1) 40%, 
        rgba(255,255,255,0) 100%
    );
    -webkit-mask: linear-gradient(135deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,1) 40%, 
        rgba(255,255,255,0) 100%
    );
}

.psn-region-banner-tag::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 45%;
    height: 45%;
    pointer-events: none;
    z-index: 1;
    border-bottom: 1.8px solid rgba(255, 255, 255, 1);
    border-right: 1.8px solid rgba(255, 255, 255, 1);
    border-bottom-right-radius: 6px;
    mask: linear-gradient(315deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,1) 40%, 
        rgba(255,255,255,0) 100%
    );
    -webkit-mask: linear-gradient(315deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,1) 40%, 
        rgba(255,255,255,0) 100%
    );
}
/* ===== ФЛАГ СЛЕВА ===== */
.psn-region-banner-flag {
    position: absolute;
    left: -10px;
    top: 55%;
    transform: translateY(-50%);
    z-index: 3;
    width: 135px;
    height: 135px;
    object-fit: cover;
}
/* ===== ОБЪЕКТЫ СПРАВА ===== */
.psn-region-banner-objects {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 120px;
    height: 96px;
    pointer-events: none;
}

.psn-region-banner-objects .obj {
    position: absolute;
    display: block;
    object-fit: contain;
    pointer-events: none;
}

/* ===== ПОРЯДОК СЛОЁВ: 1 - самый нижний, 3 - самый верхний ===== */
.psn-region-banner-objects .obj-1 {
    z-index: 1;
    right: 0px;
    bottom: 30px;
    width: 60px;
    height: 60px;
}

.psn-region-banner-objects .obj-2 {
    z-index: 2;
    left: 15px;
    top: 88%;
    transform: translateY(-50%) rotate(-10deg);
    width: 140px;
    height: 140px;
}

.psn-region-banner-objects .obj-3 {
    z-index: 3;
    right: -10px;
    top: 50%;
    transform: translateY(-30%);
    width: 110px;
    height: 110px;
}
.psn-region-banner-title {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    color: #FFFFFF;
    font-family: 'Russian Bold', 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
    line-height: 1.2;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

/* ===== ПОДЗАГОЛОВОК ===== */
.psn-region-banner-subtitle {
    position: absolute;
    left: 50%;
    bottom: 14px; /* ← РУЧНАЯ НАСТРОЙКА */
    transform: translateX(-50%);
    z-index: 4;
    color: #FFFFFF;
    font-family: 'Russian Bold', 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
    line-height: 1.2;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.psn-region-banner-tag {
    position: absolute;
    left: 50%;
    top: 12px; /* ← РУЧНАЯ НАСТРОЙКА */
    transform: translateX(-50%);
    z-index: 15;
    color: #FFFFFF;
    font-family: 'Russian Bold', 'Manrope', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 2px 14px;
    border-radius: 6px;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
/* ===== ТУРЦИЯ — КРАСНЫЕ ПОЛОСЫ ===== */
.psn-region-banner--turkey .psn-region-banner-subtitle .highlight {
    color: #FF0000;
    font-weight: 700;
    margin: 0 6px;
}

/* ===== ИНДИЯ — ЗЕЛЁНЫЕ ПОЛОСЫ ===== */
.psn-region-banner--india .psn-region-banner-subtitle .highlight {
    color: #00FF00;
    font-weight: 700;
    margin: 0 6px;
}

/* ============================================= */
/* БЛОК: GIFT CARDS SECTION                     */
/* ============================================= */

.gift-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.gift-header {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 12px;
  padding: 0 4px;
}

.gift-title {
  color: #FAF8F6;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
  text-align: center;
}

.gift-subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  font-weight: 300;
  text-align: center;
  width: 100%;
  margin-bottom: 24px;
  letter-spacing: 0.2px;
}

.gift-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  justify-items: center;
}

.gift-icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

/* ===== ОБЁРТКА КНОПКИ ===== */
.gift-icon-btn-wrapper {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

/* ===== SVG-ОБВОДКА (ПОВЕРХ) ===== */
.gift-icon-border-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* ===== КНОПКА ===== */
.gift-icon-btn {
  width: 100%;
  height: 100%;
  border: none;
  background: rgba(0, 0, 0, 0.288);
  clip-path: url(#buttonClip);
  -webkit-clip-path: url(#buttonClip);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* ===== ИКОНКА ===== */
.gift-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.2)) drop-shadow(0 0 8px rgba(255, 255, 255, 0.1));
}

/* ===== ТЕКСТ ===== */
.gift-icon-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.2px;
  margin-top: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* ===== КНОПКА "ПОКАЗАТЬ ВСЕ" ===== */
.gift-show-all-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 24px;
}

.show-all-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  padding: 8px 20px;
  border-radius: 8px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================= */
/* БЛОК: STEAM ПОПОЛНЕНИЕ (НОВЫЙ ДИЗАЙН)        */
/* ============================================= */

#screen-steam {
  width: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 0 0 20px 0;
}

#screen-steam.active {
  display: flex;
}

#screen-steam .steam-header,
#screen-steam .steam-block,
#screen-steam .steam-info-row,
#screen-steam .steam-total-block,
#screen-steam .steam-error-banner,
#screen-steam .steam-submit-wrapper {
  width: 100%;
  max-width: 560px;
}

/* ============================================= */
/* HEADER — КАК В СПИСКЕ СЕРВИСОВ               */
/* ============================================= */

#screen-steam .steam-header {
  width: 100%;
  max-width: 560px;
  margin-bottom: 24px;
}

#screen-steam .steam-header-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
  min-height: 70px;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

#screen-steam .steam-header-card .back-btn {
  flex-shrink: 0;
  background: transparent;
  border: none;
  color: #FAF8F6;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  min-width: 36px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

#screen-steam .steam-header-content {
  flex: 1;
  min-width: 0;
}

#screen-steam .steam-title {
  color: #FAF8F6;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

#screen-steam .steam-subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 8px;
  font-weight: 400;
  margin-top: 2px;
}

#screen-steam .steam-header-logo-wrapper {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.25;
}

#screen-steam .steam-header-logo {
  width: 85%;
  height: 85%;
  object-fit: contain;
}

/* ============================================= */
/* ОБЩИЕ БЛОКИ                                  */
/* ============================================= */

#screen-steam .steam-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

#screen-steam .steam-block-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ============================================= */
/* ВАЛЮТЫ                                       */
/* ============================================= */

#screen-steam .steam-currency-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
}

#screen-steam .steam-currency-btn {
  flex: 1;
  min-width: 56px;
  padding: 12px 0;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  min-height: 44px;
  transition: all 0.2s ease;
}

#screen-steam .steam-currency-btn.active {
  background: rgba(255, 255, 255, 0.12);
  border-color: #FAF8F6;
  color: #FAF8F6;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.06);
}

/* ============================================= */
/* ВАЛЮТЫ С ФЛАГАМИ                             */
/* ============================================= */

.steam-currency-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
  min-width: 64px;
  flex: 1;
}

.steam-currency-flag {
  width: 24px;
  height: 18px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.steam-currency-btn.active .steam-currency-flag {
  opacity: 1;
}

.steam-currency-btn.active {
  background: rgba(255, 255, 255, 0.12);
  border-color: #FAF8F6;
  color: #FAF8F6;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.06);
}

/* ============================================= */
/* ЛОГИН                                        */
/* ============================================= */

#screen-steam .steam-login-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

#screen-steam .steam-toggle-btn {
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: rgba(255, 255, 255, 0.4);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.2s ease;
}

#screen-steam .steam-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.10);
}

#screen-steam .steam-info-block {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  max-height: 200px;
  opacity: 1;
  transition: all 0.25s ease;
  margin-bottom: 6px;
  width: 100%;
}

#screen-steam .steam-info-block.hidden {
  max-height: 0;
  padding: 0 14px;
  border: none;
  opacity: 0;
  margin: 0;
}

#screen-steam .steam-info-text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  line-height: 1.6;
}

#screen-steam .steam-input-wrapper {
  position: relative;
  width: 100%;
}

#screen-steam .steam-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #FAF8F6;
  font-size: 16px;
  font-weight: 500;
  outline: none;
  -webkit-appearance: none;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

#screen-steam .steam-input:focus {
  border-color: rgba(255, 255, 255, 0.20);
}

#screen-steam .steam-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

#screen-steam .steam-input.invalid {
  border-color: rgba(255, 60, 60, 0.4);
}

#screen-steam .steam-input.valid {
  border-color: rgba(76, 205, 196, 0.4);
}

/* ============================================= */
/* СУММА                                        */
/* ============================================= */

#screen-steam .steam-amount-wrapper {
  width: 100%;
}

#screen-steam .steam-amount-field {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  padding: 0 16px;
  transition: border-color 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

#screen-steam .steam-amount-field:focus-within {
  border-color: rgba(255, 255, 255, 0.20);
}

#screen-steam .steam-currency-symbol {
  color: rgba(255, 255, 255, 0.5);
  font-size: 22px;
  font-weight: 600;
  margin-right: 12px;
  flex-shrink: 0;
}

#screen-steam .steam-amount-input {
  width: 100%;
  padding: 14px 0;
  background: transparent;
  border: none;
  color: #FAF8F6;
  font-size: 22px;
  font-weight: 600;
  outline: none;
  -webkit-appearance: none;
  font-variant-numeric: tabular-nums;
  box-sizing: border-box;
}

#screen-steam .steam-amount-input::placeholder {
  color: rgba(255, 255, 255, 0.15);
}

/* ============================================= */
/* ПОДСКАЗКА ДИАПАЗОНА                          */
/* ============================================= */

#screen-steam .steam-range-hint {
  color: #f5b342;
  font-size: 13px;
  margin-top: 6px;
  text-align: right;
  letter-spacing: 0.3px;
  font-weight: 500;
  transition: opacity 0.2s ease;
  min-height: 20px;
}

#screen-steam .steam-range-hint.hidden {
  opacity: 0;
  height: 0;
  margin: 0;
  overflow: hidden;
}

#screen-steam .steam-range-hint.error {
  color: #ff6b6b;
}

/* ============================================= */
/* БЫСТРЫЕ СУММЫ (чуть уже)                     */
/* ============================================= */

#screen-steam .steam-quick-amounts {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  width: 100%;
}

#screen-steam .steam-quick-btn {
  flex: 1;
  min-width: 50px;
  max-width: 90px;
  padding: 8px 4px;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  font-variant-numeric: tabular-nums;
  transition: all 0.15s ease;
  text-align: center;
  white-space: nowrap;
}

#screen-steam .steam-quick-btn.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.20);
  color: #FAF8F6;
}

/* ============================================= */
/* ЗАЧИСЛЕНИЕ                                   */
/* ============================================= */

#screen-steam .steam-info-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  margin-bottom: 4px;
}

#screen-steam .steam-info-row:last-child {
  border-bottom: none;
}

#screen-steam .steam-info-label {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

#screen-steam .steam-info-value {
  color: #FAF8F6;
  font-size: 14px;
  font-weight: 500;
}

#screen-steam .steam-info-value.placeholder {
  color: rgba(255, 255, 255, 0.2);
}

/* ============================================= */
/* ИТОГО (КРУПНЫЙ БЛОК)                        */
/* ============================================= */

#screen-steam .steam-total-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 12px 0 8px 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-sizing: border-box;
}

#screen-steam .steam-total-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

#screen-steam .steam-total-value {
  color: #FAF8F6;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

#screen-steam .steam-total-value.placeholder {
  color: rgba(255, 255, 255, 0.25);
}

/* ============================================= */
/* КРАСНАЯ ПЛАШКА                               */
/* ============================================= */

#screen-steam .steam-error-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 60, 60, 0.12);
  border: 1px solid rgba(255, 60, 60, 0.25);
  border-radius: 12px;
  padding: 10px 14px;
  margin: 4px 0 16px 0;
  transition: all 0.3s ease;
  min-height: 44px;
  box-sizing: border-box;
}

#screen-steam .steam-error-banner.hidden {
  display: none;
}

#screen-steam .steam-error-icon {
  color: #ff6b6b;
  font-size: 18px;
  flex-shrink: 0;
}

#screen-steam .steam-error-text {
  color: #ff6b6b;
  font-size: 15px;
  font-weight: 500;
}

/* ============================================= */
/* ИНФОРМАЦИОННАЯ ПЛАШКА (ЖЁЛТАЯ)               */
/* ============================================= */

#screen-steam .steam-info-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 193, 7, 0.12);
  border: 1px solid rgba(255, 193, 7, 0.25);
  border-radius: 12px;
  padding: 10px 14px;
  margin: 4px 0 16px 0;
  min-height: 44px;
  transition: all 0.3s ease;
}

#screen-steam .steam-info-banner.hidden {
  display: none;
}

#screen-steam .steam-info-icon {
  color: #ffc107;
  font-size: 18px;
  flex-shrink: 0;
}

#screen-steam .steam-info-text {
  color: #ffc107;
  font-size: 15px;
  font-weight: 500;
}

/* ============================================= */
/* КНОПКА                                       */
/* ============================================= */

#screen-steam .steam-submit-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

#screen-steam .steam-submit-btn {
  width: 100%;
  max-width: 560px;
  padding: 18px 24px;
  border-radius: 16px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.3);
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.3s ease;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

#screen-steam .steam-submit-btn:disabled {
  cursor: not-allowed;
}

/* ===== НЕАКТИВНАЯ КНОПКА ===== */
#screen-steam .steam-submit-btn:disabled {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.3);
}

/* ===== АКТИВНАЯ КНОПКА ===== */
#screen-steam .steam-submit-btn.active {
  background: linear-gradient(135deg, #906bf9, #5898f9, #0cdcec, #15c2f3, #0070fb);
  background-size: 300% 300%;
  animation: steamGradient 4s ease infinite;
  color: #FFFFFF;
  box-shadow: 0 8px 32px rgba(144, 107, 249, 0.30);
  padding: 18px 24px;
  min-height: 56px;
}

#screen-steam .steam-submit-btn.active:hover {
  transform: scale(1.01);
  box-shadow: 0 8px 40px rgba(144, 107, 249, 0.40);
}

/* ============================================= */
/* ЛОАДЕР В КНОПКЕ                             */
/* ============================================= */

.btn-loader {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* =============================================
   STEAM TOTAL LOADER
   ============================================= */
.steam-total-value-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-height: 32px;
}

#total-loading {
  width: 28px;
  height: 28px;
  animation: spin 0.8s linear infinite;
}

#total-loading.hidden {
  display: none;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.steam-total-value {
  font-size: 28px;
  font-weight: 700;
  color: #FAF8F6;
}

.steam-total-value.placeholder {
  color: rgba(255, 255, 255, 0.25);
}

/* ===== АНИМАЦИЯ ГРАДИЕНТА ===== */
@keyframes steamGradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

#screen-steam .steam-submit-btn #submit-text {
  position: relative;
  z-index: 2;
  font-size: 17px;
  font-weight: 600;
}

#screen-steam .steam-submit-btn.active #submit-text {
  color: #FFFFFF;
}


/* ============================================= */
/* БЛОК: STEAM (ПОЛНЫЙ)                          */
/* ============================================= */

.steam-direct-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 28px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.steam-direct-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  justify-content: center;
  width: 100%;
}

.steam-direct-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.steam-direct-title {
  color: #FAF8F6;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
  text-align: center;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.steam-direct-subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  font-weight: 300;
  text-align: center;
  width: 100%;
  margin-bottom: 24px;
  letter-spacing: 0.2px;
}

/* ============================================= */
/* БЛОК: PROMO (ПОЛНЫЙ)                          */
/* ============================================= */

.promo-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.promo-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  justify-content: center;
  width: 100%;
}

.promo-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.promo-title {
  color: #FAF8F6;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
  text-align: center;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ============================================= */
/* БЛОК: БАННЕРЫ                                 */
/* ============================================= */

.banner {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.banner-glow-top,
.banner-glow-bottom {
  position: absolute;
  left: -15px;
  right: -15px;
  height: 3px;
  border-radius: 50%;
  filter: blur(12px);
  pointer-events: none;
  z-index: 0;
}

.banner-glow-top {
  top: -2px;
  background: rgba(255, 255, 255, 0.4);
}

.banner-glow-bottom {
  bottom: -2px;
  background: rgba(0, 60, 255, 0.6);
}

.banner-glow-bottom--promo {
  background: rgba(250, 101, 37, 0.6) !important;
}

.banner-card {
  position: relative;
  width: 100%;
  height: 110px;
  overflow: hidden;
  border-radius: 25px;
  z-index: 1;
}

.banner-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 25px;
  z-index: 50;
  pointer-events: none;
  padding: 1.5px;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.5) 18%,
      rgba(255, 255, 255, 0) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  background-clip: padding-box;
}

.banner-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  z-index: 15;
  pointer-events: none;
}

/* ============================================= */
/* МОДИФИКАТОР: STEAM                           */
/* ============================================= */

.banner--steam .banner-card {
  background: linear-gradient(135deg, #0a0a0f 0%, #0d1a2d 50%, #0f2440 100%);
}

.banner--steam .banner-card::after {
  box-shadow:
    inset 0 20px 20px -20px rgba(255, 255, 255, 0.25),
    inset 0 -25px 7px -24px rgba(253, 253, 253, 0.7),
    inset 0 -45px 20px -30px rgba(0, 137, 250, 0.5),
    inset 0 -57px 20px -30px rgba(0, 60, 255, 0.4);
}

.banner--steam .steam-object {
  position: absolute;
  left: -18px;
  top: 50%;
  transform: translateY(-45%);
  height: 145px;
  width: auto;
  z-index: 5;
  pointer-events: none;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.7));
}

.banner--steam .percent {
  position: absolute;
  right: -45px;
  bottom: -45px;
  height: 145px;
  width: auto;
  z-index: 1;
  transform: rotate(-8deg);
  pointer-events: none;
  filter: blur(1px) drop-shadow(0 0px 25px rgba(0, 0, 0, 0.7));
  opacity: 0.85;
}

/* ============================================= */
/* МОДИФИКАТОР: PROMO                           */
/* ============================================= */

.banner--promo .banner-card {
  background: #0a0a0a;
}

.banner--promo .banner-card::after {
  box-shadow:
    inset 0 20px 20px -20px rgba(255, 255, 255, 0.25),
    inset 0 -25px 7px -24px rgba(253, 253, 253, 0.7),
    inset 0 -45px 20px -30px rgba(255, 81, 0, 0.5),
    inset 0 -57px 20px -30px rgba(232, 27, 0, 0.4);
}

.banner--promo .banner-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 22px;
  overflow: hidden;
}

.banner--promo .promo-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner--promo .promo-bg-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 82%);
  z-index: 1;
  border-radius: 22px;
}

.banner--promo .telegram-object {
  position: absolute;
  right: -62px;
  bottom: -37px;
  height: 150px;
  width: auto;
  transform: rotate(15deg);
  pointer-events: none;
  filter: blur(1.3px) drop-shadow(-2px 2px 10px rgba(0, 0, 0, 0.8));
  opacity: 0.9;
  z-index: 1;
}

.banner--promo .promo-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  width: 90%;
  pointer-events: none;
}

/* ============================================= */
/* ТЕКСТ В БАННЕРАХ                             */
/* ============================================= */

.banner-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: "Russian Bold", "Microsoft Sans Serif", "MS Sans Serif", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
}

.banner-title-white {
  color: #ffffff;
}

.banner-title-gradient {
  background: linear-gradient(180deg, #48eff5 0%, #00218f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.banner-title-gradient--promo {
  background: linear-gradient(180deg, #ffab67 0%, #ff3300 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.banner-subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  margin-top: 4px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  color: rgba(255, 255, 255, 0.85);
}

.subtitle-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.subtitle-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.subtitle-dot.dot-blue {
  background: #4da6ff;
  box-shadow: 0 0 10px rgba(77, 166, 255, 0.6);
}

.subtitle-dot.dot-orange {
  background: #fa6525;
  box-shadow: 0 0 10px rgba(250, 101, 37, 0.6);
}

/* ============================================= */
/* ОБЪЕКТЫ ВНУТРИ БАННЕРОВ                      */
/* ============================================= */

.banner-object {
  position: absolute;
  pointer-events: none;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5));
  opacity: 0.6;
  z-index: 1;
}

.banner-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  pointer-events: none;
  width: 60%;
}

/* ============================================= */
/* БЛОК: ЭКРАН ВЫБОРА СЕРВИСА                  */
/* ============================================= */

.services-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 24px;
  padding: 0 4px;
  margin-top: 4px;
}

.services-title {
  color: #FAF8F6;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
  text-align: center;
  flex: 1;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.services-placeholder {
  width: 44px;
  flex-shrink: 0;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================= */
/* БЛОК: TELEGRAM STARS (НОВЫЙ)                  */
/* ============================================= */

.stars-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stars-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  justify-content: center;
  width: 100%;
}

.stars-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ============================================= */
/* МОДИФИКАТОР: STARS                           */
/* ============================================= */

.banner--stars .banner-card {
  background: #0a0a0a;
}

.banner--stars .banner-card::after {
  box-shadow:
    inset 0 20px 20px -20px rgba(255, 255, 255, 0.25),
    inset 0 -25px 5px -24px rgba(253, 253, 253, 0.5),
    inset 0 -45px 15px -25px rgba(255, 208, 0, 0.3),
    inset 0 -57px 15px -25px rgba(251, 255, 0, 0.2);
}

.banner-glow-bottom--stars {
  background: rgba(255, 215, 0, 0.6) !important;
}

.banner--stars .banner-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 22px;
  overflow: hidden;
}

.banner--stars .stars-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.banner--stars .star-object {
  position: absolute;
  left: 22px;
  bottom: -10%;
  height: 120px;
  width: auto;
  z-index: 5;
  pointer-events: none;
  filter: drop-shadow(0 2px 15px rgba(0, 0, 0, 0.7));
  opacity: 0.9;
}

.banner--stars .coins-object {
  position: absolute;
  right: -15px;
  bottom: -18px;
  height: 100px;
  width: auto;
  z-index: 1;
  pointer-events: none;
  filter: blur(1px) drop-shadow(0 0px 12px rgba(0, 0, 0, 0.8));
  opacity: 0.9;
}

.banner--stars .stars-content {
  position: absolute;
  top: 50%;
  left: 35%;
  transform: translateY(-50%); 
  z-index: 10;
  text-align: left; 
  width: 60%; 
  pointer-events: none;
}

.banner--stars .banner-title {
  display: block;
  font-family: "Russian Bold", "Microsoft Sans Serif", "MS Sans Serif", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  margin-bottom: 2px;
  text-align: left; 
}

.banner--stars .banner-title-white {
  color: #ffffff;
}

.banner--stars .banner-title-sub {
  display: block;
  font-family: "Russian Bold", "Microsoft Sans Serif", "MS Sans Serif", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  margin-bottom: 6px;
  text-align: left; 
}

.banner--stars .banner-title-gradient--stars {
  background: linear-gradient(180deg, #FFE87C 0%, #FFD700 40%, #F4A900 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.banner--stars .banner-subtitle {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* ← выравнивание по левому краю (было center) */
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.3px;
  margin-top: 4px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 
    0 2px 4px rgba(255, 215, 0, 0.3),
    0 4px 8px rgba(255, 215, 0, 0.2),
    0 8px 16px rgba(255, 215, 0, 0.1);
}

.banner--stars .subtitle-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.banner--stars .subtitle-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.banner--stars .subtitle-dot.dot-gold {
  background: #FFD700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

/* ============================================= */
/* БЛОК: КАРТОЧКИ СЕРВИСОВ (ОБЩИЕ СТИЛИ)        */
/* ============================================= */

.service-card-wrapper {
  position: relative;
  width: 100%;
  height: 60px;
  border-radius: 16px;
  overflow: hidden;
}

.service-card {
  width: 100%;
  height: 60px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border: none;
  border-radius: 20px;
}

/* ===== ОБВОДКА (ПОВЕРХ ВСЕГО) ===== */
.service-card-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  z-index: 10;
  pointer-events: none;
  padding: 1px;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.5) 30%,
      rgba(255, 255, 255, 0) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  background-clip: padding-box;
}

/* ===== ВНУТРЕННИЙ БЛИК (СВЕРХУ) ===== */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  z-index: 3;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* ===== ТЕКСТ ===== */
.service-info {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  z-index: 2;
}

.service-name {
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ===== ЛОГОТИП (выходит за край) ===== */
.service-logo-wrapper {
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%) rotate(-25deg);
  z-index: 1;
  width: 105px;
  height: 105px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.service-logo {
  width: 90%;
  height: 90%;
  object-fit: contain;
  opacity: 0.30;
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.73));
}



/* ============================================= */
/* БЛОК: ЭКРАН ДЕТАЛЕЙ СЕРВИСА                 */
/* ============================================= */

#screen-service-details {
  width: 100%;
  display: none;
  flex-direction: column;
  padding: 0 0 20px 0;
}

#screen-service-details.active {
  display: flex;
}

.service-detail-card {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  backdrop-filter: blur(10px);
}

.service-detail-card .back-btn {
  flex-shrink: 0;
  background: transparent;
  border: none;
  color: #FAF8F6;
  font-size: 24px;
  cursor: pointer;
  padding: 8px 12px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.service-detail-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.service-detail-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.service-detail-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.service-detail-name {
  color: #FAF8F6;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.service-detail-subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* ===== БЛОК ВЫБОРА ===== */
.selection-block {
  margin-bottom: 16px;
  width: 100%;
}

.block-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.2px;
}

.scroll-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 8px;
}

.scroll-container {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 4px 12px 4px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

.region-btn {
  flex-shrink: 0;
  padding: 12px 24px;
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  color: #FAF8F6;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  backdrop-filter: blur(4px);
  min-height: 48px;
  display: flex;
  gap: 8px;
  align-items: center;
  -webkit-tap-highlight-color: transparent;
}
.region-btn .fi {
    width: 24px;
    height: 18px;
    flex-shrink: 0;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.region-btn.active {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FAF8F6;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.08);
}

.nominal-btn {
  flex-shrink: 0;
  min-width: 120px;
  padding: 12px 18px;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #FAF8F6;
  cursor: pointer;
  text-align: center;
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-height: 64px;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.nominal-btn.active {
  background: rgba(255, 255, 255, 0.12);
  border-color: #FAF8F6;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.08);
}

.nominal-amount {
  font-size: 22px;
  font-weight: 700;
}

.nominal-stock {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
}

.nominal-btn.out-of-stock {
  opacity: 0.3;
  pointer-events: none;
  border-color: rgba(255, 255, 255, 0.03);
}

.scroll-indicator {
  display: none;
  height: 4px;
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  margin-top: 6px;
}

.scroll-indicator.active {
  display: block;
}

.scroll-indicator .indicator-bar {
  height: 100%;
  width: 30%;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
}

/* ===== ИТОГО И ОПЛАТА ===== */
.total-block {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 14px 16px;
  margin: 14px 0 16px 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
}

.total-price {
  color: #FAF8F6;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.2px;
  flex: 1;
}

.pay-btn {
  padding: 12px 28px;
  border-radius: 20px;
  border: none;
  background: #FAF8F6;
  color: #0b0b0f;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  min-height: 48px;
  min-width: 90px;
  -webkit-tap-highlight-color: transparent;
}

.pay-btn.disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* ===== ИНСТРУКЦИЯ ===== */
.instruction-block {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 8px;
}

.instruction-title {
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.instruction-text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
}

/* ============================================= */
/* БЛОК: STEAM ПОПОЛНЕНИЕ (ВЕСЬ БЛОК)           */
/* ============================================= */

#screen-steam {
  width: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 0 0 20px 0;
}

#screen-steam.active {
  display: flex;
}

#screen-steam .steam-header,
#screen-steam .steam-block,
#screen-steam .steam-info-row,
#screen-steam .steam-total-block,
#screen-steam .steam-error-banner,
#screen-steam .steam-submit-wrapper {
  width: 100%;
  max-width: 560px;
}

/* ============================================= */
/* HEADER — КАК В СПИСКЕ СЕРВИСОВ               */
/* ============================================= */

#screen-steam .steam-header {
  width: 100%;
  max-width: 560px;
  margin-bottom: 24px;
}

#screen-steam .steam-header-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
  min-height: 70px;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

#screen-steam .steam-header-card .back-btn {
  flex-shrink: 0;
  background: transparent;
  border: none;
  color: #FAF8F6;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  min-width: 36px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

#screen-steam .steam-header-content {
  flex: 1;
  min-width: 0;
}

#screen-steam .steam-title {
  color: #FAF8F6;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

#screen-steam .steam-subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 400;
  margin-top: 2px;
}

#screen-steam .steam-header-logo-wrapper {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.25;
}

#screen-steam .steam-header-logo {
  width: 85%;
  height: 85%;
  object-fit: contain;
}

/* ============================================= */
/* ОБЩИЕ БЛОКИ                                  */
/* ============================================= */

#screen-steam .steam-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

#screen-steam .steam-block-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ============================================= */
/* ВАЛЮТЫ                                       */
/* ============================================= */

#screen-steam .steam-currency-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
}

#screen-steam .steam-currency-btn {
  flex: 1;
  min-width: 56px;
  padding: 12px 0;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  min-height: 44px;
  transition: all 0.2s ease;
}

#screen-steam .steam-currency-btn.active {
  background: rgba(255, 255, 255, 0.12);
  border-color: #FAF8F6;
  color: #FAF8F6;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.06);
}

/* ============================================= */
/* ЛОГИН                                        */
/* ============================================= */

#screen-steam .steam-login-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

#screen-steam .steam-toggle-btn {
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: rgba(255, 255, 255, 0.4);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.2s ease;
}

#screen-steam .steam-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.10);
}

#screen-steam .steam-info-block {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  max-height: 200px;
  opacity: 1;
  transition: all 0.25s ease;
  margin-bottom: 6px;
  width: 100%;
}

#screen-steam .steam-info-block.hidden {
  max-height: 0;
  padding: 0 14px;
  border: none;
  opacity: 0;
  margin: 0;
}

#screen-steam .steam-info-text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  line-height: 1.6;
}

#screen-steam .steam-input-wrapper {
  position: relative;
  width: 100%;
}

#screen-steam .steam-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #FAF8F6;
  font-size: 16px;
  font-weight: 500;
  outline: none;
  -webkit-appearance: none;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

#screen-steam .steam-input:focus {
  border-color: rgba(255, 255, 255, 0.20);
}

#screen-steam .steam-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

#screen-steam .steam-input.invalid {
  border-color: rgba(255, 60, 60, 0.4);
}

#screen-steam .steam-input.valid {
  border-color: rgba(76, 205, 196, 0.4);
}

/* ============================================= */
/* СУММА                                        */
/* ============================================= */

#screen-steam .steam-amount-wrapper {
  width: 100%;
}

#screen-steam .steam-amount-field {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  padding: 0 16px;
  transition: border-color 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

#screen-steam .steam-amount-field:focus-within {
  border-color: rgba(255, 255, 255, 0.20);
}

#screen-steam .steam-currency-symbol {
  color: rgba(255, 255, 255, 0.5);
  font-size: 22px;
  font-weight: 600;
  margin-right: 12px;
  flex-shrink: 0;
}

#screen-steam .steam-amount-input {
  width: 100%;
  padding: 14px 0;
  background: transparent;
  border: none;
  color: #FAF8F6;
  font-size: 22px;
  font-weight: 600;
  outline: none;
  -webkit-appearance: none;
  font-variant-numeric: tabular-nums;
  box-sizing: border-box;
}

#screen-steam .steam-amount-input::placeholder {
  color: rgba(255, 255, 255, 0.15);
}

/* ============================================= */
/* ПОДСКАЗКА ДИАПАЗОНА                          */
/* ============================================= */

#screen-steam .steam-range-hint {
  color: #f5b342;
  font-size: 13px;
  margin-top: 6px;
  text-align: right;
  letter-spacing: 0.3px;
  font-weight: 500;
  transition: opacity 0.2s ease;
  min-height: 20px;
}

#screen-steam .steam-range-hint.hidden {
  opacity: 0;
  height: 0;
  margin: 0;
  overflow: hidden;
}

#screen-steam .steam-range-hint.error {
  color: #ff6b6b;
}

/* ============================================= */
/* БЫСТРЫЕ СУММЫ                                */
/* ============================================= */

#screen-steam .steam-quick-amounts {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  width: 100%;
}

#screen-steam .steam-quick-btn {
  flex: 1;
  min-width: 50px;
  max-width: 90px;
  padding: 8px 4px;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  font-variant-numeric: tabular-nums;
  transition: all 0.15s ease;
  text-align: center;
  white-space: nowrap;
}

#screen-steam .steam-quick-btn.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.20);
  color: #FAF8F6;
}

/* ============================================= */
/* ЗАЧИСЛЕНИЕ                                   */
/* ============================================= */

#screen-steam .steam-info-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  margin-bottom: 4px;
}

#screen-steam .steam-info-row:last-child {
  border-bottom: none;
}

#screen-steam .steam-info-label {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

#screen-steam .steam-info-value {
  color: #FAF8F6;
  font-size: 14px;
  font-weight: 500;
}

#screen-steam .steam-info-value.placeholder {
  color: rgba(255, 255, 255, 0.2);
}

/* ============================================= */
/* ИТОГО (КРУПНЫЙ БЛОК)                        */
/* ============================================= */

#screen-steam .steam-total-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 12px 0 8px 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-sizing: border-box;
}

#screen-steam .steam-total-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

#screen-steam .steam-total-value {
  color: #FAF8F6;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

#screen-steam .steam-total-value.placeholder {
  color: rgba(255, 255, 255, 0.25);
}

/* ============================================= */
/* КРАСНАЯ ПЛАШКА                               */
/* ============================================= */

#screen-steam .steam-error-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 60, 60, 0.12);
  border: 1px solid rgba(255, 60, 60, 0.25);
  border-radius: 12px;
  padding: 10px 14px;
  margin: 4px 0 16px 0;
  transition: all 0.3s ease;
  min-height: 44px;
  box-sizing: border-box;
}

#screen-steam .steam-error-banner.hidden {
  display: none;
}

#screen-steam .steam-error-icon {
  color: #ff6b6b;
  font-size: 18px;
  flex-shrink: 0;
}

#screen-steam .steam-error-text {
  color: #ff6b6b;
  font-size: 15px;
  font-weight: 500;
}

/* ============================================= */
/* КНОПКА И ЛОГОТИП SBP (ЕДИНЫЙ БЛОК)           */
/* ============================================= */

/* Кнопка — основа */
#screen-steam .steam-submit-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 8px;
  width: 100%;
  max-width: 560px;
}

#screen-steam .steam-submit-btn {
  position: relative;
  overflow: hidden;
  /* ← ГЛАВНОЕ: обрезаем всё, что выходит за границы */
  width: 100%;
  max-width: 560px;
  padding: 18px 24px;
  border-radius: 16px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.3);
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

#screen-steam .steam-submit-btn:disabled {
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.3);
}


/* Активная кнопка — градиент */
#screen-steam .steam-submit-btn.active {
  background: linear-gradient(135deg, #906bf9, #5898f9, #0cdcec, #15c2f3, #0070fb);
  background-size: 300% 300%;
  animation: steamGradient 4s ease infinite;
  color: #FFFFFF;
  box-shadow: 0 8px 32px rgba(144, 107, 249, 0.30);
}

#screen-steam .steam-submit-btn.active:hover {
  transform: scale(1.01);
  box-shadow: 0 8px 40px rgba(144, 107, 249, 0.40);
}

#screen-steam .steam-submit-btn #submit-text {
  position: relative;
  z-index: 2;
  font-size: 17px;
  font-weight: 600;
}

#screen-steam .steam-submit-btn.active #submit-text {
  color: #FFFFFF;
}

/* ===== АНИМАЦИЯ ГРАДИЕНТА ===== */
@keyframes steamGradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* ============================================= */
/* БЛОК: STEAM BENEFITS                          */
/* ============================================= */

.steam-benefits-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 560px;
    margin: 48px auto 0 auto;
    padding: 0;
    gap: 8px;
}

.steam-benefits-block {
    position: relative;
    flex: 1;
    min-width: 0;
    height: 100px;
    background: rgba(22, 22, 27, 0.2);
    border-radius: 0;
    overflow: hidden; /* ← меняем с visible на hidden */
}

/* ===== ВЕРТИКАЛЬНАЯ ПОЛОСА ===== */
.steam-benefits-edge {
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100px;
    background: #477BFF;
    z-index: 2;
    pointer-events: none;
    box-shadow: 0 0 16px rgba(71, 123, 255, 0.35);
}

.steam-benefits-edge.right {
    left: auto;
    right: 0;
}

/* ===== ГРАДИЕНТ ===== */
.steam-benefits-gradient {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to right,
        rgba(17, 140, 255, 0.32) 0%,
        rgba(18, 140, 255, 0.20) 25%,
        rgba(18, 140, 255, 0.05) 70%,
        rgba(18, 140, 255, 0.00) 100%
    );
}

/* Зеркальный градиент для правого блока */
.steam-benefits-block:last-child .steam-benefits-gradient {
    background: linear-gradient(to left,
        rgba(17, 140, 255, 0.32) 0%,
        rgba(18, 140, 255, 0.20) 25%,
        rgba(18, 140, 255, 0.05) 70%,
        rgba(18, 140, 255, 0.00) 100%
    );
}

/* ===== SVG ===== */
.steam-benefits-arrows {
    position: absolute;
    left: -3px;
    top: 50%;
    width: 240px;
    height: 360px; /* было 360px — увеличил */
    z-index: 0;
    pointer-events: none;
     transform: translateY(-50%) scaleY(1.04);
    opacity: 0.75;
    object-fit: fill;
}

.steam-benefits-block:last-child .steam-benefits-arrows {
    left: auto;
    right: -3px;
    transform: translateY(-50%) scaleX(-1) scaleY(1.04);
}

/* ===== ТЕКСТ ===== */
.steam-benefits-text {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    padding-left: 16px;
    padding-right: 8px;
    pointer-events: none;
}

/* Для правого блока текст прижат к правому краю */
.steam-benefits-block:last-child .steam-benefits-text {
    align-items: flex-end;
    padding-left: 8px;
    padding-right: 16px;
    text-align: right;
}

.steam-benefits-text span {
    display: block;
    color: #FAF8F6;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0.2px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.steam-benefits-text span:last-child {
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -0.2px;
}
.steam-benefits-text {
    justify-content: space-between;
    padding-top: 12px;
    padding-bottom: 12px;
}
/* ============================================= */
/* БЛОК: ОБЩИЕ ВСПОМОГАТЕЛЬНЫЕ СТИЛИ             */
/* ============================================= */

.promo-section a {
  display: flex;
  justify-content: center;
  width: 100%;
  text-decoration: none;
}

.scroll-container {
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.scroll-container.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.scroll-container.dragging .region-btn,
.scroll-container.dragging .nominal-btn {
  pointer-events: none;
}

/* ============================================= */
/* БЛОК: СООБЩЕНИЕ ПОСЛЕ ОПЛАТЫ                  */
/* ============================================= */

.app-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: #008311;
  color: #fff;
  padding: 14px 28px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  z-index: 10000;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
  box-shadow: 0 10px 40px rgba(0, 184, 148, 0.4);
}

.app-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ============================================= */
/* БЛОК: TELEGRAM STARS & PREMIUM                */
/* ============================================= */
/* ===== ОБЩИЙ КОНТЕЙНЕР ===== */


#screen-telegram {
  width: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 0 0 20px 0;
}

.telegram-container {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 0 20px 0;
}

/* Все блоки внутри контейнера */
#screen-telegram .telegram-header,
#screen-telegram .telegram-tabs,
#screen-telegram .telegram-block,
#screen-telegram .telegram-content,
#screen-telegram .telegram-total-block,
#screen-telegram .telegram-submit-wrapper {
  width: 100%;
}

#screen-telegram.active {
  display: flex;
}


/* ===== HEADER ===== */
#screen-telegram .telegram-header {
  margin-bottom: 16px;
}

#screen-telegram .telegram-header-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
  min-height: 70px;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

#screen-telegram .telegram-header-card .back-btn {
  flex-shrink: 0;
  background: transparent;
  border: none;
  color: #FAF8F6;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  min-width: 36px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#screen-telegram .telegram-header-content {
  flex: 1;
  min-width: 0;
}

#screen-telegram .telegram-title {
  color: #FAF8F6;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

#screen-telegram .telegram-subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 400;
  margin-top: 2px;
}

/* ===== ЛОГОТИП TELEGRAM (КАК В КАРТОЧКАХ СЕРВИСОВ) ===== */
#screen-telegram .telegram-header-logo-wrapper {
  position: absolute;
  right: -10px;
  /* ← как в service-card */
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: 100px;
  /* ← как в service-card */
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.15;
  overflow: visible;
  /* ← НЕ обрезаем! как в service-card */
}

#screen-telegram .telegram-header-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* ← как в service-card */
  opacity: 0.33;
  /* ← как в service-card */
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.6));
  /* ← как в service-card */
}

/* ===== ПЕРЕКЛЮЧАТЕЛЬ ===== */
#screen-telegram .telegram-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

#screen-telegram .telegram-tab {
  flex: 1;
  padding: 12px 16px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
}

#screen-telegram .telegram-tab .tab-icon-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

#screen-telegram .telegram-tab.active .tab-icon-img {
  filter: brightness(0) invert(1);
}

#screen-telegram .telegram-tab.active {
  background: rgba(144, 107, 249, 0.3);
  color: #FAF8F6;
  box-shadow: 0 4px 20px rgba(144, 107, 249, 0.15);
}

/* ===== КОНТЕНТ ===== */
#screen-telegram .telegram-content {
  display: none;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

#screen-telegram .telegram-content.active {
  display: flex;
}

#screen-telegram .telegram-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

/* Убираем нижний отступ у последнего блока */
.telegram-content .telegram-block:last-child {
  margin-bottom: 0;
}

/* ===== НУМЕРАЦИЯ БЛОКОВ ===== */
.telegram-block-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.telegram-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(100, 80, 255, 0.3);
  color: #FAF8F6;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.telegram-block-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* ===== ПОЛЕ ВВОДА С ПРЕФИКСОМ ===== */
.telegram-input-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.telegram-input-prefix {
  position: absolute;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 16px;
  font-weight: 500;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.telegram-input-prefix.visible {
  opacity: 1;
}

.telegram-input-prefix .prefix-at {
  color: #FFFFFF;
  font-weight: 600;
}

.telegram-input-prefix .prefix-pipe {
  color: rgba(255, 255, 255, 0.3);
  font-weight: 300;
}

.telegram-input-wrapper.has-value .telegram-input {
  padding-left: 48px;
}

.telegram-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #FAF8F6;
  font-size: 16px;
  font-weight: 500;
  outline: none;
  -webkit-appearance: none;
  transition: border-color 0.2s ease, padding-left 0.2s ease;
  box-sizing: border-box;
}

.telegram-input:focus {
  border-color: rgba(255, 255, 255, 0.20);
}

.telegram-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.telegram-input.invalid {
  border-color: rgba(255, 60, 60, 0.4);
}

.telegram-input.valid {
  border-color: rgba(144, 107, 249, 0.4);
}

.telegram-hint {
  color: rgba(255, 255, 255, 0.35);
  font-size: 13px;
  font-weight: 400;
  margin-top: 2px;
}

/* ===== КАСТОМНОЕ ПОЛЕ STARS ===== */
.telegram-custom-wrapper {
  margin-bottom: 12px;
}

.telegram-grid-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  margin-bottom: 10px;
}

/* ===== СЕТКА КАРТОЧЕК ===== */
.telegram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
}

.telegram-grid-btn {
  padding: 10px 6px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #FAF8F6;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-height: 56px;
  justify-content: center;
}

.telegram-grid-btn .grid-amount-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
}

.telegram-grid-btn .grid-amount {
  font-size: 16px;
  font-weight: 700;
}

.telegram-grid-btn .grid-star-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6)) drop-shadow(0 0 20px rgba(255, 215, 0, 0.3)) drop-shadow(0 0 40px rgba(255, 215, 0, 0.15));
  animation: starGlow 2s ease-in-out infinite alternate;
}

@keyframes starGlow {
  0% {
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.4)) drop-shadow(0 0 20px rgba(255, 215, 0, 0.2));
  }

  100% {
    filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.8)) drop-shadow(0 0 30px rgba(255, 215, 0, 0.4)) drop-shadow(0 0 50px rgba(255, 215, 0, 0.2));
  }
}

.telegram-grid-btn.active .grid-star-icon {
  filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.9)) drop-shadow(0 0 30px rgba(255, 215, 0, 0.5)) drop-shadow(0 0 60px rgba(255, 215, 0, 0.3));
}

.telegram-grid-btn .grid-price {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
}

.telegram-grid-btn.active {
  background: rgba(144, 107, 249, 0.2);
  border-color: rgba(144, 107, 249, 0.5);
  box-shadow: 0 0 30px rgba(144, 107, 249, 0.08);
}

.telegram-grid-btn:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

/* ===== КНОПКА "ПОКАЗАТЬ ВСЕ" ===== */
.telegram-show-all-btn {
  margin-top: 10px;
  padding: 10px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  text-align: center;
}

.telegram-show-all-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

/* ===== БЛОК "ИТОГО" (Блок 3) ===== */
.telegram-total-block {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 16px 18px;
  margin: 4px 0 12px 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  width: 100%;
  box-sizing: border-box;
}

.telegram-total-block .telegram-block-header {
  margin-bottom: 12px;
}

.telegram-total-block .telegram-step-number {
  background: rgba(100, 80, 255, 0.3);
}

.telegram-total-label {
  color: #FAF8F6;
  font-size: 16px;
  font-weight: 600;
}

.telegram-total-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.telegram-total-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.telegram-total-key {
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
}

.telegram-total-value {
  color: #FAF8F6;
  font-size: 15px;
  font-weight: 500;
  text-align: right;
}

.telegram-total-value.placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.total-price-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 4px;
  padding-top: 10px;
}

.telegram-total-price {
  color: #FAF8F6;
  font-size: 20px;
  font-weight: 700;
  text-align: right;
}

.telegram-total-price.placeholder {
  color: rgba(255, 255, 255, 0.25);
}

/* ===== КНОПКА ===== */
.telegram-submit-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 4px;
}

.telegram-submit-btn {
  width: 100%;
  padding: 18px 24px;
  border-radius: 16px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.3);
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  min-height: 56px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  font-family: inherit;
}

.telegram-submit-btn.disabled {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.3);
}

.telegram-submit-btn.gradient {
  background: linear-gradient(135deg, #906bf9, #5898f9, #0cdcec, #15c2f3, #0070fb);
  background-size: 300% 300%;
  animation: steamGradient 4s ease infinite;
  color: #FFFFFF;
  box-shadow: 0 8px 32px rgba(144, 107, 249, 0.30);
}

.telegram-submit-btn.gradient:hover {
  transform: scale(1.01);
  box-shadow: 0 8px 40px rgba(144, 107, 249, 0.40);
}

/* ===== АНИМАЦИЯ ГРАДИЕНТА ===== */
@keyframes steamGradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* ===== МОДАЛЬНОЕ ОКНО ===== */
.telegram-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.telegram-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.telegram-modal {
  background: #1a1a24;
  border-radius: 20px;
  padding: 28px 24px 20px 24px;
  max-width: 380px;
  width: 90%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.telegram-modal-overlay.active .telegram-modal {
  transform: scale(1);
}

.telegram-modal-icon {
  font-size: 40px;
  text-align: center;
  margin-bottom: 12px;
}

.telegram-modal-title {
  color: #FAF8F6;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.telegram-modal-desc {
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 20px;
}

.telegram-modal-btn {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: none;
  background: rgba(255, 255, 255, 0.10);
  color: #FAF8F6;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.telegram-modal-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* ============================================= */
/* ПРОФИЛЬ — ГЛОБАЛЬНЫЙ ЭКРАН                    */
/* ============================================= */

#screen-profile {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    display: none;
    flex-direction: column;
    background: #0b0b0f;
    z-index: 100;
    overflow: hidden;
}

#screen-profile.active {
    display: flex;
}

/* ===== ВЕРХНЯЯ ПАНЕЛЬ ===== */
.profile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px 8px 16px;
    flex-shrink: 0;
    min-height: 52px;
}

.profile-header .back-btn {
    flex-shrink: 0;
    background: transparent;
    border: none;
    color: #FAF8F6;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    min-width: 36px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.profile-title {
    color: #FAF8F6;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    flex: 1;
    text-align: center;
}

.profile-header-placeholder {
    width: 36px;
    flex-shrink: 0;
}

/* ===== КОНТЕНТ ===== */
.profile-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0 16px 20px 16px;
}

/* ===== БЛОК ПРОФИЛЯ ===== */
.profile-header-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0 24px 0;
    gap: 8px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: #FFFFFF;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    user-select: none;
}

.profile-name {
    font-size: 20px;
    font-weight: 700;
    color: #FAF8F6;
    margin-top: 4px;
}

.profile-id {
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
    font-weight: 400;
}

/* ===== БЛОК EMAIL ===== */
.profile-email-block {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.profile-email-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-email-icon {
    font-size: 16px;
    opacity: 0.5;
}

.profile-email-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    font-weight: 500;
}

.profile-email-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-email-value {
    color: #FAF8F6;
    font-size: 14px;
    font-weight: 500;
}

.profile-email-edit {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    font-size: 16px;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.profile-email-edit:active {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
}

/* ===== БЛОК КНОПОК ===== */
.profile-menu {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 20px;
}

.profile-menu-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    border: none;
    background: transparent;
    color: #FAF8F6;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    transition: background 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    font-family: inherit;
    text-align: left;
}

.profile-menu-btn:active {
    background: rgba(255, 255, 255, 0.05);
}

.profile-menu-btn .icon {
    font-size: 18px;
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}

.profile-menu-btn .arrow {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.15);
    font-size: 14px;
}

/* ===== БЛОК ДОКУМЕНТОВ ===== */
.profile-docs {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.profile-docs-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.25);
    font-size: 13px;
    font-weight: 400;
    padding: 10px 4px;
    cursor: pointer;
    text-align: left;
    transition: color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    font-family: inherit;
}

.profile-docs-btn:active {
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================= */
/* ПРОФИЛЬ — TELEGRAM MINI APP                   */
/* ============================================= */

#screen-profile {
    background: var(--tg-theme-bg-color, #0b0b0f);
    display: none;
    flex-direction: column;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    overflow: hidden;
}

#screen-profile.active {
    display: flex;
}

/* ============================================= */
/* 1. БАННЕР                                     */
/* ============================================= */

.profile-banner {
    position: relative;
    padding: 20px 20px 30px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1b69 50%, #1a1a2e 100%);
    flex-shrink: 0;
    min-height: 150px;
    display: flex;
    align-items: center;
    overflow: visible;
}

/* ===== КНОПКА НАЗАД ===== */
.profile-back-btn {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.04);
    color: #FAF8F6;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    z-index: 2;
    backdrop-filter: blur(4px);
    padding: 0;
}

.profile-back-btn:active {
    transform: scale(0.90);
    background: rgba(255, 255, 255, 0.12);
}

.profile-back-btn svg {
    width: 16px;
    height: 16px;
    stroke: rgba(255, 255, 255, 0.5);
}

/* ===== СВЕЧЕНИЕ ===== */
.profile-banner-glow {
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12), transparent 70%);
    pointer-events: none;
}

/* ===== КОНТЕНТ БАННЕРА ===== */
.profile-banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
    gap: 8px;
}

/* ===== АВАТАР (90px, ВЫХОДИТ НА 1/2 ЗА БАННЕР) ===== */
.profile-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B5CF6, #6366F1);
    border: 3px solid rgba(255, 255, 255, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 40px rgba(99, 102, 241, 0.35);
    margin-top: 10px;
    margin-bottom: -45px;
}

.profile-avatar-letter {
    color: #FFFFFF;
    font-size: 34px;
    font-weight: 700;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    text-transform: uppercase;
}

/* ===== ИМЯ (ПОД АВАТАРКОЙ) ===== */
.profile-user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 40px;
}

.profile-name {
    color: #FAF8F6;
    font-size: 19px;
    font-weight: 600;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* ============================================= */
/* 2. КОНТЕНТ                                    */
/* ============================================= */

.profile-content {
    flex: 1;
    overflow-y: auto;
    padding: 28px 16px 40px 16px;
    -webkit-overflow-scrolling: touch;
}

/* ============================================= */
/* 3. МЕНЮ-ПУНКТЫ (УВЕЛИЧЕННЫЕ ОТСТУПЫ)         */
/* ============================================= */

.profile-menu-item {
    display: flex;
    align-items: center;
    padding: 22px 18px;
    border-radius: 14px;
    gap: 18px;
    cursor: pointer;
    transition: all 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    margin-bottom: 4px;
}

.profile-menu-item:active {
    background: rgba(255, 255, 255, 0.05);
    transform: scale(0.98);
}

.profile-menu-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

/* ===== ИКОНКИ ===== */
.profile-menu-icon-wrapper {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-menu-icon-wrapper svg {
    stroke: rgba(255, 255, 255, 0.45);
}

.profile-menu-label {
    color: #FAF8F6;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    flex: 1;
}

.profile-menu-arrow {
    color: rgba(255, 255, 255, 0.06);
    font-size: 22px;
    font-weight: 300;
    flex-shrink: 0;
}

/* ===== EMAIL ===== */
.profile-menu-email-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 2px;
}

.profile-menu-email-value {
    color: rgba(255, 255, 255, 0.20);
    font-size: 12px;
    font-weight: 400;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ============================================= */
/* 4. ДОКУМЕНТЫ                                  */
/* ============================================= */

.profile-docs {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    padding: 28px 0 8px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.03) !important;
    margin-top: 24px !important;
}

.profile-docs-btn {
    background: transparent !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.12) !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    cursor: pointer !important;
    padding: 4px 8px !important;
    transition: color 0.2s ease !important;
    -webkit-tap-highlight-color: transparent !important;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
}

.profile-docs-divider {
    color: rgba(255, 255, 255, 0.04) !important;
    font-size: 12px !important;
}

.profile-docs-btn:active {
    color: rgba(255, 255, 255, 0.4);
}



/* ============================================= */
/* 5. МОДАЛКИ                                    */
/* ============================================= */

.profile-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.profile-modal-overlay.active {
    display: flex;
}

.profile-modal {
    background: #16161f;
    border-radius: 24px;
    padding: 32px 24px 24px 24px;
    max-width: 380px;
    width: 92%;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.profile-modal-icon {
    font-size: 44px;
    text-align: center;
    margin-bottom: 10px;
}

.profile-modal-title {
    color: #FAF8F6;
    font-size: 19px;
    font-weight: 700;
    text-align: center;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin-bottom: 4px;
}

.profile-modal-desc {
    color: rgba(255, 255, 255, 0.30);
    font-size: 14px;
    text-align: center;
    font-weight: 400;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin-bottom: 20px;
}

/* ===== ЧЕКБОКС ===== */
.profile-modal-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    margin-bottom: 18px;
}

.profile-checkbox {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

.profile-checkbox.active {
    background: linear-gradient(135deg, #8B5CF6, #6366F1);
    border-color: #6366F1;
}

.profile-checkbox svg {
    color: #FFFFFF;
    stroke: #FFFFFF;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.profile-checkbox.active svg {
    opacity: 1;
}

.profile-checkbox-label {
    color: rgba(255, 255, 255, 0.50);
    font-size: 14px;
    font-weight: 400;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ===== ПОЛЕ ВВОДА EMAIL ===== */
.profile-modal-input-wrapper {
    margin-bottom: 6px;
}

.profile-modal-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1.5px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.04);
    color: #FAF8F6;
    font-size: 16px;
    font-weight: 400;
    outline: none;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.profile-modal-input:focus {
    border-color: rgba(139, 92, 246, 0.4);
}

.profile-modal-input::placeholder {
    color: rgba(255, 255, 255, 0.15);
}

.profile-modal-error {
    color: #ff4757;
    font-size: 12px;
    font-weight: 400;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin-bottom: 12px;
    display: none;
}

.profile-modal-error.show {
    display: block;
}

/* ===== КНОПКИ МОДАЛКИ ===== */
.profile-modal-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #8B5CF6, #6366F1);
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin-bottom: 6px;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.25);
}

.profile-modal-btn:active {
    transform: scale(0.97);
}

.profile-modal-close {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: rgba(255, 255, 255, 0.20);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.profile-modal-close:active {
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================= */
/* 6. АНИМАЦИИ                                   */
/* ============================================= */

@keyframes profileFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes profileModalPop {
    from {
        transform: scale(0.92);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.profile-modal-overlay.active {
    animation: profileFadeIn 0.25s ease;
}

.profile-modal {
    animation: profileModalPop 0.25s ease forwards;
}
/* ============================================= */
/* БЛОК: INFO / FAQ (УНИВЕРСАЛЬНЫЙ)             */
/* ============================================= */

.info-faq {
    width: 100%;
    max-width: 560px;
    margin: 32px auto 0 auto;
    background: #20202A;
    border-radius: 13px;
    padding: 16px;
    box-sizing: border-box;
}

/* ===== ВКЛАДКИ ===== */
.info-faq-tabs {
    display: flex;
    gap: 22px;
    margin-bottom: 20px;
}

.info-faq-tab {
    flex: 1;
    height: 40px;
    border: none;
    border-radius: 12px;
    background: #2E2E36;
    color: #E2E2E3;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    position: relative;
    box-sizing: border-box;
}

.info-faq-tab.active {
    background: #2E2E36;
    color: #FEFEFE;
    font-weight: 500;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.info-faq-tab.active::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(to right, #8B6FF8, #0078F9);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* ===== КОНТЕНТ ===== */
.info-faq-content {
    display: none;
    flex-direction: column;
    gap: 12px;
}

.info-faq-content.active {
    display: flex;
}

/* ===== ЗАГОЛОВОК ===== */
.info-faq-heading {
    color: #FEFEFE;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.2px;
    margin-bottom: 4px;
}

/* ===== ТЕКСТ ===== */
.info-faq-text {
    color: #E2E2E3;
    font-size: 13px;
    line-height: 18px;
    font-weight: 400;
    margin: 0;
    padding: 0;
    text-align: left;
}

.info-faq-bold {
    color: #FEFEFE;
    font-weight: 700;
}

/* ===== FAQ ЭЛЕМЕНТЫ ===== */
.info-faq-item {
    background: #2E2E36;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.info-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    min-height: 44px;
    color: #FEFEFE;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    user-select: none;
    gap: 12px;
}

.info-faq-question span:first-child {
    flex: 1;
}

.info-faq-chevron {
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    flex-shrink: 0;
    line-height: 1;
}

.info-faq-answer {
    color: #E2E2E3;
    font-size: 13px;
    line-height: 18px;
    padding: 0 16px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: none;
}

.info-faq-item.open .info-faq-answer {
    padding: 0 16px 16px 16px;
    max-height: 200px;
    opacity: 1;
}