/* ----- Импорт шрифта Montserrat ----- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700;800&display=swap');

/* ----- Общие стили ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(145deg, #1f102b 0%, #0f0618 100%);
    color: #eee5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

/* ----- Шапка ----- */
header {
    width: 100%;
    background: rgba(45, 25, 65, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid #b388ff;
    padding: 18px 0;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(179, 136, 255, 0.15);
    border-radius: 0 0 30px 30px;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(45deg, #f8bbd0, #ce93d8, #b388ff, #e040fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 25px rgba(206, 147, 216, 0.2);
    letter-spacing: 1px;
    cursor: pointer;
}

.logo i {
    margin-right: 10px;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: #cfb8e6;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 8px 22px;
    border-radius: 40px;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

nav a:hover {
    background: rgba(179, 136, 255, 0.2);
    color: #ffffff;
    transform: scale(1.05);
}

nav a.active {
    background: linear-gradient(45deg, #ce93d8, #b388ff);
    color: #1a0f1f;
    box-shadow: 0 0 15px rgba(179, 136, 255, 0.3);
}

/* ----- Главная секция ----- */
.hero {
    background: linear-gradient(145deg, rgba(70, 40, 95, 0.7), rgba(30, 15, 45, 0.8));
    backdrop-filter: blur(4px);
    border-radius: 40px;
    padding: 50px 40px;
    border: 1px solid rgba(179, 136, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    margin-bottom: 30px;
}

.hero h1 {
    font-size: 3.4rem;
    font-weight: 800;
    background: linear-gradient(45deg, #f8bbd0, #e1bee7, #b388ff, #e040fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.25rem;
    font-weight: 400;
    color: #d9c8ed;
    max-width: 800px;
}

.online-block {
    display: inline-flex;
    align-items: center;
    background: rgba(0,0,0,0.35);
    padding: 14px 30px;
    border-radius: 60px;
    margin: 25px 0;
    border: 1px solid #ce93d8;
}

.online-block i {
    color: #76ff03;
    font-size: 1.6rem;
    margin-right: 15px;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { opacity: 0.5; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0.5; transform: scale(0.95); }
}

.online-number {
    font-size: 2.4rem;
    font-weight: 700;
    color: #f0e6ff;
    margin-right: 10px;
}

.online-label {
    color: #b388ff;
    font-size: 1.2rem;
    font-weight: 300;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 35px;
}

.feature-item {
    background: rgba(50, 30, 70, 0.6);
    border-radius: 24px;
    padding: 25px 20px;
    text-align: center;
    border: 1px solid rgba(179, 136, 255, 0.15);
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.feature-item:hover {
    transform: translateY(-8px);
    border-color: #ce93d8;
    box-shadow: 0 12px 30px rgba(179, 136, 255, 0.15);
    background: rgba(60, 35, 85, 0.7);
}

.feature-item i {
    font-size: 2.8rem;
    color: #ce93d8;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 8px rgba(206, 147, 216, 0.25));
}

.feature-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f0e6ff;
    margin-bottom: 6px;
}

.feature-item p {
    font-size: 0.95rem;
    font-weight: 400;
    color: #c6b0db;
}

/* ----- Соцсети ----- */
.social-links .social-icons {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 12px;
}

.social-links .social-icons a {
    color: #d1b3e6;
    font-size: 2.2rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links .social-icons a:hover {
    color: #ffffff;
    transform: scale(1.15) translateY(-4px);
    filter: drop-shadow(0 0 12px rgba(179, 136, 255, 0.4));
}

/* ----- Страница доната ----- */
.donate-header {
    background: linear-gradient(145deg, rgba(80, 50, 110, 0.8), rgba(35, 20, 55, 0.85));
    backdrop-filter: blur(4px);
    border-radius: 40px;
    padding: 40px 35px;
    border: 1px solid rgba(179, 136, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    margin-bottom: 35px;
}

.donate-tabs {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.donate-tab {
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(179, 136, 255, 0.25);
    color: #d1b3e6;
    padding: 14px 40px;
    border-radius: 60px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    font-family: 'Montserrat', sans-serif;
}

.donate-tab:hover {
    background: rgba(179, 136, 255, 0.15);
    transform: scale(1.03);
    border-color: #ce93d8;
}

.donate-tab.active {
    background: linear-gradient(45deg, #ce93d8, #b388ff);
    border-color: #b388ff;
    color: #1a0f1f;
    box-shadow: 0 0 20px rgba(179, 136, 255, 0.3);
}

.donate-description {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 400;
    color: #d1b3e6;
    padding: 0 10px;
}

.donate-description strong {
    color: #f8bbd0;
    font-weight: 700;
}

/* ----- Товары ----- */
.products-container {
    margin-top: 25px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
}

.product-card {
    background: rgba(45, 25, 65, 0.7);
    backdrop-filter: blur(4px);
    border-radius: 28px;
    padding: 25px 15px 30px;
    text-align: center;
    border: 1px solid rgba(179, 136, 255, 0.15);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: #ce93d8;
    box-shadow: 0 20px 40px rgba(179, 136, 255, 0.15);
    background: rgba(60, 35, 85, 0.75);
}

.product-icon {
    font-size: 4rem;
    color: #ce93d8;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 10px rgba(206, 147, 216, 0.2));
}

.product-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #f0e6ff;
    margin-bottom: 4px;
}

.product-price {
    font-size: 1.7rem;
    font-weight: 800;
    background: linear-gradient(45deg, #f8bbd0, #e040fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 10px 0;
}

.product-btn {
    background: linear-gradient(45deg, #ce93d8, #b388ff);
    border: none;
    color: #1a0f1f;
    font-weight: 700;
    padding: 12px 35px;
    border-radius: 60px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 12px;
    width: 100%;
    max-width: 160px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
}

.product-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 0 25px rgba(179, 136, 255, 0.4);
    background: linear-gradient(45deg, #e040fb, #b388ff);
}

.product-btn:active {
    transform: scale(0.96);
}

.product-category {
    display: none;
}

.product-category.active {
    display: block;
}

/* ----- Подвал ----- */
footer {
    margin-top: 60px;
    padding: 25px 0;
    border-top: 1px solid rgba(179, 136, 255, 0.15);
    text-align: center;
    color: #a080b8;
    font-weight: 300;
    width: 100%;
}

/* ----- Адаптив ----- */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }
    nav a {
        font-size: 1rem;
        padding: 6px 16px;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .online-number {
        font-size: 2rem;
    }
    .donate-tab {
        padding: 10px 24px;
        font-size: 1rem;
    }
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    .features {
        grid-template-columns: 1fr;
    }
    .products-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ----- Стили для ползунка изменения роста ----- */
.slider-container {
    width: 100%;
    margin: 10px 0;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slider-value {
    font-size: 0.95rem;
    color: #c6b0db;
    margin-bottom: 8px;
}

.slider-value strong {
    color: #e040fb;
}

#growth-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: rgba(179, 136, 255, 0.2);
    outline: none;
    transition: background 0.3s;
}

#growth-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ce93d8, #e040fb);
    cursor: pointer;
    box-shadow: 0 0 8px rgba(224, 64, 251, 0.6);
    transition: transform 0.1s;
}

#growth-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.product-growth-card {
    min-width: 240px;
}

/* ----- СТАТИСТИКА И ИНТЕРФЕЙС АДМИН-ПАНЕЛИ ----- */
.admin-layout {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    gap: 25px;
    padding: 0 20px;
}

.admin-sidebar {
    width: 280px;
    min-width: 280px;
    background: rgba(45, 25, 65, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(179, 136, 255, 0.2);
    border-radius: 24px;
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: fit-content;
}

.sidebar-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #a080b8;
    margin-bottom: 10px;
    padding-left: 15px;
    font-weight: 700;
}

.admin-nav-btn {
    background: transparent;
    border: 1px solid transparent;
    color: #c6b0db;
    padding: 14px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 16px;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    width: 100%;
}

.admin-nav-btn i {
    font-size: 1.1rem;
    width: 24px;
    transition: transform 0.3s ease;
}

.admin-nav-btn:hover {
    color: #fff;
    background: rgba(179, 136, 255, 0.1);
    border-color: rgba(179, 136, 255, 0.2);
    padding-left: 25px;
}

.admin-nav-btn:hover i {
    transform: scale(1.2);
}

.admin-nav-btn.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(224, 64, 251, 0.25), rgba(179, 136, 255, 0.25));
    border-color: #b388ff;
    box-shadow: 0 0 15px rgba(179, 136, 255, 0.2);
    font-weight: 700;
}

.admin-content-area {
    flex-grow: 1;
    width: calc(100% - 305px);
}

.admin-tab-content {
    display: none;
    animation: adminFadeIn 0.4s ease forwards;
}

.admin-tab-content.active {
    display: block;
}

.charts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    gap: 25px;
    margin-top: 25px;
    margin-bottom: 40px;
}

.chart-card {
    background: rgba(35, 18, 55, 0.5);
    border: 1px solid rgba(179, 136, 255, 0.15);
    border-radius: 24px;
    padding: 25px;
    backdrop-filter: blur(10px);
}

.chart-card h3 {
    font-size: 1.2rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chart-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
}

.chart-period-buttons {
    display: flex;
    background: rgba(20, 10, 30, 0.6);
    border: 1px solid rgba(179, 136, 255, 0.15);
    border-radius: 12px;
    padding: 4px;
    gap: 2px;
}

.period-btn {
    background: transparent;
    border: none;
    color: #a080b8;
    padding: 6px 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.period-btn:hover {
    color: #fff;
    background: rgba(179, 136, 255, 0.1);
}

#online-periods .period-btn.active {
    background: #00e5ff;
    color: #120621;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

#revenue-periods .period-btn.active {
    background: #e040fb;
    color: #120621;
    box-shadow: 0 0 10px rgba(224, 64, 251, 0.3);
}

footer {
    clear: both;
    width: 100%;
}

@keyframes adminFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .admin-layout {
        flex-direction: column;
    }
    .admin-sidebar {
        width: 100%;
    }
    .admin-content-area {
        width: 100%;
    }
    .admin-nav-btn:hover {
        padding-left: 20px;
    }
}

/* Контейнер для статуса */
.minecraft-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.07); /* Чуть светлее, чтобы подходил под карточки */
    padding: 8px 18px;
    border-radius: 20px; /* Скругление как у твоих кнопок сверху */
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-family: 'Montserrat', sans-serif; /* Твой основной шрифт сайта */
    gap: 12px;
    transition: all 0.3s ease;
    margin-top: 15px;
}

/* Эффект при наведении */
.minecraft-status:hover {
    background: rgba(168, 85, 247, 0.2); /* Фиолетовое свечение в тон сайта */
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
}

/* Пульсирующая точка онлайна */
.status-dot {
    width: 8px;
    height: 8px;
    background-color: #a855f7; /* Сделаем её фиолетовой в тон проекта (или верни #2ecc71, если хочешь зелёную) */
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #a855f7;
    animation: pulse 2s infinite;
}

/* Цифра онлайна */
.status-number {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

/* Текст "игроков онлайн" */
.status-text {
    font-size: 14px;
    font-weight: 500;
    color: #e2e8f0; /* Бело-серый цвет, как у описания сервера */
}

/* Анимация пульсации */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(168, 85, 247, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(168, 85, 247, 0);
    }
}

/* ==========================================================================
   МОДАЛЬНОЕ ОКНО ПОКУПКИ (AURORAVEIL)
   ========================================================================== */

/* Затемняющий фон на весь экран */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 5, 20, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

/* Контейнер самого окошка */
.modal-content {
    background: #1e102a;
    border: 2px solid #b388ff;
    box-shadow: 0 0 30px rgba(179, 136, 255, 0.3);
    border-radius: 20px;
    width: 100%;
    max-width: 420px;
    padding: 30px;
    position: relative;
    box-sizing: border-box;
    animation: scaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Шапка модалки (Название товара и крестик) */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.modal-header h2 {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(45deg, #fff, #b388ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Кнопка закрытия (крестик) */
.modal-close-x {
    background: none;
    border: none;
    color: #a080b8;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
    padding: 0;
}

.modal-close-x:hover {
    color: #ff5252;
}

/* Контейнер для поля ввода */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
}

.input-group label {
    color: #c6b0db;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: left;
}

.input-group input {
    background: rgba(0, 0, 0, 0.3);
    border: 1.5px solid rgba(179, 136, 255, 0.4);
    border-radius: 12px;
    padding: 14px 16px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-group input:focus {
    border-color: #b388ff;
    box-shadow: 0 0 12px rgba(179, 136, 255, 0.4);
}

/* Кнопка "Перейти к оплате" */
.modal-pay-btn {
    width: 100%;
    background: linear-gradient(135deg, #b388ff, #7c4dff);
    border: none;
    border-radius: 12px;
    padding: 15px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(124, 77, 255, 0.4);
}

.modal-pay-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 77, 255, 0.6);
}

.modal-pay-btn:active {
    transform: translateY(0);
}

/* Анимации появления */
@keyframes fadeIn { 
    from { opacity: 0; } 
    to { opacity: 1; } 
}
@keyframes scaleUp { 
    from { transform: scale(0.9); opacity: 0; } 
    to { transform: scale(1); opacity: 1; } 
}
/* --- Блок описания товара внутри модального окна --- */
.modal-product-desc {
    font-family: 'Montserrat', sans-serif;
    color: #c6b0db;
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: left;
    background: rgba(179, 136, 255, 0.05);
    border: 1px solid rgba(179, 136, 255, 0.15);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 15px;
}

.product-card .product-btn {
    width: 100%;
    margin-top: 15px;
}

/* --- Модальное окно: Состояния загрузки и ответов --- */
.modal-body-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 0;
}

/* Красивый индикатор загрузки */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(179, 136, 255, 0.1);
    border-top: 4px solid #b388ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

.loading-text {
    color: #c6b0db;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

/* Иконки успеха и ошибки */
.state-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    animation: scaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.state-icon.success { color: #2ecc71; }
.state-icon.error { color: #e74c3c; }

.state-message {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Маленькое предупреждение под инпутом */
.input-error-msg {
    color: #ff5252;
    font-size: 0.8rem;
    text-align: left;
    margin-top: 5px;
    font-family: 'Montserrat', sans-serif;
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Ссылка в футере */
.legal-link {
    color: #a0a0a0;
    text-decoration: underline;
    font-size: 14px;
    transition: color 0.2s;
}
.legal-link:hover {
    color: #55ff55; /* Зеленый цвет AuroraVeil */
}

/* Контейнер чекбокса в модалке покупки */
.terms-checkbox-container {
    margin: 15px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #e0e0e0;
    text-align: left;
}
.terms-checkbox-container input {
    margin-top: 3px;
    cursor: pointer;
}
.terms-checkbox-container a {
    color: #55ff55;
    text-decoration: underline;
}

/* Модальное окно оферты */
.legal-modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
}
.legal-modal-content {
    background-color: #1e1e24;
    border: 2px solid #333;
    border-radius: 8px;
    width: 90%;
    max-width: 650px;
    padding: 25px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    position: relative;
    color: #fff;
}
.legal-modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.legal-modal-close:hover {
    color: #ff5555;
}
.legal-modal-body {
    max-height: 400px;
    overflow-y: auto;
    text-align: left;
    margin-top: 20px;
    padding-right: 10px;
    font-size: 14px;
    line-height: 1.5;
}
/* Стилизация скроллбара внутри оферты */
.legal-modal-body::-webkit-scrollbar {
    width: 6px;
}
.legal-modal-body::-webkit-scrollbar-thumb {
    background: #55ff55;
    border-radius: 4px;
}

/* Оформление главного экрана */
.hero-section {
    padding: 60px 20px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #a855f7 0%, #d8b4fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #9ca3af;
    margin-bottom: 40px;
}

.badge-mod {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.95rem;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

/* Продающий интерактивный баннер */
.cta-banner {
    background: linear-gradient(135deg, rgba(24, 18, 36, 0.8) 0%, rgba(15, 11, 25, 0.9) 100%);
    border: 1px solid rgba(168, 85, 247, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(168, 85, 247, 0.1);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .cta-banner { flex-direction: column; text-align: center; }
}

.cta-badge {
    background: #a855f7;
    color: #ffffff;
    padding: 4px 10px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 20px;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 10px;
}

.cta-text {
    font-size: 1.1rem;
    color: #e5e7eb;
    margin: 0 0 12px 0;
}

.cta-text .price {
    color: #a855f7;
    font-weight: 800;
    font-size: 1.25rem;
}

/* Пульсирующий онлайн */
.online-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #9ca3af;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Кнопка "Купить проходку" */
.cta-button {
    background: #a855f7;
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cta-button:hover {
    background: #9333ea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(168, 85, 247, 0.4);
}