/* ========== Глобальное ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Etude Noire', sans-serif;
}

/* ========== Анимации ========== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes backgroundShift {
  0%, 100% { 
    filter: hue-rotate(0deg); 
  }
  50% { 
    filter: hue-rotate(180deg); 
  }
}

@keyframes float1 {
  0%, 100% { 
    transform: translate(0, 0) scale(1); 
  }
  33% { 
    transform: translate(30px, 40px) scale(1.1); 
  }
  66% { 
    transform: translate(-20px, 20px) scale(0.9); 
  }
}

@keyframes float2 {
  0%, 100% { 
    transform: translate(0, 0) scale(1); 
  }
  33% { 
    transform: translate(-40px, -30px) scale(1.15); 
  }
  66% { 
    transform: translate(20px, -40px) scale(0.85); 
  }
}

@keyframes float3 {
  0%, 100% { 
    transform: translate(-50%, -50%) scale(1); 
  }
  50% { 
    transform: translate(-50%, -50%) scale(1.2); 
  }
}

@keyframes orbFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-20px, -30px) scale(1.1);
  }
  66% {
    transform: translate(20px, 20px) scale(0.9);
  }
}

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

@keyframes buttonPulse {
  0% {
    transform: scale(1);
    opacity: 0.2;
  }
  100% {
    transform: scale(1.1);
    opacity: 0;
  }
}

@keyframes successCircleGrow {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

/* ========== Базовые слои ========== */
.app-container {
  width: 100vw;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0a0a0a;
}

.centered-content {
  width: 100%;
  max-width: 422px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  z-index: 10;
  box-sizing: border-box;
  height: 100%;
  padding: 20px 16px;
  overflow-y: auto;
}

.centered-content::-webkit-scrollbar {
  width: 4px;
}

.centered-content::-webkit-scrollbar-track {
  background: transparent;
}

.centered-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.fade-in {
  animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
}

/* ========== Фон ========== */
.bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: radial-gradient(circle at 25% 25%, #00d4ff22 0%, transparent 50%),
              radial-gradient(circle at 75% 75%, #ff008022 0%, transparent 50%),
              radial-gradient(circle at 50% 50%, #7c3aed22 0%, transparent 50%),
              linear-gradient(45deg, #0a0a0a, #1a1a2e, #0a0a0a);
  animation: backgroundShift 20s ease-in-out infinite;
}

.gradient-orbs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}

.gradient-orb:nth-child(1) {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #00d4ff, #7c3aed);
  top: -10%;
  left: -10%;
  animation: float1 15s ease-in-out infinite;
}

.gradient-orb:nth-child(2) {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #ff0080, #00d4ff);
  bottom: -15%;
  right: -15%;
  animation: float2 20s ease-in-out infinite;
}

.gradient-orb:nth-child(3) {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, #7c3aed, #ff0080);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float3 18s ease-in-out infinite;
}

/* ========== Жидкое стекло ========== */
.content-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 398px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  border-radius: 32px;
  padding: 24px 20px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.content-card-install {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 398px;
  background: transparent;
  backdrop-filter: none;
  border-radius: 32px;
  padding: 24px 20px;
  margin-bottom: 12px;
  border: none;
  box-shadow: none;
  transition: all 0.3s ease;
}


.content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 32px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 50%,
    rgba(0, 212, 255, 0.03) 100%
  );
  pointer-events: none;
  z-index: -1;
}

/* ========== Типография ========== */
.page-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
}

.page-subtitle {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
  line-height: 1.4;
}

.title {
  font-size: 21px;
  font-weight: 500;
  color: #ffffff;
  text-align: center;
  margin-bottom: 8px;
}

.subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  line-height: 1.4;
}

/* ========== Секции ========== */
.section-content {
  width: 100%;
}

.content-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  margin: 20px 0;
}

/* ========== Состояния лоадера ========== */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.loader {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 212, 255, 0.2);
  border-top-color: #00d4ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 12px;
}

.loading-text {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

/* ========== Пустые значения ========== */
.empty-state {
  padding: 32px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.empty-icon svg {
  width: 28px;
  height: 28px;
  color: rgba(255, 255, 255, 0.3);
}

.empty-text {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
  letter-spacing: -0.2px;
}

.empty-hint {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
  max-width: 220px;
}

/* ========== Для методов оплаты ========== */
.payment-methods-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 0;
}

.payment-method-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.payment-method-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateX(2px);
}

.method-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.method-icon-wrapper {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.method-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.method-info {
  flex: 1;
  min-width: 0;
}

.method-name {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 3px;
  letter-spacing: -0.2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-number {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
}

.method-details {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: -0.1px;
}

.delete-method-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 80, 80, 0.1);
  border: 1px solid rgba(255, 80, 80, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.delete-method-btn svg {
  width: 18px;
  height: 18px;
  color: rgba(255, 80, 80, 0.8);
  transition: all 0.3s ease;
}

.delete-method-btn:hover {
  background: rgba(255, 80, 80, 0.15);
  border-color: rgba(255, 80, 80, 0.3);
  transform: scale(1.05);
}

.delete-method-btn:hover svg {
  color: #ff5050;
}

.delete-method-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.delete-method-btn:disabled:hover {
  background: rgba(255, 80, 80, 0.1);
  border-color: rgba(255, 80, 80, 0.2);
  transform: none;
}

/* ========== Автоматическое продление ========== */
.auto-renewal-section {
  width: 100%;
}

.renewal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.renewal-info {
  flex: 1;
  min-width: 0;
}

.renewal-title {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 3px;
  letter-spacing: -0.2px;
}

.renewal-subtitle {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: -0.1px;
}

.toggle-switch {
  position: relative;
  width: 50px;
  height: 28px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.toggle-switch:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.toggle-switch.active {
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.toggle-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.toggle-switch.active .toggle-slider {
  transform: translateX(22px);
}

/* ========== Страница установки ========== */
.install-wrapper {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  height: 100%;
  padding: 12px;
}

.background {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  pointer-events: none;
  margin-top: 50px;
}

.logo-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon.large {
  width: 120px;
  height: 120px;
  z-index: 5;
  position: relative;
}

.pulse-ring {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 1.5px solid rgba(0, 212, 255, 0.8);
  border-radius: 50%;
  pointer-events: none;
  z-index: 4;
  transform-origin: center center;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              border-width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
}

.level-enter {
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
}

.level-inner {
  transform: translate(-50%, -50%) scale(1);
  opacity: 0.8;
  border-width: 1.5px;
}

.level-middle {
  transform: translate(-50%, -50%) scale(1.7);
  opacity: 0.5;
  border-width: 1.2px;
}

.level-outer {
  transform: translate(-50%, -50%) scale(2.3);
  opacity: 0.25;
  border-width: 1px;
}

.level-out {
  transform: translate(-50%, -50%) scale(3.3);
  opacity: 0;
  border-width: 0.5px;
}

.progress-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.7);
  z-index: 4;
  pointer-events: none;
}

.progress-ring circle {
  transition: stroke-dasharray 0.3s ease;
}

.success-circle {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #00b7ff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  z-index: 4;
  animation: successCircleGrow 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.icon-anim-enter-active,
.icon-anim-leave-active {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-anim-enter-from {
  opacity: 0.4;
  transform: scale(0.85);
}

.icon-anim-leave-to {
  opacity: 0.4;
  transform: scale(0.85);
}

.text-content {
  width: 100%;
}

.buttons-horizontal {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.buttons-vertical {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.buttons-vertical .action-btn {
  font-size: 13px;
}

.action-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 16px;
  border-radius: 16px;
  border: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 330px;
  height: 52px;
  box-sizing: border-box;
  text-align: center;
}

.action-btn > svg:first-child {
  margin-right: 8px;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.arrow-icon {
  margin-left: 6px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.primary-btn {
  background: linear-gradient(135deg, #00d4ff, #ff0080);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.4), 0 4px 12px rgba(255, 0, 128, 0.3);
  position: relative;
  overflow: visible;
  z-index: 1;
}

.primary-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #00d4ff, #ff0080);
  border-radius: 16px;
  z-index: -1;
  opacity: 0.6;
  animation: buttonPulse 2s ease-in-out infinite;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 212, 255, 0.5), 0 6px 16px rgba(255, 0, 128, 0.4);
  background: linear-gradient(135deg, #00d4ff, #7c3aed);
}

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

.secondary-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: none;
  position: relative;
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 20;
}

/* ========== Страница профиля ========== */
.header-section {
  text-align: center;
  margin-bottom: 16px;
  margin-top: 20px;
}

.user-name {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.user-id-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.user-id {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

.copy-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: scale(1.1);
}

.menu-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.menu-item {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.menu-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.menu-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.menu-icon-wrapper {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  flex-shrink: 0;
}

.menu-icon {
  width: 18px;
  height: 18px;
  color: var(--icon-color);
}

.menu-text {
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
}

.link-header {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.link-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
  padding: 12px 14px;
}

.link-text {
  font-size: 11px;
  font-weight: 500;
  color: #00d4ff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.link-text.loading {
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

.copy-link-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  flex-shrink: 0;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.copy-link-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: scale(1.1);
}

.copy-link-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.copy-link-btn:disabled:hover {
  transform: none;
  background: transparent;
}

.platform-btn {
  width: 100%;
  max-width: 398px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  color: #00d4ff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 12px;
  position: relative;
}

.platform-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.platform-btn:hover {
  background: rgba(0, 212, 255, 0.08);
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2);
}

.platform-icon {
  width: 18px;
  height: 18px;
  stroke: #00d4ff;
  filter: drop-shadow(0 0 4px rgba(0, 212, 255, 0.4));
}

/* ========== Стили модальных окон ========== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 26, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-content {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: 28px;
  width: 100%;
  max-width: 500px;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 28px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0%,
    transparent 50%,
    rgba(0, 212, 255, 0.04) 100%
  );
  pointer-events: none;
  z-index: -1;
}

.modal-content-small {
  max-width: 420px;
}

.modal-header {
  padding: 24px 24px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header-fixed {
  padding: 24px 24px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  background: transparent;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: left;
  flex-shrink: 0;
}

.modal-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.3px;
  flex: 1;
}

.modal-title-ref {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.3px;
  flex: 1;
}

.modal-title-del {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.3px;
  flex: 1;
}

.modal-close-btn {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.05);
}

.modal-body {
  padding: 24px;
}

.modal-body-scrollable {
  overflow-y: auto;
  flex: 1;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.modal-body-scrollable::-webkit-scrollbar {
  width: 4px;
}

.modal-body-scrollable::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
}

.modal-body-scrollable::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  transition: background 0.3s ease;
}

.modal-body-scrollable::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

.modal-text {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 24px;
  text-align: center;
  letter-spacing: -0.2px;
}

.modal-actions {
  display: flex;
  gap: 12px;
}

.modal-btn {
  flex: 1;
  padding: 14px 20px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  position: relative;
  overflow: hidden;
  letter-spacing: -0.2px;
}

.modal-btn-cancel {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.modal-btn-cancel:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.modal-btn-confirm {
  background: linear-gradient(135deg, #00d4ff, #ff0080);
  color: #ffffff;
  border: none;
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

.modal-btn-confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 212, 255, 0.5);
}

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

.modal-enter-active {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-leave-active {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.6, 1);
}

.modal-enter-from,
.modal-leave-to {
  opacity: 0;
}

.modal-enter-active .modal-content {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-leave-active .modal-content {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.6, 1);
}

.modal-enter-from .modal-content {
  transform: scale(0.8) translateY(40px);
  opacity: 0;
}

.modal-leave-to .modal-content {
  transform: scale(0.9) translateY(20px);
  opacity: 0;
}

/* ========== Транзакции ========== */
.transactions-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.transaction-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.transaction-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 50%
  );
  pointer-events: none;
  z-index: 0;
}

.transaction-item > * {
  position: relative;
  z-index: 1;
}

.transaction-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.transaction-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.transaction-status {
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-icon {
  width: 16px;
  height: 16px;
}

.status-text {
  font-size: 11px;
  font-weight: 600;
}

.status-success {
  color: #22c55e;
}

.status-pending {
  color: #f59e0b;
}

.status-canceled,
.status-failed {
  color: #ef4444;
}

.status-refunded {
  color: #8b5cf6;
}

.transaction-amount {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.transaction-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.transaction-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.detail-label {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

.detail-value {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.detail-value.promo-code {
  color: #00d4ff;
  font-weight: 700;
}

/* ========== Реферальная программа ========== */
.referral-info-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.referral-info-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 50%
  );
  pointer-events: none;
  z-index: 0;
}

.referral-info-box > * {
  position: relative;
  z-index: 1;
}

.referral-info-text {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.referral-info-text strong {
  color: #00d4ff;
  font-weight: 700;
}

.referral-warning {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: 12px;
  padding: 12px;
  margin-top: 16px;
}

.warning-icon {
  width: 20px;
  height: 20px;
  color: #f97316;
  flex-shrink: 0;
  margin-top: 2px;
}

.referral-warning span {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.referral-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 16px 0;
}

.referral-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.referral-stats-text {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.referral-stats-text strong {
  color: #00d4ff;
  font-weight: 700;
}

.modal-section {
  padding: 0;
  margin-bottom: 20px;
}

.modal-section:last-child {
  margin-bottom: 0;
}

.section-title {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.referral-link-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.referral-link-text {
  font-size: 10px;
  font-weight: 500;
  color: #00d4ff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.share-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: linear-gradient(135deg, #00d4ff, #ff0080);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

.share-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
}

.share-btn:hover::before {
  left: 100%;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 212, 255, 0.5),
              0 0 40px rgba(0, 212, 255, 0.3);
}

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

.empty-state-small {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.empty-icon-small {
  width: 48px;
  height: 48px;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 12px;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.15));
}

.empty-text-small {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.bonuses-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bonus-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid #00d4ff;
  border-radius: 12px;
  padding: 14px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.bonus-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 12px;
  background: linear-gradient(
    90deg,
    rgba(0, 212, 255, 0.05) 0%,
    transparent 30%
  );
  pointer-events: none;
  z-index: 0;
}

.bonus-item > * {
  position: relative;
  z-index: 1;
}

.bonus-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  border-left-color: #00d4ff;
  transform: translateX(4px);
}

.bonus-item-revoked {
  background: rgba(239, 68, 68, 0.08);
  border-left-color: #ef4444;
  opacity: 0.85;
}

.bonus-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bonus-days {
  font-size: 14px;
  font-weight: 700;
  color: #00d4ff;
}

.bonus-revoked {
  color: #ef4444 !important;
}

.bonus-reason {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.bonus-item-revoked .bonus-reason {
  color: rgba(255, 255, 255, 0.6);
}

.bonus-date {
  font-size: 10px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
}

.referrals-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.referral-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 14px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.referral-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 50%
  );
  pointer-events: none;
  z-index: 0;
}

.referral-item > * {
  position: relative;
  z-index: 1;
}

.referral-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.referral-main-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.referral-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d4ff, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.referral-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.referral-name {
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.referral-username {
  font-size: 9px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.referral-status {
  font-size: 10px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  text-align: center;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.referral-status::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.referral-status > * {
  position: relative;
  z-index: 1;
}

.referral-status.paid {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.referral-status.registered {
  background: rgba(249, 115, 22, 0.15);
  color: #f97316;
  border: 1px solid rgba(249, 115, 22, 0.3);
}

/* ========== Страница оплаты ========== */
.payment-page {
  width: 100vw;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0a0a0a;
}

.device-selection {
  margin-bottom: 20px;
}

.device-label {
  font-size: 12px;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 12px;
}

.slider-container {
  position: relative;
  width: 100%;
}

.slider-track {
  position: relative;
  width: 100%;
  height: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.slider-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, #00d4ff, #0099cc);
  border-radius: 12px;
  transition: width 0.2s ease;
  pointer-events: none;
}

.slider-dots {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px;
  transform: translateY(-50%);
  pointer-events: none;
}

.slider-dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

.device-slider {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 24px;
  background: transparent;
  outline: none;
  cursor: pointer;
  z-index: 2;
}

.device-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  background: #00d4ff;
  border: 3px solid #ffffff;
  border-radius: 50%;
  cursor: grab;
  box-shadow: 0 2px 8px rgba(0, 212, 255, 0.4);
  transition: transform 0.1s ease;
}

.device-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.device-slider::-webkit-slider-thumb:active {
  cursor: grabbing;
}

.device-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: #00d4ff;
  border: 3px solid #ffffff;
  border-radius: 50%;
  cursor: grab;
  box-shadow: 0 2px 8px rgba(0, 212, 255, 0.4);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.pricing-card {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  overflow: visible;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 50%
  );
  pointer-events: none;
  z-index: 0;
}

.pricing-card > * {
  position: relative;
  z-index: 1;
}

.pricing-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.pricing-card.selected {
  border: 1px solid #00d4ff;
  background: rgba(0, 212, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.popular-badge {
  position: absolute;
  top: -10px;
  right: 8px;
  background: linear-gradient(45deg, #00d4ff, #0099cc);
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 212, 255, 0.4);
  z-index: 2;
}

.plan-title {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.plan-price {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
}

.plan-per-month {
  font-size: 16px;
  font-weight: 700;
  color: #00d4ff;
  margin-bottom: 4px;
}

.promo-section {
  margin-bottom: 20px;
}

.promo-label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
  text-align: left;
}

.promo-input-container {
  display: flex;
  gap: 8px;
  align-items: center;
}

.promo-input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  outline: none;
  transition: all 0.3s ease;
  min-width: 0;
}

.promo-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.promo-input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 212, 255, 0.5);
}

.promo-btn {
  padding: 12px 20px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 12px;
  color: #00d4ff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.promo-btn:hover {
  background: rgba(0, 212, 255, 0.15);
  border-color: rgba(0, 212, 255, 0.5);
}

.promo-success {
  font-size: 12px;
  color: #22c55e;
  margin-top: 8px;
  text-align: left;
}

.pay-btn {
  width: 100%;
  padding: 14px 18px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 18px;
  color: #00d4ff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.pay-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.pay-btn:hover {
  background: rgba(0, 212, 255, 0.15);
  border-color: rgba(0, 212, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

.pay-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.bottom-sheet-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 26, 0.6);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 50;
  padding: 0;
}

.bottom-sheet-overlay-high {
  z-index: 60;
}

.bottom-sheet-content {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(30px);
  border-radius: 24px 24px 0 0;
  width: 100%;
  max-width: 100%;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5),
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
  animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: none;
}

.bottom-sheet-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0%,
    transparent 50%,
    rgba(0, 212, 255, 0.04) 100%
  );
  pointer-events: none;
  z-index: -1;
}

.bottom-sheet-compact {
  max-height: 70vh;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.bottom-sheet-body {
  padding: 24px 20px 32px;
  overflow-y: auto;
}

.bottom-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.bottom-sheet-header1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.bottom-sheet-close-inline {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  border-radius: 50%;
  flex-shrink: 0;
}

.bottom-sheet-close-inline svg {
  width: 20px;
  height: 20px;
}

.bottom-sheet-close-inline:hover {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.bottom-sheet-close-inline:active {
  transform: scale(0.95);
}

.bottom-sheet-body::-webkit-scrollbar {
  width: 4px;
}

.bottom-sheet-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.bottom-sheet-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.bottom-sheet-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0;
  text-align: left;
}

.payment-instruction {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
  margin-top: 8px;
  text-align: left;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 6px;
}

.external-link-icon {
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

.confirm-info {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.confirm-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 50%
  );
  pointer-events: none;
  z-index: 0;
}

.confirm-info > * {
  position: relative;
  z-index: 1;
}

.confirm-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
  line-height: 1.4;
}

.confirm-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 12px 0;
}

.payment-method-selector {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.payment-method-selector::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 50%
  );
  pointer-events: none;
  z-index: 0;
}

.payment-method-selector > * {
  position: relative;
  z-index: 1;
}

.payment-method-selector:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateY(-2px);
}

.payment-method-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.payment-method-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 8px;
}

.payment-method-icon svg {
  color: #00d4ff;
  width: 32px;
  height: 32px;
}

.payment-method-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.payment-method-text {
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
}

.arrow-icon-wrapper {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.arrow-icon-wrapper svg {
  color: rgba(255, 255, 255, 0.6);
}

.payment-methods-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.payment-method-item {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  min-height: 56px;
  overflow: hidden;
}

.payment-method-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 50%
  );
  pointer-events: none;
  z-index: 0;
}

.payment-method-item > * {
  position: relative;
  z-index: 1;
}

.payment-method-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.payment-method-item.selected {
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.payment-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.card-icon-wrapper {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #00d4ff;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  justify-content: center;
}

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

.payment-method-item span {
  flex: 1;
  font-size: 12px;
  font-weight: 500;
  color: #ffffff;
  text-align: left;
}

.checkmark {
  color: #00d4ff;
  flex-shrink: 0;
}

.bottom-sheet-btn-primary,
.bottom-sheet-btn-secondary {
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.bottom-sheet-btn-primary {
  background: linear-gradient(90deg, #00d4ff, #0099cc);
  border: none;
  color: #ffffff;
}

.bottom-sheet-btn-primary:hover {
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.4);
  transform: translateY(-2px);
}

.bottom-sheet-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
}

.bottom-sheet-btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.bottom-sheet-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.loader-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.info-block {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 14px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.info-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 50%
  );
  pointer-events: none;
  z-index: 0;
}

.info-block > * {
  position: relative;
  z-index: 1;
}

.info-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
}

.info-value {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.result-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.result-icon.success svg {
  color: #22c55e;
}

.result-icon.error svg {
  color: #ef4444;
}

.result-subtitle {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  margin-bottom: 20px;
}

.result-subtitle-error {
  margin-bottom: 6px;
}

.error-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  margin-bottom: 16px;
}

.result-actions {
  display: flex;
  gap: 12px;
  margin-top: 0;
}

.result-actions-secondary {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.result-actions button,
.result-actions-secondary button {
  flex: 1;
  padding: 14px;
  font-size: 12px;
}

.modal-btn-pay,
.modal-btn-secondary,
.modal-btn-text {
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-btn-pay {
  background: linear-gradient(90deg, #00d4ff, #0099cc);
  border: none;
  color: #ffffff;
  margin-bottom: 8px;
}

.modal-btn-pay-error {
  padding: 12px;
  font-size: 13px;
  margin-bottom: 12px;
}

.modal-btn-pay:hover {
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
  transform: translateY(-2px);
}

.modal-btn-secondary-error {
  padding: 10px;
  font-size: 12px;
}

.modal-btn-text {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  padding: 8px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-btn-text:hover {
  color: rgba(255, 255, 255, 0.8);
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-title-center {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 20px;
}

.bottom-sheet-enter-active {
  transition: opacity 0.3s ease;
}

.bottom-sheet-leave-active {
  transition: opacity 0.25s ease;
}

.bottom-sheet-enter-from,
.bottom-sheet-leave-to {
  opacity: 0;
}

.bottom-sheet-enter-active .bottom-sheet-content {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bottom-sheet-leave-active .bottom-sheet-content {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.6, 1);
}

.bottom-sheet-enter-from .bottom-sheet-content {
  transform: translateY(100%);
}

.bottom-sheet-leave-to .bottom-sheet-content {
  transform: translateY(100%);
}

/* ========== Адаптивность ========== */
@media (max-width: 420px) {
  .centered-content {
    padding: 16px;
  }

  .content-card {
    max-width: 100%;
    padding: 20px 18px;
  }

  .page-title {
    font-size: 17px;
  }

  .method-icon-wrapper {
    width: 38px;
    height: 38px;
  }

  .method-icon {
    width: 38px;
    height: 38px;
  }

  .empty-state {
    padding: 28px 12px;
  }

  .modal-content {
    max-width: calc(100% - 32px);
  }

  .user-name {
    font-size: 20px;
  }

  .transaction-amount {
    font-size: 14px;
  }

  .platform-btn {
    width: calc(100% - 24px);
    padding: 12px 16px;
  }
}

@media (max-width: 380px) {
  .install-wrapper .content-card {
    width: calc(100% - 24px);
    padding: 20px;
  }
  
  .icon.large {
    width: 100px;
    height: 100px;
  }
  
  .title {
    font-size: 21px;
  }
  
  .subtitle {
    font-size: 14px;
  }
  
  .action-btn {
    padding: 12px 14px;
    font-size: 13px;
    width: 100%;
    height: 48px;
  }
  
  .buttons-horizontal {
    flex-direction: row;
    gap: 8px;
  }
  
  .buttons-horizontal .action-btn {
    width: calc(50% - 4px);
  }
  
  .buttons-vertical {
    gap: 8px;
  }
  
  .buttons-vertical .action-btn {
    width: 100%;
  }
  
  .pulse-ring {
    width: 160px;
    height: 160px;
  }
  
  .progress-ring {
    width: 240px;
    height: 240px;
    transform: translate(-50%, -50%) scale(1.7);
  }
  
  .success-circle {
    width: 160px;
    height: 160px;
  }
}

@media (max-height: 700px) {
  .centered-content {
    padding: 16px;
  }

  .content-card {
    padding: 18px 16px;
  }

  .empty-state {
    padding: 24px 12px;
  }

  .modal-content {
    max-height: 85vh;
  }

  .header-section {
    margin-bottom: 12px;
    margin-top: 20px;
  }
}

@media (max-height: 625px) {
  .install-wrapper {
    padding: 8px;
  }
  
  .icon.large {
    width: 100px;
    height: 100px;
  }
  
  .pulse-ring {
    width: 160px;
    height: 160px;
  }
  
  .progress-ring {
    width: 240px;
    height: 240px;
    transform: translate(-50%, -50%) scale(1.7);
  }
  
  .success-circle {
    width: 160px;
    height: 160px;
  }
  
  .install-wrapper .content-card {
    padding: 16px;
    margin-bottom: 8px;
  }
  
  .title {
    font-size: 21px;
  }
  
  .subtitle {
    font-size: 14px;
  }
  
  .action-btn {
    padding: 12px 14px;
    width: 100%;
    height: 48px;
  }
}

@media (min-width: 768px) {
  .content-card {
    max-width: 440px;
  }
  
  .action-btn {
    width: 330px;
    height: 52px;
  }
  
  .title {
    font-size: 21px;
  }
}

/* ========== Модальное окно резульата оплаты ========== */
.payment-result-modal .modal-content {
  padding: 0;
}

.payment-result-modal-body {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.payment-result-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.payment-result-icon.success svg {
  color: #22c55e;
  width: 64px;
  height: 64px;
}

.payment-result-icon.error svg {
  color: #ef4444;
  width: 64px;
  height: 64px;
}

.payment-result-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 12px;
}

.payment-result-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  margin-bottom: 24px;
}

.payment-result-subtitle-error {
  margin-bottom: 8px;
}

.payment-result-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.payment-result-info-block {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 16px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.payment-result-info-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 50%
  );
  pointer-events: none;
  z-index: 0;
}

.payment-result-info-block > * {
  position: relative;
  z-index: 1;
}

.payment-result-info-label {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 6px;
}

.payment-result-info-value {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.payment-result-error-hint {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  margin-bottom: 20px;
}

.payment-result-btn-primary {
  width: 100%;
  padding: 16px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  border: none;
  color: #ffffff;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

.payment-result-btn-primary:hover {
  box-shadow: 0 6px 16px rgba(0, 212, 255, 0.4);
  transform: translateY(-2px);
}

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

.payment-result-actions {
  width: 100%;
  display: flex;
  gap: 12px;
}

.payment-result-btn-secondary {
  flex: 1;
  padding: 14px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
}

.payment-result-btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.payment-result-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.payment-result-btn-secondary:active {
  transform: translateY(0);
}

@media (max-width: 420px) {
  .payment-result-modal-body {
    padding: 28px 20px;
  }
  
  .payment-result-title {
    font-size: 18px;
  }
  
  .payment-result-btn-primary {
    font-size: 14px;
    padding: 14px;
  }
  
  .payment-result-btn-secondary {
    font-size: 12px;
    padding: 12px;
  }
}

/* ========== Специфичные стили ========== */

.web-app-container {
  width: 100vw;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0a0a0a;
}

.web-main-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.web-centered-content {
  width: 100%;
  max-width: 422px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  z-index: 10;
  box-sizing: border-box;
  height: 100%;
  padding: 12px;
}

.web-bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: radial-gradient(circle at 25% 25%, #00d4ff22 0%, transparent 50%),
              radial-gradient(circle at 75% 75%, #ff008022 0%, transparent 50%),
              radial-gradient(circle at 50% 50%, #7c3aed22 0%, transparent 50%),
              linear-gradient(45deg, #0a0a0a, #1a1a2e, #0a0a0a);
  animation: backgroundShift 20s ease-in-out infinite;
}

.web-gradient-orbs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.web-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}

.web-gradient-orb:nth-child(1) {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #00d4ff, #7c3aed);
  top: -10%;
  left: -10%;
  animation: float1 15s ease-in-out infinite;
}

.web-gradient-orb:nth-child(2) {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #ff0080, #00d4ff);
  bottom: -15%;
  right: -15%;
  animation: float2 20s ease-in-out infinite;
}

.web-gradient-orb:nth-child(3) {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, #7c3aed, #ff0080);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float3 18s ease-in-out infinite;
}

.web-background {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  pointer-events: none;
  margin-top: 120px;
  margin-bottom: auto;
}

.web-logo-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 170px;
  height: 170px;
}

.web-mascot-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 170px;
  height: 170px;
}

.web-logo {
  width: 170px;
  height: 170px;
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.6));
}

.web-eye-glow {
  position: absolute;
  width: 30px;
  height: 38px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 6;
}

.web-eye-glow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 255, 255, 1) 0%,
    rgba(0, 255, 255, 0.9) 25%,
    rgba(0, 255, 255, 0.6) 50%,
    transparent 80%
  );
  transform: translate(-50%, -50%);
  filter: blur(2px);
  mix-blend-mode: screen;
  animation: cyber-glow 3s ease-in-out infinite;
  box-shadow: 
    0 0 20px rgba(0, 255, 255, 0.9),
    0 0 40px rgba(0, 255, 255, 0.6),
    0 0 60px rgba(0, 255, 255, 0.3);
}

.web-eye-glow::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 35%,
    rgba(255, 255, 255, 1) 0%,
    rgba(200, 255, 255, 0.8) 30%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  filter: blur(1px);
  animation: shimmer 4s ease-in-out infinite;
}

.web-eye-glow-left {
  top: 44%;
  left: 34%;
  transform: translate(-50%, -50%);
  animation: breathe-left 5s ease-in-out infinite;
}

.web-eye-glow-right {
  top: 45%;
  left: 57%;
  transform: translate(-50%, -50%);
  animation: breathe-right 5s ease-in-out infinite 0.3s;
}

@keyframes cyber-glow {
  0%, 100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.85;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

@keyframes shimmer {
  0%, 100% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
  25% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1) rotate(5deg);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(0.95) rotate(-5deg);
  }
  75% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05) rotate(3deg);
  }
}

@keyframes breathe-left {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}

@keyframes breathe-right {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}

.web-pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(0, 212, 255, 0.8);
  border-radius: 50%;
  animation: pulse-animation 12s linear infinite;
}

.web-pulse-1 { animation-delay: 0s; }
.web-pulse-2 { animation-delay: 2s; }
.web-pulse-3 { animation-delay: 4s; }
.web-pulse-4 { animation-delay: 6s; }
.web-pulse-5 { animation-delay: 8s; }
.web-pulse-6 { animation-delay: 10s; }

@keyframes pulse-animation {
  0% {
    width: 0;
    height: 0;
    opacity: 0;
  }
  8% {
    width: 100px;
    height: 100px;
    opacity: 0.15;
  }
  18% {
    width: 195px;
    height: 195px;
    opacity: 0.4;
  }
  30% {
    opacity: 0.8;
  }
  75% {
    width: 500px;
    height: 500px;
    opacity: 0.7;
  }
  100% {
    width: 600px;
    height: 600px;
    opacity: 0;
  }
}

.web-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  pointer-events: auto;
  visibility: visible;
}

.web-loader[style*="display: none"] {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.web-loader-minimal {
  overflow: hidden;
}

.web-loader-minimal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: radial-gradient(circle at 25% 25%, #00d4ff22 0%, transparent 50%),
              radial-gradient(circle at 75% 75%, #ff008022 0%, transparent 50%),
              radial-gradient(circle at 50% 50%, #7c3aed22 0%, transparent 50%),
              linear-gradient(45deg, #0a0a0a, #1a1a2e, #0a0a0a);
  animation: backgroundShift 20s ease-in-out infinite;
}

.web-loader-minimal::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  background: 
    radial-gradient(circle 300px at -10% -10%, rgba(0, 212, 255, 0.3), transparent),
    radial-gradient(circle 400px at 110% 110%, rgba(255, 0, 128, 0.3), transparent),
    radial-gradient(circle 250px at 50% 50%, rgba(124, 58, 237, 0.3), transparent);
  filter: blur(80px);
  animation: float-orbs 18s ease-in-out infinite;
}

@keyframes float-orbs {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(20px, 30px); }
  66% { transform: translate(-15px, 15px); }
}

.web-spinner-minimal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  position: relative;
  z-index: 10;
}

.web-morph-shape {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: diamond-appear 0.6s ease-out forwards;
}

.web-morph-shape::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.web-morph-shape::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1.5px;
  background: conic-gradient(
    from var(--angle),
    transparent 0deg 60deg,
    rgba(255, 255, 255, 1) 90deg,
    rgba(255, 255, 255, 0.95) 100deg,
    rgba(255, 255, 255, 1) 110deg,
    transparent 140deg 220deg,
    rgba(255, 255, 255, 1) 270deg,
    rgba(255, 255, 255, 0.95) 280deg,
    rgba(255, 255, 255, 1) 290deg,
    transparent 320deg 360deg
  );
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6)) 
          drop-shadow(0 0 12px rgba(255, 255, 255, 0.4));
  animation: 
    border-fade-in 0.2s ease-out 0.6s forwards,
    border-spin 2s linear 0.6s infinite;
}

@keyframes diamond-appear {
  0% {
    opacity: 0;
    transform: rotate(0deg) scale(0.6);
  }
  100% {
    opacity: 1;
    transform: rotate(45deg) scale(1);
  }
}

@keyframes border-fade-in {
  to { opacity: 1; }
}

@keyframes border-spin {
  0% { --angle: 0deg; }
  100% { --angle: 360deg; }
}

.web-loader-brand {
  font-size: 26px;
  font-weight: 700;
  background: linear-gradient(135deg, #00d4ff 0%, #ffffff 50%, #ff0080 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 3px;
  filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.6)) 
          drop-shadow(0 0 40px rgba(255, 0, 128, 0.3));
  animation: gradient-shift 3s ease-in-out infinite, pulse-text 2s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes pulse-text {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.03);
  }
}

.web-content-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 363px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  border-radius: 32px;
  padding: 24px;
  margin-top: auto;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.web-content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 32px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 50%,
    rgba(0, 212, 255, 0.03) 100%
  );
  pointer-events: none;
  z-index: -1;
}

.web-header-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

.web-left-section,
.web-right-section {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.web-right-section {
  align-items: flex-end;
}

.web-header-row > .web-left-section > div,
.web-header-row > .web-right-section > div {
  display: flex;
  align-items: center;
  height: 34px;
}

.web-brand-name {
  font-size: 22px;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 1.5px;
  line-height: 34px;
}

.web-status {
  font-size: 12px;
  font-weight: 400;
  line-height: 11px;
}

.web-status.offline {
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.5px;
}

.web-status.online {
  color: #22c55e;
  letter-spacing: 0.5px;
}

.web-subscription-date-container {
  display: flex;
  font-size: 17px;
  color: #ffffff;
  align-items: center;
  line-height: 34px;
}

.web-date-prefix {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  margin-right: 4px;
}

.web-date-value {
  font-weight: 400;
  color: #ffffff;
}

.web-subscription-type {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 11px;
}

.web-subscription-type.trial {
  font-weight: 500;
  font-size: 13px;
  color: #00d4ff;
  text-transform: none;
}

.web-subscription-type.active {
  font-weight: 500;
  font-size: 11px;
  color: #22c55e;
  text-transform: none;
}

.web-subscription-type.expired {
  font-weight: 500;
  font-size: 13px;
  color: #ff6b6b;
  text-transform: none;
}

.web-subscription-type-container {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.web-subscription-type-container:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(34, 197, 94, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.web-subscription-type-container:active {
  transform: translateY(0);
}

.web-subscription-type-container .web-subscription-type {
  font-size: 11px;
  line-height: 1;
  margin: 0;
}

.web-edit-icon-small {
  width: 16px;
  height: 16px;
  color: #22c55e;
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.web-subscription-type-container:hover .web-edit-icon-small {
  color: #2dd46f;
  filter: drop-shadow(0 0 4px rgba(34, 197, 94, 0.6));
}

.web-action-btn {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 16px 20px;
  border-radius: 16px;
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}

.web-action-btn > svg:first-child {
  margin-right: 9px;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.web-primary-btn {
  background: linear-gradient(135deg, #00d4ff, #ff0080);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.4), 0 4px 12px rgba(255, 0, 128, 0.3);
  justify-content: space-between;
  border: none;
}

.web-primary-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
}

.web-primary-btn:hover::before {
  left: 100%;
}

.web-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 212, 255, 0.5), 
              0 6px 16px rgba(255, 0, 128, 0.4),
              0 0 40px rgba(0, 212, 255, 0.3);
}

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

.web-secondary-btn {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  justify-content: space-between;
  position: relative;
  padding-right: 70px;
}

.web-secondary-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.web-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

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

.web-btn-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.web-primary-btn .web-btn-text {
  flex-grow: 1;
  text-align: left;
}

.web-secondary-btn .web-btn-text {
  flex-grow: 1;
  text-align: left;
}

.web-secondary-btn .web-btn-icon {
  color: #00d4ff;
}

.web-price-only {
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 1.5px;
}

.web-bottom-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.web-bottom-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.web-bottom-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.web-bottom-btn:first-child {
  justify-content: flex-start;
  padding-left: 20px;
}

.web-bottom-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

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

.web-btn-bottom-icon {
  width: 24px;
  height: 24px;
}

.web-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 26, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1000;
  padding: 0;
}

.web-modal-content {
  position: relative;
  width: 100%;
  max-width: 422px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border-radius: 28px 28px 0 0;
  padding: 24px;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5),
              inset 0 1px 0 rgba(255, 255, 255, 0.15),
              0 0 0 0.5px rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: none;
  isolation: isolate;
}

.web-modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 50%,
    rgba(0, 212, 255, 0.05) 100%
  );
  pointer-events: none;
  z-index: -1;
}

.web-modal-content::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 20%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0.4) 80%,
    transparent 100%
  );
  border-radius: 28px 28px 0 0;
  pointer-events: none;
  opacity: 0.5;
}

.web-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.web-modal-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.web-close-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  border-radius: 10px;
}

.web-close-btn svg {
  width: 20px;
  height: 20px;
}

.web-close-btn:hover {
  background: transparent;
  color: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.web-close-btn:active {
  transform: scale(0.95);
}

.web-modal-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.web-info-block {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 16px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.web-info-block.same {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.web-info-block.increase {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
}

.web-info-block.decrease {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}

.web-info-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #ffffff;
}

.web-info-icon.web-crossed {
  position: relative;
  color: #ffffff;
}

.web-info-text {
  font-size: 12px;
  font-weight: 400;
  color: #ffffff;
}

.web-slider-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 8px;
}

.web-slider-track {
  position: relative;
  width: 100%;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.web-slider-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, #00d4ff, #0099cc);
  border-radius: 16px;
  transition: width 0.2s ease;
  pointer-events: none;
  z-index: 1;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  max-width: 100%;
}

.web-slider-dots-container {
  position: absolute;
  top: 50%;
  left: 16px;
  right: 16px;
  width: calc(100% - 32px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 2;
}

.web-slider-dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2),
              0 0 8px rgba(255, 255, 255, 0.3);
}

.web-device-slider {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 32px;
  background: transparent;
  outline: none;
  cursor: pointer;
  z-index: 3;
  margin: 0;
  padding: 0;
}

.web-device-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 32px;
  height: 32px;
  background: #00d4ff;
  border: 4px solid #ffffff;
  border-radius: 50%;
  cursor: grab;
  box-shadow: 0 2px 8px rgba(0, 212, 255, 0.5),
              0 0 20px rgba(0, 212, 255, 0.3);
  transition: transform 0.1s ease;
  margin-top: 0;
}

.web-device-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.6),
              0 0 24px rgba(0, 212, 255, 0.4);
}

.web-device-slider::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.05);
}

.web-device-slider::-moz-range-thumb {
  width: 32px;
  height: 32px;
  background: #00d4ff;
  border: 4px solid #ffffff;
  border-radius: 50%;
  cursor: grab;
  box-shadow: 0 2px 8px rgba(0, 212, 255, 0.5),
              0 0 20px rgba(0, 212, 255, 0.3);
  border: none;
}

.web-device-slider::-moz-range-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.6),
              0 0 24px rgba(0, 212, 255, 0.4);
}

.web-device-slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 32px;
  background: transparent;
  border-radius: 16px;
}

.web-device-slider::-moz-range-track {
  width: 100%;
  height: 32px;
  background: transparent;
  border-radius: 16px;
}

.web-modal-action-btn {
  width: 100%;
  padding: 16px;
  border-radius: 16px;
  border: none;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #00d4ff, #ff0080);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.web-modal-action-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
}

.web-modal-action-btn:hover:not(.disabled)::before {
  left: 100%;
}

.web-modal-action-btn:hover:not(.disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 212, 255, 0.5),
              0 0 40px rgba(0, 212, 255, 0.3);
}

.web-modal-action-btn:active:not(.disabled) {
  transform: translateY(0);
}

.web-modal-action-btn.disabled {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  cursor: not-allowed;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.web-modal-enter-active,
.web-modal-leave-active {
  transition: opacity 0.35s cubic-bezier(0.42, 0, 0.58, 1);
}

.web-modal-enter-active .web-modal-content,
.web-modal-leave-active .web-modal-content {
  transition: transform 0.4s cubic-bezier(0.42, 0, 0.58, 1);
}

.web-modal-enter-from {
  opacity: 0;
}

.web-modal-enter-from .web-modal-content {
  transform: translateY(100%);
}

.web-modal-leave-to {
  opacity: 0;
}

.web-modal-leave-to .web-modal-content {
  transform: translateY(100%);
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(4px);
    filter: brightness(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: brightness(1);
  }
}

.web-background,
.web-content-card,
.web-header-row,
.web-action-btn.web-primary-btn,
.web-action-btn.web-secondary-btn,
.web-bottom-buttons {
  opacity: 0;
}

.web-app-container.loaded .web-background {
  animation: fadeInScale 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.05s;
}

.web-app-container.loaded .web-content-card {
  animation: fadeInScale 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.12s;
}

.web-app-container.loaded .web-header-row {
  animation: fadeInScale 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.2s;
}

.web-app-container.loaded .web-action-btn.web-primary-btn {
  animation: fadeInScale 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.27s;
}

.web-app-container.loaded .web-action-btn.web-secondary-btn {
  animation: fadeInScale 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.34s;
}

.web-app-container.loaded .web-bottom-buttons {
  animation: fadeInScale 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.41s;
}

@media (max-width: 422px) {
  .web-content-card {
    width: calc(100% - 24px);
    padding: 20px;
  }

  .web-logo-container,
  .web-mascot-wrapper {
    width: 150px;
    height: 150px;
  }

  .web-logo {
    width: 150px;
    height: 150px;
  }

  .web-eye-glow {
    width: 25px;
    height: 32px;
  }

  .web-brand-name {
    font-size: 22px;
    line-height: 28px;
  }

  .web-header-row > .web-left-section > div,
  .web-header-row > .web-right-section > div {
    height: 28px;
  }

  .web-subscription-date-container {
    font-size: 15px;
    line-height: 28px;
  }

  .web-action-btn {
    padding: 14px 18px;
    font-size: 13px;
  }

  .web-bottom-buttons {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .web-bottom-btn {
    padding: 12px;
    font-size: 13px;
  }

  .web-modal-content {
    padding: 20px;
  }
}

@media (max-height: 625px) {
  .web-centered-content {
    padding: 8px;
  }

  .web-background {
    margin-top: 60px;
  }

  .web-logo,
  .web-mascot-wrapper {
    width: 140px;
    height: 140px;
  }

  .web-eye-glow {
    width: 23px;
    height: 30px;
  }

  .web-content-card {
    padding: 16px;
    margin-bottom: 8px;
  }

  .web-brand-name {
    font-size: 22px;
    line-height: 28px;
  }

  .web-header-row > .web-left-section > div,
  .web-header-row > .web-right-section > div {
    height: 28px;
  }

  .web-subscription-date-container {
    font-size: 15px;
    line-height: 28px;
  }
}

@media (min-width: 768px) {
  .web-content-card {
    max-width: 400px;
  }
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* ========== Модальное окно ожидание оплаты ========== */
.loader-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 24px 0;
  width: 100%;
}

.payment-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(0, 212, 255, 0.2);
  border-top-color: #00d4ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  background: transparent;
}

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

/* ========== Модальное окно результата ========== */
.modal-overlay-centered {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 26, 0.6);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  padding: 16px;
}

.modal-content-centered {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(30px);
  border-radius: 24px;
  padding: 24px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
  animation: modalSlideUp 0.3s ease-out;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-content-centered::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0%,
    transparent 50%,
    rgba(0, 212, 255, 0.04) 100%
  );
  pointer-events: none;
  z-index: -1;
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-title-center {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 20px;
}

.result-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.result-icon.success svg {
  color: #22c55e;
  width: 64px;
  height: 64px;
}

.result-icon.error svg {
  color: #ef4444;
  width: 64px;
  height: 64px;
}

.result-subtitle {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  margin-bottom: 20px;
}

.result-subtitle-error {
  margin-bottom: 6px;
}

.error-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  margin-bottom: 16px;
}

.result-actions {
  display: flex;
  gap: 12px;
  margin-top: 0;
}

.result-actions-full {
  display: flex;
  gap: 12px;
  margin-top: 0;
  width: 100%;
}

.result-actions button,
.result-actions-full button {
  flex: 1;
  padding: 14px;
  font-size: 12px;
}

.modal-btn-pay,
.modal-btn-secondary,
.modal-btn-primary-blue {
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.modal-btn-pay {
  background: linear-gradient(90deg, #00d4ff, #0099cc);
  color: #ffffff;
  margin-bottom: 8px;
}

.modal-btn-pay-error {
  padding: 12px;
  font-size: 13px;
  margin-bottom: 12px;
}

.modal-btn-pay:hover {
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
  transform: translateY(-2px);
}

.modal-btn-primary-blue {
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid rgba(0, 212, 255, 0.4);
  color: #00d4ff;
  padding: 14px;
}

.modal-btn-primary-blue:hover {
  background: rgba(0, 212, 255, 0.25);
  border-color: rgba(0, 212, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

.modal-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  padding: 14px;
  position: relative;
  overflow: hidden;
}

.modal-btn-secondary-error {
  padding: 10px;
  font-size: 12px;
}

.modal-btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.modal-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.modal-btn-secondary:active,
.modal-btn-primary-blue:active,
.modal-btn-pay:active {
  transform: translateY(0);
}

.modal-fade-enter-active {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-fade-leave-active {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.6, 1);
}

.modal-fade-enter-from,
.modal-fade-leave-to {
  opacity: 0;
}

.modal-fade-enter-active .modal-content-centered {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-fade-leave-active .modal-content-centered {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.6, 1);
}

.modal-fade-enter-from .modal-content-centered {
  transform: scale(0.8) translateY(40px);
  opacity: 0;
}

.modal-fade-leave-to .modal-content-centered {
  transform: scale(0.9) translateY(20px);
  opacity: 0;
}

/* ========== Запрос подтверждения ========== */
.reduction-info {
  text-align: center;
  padding: 20px 0;
}

.info-icon-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.info-icon-wrapper.warning svg {
  color: #f59e0b;
  width: 48px;
  height: 48px;
}

.reduction-description {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  margin-bottom: 16px;
}

.reduction-description strong {
  color: #ffffff;
  font-weight: 600;
}

.reduction-note {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 16px;
  text-align: left;
}

.reduction-note p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  margin: 6px 0;
  line-height: 1.4;
}

.reduction-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.reduction-confirm {
  background: linear-gradient(90deg, #f59e0b, #d97706) !important;
}

.reduction-confirm:hover {
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4) !important;
  transform: translateY(-2px);
}

.reduction-confirm:active {
  transform: translateY(0);
}

/* ========== Адаптивность 2 ========== */
@media (max-width: 420px) {
  .modal-content-centered {
    max-width: calc(100% - 32px);
    padding: 20px;
  }
  
  .modal-title-center {
    font-size: 16px;
  }
  
  .result-icon.success svg,
  .result-icon.error svg {
    width: 56px;
    height: 56px;
  }
  
  .modal-btn-pay,
  .modal-btn-primary-blue,
  .modal-btn-secondary {
    font-size: 13px;
    padding: 12px;
  }
}