/* --- ПОДКЛЮЧЕНИЕ ШРИФТОВ --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;800&family=JetBrains+Mono:wght@400;600&display=swap');

/* --- CSS ПЕРЕМЕННЫЕ (ГИБРИДНАЯ ТЕМА ПО УМОЛЧАНИЮ) --- */
:root {
    --color-bg: #F5F7FA;
    --color-bg-soft: #F8FAFC;
    --color-surface: #FFFFFF;
    --color-surface-muted: #F1F5F9;

    --color-dark: #07111F;
    --color-dark-2: #0B1626;
    --color-dark-3: #111827;

    --color-text: #0F172A;
    --color-text-muted: #64748B;
    --color-text-soft: #94A3B8;
    --color-text-inverse: #FFFFFF;

    --color-primary: #00C875;
    --color-primary-hover: #00B96B;
    --color-primary-soft: #E8FFF4;

    --color-accent: #F59E0B;
    --color-accent-soft: #FFF7E6;

    --color-border: #E2E8F0;
    --color-border-dark: rgba(255, 255, 255, 0.12);

    --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.06);
    --shadow-card-hover: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-dark-card: 0 20px 60px rgba(0, 0, 0, 0.35);

    /* Совместимость с остальными страницами */
    --bg-main: #F5F7FA;
    --bg-secondary: #FFFFFF;
    --text-primary: #0F172A;
    --text-secondary: #64748B;
    --text-muted: #94A3B8;
    --accent-primary: #00C875;
    --border-color: #E2E8F0;
}

/* --- ОБНУЛЕНИЕ СТИЛЕЙ И ГЛОБАЛЬНЫЕ НАСТРОЙКИ --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-variant-ligatures: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.55;
    font-size: 16px;
    position: relative;
}

.container {
    max-width: 1280px;
    width: calc(100% - 48px);
    margin-inline: auto;
    padding: 0;
}

/* Фоновых визуалов больше нет */
.background-visuals {
    display: none;
}


/* --- ШАПКА (HEADER) --- */
.header {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.logo img {
    height: 50px;
    object-fit: contain;
}

.navigation {
    display: flex;
    align-items: center;
}

.navigation ul {
    list-style: none;
    display: flex;
    gap: 32px;
}

.navigation a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}
.navigation a:hover {
    color: var(--accent-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.telegram-btn {
    color: #4f46e5 !important; /* Indigo text */
    border: 1px solid rgba(79, 70, 229, 0.3);
    background-color: rgba(79, 70, 229, 0.05);
    border-radius: 100px;
    padding: 8px 18px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.telegram-btn:hover {
    background-color: rgba(79, 70, 229, 0.1);
    border-color: rgba(79, 70, 229, 0.5);
    transform: translateY(-1px);
}

/* --- ОБЩАЯ КНОПКА CTA --- */
.cta-button {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff !important;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}
html[data-theme='light'] .cta-button {
    color: #fff !important; 
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #34d399, #10b981);
}
html[data-theme='light'] .cta-button:hover {
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.site-button.full-width {
    width: 100%;
    display: block;
}


/* --- СТИЛИ ДЛЯ HERO BLOCK (ГЛАВНАЯ СТРАНИЦА) --- */
.hero {
    background-color: var(--bg-main);
    padding: 80px 0 60px;
    border-bottom: 1px solid var(--border-color);
}

.hero-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 900px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.hero-left {
    text-align: left;
}

.hero-badge {
    background-color: var(--card-bg);
    color: var(--text-secondary);
    font-weight: 600;
    padding: 6px 14px;
    font-size: 0.85rem;
    border-radius: 100px;
    border: 1px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.highlight-year {
    color: var(--accent-primary);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 35px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.cta-button.primary-green {
    background-color: var(--accent-primary);
    color: #ffffff !important;
}

.cta-button.primary-green:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

.cta-button.outlined {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary) !important;
}

.cta-button.outlined:hover {
    background-color: var(--card-hover-bg);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.hero-benefits {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.benefit-icon {
    color: var(--accent-primary);
    font-size: 1rem;
}

/* --- КАРТОЧКА ВЫБОР РЕДАКЦИИ (EDITORS CHOICE) --- */
.editors-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 30px rgba(10, 25, 49, 0.15);
}

.editors-badge {
    background-color: rgba(0, 184, 101, 0.15);
    color: #00b865;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 6px 14px;
    border-radius: 100px;
    display: inline-block;
    width: fit-content;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.editors-card-body {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 25px;
    align-items: flex-start;
}

@media (max-width: 500px) {
    .editors-card-body {
        grid-template-columns: 1fr;
    }
}

.editors-left {
    display: flex;
    flex-direction: column;
}

.editors-logo {
    max-height: 40px;
    max-width: 140px;
    object-fit: contain;
    margin-bottom: 20px;
    align-self: flex-start;
}

.editors-bonus-label {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 4px;
}

.editors-bonus-amount {
    font-size: 2.2rem;
    font-weight: 850;
    color: #00b865;
    line-height: 1;
    margin-bottom: 20px;
}

.editors-rating .stars {
    color: #f59e0b;
    font-size: 1rem;
    margin-bottom: 6px;
}

.score-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.score-value span {
    font-size: 0.95rem;
    color: #94a3b8;
    font-weight: 400;
}

.score-label {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.editors-right {
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.editors-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.editors-features li {
    font-size: 0.9rem;
    color: #cbd5e1;
    font-weight: 500;
    line-height: 1.4;
    padding-left: 24px;
    position: relative;
}

.editors-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #00b865;
    font-weight: 900;
    font-size: 1.1rem;
    line-height: 1;
}

.editors-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    width: 100%;
}

.review-btn-light {
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
}

.review-btn-light:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.site-btn-light {
    flex: 1.5;
    background-color: #00b865;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.site-btn-light:hover {
    background-color: #009653;
}

.editors-card-disclosure {
    color: #6b7280;
    font-size: 0.7rem;
    text-align: center;
    margin-top: 12px;
    line-height: 1.3;
}

/* --- ОБЩИЕ СТИЛИ СЕКЦИЙ --- */
.rating-section, .news-section, .how-we-rate, .school-section, .faq-section, .review-content-section, .news-page-section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: -40px auto 50px;
}

/* --- Redesigned How We Rate (Asymmetric Grid) --- */
.how-we-rate-split {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: start;
}

.how-we-rate-left {
    position: sticky;
    top: 120px;
}

.how-we-rate-title {
    font-size: 2.5rem;
    font-weight: 850;
    line-height: 1.15;
    color: var(--text-primary);
    margin-top: 15px;
    margin-bottom: 20px;
}

.how-we-rate-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.factors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.factor-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-color);
    transition: all 0.2s ease;
}

.factor-card:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: 0 10px 25px rgba(10, 25, 49, 0.04);
}

.factor-icon-wrapper {
    font-size: 1.8rem;
    margin-bottom: 16px;
    display: inline-block;
}

.factor-title {
    font-size: 1.1rem;
    font-weight: 750;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.factor-desc {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

@media (max-width: 900px) {
    .how-we-rate-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .how-we-rate-left {
        position: static;
        text-align: center;
    }
    .factors-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* --- СТИЛИ ДЛЯ ФИЛЬТРОВ РЕЙТИНГА --- */
.rating-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}
.filter-btn {
    font-family: 'Manrope', sans-serif;
    border: 1px solid var(--border-color);
    background-color: transparent;
    color: var(--text-secondary);
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn:hover {
    color: var(--text-primary);
    border-color: var(--accent-secondary);
}
.filter-btn.active {
    background-color: var(--accent-secondary);
    color: #ffffff;
    border-color: var(--accent-secondary);
}

/* --- BENTO GRID RATING --- */
/* --- ГОРИЗОНТАЛЬНЫЙ СПИСОК РЕЙТИНГА --- */
.horizontal-rating-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rating-row {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px 24px;
    display: grid;
    grid-template-columns: 50px 140px 120px 140px 140px 1fr 160px;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-color);
    transition: all 0.2s ease;
}

.rating-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(10, 25, 49, 0.05);
    border-color: #cbd5e1;
}

.row-rank-score {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rank-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
    font-size: 0.9rem;
    color: #4b5563;
    background-color: #f3f4f6;
}

.rank-badge.rank-1 {
    background-color: var(--accent-primary);
    color: #ffffff;
}

.score-box {
    display: flex;
    flex-direction: column;
}

.score-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0a1931;
    line-height: 1;
}

.score-lbl {
    font-size: 0.7rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.row-logo-name {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.logo-box {
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.row-logo-img {
    max-height: 100%;
    max-width: 140px;
    object-fit: contain;
}

.row-review-link {
    font-size: 0.85rem;
    color: #4f46e5;
    font-weight: 600;
    text-decoration: none;
}

.row-review-link:hover {
    text-decoration: underline;
}

.row-metric {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.metric-value {
    font-size: 1rem;
    font-weight: 700;
    color: #0a1931;
}

.metric-label {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

.row-bonus {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bonus-tag-light {
    font-size: 1.15rem;
    font-weight: 850;
    color: #00b865;
    line-height: 1.1;
}

.bonus-sub {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

.row-actions-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.stack-btn-green {
    background-color: var(--accent-primary);
    color: #ffffff !important;
    text-align: center;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s ease;
}

.stack-btn-green:hover {
    background-color: var(--accent-hover);
}

.stack-btn-outline {
    background-color: #ffffff;
    color: #0a1931 !important;
    border: 1px solid #d1d5db;
    text-align: center;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.stack-btn-outline:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
}

@media (max-width: 900px) {
    .rating-row {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
        justify-items: center;
        padding: 20px;
    }
    .row-rank-score {
        justify-content: center;
    }
    .row-logo-name {
        align-items: center;
    }
    .logo-box {
        justify-content: center;
    }
    .row-metric, .row-bonus {
        align-items: center;
    }
    .row-actions-stack {
        max-width: 240px;
    }
}

/* --- СТИЛИ КАРТОЧКИ БУКМЕКЕРА (LEGACY) --- */
.rating-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.rating-card {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.5fr 1fr;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.rating-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rating-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(16, 185, 129, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.03);
}

.rating-card:hover::before {
    opacity: 1;
}

html:not([data-theme='light']) .rating-card:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.col-logo {
    height: 40px;
}

.bookmaker-logo {
    max-height: 100%;
    max-width: 100px;
    object-fit: contain;
}

.rating-col {
    display: flex;
    flex-direction: column;
}

.rating-value, .bonus-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

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

.bonus-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    color: var(--accent-primary);
}

.col-description {
    padding-right: 20px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.features-list li {
    margin-bottom: 4px;
    padding-left: 15px;
    position: relative;
    white-space: nowrap;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
}

.col-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.review-button, .site-button {
    text-decoration: none;
    padding: 10px 0;
    width: 130px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-align: center;
    display: inline-block;
}

.review-button {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.review-button:hover {
    background-color: var(--card-hover-bg);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.site-button {
    background: linear-gradient(135deg, #10b981, #059669);
    border: 1px solid rgba(255,255,255,0.1);
    color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}
html[data-theme='light'] .site-button {
    color: #fff;
}

.site-button:hover {
    background: linear-gradient(135deg, #34d399, #10b981);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

/* --- СТИЛИ ДЛЯ КАРУСЕЛИ НОВОСТЕЙ --- */
.news-carousel {
    width: 100%;
    margin-top: 50px;
    padding: 20px 0;
    overflow: hidden;
}
.swiper-slide { height: auto; width: 350px; transition: transform 0.4s ease, opacity 0.4s ease; cursor: grab; }
.swiper-slide:not(.swiper-slide-active) { opacity: 0.4; transform: scale(0.95); }
.news-card {
    width: 100%;
    height: 100%;
    background-color: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.swiper-slide-active .news-card { border-color: var(--accent-secondary); }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px var(--shadow-color); }
.news-card-image { height: 180px; background-size: cover; background-position: center; }
.news-card-content { padding: 20px; text-align: left; display: flex; flex-direction: column; flex-grow: 1; }
.news-card-content h3 {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}
.swiper-button-next, .swiper-button-prev {
    color: var(--accent-primary);
    text-shadow: 0 0 10px var(--bg-main);
    transition: transform 0.2s ease;
}
.swiper-button-next:hover, .swiper-button-prev:hover { transform: scale(1.1); }

/* --- СЕКЦИЯ "КАК МЫ РЕЙТИНГУЕМ" --- */
.how-we-rate { background-color: var(--bg-main); }

.steps-container { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px; 
}
.step-card { 
    background-color: rgba(255, 255, 255, 0.02); 
    padding: 30px 20px; 
    border-radius: 16px; 
    border: 1px solid rgba(255, 255, 255, 0.05); 
    text-align: left; 
    transition: transform 0.3s ease, border-color 0.3s ease; 
}
.step-card:hover { 
    transform: translateY(-5px); 
    border-color: rgba(255, 255, 255, 0.15); 
}
html[data-theme='light'] .step-card { 
    background-color: #f5f5f7; 
    border-color: #e5e5ea;
}
.step-icon { 
    font-size: 2rem; 
    margin-bottom: 20px; 
    line-height: 1; 
    display: inline-block;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

/* --- DASHBOARD WIDGETS (PREDICTIONS) --- */
.dashboard-widget {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.dashboard-widget:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.widget-league {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'JetBrains Mono', monospace;
}

.widget-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.02);
}

.widget-teams .team {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    flex: 1;
}

.widget-teams .vs {
    font-size: 0.8rem;
    color: var(--accent-secondary);
    font-weight: 800;
    padding: 0 10px;
}

.widget-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: #10b981;
    margin-bottom: 15px;
    text-align: center;
}

.widget-title {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.5;
    text-align: center;
}

/* --- СЕКЦИЯ "ШКОЛА СТАВОК" (КАРТОЧКИ НА ГЛАВНОЙ) --- */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.school-section .article-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.school-section .article-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px var(--shadow-color); border-color: var(--accent-secondary); }
.school-section .article-card h3 { font-size: 1.3rem; color: var(--text-primary); margin-bottom: 15px; }
.school-section .article-card p { color: var(--text-secondary); font-size: 1rem; margin-bottom: 25px; }
.school-section .article-card span { font-weight: 600; color: var(--accent-primary); }

/* --- СТИЛИ ДЛЯ FAQ --- */
.faq-section { background-color: var(--bg-main); }
html[data-theme='light'] .faq-section { background-color: #fff; }
.faq-container-main, .faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 10px; border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; background-color: var(--bg-secondary); }
.faq-question {
    font-family: 'Manrope', sans-serif;
    width: 100%;
    background-color: transparent;
    border: none;
    padding: 20px;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: background-color 0.2s;
    position: relative;
    padding-right: 50px;
}
.faq-question:hover { color: var(--accent-secondary); }
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-secondary);
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}
.faq-question.active::after { transform: translateY(-50%) rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; color: var(--text-secondary); }
.faq-answer p { padding: 0 20px 20px 20px; margin: 0; }

/* --- ПОДВАЛ (FOOTER) --- */
.footer { padding: 60px 0; background-color: var(--bg-secondary); border-top: 1px solid var(--border-color); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-col-main .logo { margin-bottom: 15px; display: inline-block; }
.footer-copy { color: var(--text-secondary); font-size: 0.9rem; max-width: 300px; }
.footer-title { font-size: 1.1rem; font-weight: 800; color: var(--text-primary); margin-bottom: 20px; }
.footer-list { list-style: none; padding: 0; }
.footer-list li { margin-bottom: 10px; }
.footer-list a { color: var(--text-secondary); text-decoration: none; transition: color 0.3s ease; }
.footer-list a:hover { color: var(--text-primary); }

/* --- ОБЩИЕ СТИЛИ ДЛЯ СТРАНИЦ КОНТЕНТА (ОБЗОРЫ, СТАТЬИ) --- */
main.main, main.main-content { padding-top: 0; overflow: clip; }
.review-page-container { padding: 40px 0; }
.review-intro { margin-bottom: 30px; }
.review-promo-image, .review-image { width: 100%; border-radius: 12px; margin-bottom: 20px; border: 1px solid var(--border-color); }

.fact-table { width: 100%; border-collapse: collapse; margin: 30px 0; font-size: 1rem; }
.fact-table td { padding: 12px 5px; border-bottom: 1px solid var(--border-color); }
.fact-table td:first-child { color: var(--text-secondary); width: 40%; }
.fact-table tr:last-child td { border-bottom: none; }


.pros-cons-container { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 20px;}
.pros, .cons { padding: 25px; border-radius: 12px; background-color: var(--bg-main); border: 1px solid var(--border-color); }
.pros h3, .cons h3 { margin-bottom: 15px; font-size: 1.2rem; }
.pros ul, .cons ul { list-style: none; padding-left: 5px; }
.pros li, .cons li { margin-bottom: 10px; padding-left: 20px; position: relative; }
.pros li::before { content: '✅'; position: absolute; left: 0; }
.cons li::before { content: '❌'; position: absolute; left: 0; }


/* --- АНИМАЦИИ --- */
.fade-in-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-in-up.is-visible { opacity: 1; transform: translateY(0); }

/* --- ПЕРЕКЛЮЧАТЕЛЬ ТЕМЫ --- */
.theme-switcher { width: 50px; height: 26px; background-color: var(--bg-secondary); border-radius: 13px; padding: 3px; cursor: pointer; border: 1px solid var(--border-color); }
.switcher-handle { width: 20px; height: 20px; background-color: var(--text-secondary); border-radius: 50%; transition: transform 0.3s ease; }
html[data-theme='light'] .switcher-handle { transform: translateX(24px); }

/* --- СТИЛИ ДЛЯ СВЕТЛОЙ ТЕМЫ --- */
html[data-theme='light'] .hero::before { background: radial-gradient(circle at 15% 25%, rgba(88, 86, 214, 0.1), transparent 50%), radial-gradient(circle at 85% 75%, rgba(0, 122, 255, 0.1), transparent 50%); }
html[data-theme='light'] .hero-title-secondary { background: linear-gradient(90deg, var(--accent-secondary), var(--accent-primary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
html[data-theme='light'] .cta-button.secondary { border-color: #d1d1d6; color: var(--text-secondary) !important; }
html[data-theme='light'] .cta-button.secondary:hover { background-color: #e5e5ea; color: var(--text-primary) !important; border-color: #d1d1d6; }
html[data-theme='light'] .hero-feature-card { background-color: rgba(255, 255, 255, 0.7); backdrop-filter: blur(5px); border-color: #e5e5ea; color: var(--text-secondary); }
html[data-theme='light'] .pros, html[data-theme='light'] .cons { background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(0, 0, 0, 0.1); box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1); }


/* --- СТИЛИ ДЛЯ БОКОВОЙ КОЛОНКИ (САЙДБАРА) --- */
.review-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 40px;
    align-items: flex-start;
}
.review-article { min-width: 0; }
.review-sidebar { position: -webkit-sticky; position: sticky; top: 100px; }
.sidebar-widget { background-color: var(--bg-secondary); padding: 25px; border-radius: 12px; border: 1px solid var(--border-color); }
.sidebar-widget h3 { font-size: 1.5rem; margin-bottom: 20px; color: var(--text-primary); }
.sidebar-widget .site-button {
    background: var(--accent-secondary);
    border: 1px solid var(--accent-secondary);
    font-weight: 800;
    padding: 15px 10px;
    border-radius: 12px;
}
.sidebar-widget .site-button:hover {
    background: #8A48D9;
    border-color: #8A48D9;
}


/* --- СТИЛИ ДЛЯ СТРАНИЦЫ "ШКОЛА СТАВОК" --- */
.review-content-section .article-card { display: flex; flex-direction: column; height: 100%; padding: 20px; background-color: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 12px; text-decoration: none; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.review-content-section .article-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px var(--shadow-color); border-color: var(--accent-secondary); }
.review-content-section .article-card-image-container { height: 180px; background-color: var(--bg-main); border-radius: 8px; margin-bottom: 20px; overflow: hidden; }
.review-content-section .article-card-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.review-content-section .article-card:hover .article-card-image { transform: scale(1.05); }
.review-content-section .article-card-content { display: flex; flex-direction: column; flex-grow: 1; }
.review-content-section .article-card-content p { flex-grow: 1; margin-bottom: 20px; }
.review-content-section .article-card h3 { font-size: 1.2rem; line-height: 1.4; margin-bottom: 10px; }
.review-content-section .article-card h3 a { color: var(--text-primary); text-decoration: none; transition: color 0.3s ease; }
.review-content-section .article-card:hover h3 a { color: var(--accent-primary); text-decoration: underline; }
.review-content-section .article-card p { color: var(--text-secondary); font-size: 1rem; }


/* --- ИТОГОВАЯ ОЦЕНКА В ОБЗОРАХ --- */
.final-verdict { margin: 30px 0; display: flex; flex-direction: column; gap: 20px; }
.verdict-item { width: 100%; }
.verdict-label { display: flex; justify-content: space-between; margin-bottom: 8px; font-weight: 600; color: var(--text-secondary); }
.verdict-label span:last-child { color: var(--text-primary); font-weight: 800; }
.verdict-bar-bg { width: 100%; height: 8px; background-color: var(--bg-main); border-radius: 4px; overflow: hidden; border: 1px solid var(--border-color); }
.verdict-bar { height: 100%; background: linear-gradient(90deg, var(--accent-secondary), var(--accent-primary)); border-radius: 4px; }


/* --- УДАЛЕНЫ СТАРЫЕ СТИЛИ СТАТЕЙ --- */

.sidebar-widget .read-next-link { text-decoration: none; }
.sidebar-widget .read-next-link h4 { transition: color 0.3s ease; }
.sidebar-widget .read-next-link:hover h4,
.sidebar-widget .read-next-link:hover p { text-decoration: underline; }
.sidebar-widget .read-next-link:hover h4 { color: var(--accent-primary); }
.getting-started-steps { display: flex; flex-direction: column; gap: 40px; }
.step-section { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 30px; background-color: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 12px; }
.step-section:nth-child(even) .step-image { order: 2; }
.step-image img { width: 100%; border-radius: 8px; border: 1px solid var(--border-color); }
.step-details h2 { font-size: 2rem; color: var(--accent-secondary); margin-bottom: 15px; }
.step-details .step-number { font-size: 1rem; font-weight: 800; color: var(--accent-primary); margin-bottom: 5px; display: block; }
.step-details p { color: var(--text-secondary); margin-bottom: 25px; }
.step-actions { display: flex; gap: 15px; flex-wrap: wrap; }
.school-hero { padding: 100px 0; text-align: center; }
.school-hero-content { max-width: 800px; margin: 0 auto; }
.school-hero-label { display: inline-flex; align-items: center; gap: 10px; padding: 10px 24px; border-radius: 50px; font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 30px; background: linear-gradient(90deg, rgba(155, 93, 229, 1), rgba(0, 245, 212, 1)); border: none; box-shadow: 0 4px 15px rgba(0, 245, 212, 0.2); }
.school-hero-label svg { color: var(--accent-primary); }
.school-hero h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 25px; }
.school-hero-subtitle { font-size: 1.2rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto 50px; }
.school-hero-actions { display: flex; justify-content: center; gap: 20px; }
.start-guide { background-color: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 12px; padding: 30px; margin-bottom: 40px; }
.start-guide h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.start-guide h3::before { content: '🚀'; }
.start-guide ol { list-style: none; padding-left: 0; counter-reset: guide-counter; }
.start-guide ol li { counter-increment: guide-counter; margin-bottom: 15px; }
.start-guide ol li a { text-decoration: none; color: var(--text-secondary); font-size: 1.1rem; font-weight: 600; display: flex; align-items: center; transition: color 0.3s ease; }
.start-guide ol li a:hover { color: var(--text-primary); }
.start-guide ol li a::before { content: counter(guide-counter); display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background-color: var(--bg-main); border: 1px solid var(--border-color); color: var(--text-primary); font-weight: 700; font-size: 0.9rem; margin-right: 15px; flex-shrink: 0; }
.school-controls { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-bottom: 40px; border-bottom: 1px solid var(--border-color); }
.filter-tabs { display: flex; gap: 20px; }
.filter-tabs .filter-btn { border: none; border-radius: 0; padding: 15px 5px; background: transparent; position: relative; color: var(--text-secondary); }
.filter-tabs .filter-btn::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px; background-color: var(--accent-primary); transform: scaleX(0); transition: transform 0.3s ease; }
.filter-tabs .filter-btn.active { color: var(--text-primary); background: transparent; }
.filter-tabs .filter-btn.active::after { transform: scaleX(1); }
.search-wrapper { flex-grow: 1; max-width: 400px; }
#school-search { width: 100%; padding: 12px 20px; background-color: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 50px; color: var(--text-primary); font-size: 1rem; font-family: 'Manrope', sans-serif; }
#school-search::placeholder { color: var(--text-secondary); }
.page-title-block { text-align: center; max-width: 600px; margin: 0 auto 50px; padding: 30px; background-color: var(--bg-secondary); border-radius: 12px; border: 1px solid var(--border-color); }
.page-title-block h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 10px; }
.page-title-block p { color: var(--text-secondary); font-size: 1rem; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.news-grid-card {
    display: block;
    text-decoration: none;
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    /* Добавляем transition для box-shadow и border-color */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.news-grid-card:hover {
    transform: scale(1.05); /* Чуть увеличили масштаб */
    box-shadow: 0 10px 30px var(--shadow-color); /* Добавили тень */
    border-color: var(--accent-secondary); /* Сделали рамку акцентного цвета */
}
.news-grid-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 70%; background: linear-gradient(to top, rgba(0,0,0,0.9) 20%, transparent); }
.news-grid-card-content { position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px; z-index: 2; }
.news-grid-card h3 { font-size: 1.2rem; line-height: 1.4; font-weight: 700; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-grid-card-meta { font-size: 0.8rem; color: var(--text-secondary); display: flex; justify-content: space-between; align-items: center; }
.news-grid-card-meta .new-badge { background-color: var(--accent-secondary); color: var(--text-primary); padding: 3px 8px; border-radius: 5px; font-weight: 700; }
.load-more-container { text-align: center; margin-top: 40px; }
.articles-grid, .news-grid { --stagger-delay: 100ms; }
.articles-grid .article-card, .news-grid .news-grid-card { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.articles-grid.is-visible .article-card, .news-grid.is-visible .news-grid-card { opacity: 1; transform: translateY(0); }
.articles-grid.is-visible .article-card:nth-child(1), .news-grid.is-visible .news-grid-card:nth-child(1) { transition-delay: calc(1 * var(--stagger-delay)); }
.articles-grid.is-visible .article-card:nth-child(2), .news-grid.is-visible .news-grid-card:nth-child(2) { transition-delay: calc(2 * var(--stagger-delay)); }
.articles-grid.is-visible .article-card:nth-child(3), .news-grid.is-visible .news-grid-card:nth-child(3) { transition-delay: calc(3 * var(--stagger-delay)); }
.articles-grid.is-visible .article-card:nth-child(4), .news-grid.is-visible .news-grid-card:nth-child(4) { transition-delay: calc(4 * var(--stagger-delay)); }
.articles-grid.is-visible .article-card:nth-child(5), .news-grid.is-visible .news-grid-card:nth-child(5) { transition-delay: calc(5 * var(--stagger-delay)); }
.articles-grid.is-visible .article-card:nth-child(6), .news-grid.is-visible .news-grid-card:nth-child(6) { transition-delay: calc(6 * var(--stagger-delay)); }
a, button { transition: all 0.25s ease; }
.reviews-hero { padding: 80px 0 0; }
.reviews-section { padding-top: 50px; }
.reviews-filters { display: flex; justify-content: center; gap: 15px; margin-bottom: 50px; flex-wrap: wrap; }
.top-3-section { margin-bottom: 60px; }
.top-3-section h3 { text-align: center; font-size: 1.8rem; margin-bottom: 30px; color: var(--text-secondary); }
.top-3-grid, .reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.bk-card { background-color: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 12px; padding: 25px; display: flex; flex-direction: column; position: relative; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.bk-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(155, 93, 229, 0.15), transparent 40%); opacity: 0; transition: opacity 0.4s ease; z-index: 1; }
.bk-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px var(--shadow-color); border-color: var(--accent-secondary); }
.bk-card:hover::before { opacity: 1; }
.bk-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; z-index: 2; }
.bk-card-logo { height: 35px; max-width: 120px; object-fit: contain; align-self: center; }
.bk-card-rating { display: flex; align-items: center; gap: 8px; font-size: 1.2rem; font-weight: 800; color: var(--accent-primary); }
.bk-card-name { font-size: 1.5rem; font-weight: 800; color: var(--text-primary); margin-bottom: 20px; z-index: 2; }
.bk-card-features { list-style: none; padding: 0; margin: 0 0 30px; flex-grow: 1; z-index: 2; }
.bk-card-features li { padding-left: 20px; position: relative; color: var(--text-secondary); margin-bottom: 8px; }
.bk-card-features li::before { content: '✅'; position: absolute; left: 0; top: 2px; }
.bk-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; z-index: 2; }
.top-3-grid .bk-card { border-color: var(--accent-secondary); }

/* --- Мобильное меню (бургер) --- */
.burger-menu { display: none; width: 30px; height: 24px; background: transparent; border: none; cursor: pointer; position: relative; z-index: 102; }
.burger-menu span { display: block; width: 100%; height: 3px; background-color: var(--text-primary); border-radius: 3px; position: absolute; left: 0; transition: transform 0.3s ease, opacity 0.3s ease; }
.burger-menu span:nth-child(1) { top: 0; }
.burger-menu span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.burger-menu span:nth-child(3) { bottom: 0; }
.burger-menu.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.burger-menu.active span:nth-child(2) { opacity: 0; }
.burger-menu.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }
.burger-menu.active {
    display: block !important; /* Принудительно показывать блок */
    opacity: 1 !important; /* Принудительно сделать непрозрачным */
    visibility: visible !important; /* Принудительно сделать видимым */
    z-index: 102 !important; /* Убедиться, что z-index высокий */
}
.mobile-nav { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-main); z-index: 101; flex-direction: column; align-items: center; justify-content: center; gap: 30px; transform: translateX(100%); transition: transform 0.4s ease; }
.mobile-nav.active { transform: translateX(0); }
.mobile-nav a { color: var(--text-primary); text-decoration: none; font-size: 2rem; font-weight: 700; }

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 1024px) {
    .navigation { display: none; }
    .burger-menu { display: block; }
    .mobile-nav { display: flex; }
    .articles-grid, .steps-container { grid-template-columns: repeat(2, 1fr); }
    .swiper-slide { width: 300px; }
    .hero-title { font-size: 4rem; }
    .rating-card { grid-template-columns: 1fr 1fr; grid-template-areas: "logo bonus" "rating features" "actions actions"; gap: 15px; }
    .col-logo { grid-area: logo; }
    .rating-card .bonus-tag { grid-area: bonus; justify-self: end; }
    .rating-card .rating-value { grid-area: rating; }
    .rating-card .col-description { grid-area: features; padding-right: 0; }
    .col-actions { grid-area: actions; justify-content: center; }
    .review-layout { grid-template-columns: 1fr; }
    .review-sidebar { position: static; margin-top: 40px; }
}

@media (max-width: 768px) {
    body { font-size: 15px; }
    .rating-section, .news-section, .how-we-rate, .school-section, .faq-section { padding: 60px 0; }
    .section-title, .review-page-container h1, .review-title { font-size: 2rem; }
    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-actions, .hero-features { flex-direction: column; align-items: center; }
    .hero-features { align-items: stretch; width: 100%; max-width: 320px; margin: 0 auto; gap: 10px; }
    .hero-feature-card { justify-content: center; }
    .rating-filters { flex-wrap: wrap; }
    .rating-card { grid-template-columns: 1fr 1fr; grid-template-areas: "name name" "logo logo" "rating bonus" "features features" "actions actions"; gap: 15px; text-align: center; }
    .rating-card::before { content: attr(data-name); grid-area: name; font-size: 1.5rem; font-weight: 800; text-align: center; width: 100%; }
    .col-logo { grid-area: logo; justify-self: center; margin-bottom: 10px; }
    .rating-card .rating-col { align-items: center; }
    .rating-card .col-description { grid-area: features; text-align: left; }
    .features-list { display: inline-block; }
    .col-actions { grid-area: actions; flex-direction: column; width: 100%; gap: 15px; }
    .review-button, .site-button { width: 100%; }
    .articles-grid, .pros-cons-container, .news-page-item, .footer-grid, .steps-container { grid-template-columns: 1fr; }
    .swiper-slide { width: 280px; }
    .header .container { flex-direction: row; }
    .school-hero h1 { font-size: 2.5rem; }
    .school-hero-actions { flex-direction: column; align-items: center; }
    .school-controls { flex-direction: column; align-items: stretch; border-bottom: none; }
    .filter-tabs { justify-content: center; border-bottom: 1px solid var(--border-color); margin-bottom: 20px; }
    .search-wrapper { max-width: 100%; }
    .news-grid { grid-template-columns: 1fr; }
    .page-title-block h2 { font-size: 1.8rem; }
}


/* ==========================================================================
   СТИЛИ ДЛЯ НОВОГО ДИЗАЙНА СТАТЕЙ (по вашему скриншоту)
   ========================================================================== */

.review-article h1 {
    display: none; /* Скрываем старый заголовок, т.к. он будет внутри карточки */
}

.article-section-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    padding-top: 50px; /* Оставляем место для бейджа */
    margin-bottom: 30px;
    position: relative;
}

.card-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
}

.badge-status { background-color: #2a9d8f; } /* Зеленый */
.badge-deep-dive { background-color: #264653; } /* Темно-синий */
.badge-important { background-color: #e76f51; } /* Оранжевый */


.article-section-card h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.article-section-card p,
.article-section-card ul,
.article-section-card ol {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

.article-section-card ul,
.article-section-card ol {
    list-style: none;
    padding: 0;
    padding-left: 5px; /* Небольшой отступ для единообразия */
}

.article-section-card ul li,
.article-section-card ol li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

.article-section-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

/* Добавляем нумерацию для ol */
.article-section-card ol {
    counter-reset: item;
}
.article-section-card ol li::before {
    content: counter(item) ".";
    counter-increment: item;
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1.6;
}


.article-section-card .info-box {
    margin-top: 20px;
    padding: 20px;
    background-color: var(--bg-main);
    border-left: 3px solid var(--accent-secondary);
    border-radius: 0 8px 8px 0;
}
/* Исправляем отступы внутри info-box */
.article-section-card .info-box p,
.article-section-card .info-box ul li {
    font-size: 1rem;
}
.article-section-card .info-box ul {
    margin-top: 10px;
}


.article-section-card .cta-button {
    margin-top: 25px;
}

.article-section-card .review-image {
    margin-top: 15px;
    margin-bottom: 15px;
}
/* ==========================================================================
   НОВЫЕ СТИЛИ ДЛЯ БЛОКА "КЛЮЧЕВАЯ ИНФОРМАЦИЯ" В САЙДБАРЕ
   ========================================================================== */

/* Скрываем старую таблицу, чтобы она не мешала */
.fact-table {
    display: none;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.info-list li {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1rem;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-icon {
    margin-right: 15px;
    font-size: 1.1rem;
    line-height: 1;
    width: 24px; /* Для выравнивания текста */
    text-align: center;
}

.info-label {
    color: var(--text-secondary);
}

.info-value {
    margin-left: auto; /* Главный трюк: прижимает значение к правому краю */
    color: var(--text-primary);
    font-weight: 600;
}
/* ==========================================================================
   СТИЛИ ДЛЯ ТАБЛИЦЫ С МАРЖОЙ В ОБЗОРАХ
   ========================================================================== */
.margin-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 1rem;
}

.margin-table th,
.margin-table td {
    padding: 15px 10px;
    text-align: left;
    border: none; /* Убираем все рамки */
    vertical-align: middle;
    border-bottom: 1px solid var(--border-color); /* Добавляем нижнюю границу */
}

.margin-table th:first-child,
.margin-table td:first-child {
    padding-left: 0;
}
.margin-table th:last-child,
.margin-table td:last-child {
    padding-right: 0;
    text-align: right; /* Выравниваем последние колонки по правому краю */
}


.margin-table thead th {
    color: var(--text-secondary);
    font-weight: 600;
    border-bottom: 2px solid var(--border-color); /* Делаем заголовок жирнее */
    font-size: 0.9rem;
}

.margin-table tbody td {
    color: var(--text-primary);
    font-weight: 600;
}

.margin-table tbody tr:last-child td {
    border-bottom: none; /* Убираем границу у последней строки */
}


/* Стили для первой колонки с иконкой и текстом */
.margin-table td:first-child {
   line-height: 1;
   font-weight: 400; /* Делаем название спорта обычным */
   color: var(--text-secondary);
}

/* Скрываем старую таблицу, если она еще где-то используется */
.payment-table {
    display: none;
}

/* ==========================================================================
   ИСПРАВЛЕНИЕ ДЛЯ ЛОГО BETBOOM НА СВЕТЛОЙ ТЕМЕ
   ========================================================================== */
html[data-theme='light'] img[src*="logo-betboom.webp"] {
    filter: invert(1);
}
/* ==========================================================================
   ИСПРАВЛЕНИЕ ДЛЯ ЛОГО BETBOOM В HERO НА ТЕМНОЙ ТЕМЕ
   ========================================================================== */
html:not([data-theme='light']) .review-hero img[src*="logo-betboom.webp"] {
    filter: none; /* Убираем инверсию для темной темы в hero */
}

/* Оставляем инверсию для светлой темы везде */
html[data-theme='light'] img[src*="logo-betboom.webp"] {
    filter: invert(1);
}
/* --- Исправление читаемости новостей в светлой теме --- */
html[data-theme='light'] .news-grid-card::after {
    /* Меняем черный градиент на белый полупрозрачный */
    background: linear-gradient(to top, rgba(255, 255, 255, 0.9) 10%, rgba(255, 255, 255, 0.6) 50%, transparent);
}

html[data-theme='light'] .news-grid-card h3 {
    color: var(--text-primary); /* Убедимся, что заголовок темный */
}

html[data-theme='light'] .news-grid-card-meta {
    color: var(--text-secondary); /* Убедимся, что мета-информация серая */
}

/* Сделаем бейдж "NEW" более контрастным в светлой теме */
html[data-theme='light'] .news-grid-card-meta .new-badge {
    background-color: var(--accent-primary); /* Используем основной акцентный цвет */
    color: #fff; /* Оставим текст белым */
}
/* --- Эффекты при наведении на новости --- */

/* Усиление градиента в темной теме */
.news-grid-card:hover::after {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 30%, transparent); /* Делаем градиент чуть темнее */
}

/* Изменение градиента в светлой теме */
html[data-theme='light'] .news-grid-card:hover::after {
     /* Делаем градиент чуть белее */
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 15%, rgba(255, 255, 255, 0.7) 55%, transparent);
}

/* Подсветка заголовка при наведении */
.news-grid-card:hover h3 {
    color: var(--accent-primary); /* Меняем цвет заголовка на акцентный */
    text-decoration: underline; /* Добавляем подчеркивание */
}
/* --- Конец эффектов --- */
/* --- Исправление видимости логотипа в светлой теме --- */
html[data-theme='light'] .header .logo img {
    filter: invert(1); /* Инвертируем цвета логотипа */
}
/* --- Конец исправления --- */
/* --- Стили для Cookie Consent Banner --- */
/* (Можно добавить дополнительные стили, если нужно) */
#cookie-consent-banner {
    /* Уже заданы в HTML через style, но можно переопределить тут */
}

#cookie-consent-button:hover {
    opacity: 0.9; /* Небольшой эффект при наведении */
}

/* Адаптивность для маленьких экранов */
@media (max-width: 600px) {
    #cookie-consent-banner {
        flex-direction: column; /* Элементы друг под другом */
        text-align: center;
    }
    #cookie-consent-banner p {
        margin-bottom: 10px; /* Отступ под текстом */
    }
}
/* --- Конец стилей Cookie --- */
/* --- Стили для формы подписки в подвале --- */
.subscribe-form {
    display: flex;
    gap: 10px; /* Расстояние между полем и кнопкой */
    align-items: center; /* Выравнивание по центру по вертикали */
}

.subscribe-form input[type="email"] {
    flex-grow: 1; /* Поле занимает все доступное место */
    padding: 12px 15px;
    background-color: var(--bg-main); /* Фон как у основного фона */
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: 'Manrope', sans-serif;
    min-width: 150px; /* Минимальная ширина поля */
}

.subscribe-form input[type="email"]::placeholder {
    color: var(--text-secondary);
}

.subscribe-form button[type="submit"] {
    background-color: var(--accent-secondary);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
    white-space: nowrap; /* Чтобы текст не переносился */
}

.subscribe-form button[type="submit"]:hover {
    background-color: #8A48D9; /* Чуть темнее при наведении */
}

/* Адаптация сетки подвала для 4 колонок */
@media (min-width: 769px) { /* Применяем только на десктопах */
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr; /* Новая сетка с 4 колонками */
    }
}
@media (max-width: 768px) {
    .subscribe-form {
        flex-direction: column; /* На мобильных поле и кнопка друг под другом */
        align-items: stretch; /* Растягиваем по ширине */
    }
     .subscribe-form button[type="submit"] {
        width: 100%; /* Кнопка на всю ширину */
    }
}
/* --- СТИЛИ ДЛЯ БОКОВОЙ КОЛОНКИ (САЙДБАРА) --- */
.sidebar-bk-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-bk-item {
    display: block; /* Элементы друг под другом */
    padding: 15px 12px; /* Аккуратные отступы */
    background-color: var(--bg-secondary); /* Цвет фона из темы */
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.sidebar-bk-item:hover {
    border-color: var(--accent-secondary); /* Подсветка рамки при наведении */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

/* Верхняя часть: Лого + Имя + Рейтинг */
.sidebar-bk-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.sidebar-bk-logo {
    width: 80px; /* Фиксированный размер, чтобы не раздувало */
    height: 45px;
    object-fit: contain;
    border-radius: 6px;
}

.sidebar-bk-info {
    display: flex;
    flex-direction: column;
}

.sidebar-bk-name {
    font-weight: 800;
    font-size: 1.05rem; /* ~16px */
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.sidebar-bk-rating {
    font-size: 0.85rem; /* ~13px */
    line-height: 1.3;
    color: #ffc107; /* Желтый цвет звезд */
}

/* Блок бонуса */
.sidebar-bk-bonus {
    font-size: 1rem; /* ~14px */
    line-height: 1.5;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.sidebar-bk-bonus span {
    color: var(--accent-primary); /* Акцентный цвет для суммы */
    font-weight: 700;
}

/* Специальный класс для кнопки в сайдбаре (компактная) */
.sidebar-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 8px 0;
    font-size: 0.9rem;
    border-radius: 8px;
    text-decoration: none;
    /* Цвета возьмутся от глобального класса .site-button */
}

.match-dashboard {
    margin: 20px 0 30px;
    padding: 16px 18px;
    border-radius: 16px;
    background: radial-gradient(circle at top left, rgba(0, 132, 255, 0.08), transparent 55%),
                radial-gradient(circle at bottom right, rgba(255, 180, 0, 0.08), transparent 55%),
                #0f172a;
    color: #f9fafb;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.match-dashboard .md-header {
    display: flex;
    gap: 16px;
    align-items: stretch;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.match-dashboard .md-teams {
    flex: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 260px;
}

.match-dashboard .md-team {
    flex: 1;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.match-dashboard .md-team--away {
    text-align: right;
}

.match-dashboard .md-team-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}

.match-dashboard .md-team-meta {
    font-size: 12px;
    line-height: 1.4;
    color: #e5e7eb;
}

.match-dashboard .md-vs {
    font-weight: 700;
    font-size: 18px;
    padding: 0 6px;
    color: #e5e7eb;
}

.match-dashboard .md-odds {
    flex: 1;
    min-width: 180px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.match-dashboard .md-odds-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af;
    margin-bottom: 6px;
}

.match-dashboard .md-odds-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 2px 0;
}

.match-dashboard .md-odds-row span {
    color: #9ca3af;
}

.match-dashboard .md-odds-row b {
    font-weight: 600;
}

.match-dashboard .md-stats {
    margin-top: 4px;
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    padding-top: 10px;
}

.match-dashboard .md-stat-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.match-dashboard .md-stat-label {
    flex: 0 0 130px;
    font-size: 12px;
    color: #cbd5f5;
}

.match-dashboard .md-stat-bars {
    position: relative;
    flex: 1;
    height: 18px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.match-dashboard .md-bar {
    position: absolute;
    top: 0;
    bottom: 0;
    transition: width 0.4s ease-out;
}

.match-dashboard .md-bar--home {
    left: 0;
    width: calc(var(--home) * 100%);
    background: linear-gradient(90deg, #38bdf8, #22c55e);
}

.match-dashboard .md-bar--away {
    right: 0;
    width: calc(var(--away) * 100%);
    background: linear-gradient(90deg, #f97316, #ef4444);
    opacity: 0.85;
}

.match-dashboard .md-bar-values {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 6px;
    font-size: 11px;
    font-weight: 600;
    color: #f9fafb;
    text-shadow: 0 1px 2px rgba(15, 23, 42, 0.9);
}

/* Карточки трёх ставок */
.bet-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 12px;
}

.bet-card {
    border-radius: 14px;
    padding: 12px 14px;
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.4);
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.9rem;
}

.bet-card-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af;
}

.bet-card-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.bet-card-text {
    font-size: 0.85rem;
    color: #e5e7eb;
    margin: 0;
}

.bet-card-confidence {
    margin-top: auto;
    font-size: 0.8rem;
    color: #c4f1be;
}

.bet-card--main {
    background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.25), transparent 60%), #0f172a;
}

.bet-card--alt {
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.22), transparent 60%), #0f172a;
}

.bet-card--bold {
    background: radial-gradient(circle at top left, rgba(244, 114, 182, 0.22), transparent 60%), #0f172a;
}

@media (max-width: 768px) {
    .bet-cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .match-dashboard {
        padding: 12px 10px;
        border-radius: 12px;
    }

    .match-dashboard .md-header {
        flex-direction: column;
    }

    .match-dashboard .md-teams {
        width: 100%;
    }

    .match-dashboard .md-stat-label {
        flex-basis: 90px;
        font-size: 11px;
    }
}

.confidence-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    margin-top: 6px;
}

.confidence-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.confidence-ring {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background:
        conic-gradient(
            #31c27c calc(var(--val, 0) * 1%),
            rgba(255,255,255,0.06) 0
        );
    display: flex;
    align-items: center;
    justify-content: center;
}

.confidence-ring-fill {
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #080914;
}

.confidence-ring-text {
    position: relative;
    font-size: 0.7rem;
    color: var(--text-primary);
}

/* --- Конец стилей формы подписки --- */

/* --- PROS / CONS STYLES --- */
.pros-cons-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}
.pros, .cons {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 20px;
}
.pros h3 {
    color: #10b981;
    margin-bottom: 15px;
    font-size: 1.2rem;
}
.cons h3 {
    color: #ef4444;
    margin-bottom: 15px;
    font-size: 1.2rem;
}
@media (max-width: 768px) {
    .pros-cons-container {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   НОВЫЙ ГИБРИДНЫЙ РЕДИЗАЙН BKREYTING (ТЗ 2026)
   ========================================================================== */

/* 1. ШАПКА (HEADER) */
.header {
    height: var(--header-height);
    background: #172231;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.header .logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #FFFFFF !important;
    text-decoration: none;
}

.header .logo span {
    color: #00C875 !important;
}

.header-nav {
    display: flex;
    gap: 28px;
}

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.78) !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: #FFFFFF !important;
}

.btn-login {
    height: 42px;
    padding: 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 12px;
    color: #FFFFFF !important;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4) !important;
}

.btn-bookmakers {
    height: 42px;
    padding: 0 20px;
    border-radius: 12px;
    background: #00C875 !important;
    color: #07111F !important;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    transition: background 0.2s ease;
}

.btn-bookmakers:hover {
    background: #00B96B !important;
}

/* 2. HERO SECTION */
:root {
    --header-height: 86px;
}

.hero {
    position: relative;
    min-height: clamp(620px, calc(100dvh - var(--header-height)), 760px);
    display: flex;
    align-items: center;
    padding: 40px 0;
    color: #FFFFFF !important;
    overflow: hidden;
    background:
        radial-gradient(circle at 66% 45%, rgba(0, 200, 117, 0.20), transparent 34%),
        linear-gradient(180deg, #07111F 0%, #07111F 100%) !important;
    border-bottom: none !important;
    width: 100%;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, black, transparent 85%);
    -webkit-mask-image: linear-gradient(to bottom, black, transparent 85%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 600px) 520px;
    justify-content: space-between;
    align-items: center;
    gap: 72px;
    width: 100%;
}

.hero-content {
    max-width: 600px;
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.84) !important;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 26px !important;
}

.hero-title {
    margin: 0 !important;
    font-size: clamp(56px, 4.4vw, 82px) !important;
    line-height: 0.94 !important;
    letter-spacing: -0.055em !important;
    font-weight: 900 !important;
    color: #FFFFFF !important;
}

.hero-title span {
    display: block;
    color: #00C875 !important;
}

.hero-description {
    max-width: 570px;
    margin: 24px 0 0 !important;
    font-size: 18px !important;
    line-height: 1.55 !important;
    color: rgba(255, 255, 255, 0.78) !important;
}

.hero-stats {
    display: flex;
    gap: 28px !important;
    margin-top: 34px !important;
    margin-bottom: 0 !important;
}

.hero-stat {
    display: grid !important;
    grid-template-columns: 38px auto !important;
    gap: 10px !important;
    align-items: center !important;
}

.hero-stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(0, 200, 117, 0.12);
    color: #00C875 !important;
    font-weight: bold;
}

.hero-stat strong {
    display: block;
    font-size: 24px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    color: #FFFFFF !important;
}

.hero-stat small {
    display: block;
    margin-top: 4px;
    font-size: 13px !important;
    line-height: 1.25 !important;
    color: rgba(255, 255, 255, 0.64) !important;
}

.hero-actions {
    display: flex;
    gap: 14px !important;
    margin-top: 34px !important;
}

.hero-actions .btn {
    height: 52px !important;
    padding: 0 26px !important;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 900;
    transition: all .2s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.hero-actions .btn-primary {
    background: #00C875 !important;
    color: #07111F !important;
    box-shadow: 0 16px 36px rgba(0, 200, 117, 0.24) !important;
}

.hero-actions .btn-primary:hover {
    background: #00B96B !important;
    transform: translateY(-2px);
}

.hero-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.07) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
}

.hero-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    transform: translateY(-2px);
}

/* HERO CARD (RIGHT) */
.hero-card {
    position: relative;
    width: 520px !important;
    min-height: 430px !important;
    max-height: 460px !important;
    border-radius: 28px;
    padding: 28px !important;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(7, 17, 31, 0.96), rgba(7, 17, 31, 0.72)),
        url('images/soccer_player_hero.png') center right / cover no-repeat !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34) !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-self: center;
}

.editor-choice {
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.16);
    color: #FBBF24 !important;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.score {
    color: #00C875 !important;
    font-weight: 800;
    font-size: 15px;
}

.benefits {
    margin-top: 20px;
    display: grid;
    gap: 10px;
    color: rgba(255, 255, 255, 0.84) !important;
    font-size: 14px;
    list-style: none;
    padding: 0;
}

.benefits li {
    display: flex;
    align-items: center;
}

.benefits li::before {
    content: "✓";
    color: #00C875;
    margin-right: 8px;
    font-weight: 800;
}

.bonus-box {
    width: 280px;
    margin-top: 24px;
    padding: 20px;
    border-radius: 18px;
    background: rgba(7, 17, 31, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.bonus-box span {
    color: #00C875;
    font-size: 13px;
    font-weight: 700;
    display: block;
}

.bonus-box strong {
    display: block;
    margin-top: 6px;
    font-size: 28px;
    color: #FFFFFF !important;
    font-weight: 900;
}

.bonus-box a {
    margin-top: 16px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #00C875;
    color: #07111F !important;
    font-weight: 800;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s ease;
}

.bonus-box a:hover {
    background: #00B96B;
}

/* Global button helper fallbacks */
.btn-primary {
    background: #00C875 !important;
    color: #07111F !important;
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
}

/* 3. РЕЙТИНГ БУКМЕКЕРОВ (СВЕТЛЫЙ) */
.rating-section {
    background: #F5F7FA !important;
    color: #0F172A !important;
    padding-top: 72px;
    padding-bottom: 88px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 28px;
}

.rating-section h2 {
    font-size: 42px !important;
    line-height: 1.05 !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
    color: #0F172A !important;
    margin: 4px 0 0 0;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 10px;
    color: #00A864 !important;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.filters {
    display: flex;
    gap: 10px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.filter-chip {
    height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid #E2E8F0;
    background: #FFFFFF;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-chip.active, .filter-chip:hover {
    background: #07111F;
    color: #FFFFFF;
    border-color: #07111F;
}

.bookmaker-list {
    display: grid;
    gap: 14px;
}

/* КАРТОЧКА БУКМЕКЕРА */
.bookmaker-card {
    display: grid;
    grid-template-columns: 54px 160px 120px 145px 145px 1fr 140px;
    align-items: center;
    gap: 22px;
    min-height: 112px;
    padding: 22px 26px;
    border-radius: 22px;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    transition: all .2s ease;
    text-align: left;
}

.bookmaker-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    border-color: rgba(0, 200, 117, 0.35) !important;
}

.bookmaker-rank {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #E8FFF4;
    color: #00A864 !important;
    font-weight: 900;
    font-size: 16px;
}

.bookmaker-card:first-child .bookmaker-rank {
    background: linear-gradient(135deg, #00C875, #00A864);
    color: #FFFFFF !important;
}

.bookmaker-logo-cell img {
    max-width: 120px;
    max-height: 44px;
    object-fit: contain;
    display: block;
}

.bookmaker-tag {
    margin-top: 8px;
    display: inline-flex;
    height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: #EEF2FF;
    color: #4F46E5 !important;
    font-size: 11px;
    font-weight: 800;
    align-items: center;
}

.rating-score strong {
    font-size: 26px;
    font-weight: 900;
    color: #0F172A;
}

.rating-score span {
    color: #64748B;
    font-size: 13px;
}

.stars {
    margin-top: 4px;
    color: #F59E0B;
    font-size: 14px;
    letter-spacing: 1px;
}

.bookmaker-param small {
    display: block;
    margin-bottom: 4px;
    color: #64748B;
    font-size: 12px;
    font-weight: 600;
}

.bookmaker-param strong {
    color: #0F172A;
    font-size: 15px;
    font-weight: 800;
}

.bonus-value small {
    display: block;
    color: #64748B;
    font-size: 12px;
}

.bonus-value strong {
    display: block;
    margin-top: 4px;
    color: #00A864 !important;
    font-size: 20px;
    font-weight: 900;
}

.bookmaker-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge {
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #F1F5F9;
    color: #334155 !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
}

.card-actions {
    display: grid;
    gap: 8px;
}

.card-actions .bonus-btn {
    height: 46px;
    min-width: 132px;
    border-radius: 13px;
    background: #00C875 !important;
    color: #07111F !important;
    font-size: 14px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
}

.card-actions .bonus-btn:hover {
    background: #00B96B !important;
}

.card-actions .review-btn {
    height: 38px;
    border-radius: 10px;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    color: #334155 !important;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.card-actions .review-btn:hover {
    background: #F8FAFC !important;
    border-color: #CBD5E1 !important;
}

/* 4. EXTRA GRID (3 CARDS IN ROW) */
.rating-extra-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

.rating-extra-grid > * {
    min-height: 300px;
}

.prediction-card {
    padding: 30px;
    border-radius: 28px;
    color: #FFFFFF !important;
    background:
        radial-gradient(circle at top right, rgba(0, 200, 117, 0.18), transparent 34%),
        radial-gradient(circle at bottom left, rgba(21, 94, 117, 0.24), transparent 30%),
        linear-gradient(145deg, #07111F 0%, #0B1D2A 48%, #0B2A22 100%) !important;
    border: 1px solid rgba(20, 255, 175, 0.08);
    box-shadow: 0 24px 60px rgba(7, 17, 31, 0.22);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
}

.prediction-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03), transparent 28%),
        repeating-linear-gradient(
            135deg,
            rgba(255,255,255,0.018) 0,
            rgba(255,255,255,0.018) 1px,
            transparent 1px,
            transparent 18px
        );
    pointer-events: none;
}

.method-card {
    padding: 26px;
    border-radius: 24px;
    background: #07111F !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.method-row {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 12px;
    align-items: center;
    text-align: left;
}

.method-bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    overflow: hidden;
    width: 100%;
}

.method-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #00C875;
}

.bonuses-card {
    padding: 26px;
    border-radius: 24px;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 10px 30px rgba(15,23,42,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

/* 5. НОВОСТИ (ТЕМНЫЙ БЛОК) */
.news-section {
    padding: 96px 0;
    background: #07111F !important;
    color: #FFFFFF !important;
    border-top: none !important;
}

.news-section h2 {
    color: #FFFFFF !important;
    opacity: 1 !important;
}

.news-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 28px;
}

.news-featured {
    min-height: 380px;
    border-radius: 26px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background:
        linear-gradient(to top, rgba(7,17,31,.94), rgba(7,17,31,.25)),
        url('images/kak-analizirovat-match.webp') center / cover no-repeat !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    text-decoration: none;
    text-align: left;
}

.news-featured.no-image {
    background:
        radial-gradient(circle at 80% 20%, rgba(0,200,117,.22), transparent 30%),
        linear-gradient(135deg, #101B2B, #07111F) !important;
}

.news-featured h3 {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin: 8px 0 !important;
}

.news-side {
    display: grid;
    gap: 20px;
}

.news-small {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 18px;
    padding: 14px;
    min-height: 170px;
    border-radius: 20px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1) !important;
    text-decoration: none;
    text-align: left;
}

.news-small h4 {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin: 4px 0 !important;
}

/* 6. МЕТОДОЛОГИЯ (СВЕТЛЫЙ) */
.methodology-section {
    background: #F5F7FA !important;
    padding: 88px 0;
    text-align: left;
}

.methodology-grid {
    grid-template-columns: 380px 1fr;
    gap: 56px;
    display: grid;
    align-items: start;
}

.criteria-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.criteria-card {
    padding: 28px;
    border-radius: 24px;
    min-height: 150px;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

/* 7. ШКОЛА (БЕЛЫЙ ФОН) */
.guides-section {
    background: #FFFFFF !important;
    padding: 88px 0;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.guide-card {
    min-height: 190px;
    padding: 28px;
    border-radius: 24px;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 10px 30px rgba(15,23,42,0.04) !important;
    transition: all .2s ease;
    text-align: left;
}

.guide-card:hover {
    background: #FFFFFF !important;
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(15,23,42,0.1) !important;
}

/* 8. FAQ (СВЕТЛЫЙ) */
.faq-section {
    background: #F5F7FA !important;
    padding: 88px 0;
}

.faq-list {
    max-width: 860px;
    margin: 36px auto 0;
    display: grid;
    gap: 12px;
}

.faq-item {
    border-radius: 16px;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    overflow: hidden;
}

.faq-question {
    min-height: 66px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #0F172A !important;
    font-weight: 800 !important;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-align: left;
}

.faq-answer {
    padding: 0 22px 20px;
    color: #64748B !important;
    font-size: 14px;
}

/* 9. ПОДВАЛ (ТЕМНЫЙ) */
.footer {
    background: #07111F !important;
    color: #FFFFFF !important;
    padding: 64px 0 32px;
}

.footer .logo span {
    color: #00C875 !important;
}

.subscribe-box {
    padding: 22px;
    border-radius: 20px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1) !important;
}

/* АДАПТИВНОСТЬ */

/* 1. Широкие экраны */
@media (min-width: 1440px) {
  .container {
    max-width: 1280px;
  }

  .hero-title {
    font-size: 82px;
  }
}

/* 2. Ноутбуки */
@media (max-width: 1200px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 460px;
    gap: 44px;
  }

  .hero-card {
    width: 460px;
  }

  .hero-title {
    font-size: clamp(52px, 6vw, 72px);
  }
}

/* 3. Планшеты (до 1024px) */
@media (max-width: 1024px) {
    .bookmaker-card {
        grid-template-columns: 48px 1fr auto;
    }

    .bookmaker-param, .bookmaker-badges {
        display: none;
    }

    .rating-extra-grid, .methodology-grid, .guides-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* 4. Мобильный вариант (до 900px) */
@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: 56px 0 72px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-card {
    width: 100%;
    max-height: none;
  }

  .hero-title {
    font-size: clamp(46px, 13vw, 64px);
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .hero-actions {
    flex-direction: column;
  }
}

/* 5. Узкие экраны (до 768px) */
@media (max-width: 768px) {
    .header-nav {
        display: none;
    }

    .btn {
        width: 100%;
    }

    .bookmaker-card {
        display: block;
        padding: 18px;
    }

    .card-actions {
        margin-top: 18px;
    }

    .news-small {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   REDESIGNED WIDGET CARDS
   ============================================= */

/* --- Shared widget header --- */
.widget-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.widget-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.widget-title {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}
.bonuses-card .widget-title { color: #0F172A; }
.prediction-grid-head {
    margin: 0 0 26px;
}
.prediction-grid-heading-row {
    display: flex;
    align-items: center;
    gap: 16px;
}
.prediction-grid-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    box-shadow: 0 14px 28px rgba(0, 200, 117, 0.12);
}
.prediction-grid-title {
    margin: 0;
    font-size: clamp(28px, 3.2vw, 38px);
    font-weight: 900;
    color: #0F172A;
    line-height: 1.02;
    letter-spacing: -0.03em;
}
.prediction-grid-footer {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}
.prediction-grid-button {
    min-width: 320px;
    height: 60px;
    padding: 0 34px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 22px 40px rgba(0, 200, 117, 0.18);
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #08d47c 0%, #06bf70 100%) !important;
    color: #04130d !important;
    border: 1px solid rgba(255,255,255,0.26);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.prediction-grid-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 28px 48px rgba(0, 200, 117, 0.24);
    filter: saturate(1.06);
}

.widget-btn {
    width: 100%;
    height: 46px;
    border-radius: 12px;
    font-size: 14px;
    text-decoration: none;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-ghost {
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    font-weight: 700;
    transition: background 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

.btn-outline-green {
    background: transparent;
    color: #00C875;
    border: 1.5px solid #00C875;
    border-radius: 12px;
    font-weight: 700;
    transition: background 0.2s, color 0.2s;
}
.btn-outline-green:hover {
    background: #00C875;
    color: #07111F;
}

/* --- Match preview widget (mpw) --- */
.match-preview-link {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(7, 17, 31, 0.6), rgba(7, 17, 31, 0.34));
    border: 1px solid rgba(0,200,117,0.16);
    border-radius: 22px;
    padding: 22px;
    text-decoration: none;
    margin-bottom: 0;
    transition: border-color 0.25s, background 0.25s, transform 0.25s;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(6px);
}
.prediction-card-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 14px;
}
.prediction-card-list .match-preview-link {
    margin-bottom: 0;
}
.match-preview-link--compact {
    padding: 16px;
}
.match-preview-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(0,200,117,0.1) 0%, transparent 70%),
        linear-gradient(180deg, rgba(255,255,255,0.02), transparent 34%);
    pointer-events: none;
}
.match-preview-link:hover {
    border-color: rgba(0,200,117,0.3);
    background: linear-gradient(180deg, rgba(7, 17, 31, 0.72), rgba(7, 17, 31, 0.42));
    transform: translateY(-2px);
}
.mpw-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.match-preview-link--compact .mpw-top {
    margin-bottom: 14px;
}
.mpw-badge {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
}
.match-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00C875;
    box-shadow: 0 0 8px #00C875;
    animation: pulse-dot 2s infinite;
    flex-shrink: 0;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px #00C875; }
    50% { opacity: 0.5; box-shadow: 0 0 3px #00C875; }
}
.mpw-league {
    font-size: 10px;
    font-weight: 700;
    color: #00C875;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: rgba(0,200,117,0.1);
    padding: 3px 8px;
    border-radius: 99px;
    border: 1px solid rgba(0,200,117,0.2);
}
.mpw-teams {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}
.match-preview-link--compact .mpw-teams {
    margin-bottom: 12px;
}
.mpw-team {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    min-width: 0;
}
.mpw-emblem {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.match-preview-link--compact .mpw-emblem {
    width: 44px;
    height: 44px;
}
.team-logo-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    background: rgba(255,255,255,0.95);
    border-radius: 10px;
    padding: 4px;
}
.match-preview-link--compact .team-logo-img {
    width: 44px;
    height: 44px;
}
.team-flag-img {
    width: 56px;
    height: 38px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.match-preview-link--compact .team-flag-img {
    width: 46px;
    height: 32px;
}
.team-avatar {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1a3050 0%, #0d1e35 100%);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.5px;
}
.match-preview-link--compact .team-avatar {
    width: 44px;
    height: 44px;
    font-size: 14px;
}
.mpw-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.match-preview-link--compact .mpw-name {
    font-size: 12px;
}
.mpw-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 0 4px;
}
.mpw-vs {
    font-size: 10px;
    font-weight: 900;
    color: rgba(255,255,255,0.25);
    letter-spacing: 2px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 6px 8px;
}
.mpw-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 800;
    color: #19e38d;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.match-preview-empty {
    background: rgba(255,255,255,0.03);
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 28px 16px;
    text-align: center;
    color: rgba(255,255,255,0.55);
    font-size: 14px;
    margin: auto 0;
    line-height: 1.45;
}

/* --- Criteria bars (method card) --- */
.criteria-bars {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 20px;
}
.criteria-bar-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px;
}
.criteria-bar-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    grid-column: 1 / -1;
    margin-bottom: -4px;
}
.criteria-bar-label svg {
    opacity: 0.7;
    flex-shrink: 0;
}
.criteria-bar-track {
    height: 5px;
    background: rgba(255,255,255,0.07);
    border-radius: 99px;
    overflow: hidden;
    flex: 1;
}
.criteria-bar-fill {
    height: 100%;
    border-radius: 99px;
    background: var(--c, #00C875);
    transition: width 1s ease;
}
.criteria-bar-pct {
    font-size: 11px;
    font-weight: 800;
    color: rgba(255,255,255,0.5);
    min-width: 28px;
    text-align: right;
}
/* Override grid to be 3-col: label | bar | pct */
.criteria-bar-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px 10px;
}
.criteria-bar-label {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
    white-space: nowrap;
}
.criteria-bar-track {
    grid-column: 2;
}
.criteria-bar-pct {
    grid-column: 3;
}

/* --- Bonus list (bonuses card) --- */
.bonus-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}
.bonus-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.18s;
    cursor: pointer;
}
.bonus-row:hover {
    background: rgba(15, 23, 42, 0.05);
}
.bonus-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--bg, rgba(0,200,117,0.1));
    color: var(--cl, #00C875);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.bonus-text {
    flex: 1;
    min-width: 0;
}
.bonus-name {
    font-size: 13px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 2px;
}
.bonus-desc {
    font-size: 11px;
    color: #64748B;
}
.bonus-arrow {
    color: #CBD5E1;
    flex-shrink: 0;
    transition: color 0.18s, transform 0.18s;
}
.bonus-row:hover .bonus-arrow {
    color: #00C875;
    transform: translateX(3px);
}
/* --- Featured (рекомендуемые) карточки БК --- */
.featured-card {
    border: 1px solid #10b981 !important;
    background: linear-gradient(135deg, rgba(16,185,129,0.05) 0%, rgba(16,185,129,0.01) 100%) !important;
    position: relative;
}
.badge-featured {
    background: #10b981 !important;
    color: #000 !important;
    font-weight: 700 !important;
}
.disabled-link {
    pointer-events: none;
}
