/* Основные стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('../media/images/fon.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    color: #333;
    overflow-x: hidden;
    position: relative;
    /* Предотвращаем сворачивание при фокусе на input */
    -webkit-overflow-scrolling: touch;
}

/* Темная тема для body */
body.dark-theme {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    background-image: url('../media/images/fon.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #ffffff;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(102, 126, 234, 0.75);
    backdrop-filter: blur(1px);
    z-index: -10; /* Убираем еще дальше назад */
}

.app-container {
    max-width: 480px;
    margin: 0 auto; /* Убираем отступы сверху и снизу */
    min-height: 100vh; /* Полная высота экрана */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 0; /* Убираем скругление углов */
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    overflow: visible; /* Разрешаем переполнение для полного отображения контента */
    position: relative;
    padding-top: 0; /* Убираем отступ сверху */
}

/* Страницы */
.page {
    display: none;
    min-height: 100vh;
    padding: 20px;
    padding-top: 60px; /* Отступ сверху для кнопки меню */
    padding-bottom: 100px; /* Больше места снизу для полного отображения контента */
    animation: fadeIn 0.3s ease-in-out;
    background: transparent;
    overflow: visible; /* Разрешаем переполнение */
}

/* Главная страница без отступа сверху */
#main-page {
    padding-top: 0; /* Убираем отступ сверху для главной страницы */
}

/* Темная тема для всех страниц */
body.dark-theme .page {
    background: transparent;
    color: #ffffff;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Заголовок страницы */
.page-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-top: 10px;
}

/* Специальные стили для страницы регистрации */
#registration-page .page-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#registration-page .page-header h2 {
    margin: 0;
    margin-left: 15px;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

#registration-page .back-btn {
    background: #667eea;
    border: none;
    color: white;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

#registration-page .back-btn:hover {
    background: #5a6fd8;
    transform: scale(1.05);
}

/* Унифицированные стили для кнопок "Назад" */
#application-page .back-btn,
#uid-page .back-btn {
    background: #667eea;
    border: none;
    color: white;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

#application-page .back-btn:hover,
#uid-page .back-btn:hover {
    background: #5a6fd8;
    transform: scale(1.05);
}

/* Стили для страницы существующего аккаунта удалены - используем общие стили */

.back-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #667eea;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.back-btn:hover {
    background-color: #f0f0f0;
}

.page-header h2 {
    margin-left: 15px;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

/* Главная страница */
.hero-section {
    text-align: center;
    padding: 20px 0 40px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin: -20px -20px 30px -20px;
    border-radius: 0 0 30px 30px;
    position: relative;
    overflow: hidden;
    animation: fadeInDown 0.8s ease;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.3s ease;
}

.hero-section:hover::before {
    opacity: 1;
    animation: pulse 1s ease-in-out;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.logo-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.logo-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.logo-image:hover {
    animation: logoFloat 1s ease-in-out;
    transform: scale(1.05);
}

.logo-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: linear-gradient(45deg, #00ffff, #ff00ff, #ffff00, #00ff00);
    background-size: 400% 400%;
    z-index: -1;
    opacity: 0;
    transition: all 0.3s ease;
}

.logo-wrapper:hover .logo-glow {
    opacity: 0.8;
    animation: neonGlow 1s ease-in-out, gradientShift 2s ease;
}

.logo-text {
    text-align: center;
}

.logo-text h1 {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin: 0 0 10px 0;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes neonGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.5), 0 0 40px rgba(255, 0, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 0, 255, 0.7), 0 0 60px rgba(0, 255, 255, 0.5);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Модальное окно для просмотра изображений */
.image-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.image-modal-overlay.show {
    display: flex;
}

.image-modal-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    background: transparent;
    border-radius: 15px;
    overflow: hidden;
    animation: slideInUp 0.3s ease;
}

.image-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: white;
    transition: all 0.3s ease;
    z-index: 10;
}

.image-modal-close:hover {
    background: rgba(255, 0, 0, 0.8);
    transform: scale(1.1);
}

.image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 100%;
}

.modal-image-full {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.1s ease;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    touch-action: none;
}

.modal-image-full:active {
    cursor: grabbing;
}

.modal-image-full.dragging {
    transition: none;
}

.image-controls {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    background: rgba(0, 0, 0, 0.8);
    padding: 12px 20px;
    border-radius: 30px;
    backdrop-filter: blur(15px);
    z-index: 1001;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.image-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.image-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.image-btn:active {
    transform: scale(0.95);
}

/* Стили для изображений в модальных окнах */
.modal-image {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modal-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Анимации для модального окна изображений */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .image-modal-content {
        max-width: 98%;
        max-height: 98%;
    }
    
    .modal-image-full {
        max-height: 85vh;
    }
    
    .image-controls {
        bottom: 10px;
        padding: 8px 12px;
        gap: 8px;
    }
    
    .image-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .image-modal-close {
        width: 40px;
        height: 40px;
        font-size: 18px;
        top: 10px;
        right: 10px;
    }
}

/* Дополнительные стили для touch устройств */
@media (hover: none) and (pointer: coarse) {
    .modal-image-full {
        cursor: default;
    }
    
    .image-btn {
        min-width: 44px;
        min-height: 44px;
    }
    
    .image-controls {
        bottom: 20px;
        padding: 12px 16px;
    }
}

.logo span {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 16px;
    opacity: 0.9;
    font-weight: 300;
}

/* Секция функций */
.features-section {
    margin-bottom: 40px;
}

.features-section h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transform: translateY(0);
    animation: slideInUp 0.6s ease forwards;
    opacity: 0;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

/* После анимации появления убираем анимацию */
.feature-card.animated {
    animation: none;
    opacity: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    border-color: #667eea;
}

.card-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.action-text {
    font-size: 12px;
    color: #667eea;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-arrow {
    color: #667eea;
    font-size: 16px;
    transition: all 0.3s ease;
}

.feature-card:hover .card-arrow {
    transform: translateX(5px);
    color: #764ba2;
}

.feature-card:hover .action-text {
    color: #764ba2;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 24px;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.feature-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* CTA секция */
.cta-section {
    margin-top: 40px;
}

.cta-card {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 25px;
    padding: 30px;
    text-align: center;
    color: white;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
}

.cta-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.cta-card p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 25px;
    line-height: 1.5;
}

.benefits-list {
    margin: 20px 0;
    text-align: left;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    opacity: 0.9;
}

.benefit-item i {
    margin-right: 12px;
    color: #ffd700;
    font-size: 16px;
    width: 20px;
}

/* Старые стили реферальной ссылки удалены */

.referral-section {
    margin-top: 30px;
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    color: #000;
    text-align: left;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.referral-section h3 {
    margin-bottom: 25px;
    font-size: 24px;
    text-align: center;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #000;
}

.referral-icon {
    display: inline-block;
    animation: pulse 2s infinite;
    font-size: 28px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.referral-content {
    margin-bottom: 0;
}

.referral-intro {
    margin-bottom: 25px;
    color: #000;
    text-align: left;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.referral-paragraph {
    margin-bottom: 20px;
    padding: 0;
}

.referral-paragraph h4 {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-top: 0;
}

.referral-paragraph p {
    margin-bottom: 8px;
    color: #000;
    line-height: 1.5;
    font-weight: 400;
    font-size: 15px;
}

.referral-paragraph p:last-child {
    margin-bottom: 0;
}

.referral-ending {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #667eea;
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #667eea;
}

/* Адаптивные стили для реферальной секции */
@media (max-width: 768px) {
    .referral-section {
        padding: 20px;
        margin-top: 20px;
    }
    
    .referral-section h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .referral-intro {
        font-size: 14px;
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .referral-paragraph {
        margin-bottom: 15px;
    }
    
    .referral-paragraph h4 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .referral-paragraph p {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .referral-ending {
        font-size: 16px;
        padding: 12px;
    }
}

/* ========================================
   CORPORATE DESIGN - APPROVED PAGE
   ======================================== */

/* Corporate Design - Approved Page */
#approved-page {
    /* Убираем переопределение фона - используем общий фон из app-container */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.corporate-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header Section */
.corporate-header {
    text-align: center;
    margin-bottom: 50px;
}

.success-checkmark {
    margin-bottom: 30px;
}

.checkmark-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #2ECC71;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    animation: checkmarkPulse 2s ease-in-out;
}

.checkmark-stem {
    width: 4px;
    height: 30px;
    background: white;
    position: absolute;
    transform: rotate(45deg);
    top: 15px;
    left: 35px;
}

.checkmark-kick {
    width: 20px;
    height: 4px;
    background: white;
    position: absolute;
    transform: rotate(45deg);
    top: 45px;
    left: 25px;
}

@keyframes checkmarkPulse {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.corporate-title {
    font-size: 32px;
    font-weight: 700;
    color: #1E2A38;
    margin-bottom: 15px;
    line-height: 1.2;
}

.corporate-subtitle {
    font-size: 18px;
    font-weight: 500;
    color: #6E7A87;
    line-height: 1.5;
    margin: 0;
}

/* Section Styles */
.corporate-section {
    margin-bottom: 50px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1E2A38;
    margin-bottom: 25px;
    text-align: left;
}

/* Links Grid */
.links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.corporate-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #E5E7EB;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.3s ease;
}

.corporate-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #2ECC71;
}

.card-icon {
    font-size: 32px;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F8F9FA;
    border-radius: 12px;
}

.card-content {
    flex: 1;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1E2A38;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.card-link {
    color: #2ECC71;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.card-link:hover {
    color: #27AE60;
}

.card-link::after {
    content: "→";
    font-size: 18px;
    transition: transform 0.3s ease;
}

.card-link:hover::after {
    transform: translateX(4px);
}

/* Referral Card */
.referral-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #E5E7EB;
}

.referral-intro {
    font-size: 18px;
    font-weight: 500;
    color: #1E2A38;
    line-height: 1.6;
    margin: 0 0 32px 0;
    padding: 24px;
    background: #F8F9FA;
    border-radius: 12px;
    border-left: 4px solid #2ECC71;
}

.referral-subsection {
    margin-bottom: 32px;
}

.referral-subsection:last-child {
    margin-bottom: 0;
}

.subsection-title {
    font-size: 20px;
    font-weight: 700;
    color: #1E2A38;
    margin: 0 0 16px 0;
}

.referral-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.referral-list li {
    font-size: 16px;
    font-weight: 500;
    color: #6E7A87;
    line-height: 1.6;
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.referral-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2ECC71;
    font-weight: bold;
    font-size: 18px;
}

.referral-list li:last-child {
    margin-bottom: 0;
}

/* Footer */
.corporate-footer {
    text-align: center;
    margin-top: 50px;
}

.footer-text {
    font-size: 20px;
    font-weight: 700;
    color: #2ECC71;
    margin: 0;
    padding: 20px;
    background: #F8F9FA;
    border-radius: 12px;
    border: 2px solid #2ECC71;
    display: inline-block;
}

/* Responsive Design for Corporate */
@media (max-width: 768px) {
    .corporate-container {
        padding: 20px 16px;
    }
    
    .corporate-title {
        font-size: 28px;
    }
    
    .corporate-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .corporate-card {
        padding: 20px;
    }
    
    .card-title {
        font-size: 16px;
    }
    
    .referral-card {
        padding: 24px;
    }
    
    .referral-intro {
        font-size: 16px;
        padding: 20px;
    }
    
    .subsection-title {
        font-size: 18px;
    }
    
    .referral-list li {
        font-size: 15px;
    }
}

/* BingX Card Styles */
.bingx-card {
    background: linear-gradient(135deg, #f8f9ff, #f0f2ff);
    border: 2px solid #667eea;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    transition: all 0.3s ease;
}

.bingx-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.2);
}

.bingx-logo-container {
    margin-bottom: 20px;
}

.bingx-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    border: 3px solid #667eea;
    transition: all 0.3s ease;
}

.bingx-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

.bingx-logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.bingx-info {
    margin-bottom: 25px;
}

.bingx-info h4 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.bingx-benefits {
    color: #28a745;
    font-weight: 600;
    font-size: 16px;
    margin: 0;
}

.bingx-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.referral-code-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.referral-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.referral-code-container {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 12px 20px;
    border-radius: 25px;
    border: 2px solid #e0e0e0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.referral-code-container:hover {
    border-color: #667eea;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.2);
}

.referral-code {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.copy-btn {
    background: #667eea;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.copy-btn:hover {
    background: #5a6fd8;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.copy-icon {
    font-size: 16px;
    color: white;
}

.bingx-register-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    border: none;
    cursor: pointer;
}

.bingx-register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    text-decoration: none;
    color: white;
}

.btn-icon {
    font-size: 18px;
}

.btn-text {
    font-weight: 600;
}

/* Legacy styles for backward compatibility */
.exchange-selected {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.exchange-selected .exchange-logo {
    margin: 0 15px 0 0;
    width: 60px;
    height: 60px;
}

.exchange-selected .exchange-info {
    flex: 1;
}

.exchange-benefits {
    color: #28a745;
    font-weight: 600;
    font-size: 14px;
    margin-top: 5px;
}

.exchange-details {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
}

.exchange-details h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 18px;
}

.exchange-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.exchange-details li {
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
    opacity: 0.9;
}

/* Кнопки */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    justify-content: center;
    min-width: 200px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: #f8f9fa;
    color: #667eea;
    border: 2px solid #e9ecef;
}

.btn-secondary:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.btn-primary i, .btn-secondary i {
    margin-right: 10px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    border: 2px solid #667eea;
    border-radius: 50px;
    background: transparent;
    color: #667eea;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    justify-content: center;
    min-width: 200px;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-outline i {
    margin-right: 10px;
}

/* Стили для кнопок в CTA секции */
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.cta-buttons .btn-primary,
.cta-buttons .btn-outline {
    width: 100%;
    min-width: auto;
}

/* Стили для модального окна статуса */
.status-modal {
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.status-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #667eea;
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.status-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

.status-details p {
    margin: 8px 0;
    color: #666;
}

.approved-content, .rejected-content, .pending-content {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
}

.approved-content {
    background: #d4edda;
    border: 1px solid #c3e6cb;
}

.rejected-content {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
}

.pending-content {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
}

.project-links {
    margin-top: 15px;
}

.project-links h5 {
    margin: 0 0 10px 0;
    color: #333;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.project-link {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: #667eea;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.project-link i {
    margin-right: 8px;
    font-size: 16px;
}

.loading-spinner {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #667eea;
    font-weight: 500;
}

.loading-spinner i {
    font-size: 18px;
}

/* Нижняя панель навигации */
/* Кнопка меню */
.menu-toggle-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    z-index: 100; /* Уменьшаем z-index */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 1);
}

/* Выпадающее меню */
.dropdown-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50; /* Уменьшаем z-index */
    display: none;
}

.menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: white;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.dropdown-menu.show .menu-content {
    transform: translateX(0);
}

.menu-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.menu-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.menu-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.menu-items {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    width: 100%;
}

.menu-item.primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.menu-item.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.menu-item.secondary {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #e9ecef;
}

.menu-item.secondary:hover {
    background: #e9ecef;
    border-color: #667eea;
    transform: translateY(-1px);
}

.menu-item.consultation {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.menu-item.consultation:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.menu-item i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

/* Адаптивность для меню */
@media (max-width: 768px) {
    .menu-toggle-btn {
        top: 8px;
        right: 8px;
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .menu-content {
        width: 280px;
    }
    
    .menu-header {
        padding: 15px;
    }
    
    .menu-header h3 {
        font-size: 18px;
    }
    
    .menu-items {
        padding: 15px;
        gap: 12px;
    }
    
    .menu-item {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .menu-item i {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .menu-content {
        width: 100%;
        max-width: 300px;
    }
    
    .menu-item {
        padding: 15px 20px;
        font-size: 16px;
    }
    
    .chart-center {
        width: 100px;
        height: 100px;
        margin: 30px auto; /* Больше отступов для мобильных */
    }
    
    .total-amount {
        font-size: 20px;
    }
    
    .total-label {
        font-size: 10px;
    }
    
    .chart-legend {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .legend-item {
        padding: 4px 8px;
        font-size: 11px;
    }
    
    .legend-color {
        width: 10px;
        height: 10px;
    }
    
    .achievement-item {
        padding: 10px 12px;
    }
    
    .achievement-text {
        font-size: 13px;
    }
    
    .floating-back-btn {
        top: 8px;
        left: 8px;
        width: 28px;
        height: 28px;
        font-size: 12px;
        opacity: 0.8;
    }
    
    .deposit-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }
    
    .deposit-option {
        padding: 4px;
    }
    
    .deposit-amount {
        font-size: 10px;
    }
    
    .deposit-label {
        font-size: 7px;
    }
    
    .form-group input,
    .form-group select {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .calculate-button {
        padding: 12px 20px;
        font-size: 16px;
    }
    
    .commission-rates {
        padding: 12px;
    }
    
    .rates-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .commission-rate {
        padding: 8px 4px;
        min-height: 45px;
    }
    
    .commission-range {
        font-size: 10px;
    }
    
    .commission-percent {
        font-size: 14px;
    }
    
    .notification {
        top: 15px;
        right: 15px;
        left: 15px;
        max-width: none;
        padding: 12px 16px;
    }
    
    .notification i {
        font-size: 14px;
        margin-right: 10px;
    }
    
    .notification span {
        font-size: 13px;
    }
    
    .tooltip {
        max-width: 280px;
        min-width: 180px;
        font-size: 11px;
        padding: 10px 12px;
        white-space: normal;
    }
    
    .tooltip-icon {
        font-size: 12px;
        margin-left: 6px;
    }
}

.nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 50px;
    gap: 4px;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.nav-btn:active {
    transform: translateY(0);
}

.nav-btn.primary {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-btn i {
    font-size: 16px;
    margin-bottom: 2px;
}

.nav-btn span {
    font-size: 11px;
    line-height: 1.2;
    text-align: center;
}

.consultation-btn {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: 2px solid #5a6fd8;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.consultation-btn:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4c93);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.nav-toggle-btn {
    grid-column: 1 / -1;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 auto;
}

.nav-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.nav-toggle-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.bottom-nav-panel.collapsed {
    height: 60px;
    overflow: hidden;
}

.bottom-nav-panel.collapsed .nav-btn:not(.nav-toggle-btn) {
    display: none;
}

.bottom-nav-panel.collapsed .nav-toggle-btn i {
    transform: rotate(180deg);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 1024px) {
    .app-container {
        margin: 10px;
        border-radius: 15px;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .app-container {
        margin: 0; /* Убираем отступы на мобильных */
        border-radius: 0; /* Убираем скругление на мобильных */
        padding: 0; /* Убираем внутренние отступы */
    }
    
    /* Предотвращаем сворачивание при фокусе на input */
    input[type="text"], 
    input[type="number"], 
    input[type="email"], 
    textarea {
        font-size: 16px !important; /* Предотвращает зум на iOS */
        transform: translateZ(0); /* Аппаратное ускорение */
    }
    
    /* Улучшаем отображение страниц на мобильных */
    .page {
        padding-top: 80px; /* Больше отступ сверху для мобильных */
        padding-bottom: 150px; /* Больше места снизу для мобильных */
    }
    
    /* Главная страница без отступа сверху на мобильных */
    #main-page {
        padding-top: 0; /* Убираем отступ сверху для главной страницы на мобильных */
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero-section p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .bottom-nav-panel {
        padding: 10px 12px;
        gap: 10px;
    }
    
    .nav-btn {
        padding: 10px 6px;
        min-height: 45px;
        font-size: 11px;
    }
    
    .nav-btn i {
        font-size: 14px;
    }
    
    .nav-btn span {
        font-size: 10px;
        line-height: 1.2;
    }
    
    .consultation-btn {
        padding: 12px 20px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .app-container {
        margin: 2px;
        padding: 15px 10px;
        border-radius: 8px;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
        line-height: 1.1;
    }
    
    .hero-section p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .bottom-nav-panel {
        padding: 8px 10px;
        gap: 8px;
    }
    
    .nav-btn {
        padding: 8px 4px;
        min-height: 40px;
        font-size: 10px;
    }
    
    .nav-btn i {
        font-size: 12px;
    }
    
    .nav-btn span {
        font-size: 9px;
        line-height: 1.1;
    }
    
    .consultation-btn {
        padding: 10px 15px;
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .app-container {
        margin: 1px;
        padding: 10px 8px;
    }
    
    .hero-section h1 {
        font-size: 1.3rem;
    }
    
    .hero-section p {
        font-size: 0.85rem;
    }
    
    .bottom-nav-panel {
        padding: 6px 8px;
        gap: 6px;
    }
    
    .nav-btn {
        padding: 6px 3px;
        min-height: 35px;
        font-size: 9px;
    }
    
    .nav-btn i {
        font-size: 11px;
    }
    
    .nav-btn span {
        font-size: 8px;
    }
    
    .consultation-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* Скрытие панели в модальных окнах */
.modal-overlay.show ~ .bottom-nav-panel,
.image-modal-overlay.show ~ .bottom-nav-panel {
    display: none;
}

/* Отступ снизу для контента */
.app-container {
    padding-bottom: 20px;
    padding-top: 0; /* Убираем отступ сверху */
}

/* Убираем отступ в модальных окнах */
.modal-overlay.show .app-container,
.image-modal-overlay.show .app-container {
    padding-bottom: 0;
}

/* Скрытие нижней панели в модальных окнах */
.modal-overlay.show ~ .bottom-nav-panel,
.image-modal-overlay.show ~ .bottom-nav-panel {
    display: none;
}

/* Регистрация */
.registration-content {
    max-width: 100%;
}

.info-card {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    border-left: 4px solid #667eea;
}

.info-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.info-card p {
    color: #666;
    line-height: 1.5;
}

.exchanges-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.exchanges-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.exchange-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.exchange-card:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.exchange-card.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, #f8f9ff, #f0f2ff);
}

.exchange-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.exchange-logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.exchange-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.exchange-info p {
    font-size: 12px;
    color: #666;
}

.action-buttons {
    display: flex;
    gap: 15px;
    flex-direction: column;
}

/* Существующий аккаунт */
#existing-account-page .page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#existing-account-page .page-header h2 {
    margin: 0;
    margin-left: 15px;
    font-size: 24px;
    font-weight: 600;
    color: white;
}

#existing-account-page .back-btn {
    background: #667eea;
    border: none;
    color: white;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

#existing-account-page .back-btn:hover {
    background: #5a6fd8;
    transform: scale(1.05);
}

.existing-account-content {
    max-width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.existing-account-content .action-buttons {
    display: flex;
    gap: 15px;
    flex-direction: column;
    margin-top: 30px;
}

/* Темная тема для страницы существующего аккаунта */
body.dark-theme .existing-account-content {
    background: rgba(45, 45, 45, 0.95);
    color: #ffffff;
}

body.dark-theme .existing-account-content .info-card {
    background: rgba(61, 61, 61, 0.8);
    border: 1px solid #404040;
    color: #ffffff;
}

body.dark-theme .existing-account-content .info-card h3 {
    color: #ffffff;
}

body.dark-theme .existing-account-content .info-card p {
    color: #b3b3b3;
}

body.dark-theme .existing-account-content .step {
    color: #ffffff;
}

body.dark-theme .existing-account-content .step p {
    color: #b3b3b3;
}

body.dark-theme .existing-account-content .step-number {
    background: #667eea;
    color: #ffffff;
}

/* Форма отправки UID */
.uid-content {
    max-width: 100%;
}

.uid-content .form-container {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.uid-content .form-container:hover {
    border-color: #667eea;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
}

.uid-content .form-group input[type="text"] {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    font-size: 16px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.uid-content .form-group input[type="text"]:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1), inset 0 2px 4px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

.uid-content .form-group input[type="text"]::placeholder {
    color: #adb5bd;
    font-style: italic;
}

/* Результат проверки UID */
.uid-result-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 100%;
}

.result-icon {
    font-size: 80px;
    margin-bottom: 30px;
    color: #667eea;
}

.uid-result-content h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

#uid-result-message {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: left;
}

#uid-result-message.success {
    border-left: 4px solid #28a745;
}

#uid-result-message.error {
    border-left: 4px solid #dc3545;
}

#uid-result-message.warning {
    border-left: 4px solid #ffc107;
}

.result-actions {
    margin-top: 30px;
}

.steps {
    margin: 25px 0;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.step-number {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
    margin-right: 15px;
    flex-shrink: 0;
}

.step p {
    color: #666;
    line-height: 1.5;
    margin-top: 5px;
}

/* Форма заявки */
.application-content {
    max-width: 100%;
}

.form-container {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.selected-exchange {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 15px;
    color: #666;
}

.selected-exchange.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, #f8f9ff, #f0f2ff);
    color: #333;
}

#uid-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s;
}

#uid-input:focus {
    outline: none;
    border-color: #667eea;
}

.file-upload {
    margin-top: 10px;
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 2px dashed #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    background: #f8f9fa;
}

.file-upload-label:hover {
    border-color: #667eea;
    background: #f0f2ff;
}

.file-upload.drag-over .file-upload-label {
    border-color: #28a745;
    background: #d4edda;
    border-style: solid;
}

.file-upload.drag-over .file-upload-label i {
    color: #28a745;
}

.file-upload.drag-over .file-upload-label span {
    color: #28a745;
}

/* Помощь с UID */
.uid-help {
    margin-bottom: 15px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9ff, #f0f2ff);
    border-radius: 10px;
    border: 2px solid #e0e0e0;
}

.uid-help-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    font-weight: 500;
}

.uid-example {
    text-align: center;
}

.uid-screenshot {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    border: 2px solid #667eea;
    cursor: pointer;
    transition: all 0.3s ease;
}

.uid-screenshot:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    border-color: #5a6fd8;
}

.uid-example-text {
    font-size: 12px;
    color: #28a745;
    font-weight: 600;
    margin: 0;
    background: #d4edda;
    padding: 5px 10px;
    border-radius: 15px;
    display: inline-block;
}

.uid-example-text::before {
    content: "🔍 ";
    margin-right: 5px;
}

.file-upload-label i {
    margin-right: 10px;
    font-size: 20px;
    color: #667eea;
}

/* Страницы результатов */
.success-content, .approved-content, .rejected-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 100%;
}

.success-icon, .approved-icon, .rejected-icon {
    font-size: 80px;
    margin-bottom: 30px;
}

.success-icon {
    color: #28a745;
}

.approved-icon {
    color: #ffd700;
}

.rejected-icon {
    color: #dc3545;
}

.success-content h2, .approved-content h2, .rejected-content h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.success-content p, .approved-content p, .rejected-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 30px;
}

.rejected-content ul {
    text-align: left;
    max-width: 300px;
    margin: 0 auto 30px;
    color: #666;
}

.rejected-content li {
    margin-bottom: 10px;
}

/* Ссылки после одобрения */
.links-section {
    margin-top: 40px;
}

.links-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #333;
}

.links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 20px;
    background: white;
    border-radius: 15px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.link-card i {
    font-size: 30px;
    color: #667eea;
    margin-bottom: 15px;
}

.link-card span {
    font-weight: 600;
    font-size: 14px;
}

/* Дополнительные адаптивные стили для контента */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .exchanges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .exchanges-grid {
        grid-template-columns: 1fr;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 360px) {
    .features-grid,
    .exchanges-grid,
    .links-grid {
        gap: 10px;
    }
    
    .feature-card,
    .exchange-card,
    .link-card {
        padding: 15px;
    }
    
    .feature-card h3,
    .exchange-card h3,
    .link-card h3 {
        font-size: 16px;
    }
    
    .feature-card p,
    .exchange-card p,
    .link-card p {
        font-size: 13px;
    }
    
    .btn-primary, .btn-secondary {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Стили для внутренних страниц */
#statistics-page,
#calculator-page,
#consultation-page {
    display: none;
    /* Убираем переопределение фона - используем общий фон из app-container */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    overflow-y: auto;
}

/* Унифицированные стили для кнопок "Назад" в динамических страницах */
#statistics-page .back-btn,
#calculator-page .back-btn,
#consultation-page .back-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

#statistics-page .back-btn:hover,
#calculator-page .back-btn:hover,
#consultation-page .back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.stats-container,
.calculator-container,
.consultation-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding-bottom: 50px; /* Больше места снизу */
    min-height: calc(100vh - 200px); /* Минимальная высота для полного отображения */
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: visible;
}

.page-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.back-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.stats-title,
.calculator-title,
.consultation-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

.stats-icon,
.calculator-icon,
.consultation-icon {
    font-size: 32px;
}

.stats-content,
.calculator-content,
.consultation-content {
    padding: 30px;
}

/* Стили для статистики */
.current-stats h2,
.historical-stats h2,
.achievements h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
}

.chart-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
}

.chart-title {
    color: #333;
    margin-bottom: 20px;
    font-size: 20px;
    text-align: center;
}

.chart-container {
    background: white;
    border-radius: 10px;
    padding: 30px; /* Увеличиваем внутренние отступы */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 20px 0; /* Отступы сверху и снизу */
    min-height: 300px; /* Минимальная высота */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: visible;
    position: relative;
}

/* Круговая диаграмма */
.circular-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 20px 0; /* Уменьшаем отступы */
    padding: 10px; /* Уменьшаем внутренние отступы */
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.chart-center {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
    margin: 10px auto;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.total-amount {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.total-label {
    font-size: 12px;
    opacity: 0.9;
    text-align: center;
}

.chart-legend {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
    width: 100%;
    max-width: 100%;
    margin-top: 10px;
    padding: 0 10px;
    box-sizing: border-box;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Компактные достижения */
.achievements-compact {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
}

.achievements-compact h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 20px;
    text-align: center;
}

.achievements-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: white;
    border-radius: 10px;
    border-left: 4px solid #2196f3;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.achievement-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.achievement-text {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}

/* Плавающая кнопка "Назад" */
.floating-back-btn {
    position: fixed;
    top: 10px;
    left: 10px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    z-index: 100; /* Уменьшаем z-index */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transform: scale(0.9);
}

.floating-back-btn:hover {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 1);
}

/* Анимация появления при наведении на область */
.calculator-container:hover .floating-back-btn,
.statistics-container:hover .floating-back-btn,
.consultation-container:hover .floating-back-btn {
    opacity: 1;
    transform: scale(1);
}

/* Исправление центровки заголовков */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 20px;
    margin-bottom: 30px;
    min-height: 60px;
}

.page-header h1 {
    margin: 0;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.calculator-title,
.stats-title,
.consultation-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 24px;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.calculator-icon,
.stats-icon,
.consultation-icon {
    font-size: 28px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Скрываем кнопку назад в заголовке, так как у нас есть плавающая */
.page-header .floating-back-btn {
    display: none;
}

/* Мобильная адаптация для заголовков */
@media (max-width: 768px) {
    .page-header {
        padding: 15px;
        margin-bottom: 20px;
        min-height: 50px;
    }
    
    .calculator-title,
    .stats-title,
    .consultation-title {
        font-size: 20px;
        gap: 10px;
    }
    
    .calculator-icon,
    .stats-icon,
    .consultation-icon {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 10px;
        margin-bottom: 15px;
        min-height: 45px;
    }
    
    .calculator-title,
    .stats-title,
    .consultation-title {
        font-size: 18px;
        gap: 8px;
    }
    
    .calculator-icon,
    .stats-icon,
    .consultation-icon {
        font-size: 20px;
    }
}

/* Мобильные стили для круговой диаграммы */
@media (max-width: 768px) {
    .chart-container {
        padding: 15px;
        min-height: 250px;
    }
    
    .circular-chart {
        margin: 10px 0;
        padding: 5px;
    }
    
    .chart-center {
        width: 100px;
        height: 100px;
        margin: 10px auto;
    }
    
    .total-amount {
        font-size: 20px;
    }
    
    .total-label {
        font-size: 10px;
    }
    
    .chart-legend {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
        padding: 0 5px;
    }
}

@media (max-width: 480px) {
    .chart-container {
        padding: 10px;
        min-height: 200px;
    }
    
    .circular-chart {
        margin: 5px 0;
        padding: 0;
    }
    
    .chart-center {
        width: 80px;
        height: 80px;
        margin: 5px auto;
    }
    
    .total-amount {
        font-size: 16px;
    }
    
    .total-label {
        font-size: 9px;
    }
    
    .chart-legend {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
        padding: 0;
    }
    
    .legend-item {
        padding: 4px 8px;
        font-size: 11px;
    }
}

@media (max-width: 360px) {
    .chart-container {
        padding: 8px;
        min-height: 180px;
    }
    
    .circular-chart {
        margin: 3px 0;
        padding: 0;
    }
    
    .chart-center {
        width: 70px;
        height: 70px;
        margin: 3px auto;
    }
    
    .total-amount {
        font-size: 14px;
    }
    
    .total-label {
        font-size: 8px;
    }
    
    .chart-legend {
        grid-template-columns: repeat(2, 1fr);
        gap: 3px;
        padding: 0;
    }
    
    .legend-item {
        padding: 3px 6px;
        font-size: 10px;
    }
}

/* Стили для выбора стратегии */
.strategy-selection {
    margin: 15px 0;
}

.strategy-selection h3 {
    margin-bottom: 12px;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.strategy-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.strategy-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.strategy-card:hover {
    border-color: #667eea;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.strategy-card.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, #f8f9ff, #e8f0ff);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.strategy-icon {
    font-size: 20px;
    margin-bottom: 4px;
}

.strategy-name {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    margin-bottom: 3px;
}

.strategy-description {
    font-size: 10px;
    color: #666;
    line-height: 1.2;
}

/* Стили для информации о стратегии */
.strategy-info {
    background: linear-gradient(135deg, #f8f9ff, #e8f0ff);
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    border: 2px solid #e0e0e0;
}

.strategy-summary h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 18px;
}

.strategy-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

.stat-value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* Стили для графика */
.profit-chart {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.profit-chart h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 18px;
}

.chart-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
}

#profitChart {
    max-width: 100%;
    height: auto;
}

/* Улучшенные стили для результатов */
.results-container {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    align-items: start;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 100%;
    width: 100%;
}

.commission-info {
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.commission-info h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}


.commission-text {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

.result-card {
    background: white;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
}

.result-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
    line-height: 1.2;
}

.result-value {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

.result-value.profit {
    color: #4caf50;
}

.result-value.commission {
    color: #ff9800;
}

.result-value.net-profit {
    color: #2196f3;
}

.result-value.final-balance {
    color: #9c27b0;
}

.result-value.return-percent {
    color: #e91e63;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .strategy-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .strategy-card {
        padding: 12px;
    }
    
    .strategy-icon {
        font-size: 20px;
    }
    
    .strategy-name {
        font-size: 12px;
    }
    
    .strategy-description {
        font-size: 10px;
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .result-card {
        padding: 15px;
    }
    
    .result-value {
        font-size: 18px;
    }
    
    .chart-container {
        padding: 10px;
    }
    
    #profitChart {
        width: 100%;
        height: 150px;
    }
}

.user-limit-info {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    border: 2px solid #2196f3;
}

.user-limit-title {
    color: #1976d2;
    margin-bottom: 20px;
    font-size: 22px;
    text-align: center;
}

.user-limit-content {
    color: #333;
}

.limit-intro h4,
.problem-explanation h4,
.real-example h4,
.transparency-points h4,
.advice-box h4,
.advantages-section h4 {
    color: #1976d2;
    margin: 20px 0 10px 0;
    font-size: 18px;
}

.limit-intro p,
.problem-explanation p,
.real-example p,
.advice-box p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.transparency-points ul,
.advantages-section ul {
    list-style: none;
    padding: 0;
}

.transparency-points li,
.advantages-section li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.transparency-points li::before,
.advantages-section li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2196f3;
    font-weight: bold;
    font-size: 16px;
}

.video-demo {
    text-align: center;
    margin: 20px 0;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.demo-video {
    max-width: 100%;
    max-height: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.video-caption {
    margin-top: 10px;
    color: #666;
    font-style: italic;
    font-size: 14px;
}

.trading-report-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
}

.trading-report-section h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 20px;
    text-align: center;
}

.report-features {
    margin-top: 20px;
}

.report-features h4 {
    color: #1976d2;
    margin-bottom: 15px;
}

.report-features ul {
    list-style: none;
    padding: 0;
}

.report-features li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.report-features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2196f3;
    font-weight: bold;
    font-size: 16px;
}

/* Скрытие видео контролов */
.demo-video::-webkit-media-controls {
    display: none !important;
}

.demo-video::-webkit-media-controls-panel {
    display: none !important;
}

.demo-video::-webkit-media-controls-play-button {
    display: none !important;
}

.demo-video::-webkit-media-controls-timeline {
    display: none !important;
}

.demo-video::-webkit-media-controls-current-time-display {
    display: none !important;
}

.demo-video::-webkit-media-controls-time-remaining-display {
    display: none !important;
}

.demo-video::-webkit-media-controls-mute-button {
    display: none !important;
}

.demo-video::-webkit-media-controls-volume-slider {
    display: none !important;
}

.demo-video::-webkit-media-controls-fullscreen-button {
    display: none !important;
}

.demo-video::-webkit-media-controls-picture-in-picture-button {
    display: none !important;
}

.demo-video::-moz-media-controls {
    display: none !important;
}

.demo-video::-ms-media-controls {
    display: none !important;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #2196f3;
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.timeline {
    margin: 30px 0;
}

.timeline-item {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    border-left: 4px solid #2196f3;
}

.timeline-date {
    font-weight: 600;
    color: #2196f3;
    margin-bottom: 10px;
}

.timeline-content h3 {
    color: #333;
    margin-bottom: 10px;
}

.timeline-profit {
    font-size: 24px;
    font-weight: 700;
    color: #28a745;
    margin: 10px 0;
}

.timeline-period {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.monthly-breakdown h4 {
    color: #333;
    margin-bottom: 10px;
}

.monthly-list {
    list-style: none;
    padding: 0;
}

.monthly-item {
    padding: 5px 0;
    color: #666;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.achievement-card {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #2196f3;
}

.achievement-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.achievement-title {
    font-size: 20px;
    font-weight: 700;
    color: #1976d2;
    margin-bottom: 10px;
}

.achievement-description {
    color: #666;
    font-size: 14px;
}

.join-section {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
}

.join-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.join-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.3);
}

.join-icon {
    font-size: 20px;
    animation: rocket 2s ease-in-out infinite;
}

@keyframes rocket {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.join-instruction {
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.join-instruction p {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.join-instruction ol {
    color: #666;
    line-height: 1.6;
}

/* Стили для калькулятора */
.calculator-intro {
    text-align: center;
    margin-bottom: 30px;
}

.calculator-intro h2 {
    color: #333;
    margin-bottom: 10px;
    font-size: 24px;
}

.calculator-intro p {
    color: #666;
    font-size: 16px;
}

.commission-explanation {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    border: 2px solid #2196f3;
}

.commission-explanation h3 {
    color: #1976d2;
    margin-bottom: 15px;
    font-size: 20px;
}

.commission-explanation p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.commission-benefits h5 {
    color: #1976d2;
    margin-bottom: 10px;
    font-size: 16px;
}

.commission-benefits ul {
    list-style: none;
    padding: 0;
}

.commission-benefits li {
    padding: 5px 0;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.commission-benefits li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2196f3;
    font-weight: bold;
}

/* Опции депозита */
.deposit-options {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
}

.deposit-options h3 {
    color: #333;
    margin-bottom: 12px;
    text-align: center;
    font-size: 16px;
}

.deposit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    max-width: 100%;
    overflow: hidden;
}

.deposit-option {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    padding: 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 0;
    word-wrap: break-word;
}

.deposit-option:hover {
    border-color: #2196f3;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.2);
}

.deposit-option.selected {
    border-color: #2196f3;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
}

.deposit-amount {
    font-size: 12px;
    font-weight: 700;
    color: #333;
    margin-bottom: 2px;
}

.deposit-label {
    font-size: 8px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.input-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 10px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
    font-size: 12px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2196f3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.calculate-button {
    width: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
    margin-bottom: 15px;
}

.calculate-button:hover {
    transform: translateY(-2px);
}

.commission-rates {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
}

.commission-rates h3 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
}

.rates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-width: 100%;
    overflow: hidden;
}

.commission-rate {
    background: white;
    padding: 12px 8px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    word-wrap: break-word;
    overflow: hidden;
}

.commission-rate:hover {
    border-color: #2196f3;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.2);
}

.commission-range {
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.commission-percent {
    color: #1976d2;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
}

/* Стили для блока результатов */
.calculation-results {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
    text-align: center;
}

.results-header {
    margin-bottom: 20px;
}

.results-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.results-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Стили для подсказок */
.tooltip-icon {
    color: #667eea;
    margin-left: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: color 0.3s ease;
    display: inline-block;
}

.tooltip-icon:hover {
    color: #5a6fd8;
}

.tooltip {
    position: fixed;
    background: #333;
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.4;
    max-width: 320px;
    min-width: 200px;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    white-space: normal;
    word-wrap: break-word;
    transform: translateX(-50%);
}

.tooltip.show {
    opacity: 1;
    visibility: visible;
}

/* Стрелка для подсказки снизу (когда подсказка сверху от иконки) */
.tooltip.tooltip-bottom::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #333;
}

/* Дополнительный отступ для полей баланса */
.tooltip.tooltip-bottom.balance-field::before {
    bottom: -8px;
    border-top: 8px solid #333;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
}

/* Стрелка для подсказки сверху (когда подсказка снизу от иконки) */
.tooltip.tooltip-top::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #333;
}


.form-group {
    position: relative;
}

.monthly-breakdown {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
}

.monthly-breakdown h3 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    font-size: 20px;
}

.monthly-table-container {
    overflow-x: auto;
    max-height: 400px;
    overflow-y: auto;
}

.monthly-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.monthly-table th,
.monthly-table td {
    padding: 8px 10px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    font-size: 12px;
    white-space: nowrap;
}

.monthly-table th {
    background: #2196f3;
    color: white;
    font-weight: 600;
}

.monthly-table tr:hover {
    background: #f5f5f5;
}

/* Цветовая индикация для таблицы */
.monthly-table .positive {
    color: #28a745 !important;
    font-weight: 600;
}

.monthly-table .negative {
    color: #dc3545 !important;
    font-weight: 600;
}

/* Интерактивный график */
.chart-container {
    position: relative;
    cursor: pointer;
}

.chart-tooltip {
    position: fixed;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 12px;
    pointer-events: none;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 160px;
    max-width: 200px;
    white-space: nowrap;
    line-height: 1.4;
}

.chart-tooltip::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.9);
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
}

.chart-tooltip.show {
    opacity: 1;
}

/* Улучшения для мобильных устройств */
@media (max-width: 768px) {
    .chart-tooltip {
        font-size: 14px;
        padding: 16px 20px;
        min-width: 200px;
        max-width: 280px;
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
        z-index: 10000 !important;
    }
    
    .chart-tooltip div {
        margin-bottom: 4px;
    }
    
    .chart-tooltip div:last-child {
        margin-bottom: 0;
    }
    
    /* Стили для canvas на мобильных */
    canvas {
        touch-action: none !important;
        -webkit-touch-callout: none !important;
        -webkit-user-select: none !important;
        -khtml-user-select: none !important;
        -moz-user-select: none !important;
        -ms-user-select: none !important;
        user-select: none !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        position: relative !important;
        background: white !important;
        border-radius: 10px !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    }
    
    /* Специальные стили для iOS */
    @supports (-webkit-touch-callout: none) {
        canvas {
            -webkit-transform: translateZ(0) !important;
            transform: translateZ(0) !important;
            -webkit-backface-visibility: hidden !important;
            backface-visibility: hidden !important;
            -webkit-perspective: 1000 !important;
            perspective: 1000 !important;
        }
        
        .chart-container {
            -webkit-transform: translateZ(0) !important;
            transform: translateZ(0) !important;
            -webkit-backface-visibility: hidden !important;
            backface-visibility: hidden !important;
        }
    }
    
    /* Контейнер для графика */
    .chart-container {
        position: relative !important;
        width: 100% !important;
        height: 350px !important;
        overflow: hidden !important;
        background: #f8f9fa !important;
        border-radius: 10px !important;
        padding: 8px !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
        margin: 0 5px !important;
    }
    
    /* Кнопки навигации для мобильных */
    .chart-navigation {
        position: absolute !important;
        bottom: 10px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        display: flex !important;
        gap: 10px !important;
        z-index: 1000 !important;
    }
    
    .chart-navigation button {
        background: #667eea !important;
        color: white !important;
        border: none !important;
        border-radius: 50% !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 18px !important;
        cursor: pointer !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
        touch-action: manipulation !important;
    }
    
    /* Улучшения для полей ввода на мобильных */
    input[type="number"], 
    input[type="text"], 
    input[type="email"], 
    textarea, 
    select {
        font-size: 16px !important; /* Предотвращает зум на iOS */
        padding: 12px 15px !important;
        border-radius: 10px !important;
        border: 2px solid #e9ecef !important;
        transition: border-color 0.3s ease !important;
    }
    
    input[type="number"]:focus, 
    input[type="text"]:focus, 
    input[type="email"]:focus, 
    textarea:focus, 
    select:focus {
        border-color: #667eea !important;
        outline: none !important;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
    }
    
    /* Улучшения для кнопок на мобильных */
    button {
        min-height: 44px !important; /* Минимальная высота для удобного нажатия */
        padding: 12px 20px !important;
        font-size: 16px !important;
        border-radius: 10px !important;
        touch-action: manipulation !important; /* Улучшает отзывчивость на мобильных */
    }
    
    /* Улучшения для контейнеров с полями ввода */
    .form-group {
        margin-bottom: 20px !important;
    }
    
    .form-group label {
        font-size: 16px !important;
        margin-bottom: 10px !important;
        display: block !important;
    }
}

.chart-point {
    cursor: pointer;
    transition: r 0.2s ease;
}

.chart-point:hover {
    r: 6;
}

/* Компактная таблица для мобильных устройств */
@media (max-width: 768px) {
    .monthly-table th,
    .monthly-table td {
        padding: 6px 8px;
        font-size: 11px;
    }
    
    .monthly-table-container {
        max-height: 300px;
    }
    
    .monthly-breakdown {
        padding: 15px;
    }
    
    .monthly-breakdown h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .results-container {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .commission-info {
        padding: 12px;
    }
    
    .commission-rates {
        padding: 12px;
    }
    
    .rates-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .commission-rate {
        padding: 10px 6px;
        min-height: 50px;
    }
    
    .commission-range {
        font-size: 11px;
    }
    
    .commission-percent {
        font-size: 16px;
    }
    
    .commission-text {
        font-size: 11px;
    }
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #2196f3;
}

.calculate-btn {
    background: linear-gradient(135deg, #2196f3, #1976d2);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(33, 150, 243, 0.3);
}

.results-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.results-section h3 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.result-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 2px solid #e0e0e0;
}

.result-label {
    font-weight: 600;
    color: #333;
}

.result-value {
    font-size: 24px;
    font-weight: 700;
    color: #2196f3;
}

/* Стили для консультации */
.consultation-intro {
    text-align: center;
    margin-bottom: 40px;
}

.payment-info {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
}

.payment-info h3 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.payment-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.payment-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.payment-card:hover {
    border-color: #2196f3;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.payment-card h4 {
    color: #1976d2;
    margin-bottom: 15px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-card ul {
    list-style: none;
    padding: 0;
}

.payment-card li {
    padding: 8px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.payment-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2196f3;
    font-weight: bold;
    font-size: 16px;
}

.consultation-process {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
}

.process-title {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    font-size: 24px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.process-step {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.process-step:hover {
    border-color: #2196f3;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.2);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2196f3, #1976d2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    margin: 0 auto 15px;
}

.step-title {
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 16px;
}

.step-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.consultation-intro h2 {
    color: #333;
    font-size: 28px;
    margin-bottom: 15px;
}

.consultation-intro p {
    color: #666;
    font-size: 18px;
    line-height: 1.6;
}

.consultation-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.consultation-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #e0e0e0;
}

.consultation-card h3 {
    color: #1976d2;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.consultation-card ul {
    list-style: none;
    padding: 0;
}

.consultation-card li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 25px;
}

.consultation-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2196f3;
    font-weight: bold;
    font-size: 16px;
}

.price-section {
    text-align: center;
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 15px;
}

.price-title {
    color: #333;
    margin-bottom: 20px;
}

.price-amount {
    font-size: 48px;
    font-weight: 900;
    color: #1976d2;
    margin-bottom: 10px;
}

.price-description {
    color: #666;
    font-size: 16px;
}

.cta-section {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
}

.cta-title {
    color: #333;
    margin-bottom: 15px;
}

.cta-description {
    color: #666;
    margin-bottom: 25px;
}

.consultation-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.consultation-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
}

/* Адаптивность для внутренних страниц */
@media (max-width: 768px) {
    #statistics-page,
    #calculator-page,
    #consultation-page {
        padding: 10px;
    }
    
    .stats-container,
    .calculator-container,
    .consultation-container {
        margin: 0;
        border-radius: 15px;
        padding-bottom: 80px; /* Больше места снизу на мобильных */
        min-height: calc(100vh - 100px); /* Адаптивная высота для мобильных */
    }
    
    .page-header {
        padding: 15px 20px;
    }
    
    .stats-title,
    .calculator-title,
    .consultation-title {
        font-size: 24px;
    }
    
    .stats-content,
    .calculator-content,
    .consultation-content {
        padding: 20px;
    }
    
    .consultation-sections {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-value {
        font-size: 24px;
    }
    
    .price-amount {
        font-size: 36px;
    }
}

/* Анимации загрузки */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Уведомления */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    z-index: 200; /* Уменьшаем z-index */
    transform: translateX(400px);
    transition: all 0.3s ease;
    max-width: 320px;
    border: 1px solid #e9ecef;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-left: 4px solid #28a745;
    background: linear-gradient(135deg, #f8fff9, #ffffff);
}

.notification.error {
    border-left: 4px solid #dc3545;
    background: linear-gradient(135deg, #fff8f8, #ffffff);
}

.notification.warning {
    border-left: 4px solid #ffc107;
    background: linear-gradient(135deg, #fffdf0, #ffffff);
    color: #856404;
}

.notification.info {
    border-left: 4px solid #17a2b8;
    background: linear-gradient(135deg, #f0fcff, #ffffff);
}

.notification i {
    font-size: 16px;
    margin-right: 12px;
}

.notification span {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

/* Модальные окна */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 25px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    animation: slideInUp 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: #666;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: #e0e0e0;
    transform: scale(1.1);
}

#modal-body {
    padding: 40px 30px 30px;
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.modal-header p {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

.modal-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modal-features {
    margin: 30px 0;
}

.modal-features h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-list li:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.feature-list li i {
    margin-right: 15px;
    color: #667eea;
    font-size: 20px;
    width: 25px;
}

.feature-list li span {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.modal-cta {
    text-align: center;
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 15px;
    color: white;
}

.modal-cta h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.modal-cta p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 20px;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.1;
        transform: scale(1);
    }
    50% {
        opacity: 0.2;
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.feature-icon {
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    animation: float 1s ease-in-out;
    transform: scale(1.1);
}

/* BingX Card Mobile Styles */
@media (max-width: 768px) {
    .bingx-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .bingx-logo {
        width: 70px;
        height: 70px;
    }
    
    .bingx-info h4 {
        font-size: 20px;
    }
    
    .bingx-benefits {
        font-size: 14px;
    }
    
    .bingx-actions {
        gap: 15px;
    }
    
    .referral-code-container {
        padding: 10px 15px;
    }
    
    .referral-code {
        font-size: 16px;
    }
    
    .copy-btn {
        width: 30px;
        height: 30px;
    }
    
    .bingx-register-btn {
        padding: 12px 25px;
        font-size: 14px;
    }
}

/* Анимация успеха UID */
.success-animation {
    position: relative;
    margin-bottom: 40px;
}

.success-icon {
    font-size: 100px !important;
    color: #28a745;
    margin-bottom: 30px;
    animation: successBounce 0.8s ease;
    position: relative;
    z-index: 2;
}

.success-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #28a745;
    border-radius: 50%;
    animation: particleFloat 2s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 20%;
    right: 20%;
    animation-delay: 0.2s;
}

.particle:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 0.4s;
}

.particle:nth-child(4) {
    bottom: 20%;
    right: 20%;
    animation-delay: 0.6s;
}

.particle:nth-child(5) {
    top: 50%;
    left: 10%;
    animation-delay: 0.8s;
}

.success-title {
    font-size: 36px !important;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
    animation: slideInUp 0.6s ease 0.3s both;
}

.success-message {
    font-size: 18px !important;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
    animation: slideInUp 0.6s ease 0.5s both;
}

.success-status {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
    animation: slideInUp 0.6s ease 0.7s both;
}

.status-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8f9ff, #f0f2ff);
    border-radius: 15px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.status-item:hover {
    border-color: #28a745;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.2);
}

.status-item i {
    font-size: 20px;
    color: #28a745;
}

.status-item span {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.success-actions {
    animation: slideInUp 0.6s ease 0.9s both;
}

/* Анимации */
@keyframes successBounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
}
