/* ==========================================================================
   1. ОБНУЛЕНИЕ И БАЗОВЫЙ СТИЛЬ (ФИРМЕННЫЙ ТЕМНО-СИНИЙ ЦВЕТ MOSTBET)
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #0b152c;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #ffffff;
    overflow-x: hidden;
}

/* ==========================================================================
   2. ШАПКА САЙТА (ИМИТАЦИЯ ИНТЕРФЕЙСА С PRO-ХОВЕРАМИ)
   ========================================================================== */
.main-header {
    background-color: #122247;
    border-bottom: 2px solid #0056b3;
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    text-decoration: none;
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -1px;
}
.logo-most { color: #ffffff; }
.logo-bet { color: #ff9800; }

.header-actions {
    display: flex;
    gap: 10px;
}

.header-actions a {
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease;
}

.btn-login { background-color: #2196f3; color: #ffffff; }
.btn-register { background-color: #ff9800; color: #ffffff; }

.btn-login:hover { transform: scale(1.05); box-shadow: 0 0 15px rgba(33, 150, 243, 0.6); }
.btn-register:hover { transform: scale(1.05); box-shadow: 0 0 15px rgba(255, 152, 0, 0.6); }

/* ==========================================================================
   3. ОБНОВЛЕННЫЙ СТАТИЧНЫЙ БАННЕР 
   ========================================================================== */
.hero-banner {
    max-width: 1500px;
    margin: 30px auto;
    padding: 0 5%;
}

.banner-static-box {
    display: block;
    background: linear-gradient(135deg, #0f1c3f 0%, #172c60 100%);
    border: 1px solid #1e3a8a;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    overflow: hidden;
}

.banner-flex-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.banner-content {
    padding: 40px 30px;
    flex: 1;
    text-align: left;
}

.bonus-badge {
    display: inline-block;
    background: #ff9800;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.banner-content h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.banner-content p {
    color: #93c5fd;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.banner-btn {
    display: inline-block;
    text-decoration: none;
    background: #4caf50;
    color: white !important;
    padding: 14px 40px;
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease, filter 0.2s ease;
    cursor: pointer;
}

.banner-btn:hover {
    filter: brightness(1.1);
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.6);
}

/* Контейнер для картинки баннера */
.banner-image-wrapper {
    display: block;
    width: 35%;
    align-self: stretch;
    overflow: hidden;
    cursor: pointer;
    background-color: #122247;
}

/* Адаптивная картинка баннера с сочным ховером */
.banner-img-fluid {
    width: 140%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.3s ease, transform 0.3s ease;
    color: #ff9800; /* Цвет alt-текста, если картинка не прогрузилась */
    font-size: 0.9rem;
    font-weight: 700;
    padding: 5px;
}

.banner-img-fluid:hover {
    filter: brightness(1.08);
    transform: scale(1.02); /* Легкое крутое увеличение картинки при наведении */
}


/* ==========================================================================
   4. ВИТРИНА СЛОТОВ
   ========================================================================== */
.slots-section { max-width: 1200px; margin: 40px auto; padding: 0 5%; }
.section-title { font-size: 1.2rem; font-weight: 800; margin-bottom: 20px; text-transform: uppercase; border-left: 4px solid #ff9800; padding-left: 10px; }
.slots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }

.slot-card {
    display: block;
    text-decoration: none;
    background: #122247;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #1e3a8a;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.slot-card:hover { border-color: #ff9800; transform: translateY(-3px); }
/* Новые адаптивные картинки для слотов вместо CSS-фонов */
.slot-img-fluid {
    width: 100%;
    height: 190px;
    object-fit: cover; /* Картинка заполняет блок без искажения пропорций */
    display: block;
    background-color: #162a56; /* СТИЛЬ-ЛИД: Если картинка не загрузилась, будет красивый темный фон */
    color: #ff9800; /* Цвет alt-текста, если картинка сломалась */
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    padding-top: 50px; /* Чтобы alt-текст встал ровно по центру блока */
}

/* Фикс для мобилок: на мелких экранах уменьшаем высоту, чтоб карточки были компактными */
@media (max-width: 768px) {
    .slot-img-fluid {
        height: 110px;
        padding-top: 35px;
    }
}

.slot-info { padding: 12px; text-align: center; }
.slot-info h3 { font-size: 1rem; color: #fff; margin-bottom: 5px; }
.slot-info span { font-size: 0.75rem; color: #4caf50; font-weight: 700; }
/* ==========================================================================
   5. СЕО КОНТЕНТ И МАСКИРОВКА СТИЛЕЙ
   ========================================================================== */
.content-container { max-width: 1000px; margin: 50px auto; padding: 0 5%; }
.main-title { font-size: 2.2rem; font-weight: 900; color: #ffffff; margin-bottom: 30px; border-bottom: 2px solid #1e3a8a; padding-bottom: 15px; text-transform: uppercase; }
.sub-title { font-size: 1.6rem; font-weight: 800; color: #ff9800; margin-top: 40px; margin-bottom: 20px; text-transform: uppercase; }
.seo-text-block p { font-size: 1.05rem; line-height: 1.8; color: #cbd5e1; margin-bottom: 20px; text-align: justify; }

/* Сброс тега strong под обычный текст во избежание СЕО-переоптимизации */
.seo-text-block strong, .trust-table td strong {
    font-weight: normal !important;
    color: inherit !important;
    text-decoration: none !important;
    border-bottom: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline !important;
}

.section-with-img { display: flex; align-items: center; gap: 30px; margin-bottom: 15px; }
.swi-text { flex: 1; }
.swi-image { width: 30%; height: 220px; background-size: cover; background-position: center; background-repeat: no-repeat; background-color: rgba(255,255,255,0.05); border-radius: 6px; }

/* ==========================================================================
   6. ТАБЛИЦЫ ХАРАКТЕРИСТИК
   ========================================================================== */
.trust-table { width: 100%; border-collapse: collapse; margin-top: 20px; margin-bottom: 20px; font-size: 1rem; background-color: #122247; border-radius: 8px; overflow: hidden; }
.trust-table th { background-color: #1e3a8a; color: #fff; font-weight: 800; text-transform: uppercase; padding: 15px 20px; text-align: left; }
.trust-table td { padding: 15px 20px; text-align: left; color: #cbd5e1; }
.trust-table tr { border-bottom: 1px solid #1e3a8a; }
.trust-table tr:last-child { border-bottom: none; }

/* ==========================================================================
   7. ЦЕНТРАЛЬНЫЕ КНОПКИ ПЕРЕХОДА
   ========================================================================== */
.center-action-block { display: flex; justify-content: center; align-items: center; margin: 30px 0 50px 0; width: 100%; }

.btn-middle {
    display: inline-block;
    text-decoration: none;
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
    color: #ffffff !important;
    padding: 16px 50px;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.25);
    text-align: center;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease;
}

.btn-middle:hover { transform: scale(1.05) translateY(-2px); box-shadow: 0 12px 25px rgba(76, 175, 80, 0.5); }
.btn-orange { background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%); box-shadow: 0 6px 20px rgba(245, 124, 0, 0.25); }
.btn-orange:hover { box-shadow: 0 12px 25px rgba(245, 124, 0, 0.5); }
.btn-blue { background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%); box-shadow: 0 6px 20px rgba(33, 150, 243, 0.25); }
.btn-blue:hover { box-shadow: 0 12px 25px rgba(33, 150, 243, 0.5); }

/* Глобальный клик-отклик */
.header-actions a:active, .slot-card:active, .btn-middle:active, .banner-btn:active { transform: scale(0.95) !important; }

/* ==========================================================================
   8. FAQ АККОРДЕОН
   ========================================================================== */
.faq-item { background-color: #122247; border: 1px solid #1e3a8a; border-radius: 6px; margin-bottom: 12px; overflow: hidden; }
.faq-question { padding: 18px 20px; font-size: 1.1rem; font-weight: 700; cursor: pointer; background-color: #162a56; user-select: none; transition: background-color 0.2s; }
.faq-question:hover { background-color: #1e3a8a; }
.faq-answer { padding: 20px; display: none; background-color: #122247; border-top: 1px solid #1e3a8a; }
.faq-answer p { font-size: 1rem; line-height: 1.6; color: #94a3b8; margin-bottom: 0; }

/* ==========================================================================
   9. ФУТЕР И МОДАЛКИ
   ========================================================================== */
.main-footer { background-color: #080f21; border-top: 3px solid #122247; padding: 40px 5%; margin-top: 80px; }
.footer-container { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 30px; text-align: center; }
.footer-payments { display: flex; gap: 15px; flex-wrap: wrap; justify-content: center; }
.pay-icon { background-color: #122247; border: 1px solid #1e3a8a; padding: 8px 16px; border-radius: 4px; font-size: 0.85rem; font-weight: 700; color: #94a3b8; }
.footer-disclaimer { display: flex; align-items: center; gap: 20px; max-width: 800px; }
.age-badge { background-color: #ef4444; color: #fff; font-size: 1.2rem; font-weight: 900; padding: 10px; border-radius: 50%; min-width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; }
.footer-disclaimer p { font-size: 0.8rem; line-height: 1.5; color: #475569; text-align: justify; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: #64748b; text-decoration: none; font-size: 0.85rem; font-weight: 600; cursor: pointer; }
.footer-links a:hover { color: #ff9800; }
.footer-copyright { font-size: 0.8rem; color: #334155; }

.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.75); display: none; justify-content: center; align-items: center; z-index: 200; padding: 20px; }
.modal-window { background-color: #122247; border: 2px solid #1e3a8a; border-radius: 8px; max-width: 550px; width: 100%; padding: 30px; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.5); animation: fadeInModal 0.3s ease; }
.modal-close { position: absolute; top: 15px; right: 20px; font-size: 1.8rem; color: #64748b; cursor: pointer; user-select: none; }
.modal-close:hover { color: #ef4444; }
.modal-window h3 { color: #ff9800; font-size: 1.4rem; margin-bottom: 15px; text-transform: uppercase; font-weight: 800; }
.modal-window p { color: #cbd5e1; font-size: 0.95rem; line-height: 1.6; text-align: justify; }

@keyframes fadeInModal { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   10. ИДЕАЛЬНЫЙ АДАПТИВ
   ========================================================================== */
@media (max-width: 768px) {
    .main-title { font-size: 1.6rem; }
    .sub-title { font-size: 1.2rem; }
    .banner-content h2 { font-size: 1.6rem; }
    .banner-image-wrapper, .swi-image { 
        display: none;
    }
    .section-with-img { flex-direction: column; }
    .footer-disclaimer { flex-direction: column; }
    .slots-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .btn-middle { width: 100%; padding: 16px 20px; font-size: 1rem; }
}
@media (max-width: 480px) {
    .header-actions a { padding: 8px 14px; font-size: 0.8rem; }
    .logo-link { font-size: 1.3rem; }
}