/* --- ОБЩИЕ СТИЛИ И ПЕРЕМЕННЫЕ --- */
:root {
    --color-background: #1E1E1E;
    --color-primary: #D90200;    /* Мощный красный */
    --color-accent: #FF6B00;     /* Яркий оранжевый */
    --color-highlight: #FF9800;  /* Золотистый оранжевый */
    --color-text: #FFFFFF;
    --font-main: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-background);
    color: var(--color-text);
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- СТИЛИ ДЛЯ ССЫЛОК В ТЕКСТЕ --- */
main a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

main a:hover {
    color: var(--color-highlight);
    text-decoration: underline;
}


/* --- ХЕДЕР --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0; 
    background-color: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(217, 2, 0, 0.2);
    transition: padding 0.3s ease;
}

.header .container {
    display: flex;
    align-items: center;
}

.logo {
    flex-shrink: 0; 
}

.logo img {
    max-height: 45px;
    width: auto; 
    display: block;
    transition: max-height 0.3s ease;
}

.navigation {
    margin: 0 auto;
    text-align: center;
}

.navigation a {
    color: var(--color-text);
    text-decoration: none;
    margin: 0 15px; /* УМЕНЬШЕНО */
    font-weight: 700;
    transition: color 0.3s;
}

.navigation a:hover {
    color: var(--color-accent);
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 10px; /* УМЕНЬШЕНО */
}

.btn {
    padding: 10px 24px; /* УМЕНЬШЕНО */
    border-radius: 50px; 
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem; /* УМЕНЬШЕНО */
    white-space: nowrap; /* ДОБАВЛЕНО */
}

.btn-primary {
    background: linear-gradient(45deg, var(--color-accent), var(--color-primary));
    color: var(--color-text);
    box-shadow: 0 5px 20px rgba(217, 2, 0, 0.5);
    border: none;
    padding: 12px 26px; /* УМЕНЬШЕНО */
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.6);
}

.btn-secondary {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn-secondary:hover {
    background-color: var(--color-accent);
    color: var(--color-background);
    border-color: var(--color-accent);
}

/* --- ПЕРВЫЙ ЭКРАН (HERO) --- */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle, rgba(217,2,0,0.15) 0%, rgba(30,30,30,0) 60%), #1E1E1E;
}

.main-headline {
    font-weight: 900;
    font-size: 6rem;
    line-height: 1.1;
    color: var(--color-text);
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(217, 2, 0, 0.7);
}

.sub-headline {
    font-size: 1.5rem;
    margin: 20px 0 40px;
    color: #ccc;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--color-accent), var(--color-primary));
    color: #fff;
    padding: 20px 50px;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    box-shadow: 0 5px 25px rgba(217, 2, 0, 0.5);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 35px rgba(255, 107, 0, 0.6);
}

/* ======================================================== */
/* --- НОВЫЙ БЛОК: СТИЛИ ДЛЯ СЕКЦИИ С КОНТЕНТОМ --- */
/* ======================================================== */

.content-section {
    padding: 80px 0;
    background-color: #111; /* Слегка другой фон для визуального отделения */
}

.content-grid {
    display: flex;
    align-items: center;
    gap: 60px; /* Расстояние между картинкой и текстом */
}

/* Стили для обеих колонок */
.content-image,
.content-text {
    flex: 1; /* Обе колонки занимают по 50% ширины */
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.content-text h2 {
    font-weight: 900;
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 25px;
    text-transform: uppercase;
}

.content-text h3 {
    font-weight: 900;
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 25px;
    text-transform: uppercase;
}

.content-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #ccc;
    margin-bottom: 25px;
}

.features-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 40px;
}

.features-list li {
    padding-left: 35px;
    position: relative;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Создаем кастомную иконку-маркер для списка */
.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent);
    font-size: 1.2rem;
    font-weight: bold;
}

/* --- БУРГЕР-МЕНЮ И АДАПТАЦИЯ --- */
.burger-menu {
    display: none;
    cursor: pointer;
    z-index: 1001;
    width: 30px;
    height: 21px;
    position: relative;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-text);
    border-radius: 3px;
    position: absolute;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.burger-menu span:nth-child(1) { top: 0; }
.burger-menu span:nth-child(2) { top: 9px; }
.burger-menu span:nth-child(3) { top: 18px; }

.burger-menu.is-active span:nth-child(1) { transform: rotate(45deg); top: 9px; }
.burger-menu.is-active span:nth-child(2) { opacity: 0; }
.burger-menu.is-active span:nth-child(3) { transform: rotate(-45deg); top: 9px; }

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(15px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px; /* ИЗМЕНЕНО */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.mobile-nav.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 1.5rem; /* ИЗМЕНЕНО */
    font-weight: 700;
}

.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
    align-items: center;
}

/* --- ФУТЕР --- */
.footer {
    background-color: #111;
    padding: 60px 0 30px;
    border-top: 3px solid var(--color-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: var(--color-accent);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: #aaa;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--color-text);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: #888;
}

.trust-logos {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    font-size: 1.2rem;
    opacity: 0.7;
}

.footer-legal p {
    font-size: 0.8rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 15px;
}

.footer-legal a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--color-highlight);
    text-decoration: underline;
}


.footer-legal .responsible-gaming {
    font-weight: bold;
    color: #aaa;
}


/* --- МЕДИА-ЗАПРОСЫ (АДАПТАЦИЯ) --- */
@media (max-width: 992px) {
    .navigation {
        margin: 0;
    }
    .header .container {
        justify-content: space-between;
    }
    .desktop-nav {
        display: none;
    }
    .burger-menu {
        display: block;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .main-headline {
        font-size: 4rem;
        line-height: 1.1;
    }
    .sub-headline {
        font-size: 1.2rem;
    }

    /* Адаптация для нового блока */
    .content-grid {
        flex-direction: column; /* Ставим колонки друг под друга */
        gap: 40px;
    }
    .content-text h2 {
        text-align: center; /* Центрируем заголовок на мобильных */
    }
}

@media (max-width: 576px) {
     .main-headline {
        font-size: 3rem;
    }
    .cta-button {
        padding: 15px 30px;
        font-size: 1.2rem;
    }
    .footer-grid {
        text-align: center;
    }

    /* Адаптация для нового блока на маленьких экранах */
    .content-text h2 {
        font-size: 2.5rem;
    }
}

/* --- ОСНОВНОЙ КОНТЕЙНЕР ТАБЛИЦЫ --- */
.table-container {
    margin: 60px 0; /* Отступы сверху и снизу */
    background-color: #111; /* Тот же фон, что и у контентных секций */
    border: 1px solid rgba(217, 2, 0, 0.2); /* Тонкая красная рамка, как у хедера */
    border-radius: 10px; /* Скругление углов, как у картинок */
    padding: 30px; /* Внутренние отступы */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6); /* Глубокая тень для объема */
    overflow-x: auto; /* Добавляет горизонтальный скролл на мобильных устройствах */
}

/* --- ОБЩИЕ СТИЛИ САМОЙ ТАБЛИЦЫ --- */
.content-table {
    width: 100%;
    border-collapse: collapse; /* Убираем двойные рамки между ячейками */
    text-align: left;
    color: var(--color-text);
}

/* --- ЗАГОЛОВОК ТАБЛИЦЫ (THEAD) --- */
.content-table thead {
    border-bottom: 2px solid var(--color-primary); /* Яркая красная линия-разделитель */
}

.content-table th {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-accent); /* Яркий оранжевый цвет для заголовков */
    text-transform: uppercase; /* Все заголовки большими буквами */
    letter-spacing: 1px; /* Немного увеличиваем расстояние между буквами */
    padding: 20px 15px; /* Большие отступы для воздуха */
}

/* --- ТЕЛО ТАБЛИЦЫ (TBODY) --- */
.content-table td {
    padding: 20px 15px; /* Отступы в ячейках */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Тонкая, едва заметная линия-разделитель */
}

/* Убираем линию у последней строки для аккуратного вида */
.content-table tbody tr:last-child td {
    border-bottom: none;
}

/* Первая колонка (Параметр) - делаем ее более акцентной */
.content-table td:first-child {
    font-weight: 700;
    color: var(--color-text); /* Яркий белый цвет */
}

/* Вторая колонка (Условие) - делаем текст чуть приглушеннее */
.content-table td:last-child {
    color: #ccc; /* Светло-серый, как в параграфах */
}

/* --- ИНТЕРАКТИВНОСТЬ И ЭФФЕКТЫ --- */

/* Чередующиеся цвета строк для лучшей читаемости */
.content-table tbody tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.2);
}

/* Эффект при наведении на строку */
.content-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(255, 107, 0, 0.1), rgba(217, 2, 0, 0.1)); /* Легкий градиент от оранжевого к красному */
    transform: scale(1.01); /* Немного увеличиваем строку */
    transition: background 0.3s ease, transform 0.3s ease;
    cursor: default;
}

/* --- АДАПТАЦИЯ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ --- */
@media (max-width: 768px) {
    .table-container {
        padding: 15px; /* Уменьшаем внутренние отступы на мобильных */
    }

    .content-table th,
    .content-table td {
        padding: 15px 10px; /* Уменьшаем отступы в ячейках */
        font-size: 0.9rem; /* Слегка уменьшаем шрифт */
    }
}

/* ======================================================== */
/* --- НОВЫЙ БЛОК: ТОЛЬКО КАРТИНКА ВНУТРИ КОНТЕЙНЕРА --- */
/* ======================================================== */

.image-only-section {
    padding: 30px 0; /* Вертикальные отступы, как у других секций, для гармонии */
    background-color: #111; /* Тот же фон, что и у соседних блоков */
}

.image-only-section img {
    display: block; /* Убирает возможный микро-отступ снизу у картинки */
    width: 100%; /* Растягивает картинку на всю ширину контейнера */
    height: auto; /* Сохраняет пропорции изображения */
    border-radius: 10px; /* Скругленные углы в стиле сайта */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* Тень, как у других картинок */
}

/* ======================================================== */
/* --- НОВЫЙ БЛОК: ОТДЕЛЬНАЯ CTA-КНОПКА --- */
/* ======================================================== */

.cta-section {
    padding: 10px 0; /* Вертикальные отступы, чтобы кнопка не слипалась с другим контентом */
    background-color: #111; /* Фон, как у других контентных блоков */
    text-align: center; /* Это свойство центрирует кнопку внутри секции */
}