/* Основные стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Анимированный градиент северного сияния */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        #0a0a0a 0%,
        #1a1a2e 25%,
        #16213e 50%,
        #0f3460 75%,
        #533483 100%
    );
    background-size: 400% 400%;
    animation: aurora 15s ease-in-out infinite;
    z-index: -2;
}

/* Дополнительные слои для эффекта северного сияния */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    animation: auroraGlow 20s ease-in-out infinite;
    z-index: -1;
}

@keyframes aurora {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes auroraGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.app-container {
    max-width: 100%;
    min-height: 100vh;
    padding: 16px;
    position: relative;
    z-index: 1;
}

/* Заголовок */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.app-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(120, 219, 255, 0.5);
}

.user-info {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Статус подключения */
.status-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff6b6b;
    animation: pulse 2s infinite;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}

.status-dot.connected {
    background: #51cf66;
    box-shadow: 0 0 20px rgba(81, 207, 102, 0.5);
}

.status-dot.disconnected {
    background: #ff6b6b;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}

@keyframes pulse {
    0% { 
        opacity: 1; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.7; 
        transform: scale(1.2);
    }
    100% { 
        opacity: 1; 
        transform: scale(1);
    }
}

.status-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Информационные карточки */
.info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(120, 219, 255, 0.3);
}

.card-header h3 {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.card-content {
    text-align: center;
}

.balance-amount {
    font-size: 28px;
    font-weight: 700;
    color: #78daff;
    margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(120, 218, 255, 0.5);
}

.bonus-amount {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.tariff-name {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.next-payment {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* Секция ключей */
.keys-section {
    margin-bottom: 24px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 16px 20px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.section-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.keys-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.key-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.key-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(120, 219, 255, 0.3);
}

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

.key-name {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.key-actions {
    display: flex;
    gap: 8px;
}
.key-actions .btn-qr {
    background: linear-gradient(135deg, #78daff, #ff78da);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(120, 219, 255, 0.2);
}
.key-actions .btn-qr:hover {
    background: linear-gradient(135deg, #5ac8ff, #ff5ac8);
}
.key-actions .btn-copy {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(120,219,255,0.2);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.key-actions .btn-copy:hover {
    background: rgba(120,219,255,0.1);
}

.key-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.key-stat {
    text-align: center;
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 6px;
}

.stat-value {
    font-size: 14px;
    font-weight: 600;
    color: #78daff;
    text-shadow: 0 0 10px rgba(120, 218, 255, 0.3);
}

.traffic-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-top: 12px;
    overflow: hidden;
    position: relative;
}

.traffic-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 2s infinite;
}

.traffic-progress {
    height: 100%;
    background: linear-gradient(90deg, #78daff, #ff78da);
    border-radius: 3px;
    transition: width 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 10px rgba(120, 218, 255, 0.5);
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Навигационное меню */
.navigation-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.nav-btn:hover {
    background: rgba(120, 219, 255, 0.1);
    border-color: rgba(120, 219, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.nav-btn:active {
    transform: translateY(-3px) scale(0.98);
}

.nav-icon {
    font-size: 28px;
    filter: drop-shadow(0 0 10px rgba(120, 219, 255, 0.5));
}

.nav-text {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Кнопки */
.btn {
    padding: 10px 20px;
    border-radius: 12px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #78daff, #ff78da);
    color: #ffffff;
    border: 1px solid rgba(120, 219, 255, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5ac8ff, #ff5ac8);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(120, 219, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.btn-danger {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #ff5252, #ff7a7a);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.4);
}

.btn-small {
    padding: 6px 12px;
    font-size: 12px;
}

/* Модальные окна */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.modal.show {
    display: flex;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-content {
    background: rgba(10, 10, 10, 0.95);
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    overflow: hidden;
    border: 1px solid rgba(120, 219, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid rgba(120, 219, 255, 0.2);
    background: rgba(120, 219, 255, 0.05);
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(120, 219, 255, 0.5);
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: #ff6b6b;
    transform: scale(1.1);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    display: flex;
    gap: 12px;
    padding: 24px;
    border-top: 1px solid rgba(120, 219, 255, 0.2);
    background: rgba(120, 219, 255, 0.05);
}

.modal-footer .btn {
    flex: 1;
}

/* Формы */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(120, 219, 255, 0.3);
}

.form-group input {
    width: 100%;
    padding: 14px;
    border: 1px solid rgba(120, 219, 255, 0.3);
    border-radius: 12px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #78daff;
    box-shadow: 0 0 20px rgba(120, 219, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Уведомления */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid rgba(120, 219, 255, 0.3);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
    transform: translateX(100%);
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-color: #51cf66;
    background: rgba(81, 207, 102, 0.1);
    box-shadow: 0 8px 32px rgba(81, 207, 102, 0.3);
}

.notification.error {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    box-shadow: 0 8px 32px rgba(255, 107, 107, 0.3);
}

.notification-text {
    font-size: 14px;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.notification-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.notification-close:hover {
    color: #ff6b6b;
    transform: scale(1.1);
}

/* Состояния загрузки */
.loading {
    text-align: center;
    padding: 40px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 20px rgba(120, 219, 255, 0.5));
}

.empty-state-text {
    font-size: 16px;
    margin-bottom: 8px;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.empty-state-subtext {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Предупреждения */
.warning {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 8px;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
}

/* Адаптивность */
@media (max-width: 480px) {
    .app-container {
        padding: 12px;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .navigation-menu {
        grid-template-columns: 1fr;
    }
    
    .key-stats {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px;
    }
}

/* Дополнительные эффекты для северного сияния */
@keyframes floating {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Плавающие частицы */
.app-container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(120, 219, 255, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 119, 198, 0.3), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(120, 219, 255, 0.2), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 119, 198, 0.2), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: floating 6s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
} 

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 2;
}
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #78daff, #ff78da);
    box-shadow: 0 0 10px rgba(120, 219, 255, 0.3);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
}
.user-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 0 10px rgba(120, 219, 255, 0.3);
}
.user-crown {
    font-size: 22px;
    margin-left: 2px;
    color: gold;
    filter: drop-shadow(0 0 8px gold);
}

#qr-modal .modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}
#qr-code-container {
    margin: 0 auto;
    background: #fff;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(120,219,255,0.2);
}
.qr-key-string {
    color: #fff;
    font-size: 13px;
    margin-top: 12px;
    word-break: break-all;
    text-align: center;
}

#create-key-modal select {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(120,219,255,0.2);
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-size: 14px;
    margin-bottom: 10px;
    transition: border 0.2s;
}
#create-key-modal select:focus {
    border-color: #78daff;
    outline: none;
} 

.protocol-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}
.protocol-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(120,219,255,0.08);
  color: #fff;
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: border 0.2s, background 0.2s;
}
.protocol-btn.selected {
  border-color: #78daff;
  background: linear-gradient(135deg, #78daff33, #ff78da33);
  color: #fff;
}
.proto-ico {
  font-size: 20px;
  margin-right: 2px;
}

.location-btn-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.location-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(120,219,255,0.08);
  color: #fff;
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: border 0.2s, background 0.2s;
}
.location-btn.selected {
  border-color: #78daff;
  background: linear-gradient(135deg, #78daff33, #ff78da33);
  color: #fff;
}
.loc-ico {
  font-size: 20px;
  margin-right: 2px;
} 

.protocol-btn.recommended {
  border-color: #ff9800;
  box-shadow: 0 0 0 0 #ff9800, 0 0 16px 4px #ff980055;
  animation: fire-glow 1.2s infinite alternate;
  position: relative;
  z-index: 1;
}
@keyframes fire-glow {
  0% { box-shadow: 0 0 0 0 #ff9800, 0 0 16px 4px #ff980055; }
  100% { box-shadow: 0 0 0 4px #ff9800, 0 0 32px 12px #ff980088; }
}

.recommended-badge {
  background: linear-gradient(90deg, #ff9800, #ffd180);
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  border-radius: 6px;
  padding: 2px 7px;
  margin-left: 8px;
  box-shadow: 0 2px 8px #ff980044;
}

/* 2. Флаги в локациях */
.location-btn .loc-ico {
  font-size: 28px;
  margin-right: 10px;
  vertical-align: middle;
  filter: drop-shadow(0 0 2px #0008);
}

/* 3. Анимированная обводка для кнопки "Скачать приложение" */
.btn-download-app.highlight {
  box-shadow: 0 0 0 0 #78daff, 0 0 32px 8px #ff78da44;
  animation: download-pulse 1.2s 3;
  border: 3px solid #78daff;
  position: relative;
  z-index: 2;
}
@keyframes download-pulse {
  0% { box-shadow: 0 0 0 0 #78daff, 0 0 32px 8px #ff78da44; border-color: #78daff; }
  50% { box-shadow: 0 0 0 8px #78daff88, 0 0 48px 16px #ff78da88; border-color: #ff78da; }
  100% { box-shadow: 0 0 0 0 #78daff, 0 0 32px 8px #ff78da44; border-color: #78daff; }
}

/* 4. Анимации для модального окна выбора VPN-клиента */
.download-app-modal-content {
  min-width: 320px;
  max-width: 420px;
  overflow: hidden;
  position: relative;
}
.fade-in {
  opacity: 0;
  animation: fadeIn 0.4s forwards;
}
.fade-out {
  opacity: 1;
  animation: fadeOut 0.4s forwards;
}
@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes fadeOut {
  to { opacity: 0; }
}
.slide-in {
  transform: translateX(40px);
  opacity: 0;
  animation: slideIn 0.4s forwards;
}
.slide-out {
  transform: translateX(0);
  opacity: 1;
  animation: slideOut 0.4s forwards;
}
@keyframes slideIn {
  to { transform: translateX(0); opacity: 1; }
}
@keyframes slideOut {
  to { transform: translateX(-40px); opacity: 0; }
}

/* Плавные переходы */
.protocol-btn, .location-btn, .btn-download-app {
  transition: box-shadow 0.3s, border 0.3s, background 0.3s, color 0.3s;
}

.protocol-btn.coming-soon {
  opacity: 0.6;
  cursor: not-allowed;
  position: relative;
}
.soon-badge {
  background: #444;
  color: #fff;
  font-size: 11px;
  border-radius: 6px;
  padding: 2px 7px;
  margin-left: 8px;
  box-shadow: 0 2px 8px #0002;
}
.protocol-btn:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.download-app-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  background: linear-gradient(90deg, #78daff33, #ff78da33);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 0 12px 0;
  box-shadow: 0 -2px 24px #78daff22;
}
.btn-download-app {
  background: linear-gradient(90deg, #78daff, #ff78da);
  color: #0a0a0a;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 16px;
  padding: 16px 36px;
  box-shadow: 0 2px 16px #78daff44;
  cursor: pointer;
  transition: box-shadow 0.2s, background 0.2s;
}
.btn-download-app.highlight {
  box-shadow: 0 0 32px 8px #78daff99, 0 2px 16px #ff78da44;
  background: linear-gradient(90deg, #78daff 60%, #ff78da 100%);
}

.download-app-modal-content {
  min-width: 320px;
  max-width: 420px;
}
.platform-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  justify-content: center;
}
.platform-btn {
  background: #222b;
  color: #fff;
  border: 2px solid #78daff44;
  border-radius: 12px;
  padding: 12px 22px;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  transition: border 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.platform-btn.selected {
  border-color: #78daff;
  background: linear-gradient(135deg, #78daff33, #ff78da33);
}
.client-btn-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}
.client-btn {
  background: #222b;
  color: #fff;
  border: 2px solid #78daff44;
  border-radius: 12px;
  padding: 12px 22px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: border 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.client-btn.selected {
  border-color: #78daff;
  background: linear-gradient(135deg, #78daff33, #ff78da33);
}
.client-desc {
  background: #222b;
  color: #fff;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 14px;
  font-size: 15px;
  text-align: left;
  box-shadow: 0 2px 8px #78daff22;
}
.download-client-btn {
  background: linear-gradient(90deg, #78daff, #ff78da);
  color: #0a0a0a;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 12px;
  padding: 12px 32px;
  box-shadow: 0 2px 16px #78daff44;
  cursor: pointer;
  transition: box-shadow 0.2s, background 0.2s;
  margin: 0 auto;
  display: block;
}
.download-client-btn:active {
  background: linear-gradient(90deg, #78daff 60%, #ff78da 100%);
} 