/* Сброс и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Цветовая палитра */
    --color-primary: #8a2be2; /* Фиолетовый */
    --color-primary-dark: #6a0dad;
    --color-primary-light: #9b4dff;
    --color-secondary: #00d4ff; /* Голубой */
    --color-accent: #ff6b6b; /* Коралловый */
    --color-success: #4cd964;
    --color-warning: #ffcc00;
    
    /* Фоны */
    --bg-dark: #0a0a1a;
    --bg-darker: #050510;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-hover: rgba(255, 255, 255, 0.1);
    
    /* Текст */
    --text-primary: #ffffff;
    --text-secondary: #b0b0d0;
    --text-muted: #8888aa;
    
    /* Градиенты */
    --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    --gradient-dark: linear-gradient(135deg, var(--bg-darker), var(--bg-dark));
    --gradient-card: linear-gradient(145deg, rgba(138, 43, 226, 0.1), rgba(0, 212, 255, 0.05));
    
    /* Тени */
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-primary: 0 10px 30px rgba(138, 43, 226, 0.3);
    --shadow-secondary: 0 10px 30px rgba(0, 212, 255, 0.3);
    
    /* Скругления */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    /* Анимации */
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-primary);
    background: var(--gradient-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Типография */
h1, h2, h3, h4 {
    font-family: var(--font-accent);
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Шапка */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: var(--transition);
}

.logo__text {
    font-family: var(--font-accent);
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo__subtext {
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
}

/* Навигация */
.nav__list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav__link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
}

.nav__link:hover {
    color: var(--color-primary-light);
}

.nav__link.active {
    background: var(--gradient-primary);
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: var(--transition);
}

/* Герой секция */
.hero {
    padding: 180px 0 100px;
    background: radial-gradient(circle at top right, rgba(138, 43, 226, 0.2), transparent 50%),
                radial-gradient(circle at bottom left, rgba(0, 212, 255, 0.2), transparent 50%);
    position: relative;
    overflow: hidden;
}

.hero__title {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-align: center;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
    }
    to {
        text-shadow: 0 0 30px rgba(138, 43, 226, 0.8),
                     0 0 40px rgba(0, 212, 255, 0.5);
    }
}

.hero__subtitle {
    font-size: 1.5rem;
    color: var(--color-secondary);
    text-align: center;
    margin-bottom: 1rem;
}

.hero__description {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.hero__cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero__stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat__number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat__label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-family: var(--font-secondary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

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

.btn--primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(138, 43, 226, 0.4);
}

.btn--outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--color-primary);
}

.btn--outline:hover {
    background: var(--color-primary);
    color: white;
}

.btn--large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.btn__icon {
    font-size: 1.2rem;
}

/* Бонусы */
.bonuses {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.bonuses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.bonus-card {
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    border: 1px solid rgba(138, 43, 226, 0.2);
    position: relative;
    overflow: hidden;
}

.bonus-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.bonus-card:hover::after {
    opacity: 1;
}

.bonus-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-primary);
    border-color: var(--color-primary);
}

.bonus-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.bonus-card__icon {
    font-size: 2rem;
}

.bonus-card__title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
}

.bonus-card__content {
    text-align: center;
}

.bonus-card__amount {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.bonus-card__subtitle {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.bonus-card__description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.bonus-card__list {
    list-style: none;
    text-align: left;
    color: var(--text-muted);
}

.bonus-card__list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 1.5rem;
}

.bonus-card__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
}

/* Привилегии */
.privileges {
    padding: 100px 0;
}

.privileges-list {
    max-width: 800px;
    margin: 3rem auto 0;
}

.privilege {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    transition: var(--transition);
    border: 1px solid transparent;
}

.privilege:hover {
    border-color: var(--color-primary);
    background: var(--bg-card-hover);
    transform: translateX(10px);
}

.privilege__icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.privilege__content {
    flex: 1;
}

.privilege__title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.privilege__description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA секция */
.cta-section {
    padding: 100px 0;
    background: radial-gradient(circle at center, rgba(138, 43, 226, 0.1), transparent 70%);
}

.cta {
    background: var(--gradient-card);
    border-radius: var(--radius-xl);
    padding: 4rem;
    text-align: center;
    border: 1px solid rgba(138, 43, 226, 0.3);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta__content {
    position: relative;
    z-index: 1;
}

.cta__title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta__description {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.cta__features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.feature__check {
    color: var(--color-success);
    font-weight: bold;
}

.cta__note {
    margin-top: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Футер */
.footer {
    background: var(--bg-darker);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer__title {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer__description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: 0.5rem;
}

.footer__links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--color-primary-light);
}

.footer__contacts {
    list-style: none;
    color: var(--text-secondary);
}

.footer__contacts li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__copyright {
    color: var(--text-muted);
}

.footer__warning {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
}

.footer__warning a {
    color: var(--color-accent);
    text-decoration: none;
}

.footer__warning a:hover {
    text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__subtitle {
        font-size: 1.2rem;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--bg-dark);
        padding: 2rem;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav__list {
        flex-direction: column;
        gap: 1rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero__stats {
        gap: 2rem;
    }
    
    .bonuses-grid {
        grid-template-columns: 1fr;
    }
    
    .privilege {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cta {
        padding: 2rem;
    }
    
    .cta__features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero__cta {
        flex-direction: column;
    }
}
/* Модальные окна */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
    animation: modalFadeIn 0.3s ease;
}

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

.modal__content {
    background: var(--gradient-card);
    border-radius: var(--radius-xl);
    padding: 40px;
    max-width: 500px;
    width: 90%;
    margin: auto;
    border: 2px solid var(--color-primary);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

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

.modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal__close:hover {
    color: var(--color-accent);
    background: rgba(255, 255, 255, 0.1);
}

.modal__header {
    text-align: center;
    margin-bottom: 30px;
}

.modal__icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.modal__title {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.modal__subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.modal__body {
    margin-bottom: 30px;
}

.modal__footer {
    text-align: center;
}

/* Специфичные стили для разных модалок */
.modal--welcome .modal__content {
    max-width: 600px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.9), rgba(0, 212, 255, 0.9));
    border: none;
}

.modal--deposit .modal__content {
    border-color: var(--color-success);
}

.modal--bonus .modal__content {
    border-color: var(--color-warning);
}

/* Таймер для акций */
.timer {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 25px 0;
}

.timer__item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 15px;
    text-align: center;
    min-width: 70px;
}

.timer__value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-primary);
    display: block;
}

.timer__label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Стили для формы в модалке */
.modal-form .form-group {
    margin-bottom: 20px;
}

.modal-form input {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
}

.modal-form input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.modal-form .btn {
    width: 100%;
    margin-top: 10px;
}

/* Уведомление о cookie */
.cookie-notice {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--bg-dark);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-lg);
    padding: 20px;
    z-index: 1000;
    display: none;
    animation: slideUp 0.5s ease;
}

.cookie-notice.active {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-notice__text {
    color: var(--text-secondary);
    flex: 1;
    min-width: 300px;
}

.cookie-notice__buttons {
    display: flex;
    gap: 10px;
}

/* Адаптивность модальных окон */
@media (max-width: 768px) {
    .modal__content {
        padding: 25px 20px;
        width: 95%;
    }
    
    .modal__title {
        font-size: 1.5rem;
    }
    
    .timer {
        gap: 10px;
    }
    
    .timer__item {
        min-width: 60px;
        padding: 10px;
    }
    
    .timer__value {
        font-size: 1.5rem;
    }
    
    .cookie-notice {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-notice__buttons {
        width: 100%;
        justify-content: center;
    }
}