﻿/* Основные стили сайта */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

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

/* Хедер */
/* ==================== НАЧАЛО ХЕДЕР ==================== */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    /*    padding: 1rem 0;*/
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .logo img {
        height: 100px;
        width: auto;
    }

    .logo h1 {
        font-size: 1.8em;
        font-weight: 700;
    }

/* Навигация */
nav {
    display: flex;
    gap: 30px;
}

    nav a {
        color: white;
        text-decoration: none;
        font-weight: 500;
        padding: 8px 16px;
        border-radius: 5px;
        transition: background 0.3s ease;
    }

        nav a:hover {
            background: rgba(255,255,255,0.2);
        }
/* ==================== КОНЕЦ ХЕДЕР ==================== */

/* Футер */
/* ==================== НАЧАЛО ФУТЕР ==================== */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 50px 0 20px;
    margin-top: 80px;
    position: relative;
}

    footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3em;
    font-weight: 600;
    position: relative;
}

    .footer-section h3::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 0;
        width: 40px;
        height: 2px;
        background: #667eea;
    }

.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        color: #bdc3c7;
        text-decoration: none;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .footer-links a:hover {
            color: #667eea;
            transform: translateX(5px);
        }

        .footer-links a::before {
            content: '→';
            font-size: 0.9em;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .footer-links a:hover::before {
            opacity: 1;
        }

.footer-description {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-contact {
    color: #bdc3c7;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .footer-contact i {
        color: #667eea;
        width: 20px;
        text-align: center;
    }

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .social-link:hover {
        background: #667eea;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    }

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #95a5a6;
    font-size: 0.9em;
}

    .footer-bottom p {
        margin: 5px 0;
    }

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 15px;
    flex-wrap: wrap;
}

    .footer-legal a {
        color: #95a5a6;
        text-decoration: none;
        transition: color 0.3s ease;
        font-size: 0.85em;
    }

        .footer-legal a:hover {
            color: #667eea;
        }
/* ==================== КОНЕЦ ФУТЕР ==================== */

/* Стили для раздела ставок на спорт */
/* ==================== НАЧАЛО ОСНОВНОЙ КОНТЕНТ ==================== */
.sport-bets-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.bets-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 40px;
}

    .bets-hero h1 {
        font-size: 2.5em;
        margin-bottom: 20px;
        font-weight: 700;
    }

    .bets-hero p {
        font-size: 1.2em;
        max-width: 600px;
        margin: 0 auto;
    }

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.category-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #667eea;
}

    .category-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

    .category-card h3 {
        color: #333;
        margin-bottom: 15px;
        font-size: 1.4em;
    }

    .category-card ul {
        list-style: none;
        padding: 0;
    }

    .category-card li {
        margin-bottom: 8px;
        padding-left: 20px;
        position: relative;
    }

        .category-card li:before {
            content: "→";
            position: absolute;
            left: 0;
            color: #667eea;
            font-weight: bold;
        }

    .category-card a {
        color: #555;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .category-card a:hover {
            color: #667eea;
        }

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.article-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

    .article-card:hover {
        transform: translateY(-3px);
    }

.article-content {
    padding: 20px;
}

    .article-content h3 {
        margin-bottom: 10px;
        color: #333;
    }

.article-meta {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.article-excerpt {
    color: #555;
    line-height: 1.5;
}

.read-more {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    margin-top: 10px;
}

.term-list {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
}

.term-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

    .term-item:last-child {
        margin-bottom: 0;
        border-bottom: none;
    }

    .term-item h4 {
        color: #333;
        margin-bottom: 8px;
    }

.term-definition {
    color: #555;
    line-height: 1.5;
}

.strategy-steps {
    counter-reset: step;
}

.strategy-step {
    background: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    padding-left: 70px;
}

    .strategy-step:before {
        counter-increment: step;
        content: counter(step);
        position: absolute;
        left: 20px;
        top: 20px;
        background: #667eea;
        color: white;
        width: 35px;
        height: 35px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
    }

.breadcrumb {
    background: #f8f9fa;
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 5px;
    font-size: 0.9em;
}

    .breadcrumb a {
        color: #667eea;
        text-decoration: none;
    }

    .breadcrumb span {
        color: #666;
    }
/* ==================== КОНЕЦ ОСНОВНОЙ КОНТЕНТ ==================== */

/* Стили для главной страницы с прогнозами */
/* ==================== НАЧАЛО ПРОГНОЗЫ ==================== */
.forecasts-filters {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-label {
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.filter-select {
    padding: 8px 15px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    background: white;
    color: #333;
    font-size: 0.9em;
    transition: border-color 0.3s ease;
    min-width: 150px;
}

    .filter-select:focus {
        outline: none;
        border-color: #667eea;
    }

.clear-filters {
    background: #6c757d;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background 0.3s ease;
}

    .clear-filters:hover {
        background: #5a6268;
    }

.forecasts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.forecast-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

    .forecast-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

.forecast-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.sport-badge {
    font-size: 1.5em;
    margin-right: 10px;
}

.tournament {
    font-weight: bold;
    color: #667eea;
    font-size: 1em;
    flex: 1;
}

.date-time {
    flex-direction: column;
    align-items: flex-end;
    color: #666;
    font-size: 0.9em;
}

.date-short {
    font-weight: 600;
}

.time {
    font-size: 0.8em;
    opacity: 0.8;
}

    /* Стили для времени во время загрузки */
    .date-short:empty::before,
    .time:empty::before {
        content: "--";
        color: #ccc;
    }

.date-short:empty::before {
    content: "--.--";
}

.time:empty::before {
    content: "--:--";
}

.timezone-hint {
    font-size: 0.7em;
    color: #666;
    margin-left: 5px;
    display: none;
}

.status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
}

    .status.upcoming {
        background: #e8f5e8;
        color: #2ecc71;
    }

    .status.finished {
        background: #f8f9fa;
        color: #666;
    }

.teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.team {
    font-weight: bold;
    font-size: 1.1em;
    text-align: center;
    flex: 1;
}

.home-team {
    text-align: right;
}

.away-team {
    text-align: left;
}

.vs {
    color: #666;
    font-weight: bold;
    margin: 0 15px;
    font-size: 0.9em;
}

.forecast-details {
    flex: 1;
    margin-bottom: 20px;
}

.forecast-main {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.prediction {
    margin-bottom: 10px;
}

    .prediction strong {
        color: #667eea;
    }

.coefficient {
    display: flex;
    align-items: center;
    gap: 8px;
}

.kf-value {
    background: #667eea;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9em;
}

.smiley {
    font-size: 1.2em;
}

.forecast-description {
    background: #fff3cd;
    padding: 12px;
    border-radius: 6px;
    border-left: 3px solid #ffc107;
}

    .forecast-description p {
        margin: 0;
        font-size: 0.9em;
        color: #856404;
        line-height: 1.4;
    }

.bet-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    text-align: center;
}

    .bet-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
        color: white;
        text-decoration: none;
    }

.button-subtext {
    font-size: 0.8em;
    opacity: 0.9;
    margin-top: 2px;
}

.no-predictions-banner,
.no-bookmakers-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px;
    text-align: center;
    border-radius: 12px;
    margin: 40px 0;
}

    .no-predictions-banner p,
    .no-bookmakers-banner p {
        font-size: 1.2em;
        margin: 0;
        line-height: 1.6;
    }

.page-description {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    line-height: 1.7;
}
/* ==================== КОНЕЦ ПРОГНОЗЫ ==================== */

/* Стили для детальной страницы прогноза */
/* ==================== НАЧАЛО ДЕТАЛЬНАЯ СТРАНИЦА ==================== */
.forecast-card-detail {
    max-width: 800px;
    margin: 0 auto 30px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border-left: 5px solid #667eea;
}

.forecast-description-detail {
    background: #f8f9fa;
    border-left: 3px solid #667eea;
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
}

    .forecast-description-detail h4 {
        color: #333;
        margin-bottom: 10px;
        font-size: 1.1em;
        font-weight: 600;
    }

    .forecast-description-detail p {
        color: #555;
        line-height: 1.6;
        margin: 0;
    }

.forecast-result {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #ffc107;
}

    .forecast-result h4 {
        color: #333;
        margin-bottom: 10px;
        font-size: 1.1em;
        font-weight: 600;
    }

.result-value {
    padding: 10px 15px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
}

.result-win {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.result-lose {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.forecast-meta-info {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin: 30px auto;
    max-width: 800px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

    .forecast-meta-info h3 {
        color: #333;
        margin-bottom: 20px;
        font-size: 1.3em;
        font-weight: 600;
        text-align: center;
    }

.meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #667eea;
}

.meta-label {
    font-weight: 600;
    color: #333;
}

.meta-value {
    color: #555;
    font-weight: 500;
}

.kf-highlight {
    background: #667eea;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: bold;
}

.navigation-links {
    text-align: center;
    margin-top: 40px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .back-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
        color: white;
        text-decoration: none;
    }
/* ==================== КОНЕЦ ДЕТАЛЬНАЯ СТРАНИЦА ==================== */

/* Стили для видов спорта */
/* ==================== НАЧАЛО ВИДЫ СПОРТА ==================== */
.sport-футбол, .sport-football {
    border-left-color: #28a745;
}

.sport-хоккей, .sport-hockey {
    border-left-color: #007bff;
}

.sport-теннис, .sport-tennis {
    border-left-color: #dc3545;
}

.sport-баскетбол, .sport-basketball {
    border-left-color: #fd7e14;
}

.sport-волейбол, .sport-volleyball {
    border-left-color: #6f42c1;
}
/* ==================== КОНЕЦ ВИДЫ СПОРТА ==================== */

/* Стили для страницы букмекеров */
/* ==================== НАЧАЛО БУКМЕКЕРЫ ==================== */
.bookmaker-list {
    display: grid;
    gap: 25px;
    margin: 30px 0;
}

.bookmaker-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 25px;
    position: relative;
    overflow: hidden;
}

    .bookmaker-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

    .bookmaker-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }

    .bookmaker-card img {
        width: 80px;
        height: 80px;
        object-fit: contain;
        border-radius: 10px;
        padding: 10px;
        background: #f8f9fa;
        border: 2px solid #e9ecef;
        flex-shrink: 0;
    }

.bookmaker-info {
    flex: 1;
}

    .bookmaker-info h3 {
        color: #333;
        margin-bottom: 10px;
        font-size: 1.4em;
        font-weight: 700;
    }

    .bookmaker-info p {
        color: #666;
        line-height: 1.5;
        margin-bottom: 15px;
    }

.bookmaker-bonus {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9em;
    display: inline-block;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.bookmaker-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
}

.star {
    font-size: 1.2em;
    color: #ddd;
}

    .star.filled {
        color: #ffc107;
        text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    }

.bets-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 1em;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
}

    .bets-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    }

.bookmaker-stats {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.bookmaker-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 0.9em;
}

    .bookmaker-stat i {
        color: #667eea;
        font-weight: bold;
    }

.bookmakers-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px 30px;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 40px;
}

    .bookmakers-hero h1 {
        font-size: 2.3em;
        margin-bottom: 15px;
        font-weight: 700;
    }

    .bookmakers-hero p {
        font-size: 1.1em;
        max-width: 600px;
        margin: 0 auto;
        opacity: 0.9;
    }

.bookmakers-filters {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}
/* ==================== КОНЕЦ БУКМЕКЕРЫ ==================== */

/* Стили для юридических страниц */
/* ==================== НАЧАЛО ЮРИДИЧЕСКИЕ СТРАНИЦЫ ==================== */
.legal-content {
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    line-height: 1.7;
}

.legal-section {
    margin-bottom: 40px;
}

    .legal-section h2 {
        color: #667eea;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 2px solid #f8f9fa;
        font-size: 1.4em;
    }

    .legal-section h3 {
        color: #333;
        margin: 20px 0 15px 0;
        font-size: 1.1em;
    }

    .legal-section p {
        margin-bottom: 15px;
        color: #555;
    }

    .legal-section ul {
        margin: 15px 0;
        padding-left: 25px;
    }

    .legal-section li {
        margin-bottom: 8px;
        color: #555;
    }

    .legal-section a {
        color: #667eea;
        text-decoration: none;
    }

        .legal-section a:hover {
            text-decoration: underline;
        }
/* ==================== КОНЕЦ ЮРИДИЧЕСКИЕ СТРАНИЦЫ ==================== */

/* Стили для контактной страницы */
/* ==================== НАЧАЛО КОНТАКТЫ ==================== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.contact-icon {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #667eea;
}

.contact-card h3 {
    margin-bottom: 15px;
    color: #333;
}

.contact-card p {
    color: #666;
    margin-bottom: 10px;
}
/* ==================== КОНЕЦ КОНТАКТЫ ==================== */

/* Утилитарные классы */
/* ==================== НАЧАЛО УТИЛИТЫ ==================== */
.lead {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.warning {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
}

.success {
    background: #d4edda;
    border-left: 4px solid #28a745;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
}

.info {
    background: #d1ecf1;
    border-left: 4px solid #17a2b8;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
}

.gradient-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

    .gradient-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
        color: white;
        text-decoration: none;
    }

.responsive-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

    .responsive-table th,
    .responsive-table td {
        padding: 12px;
        text-align: left;
        border-bottom: 1px solid #ddd;
    }

    .responsive-table th {
        background: #f8f9fa;
        font-weight: bold;
    }

.hide {
    display: none;
}
/* ==================== КОНЕЦ УТИЛИТЫ ==================== */

/* Анимации */
/* ==================== НАЧАЛО АНИМАЦИИ ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.match-card,
.category-card,
.article-card,
.forecast-card,
.bookmaker-card {
    animation: fadeIn 0.6s ease-out;
}
/* ==================== КОНЕЦ АНИМАЦИИ ==================== */

/* Модальное окно */
/* ==================== НАЧАЛО МОДАЛЬНОЕ ОКНО ==================== */
#modalOverlay {
    display: none;
}

#app-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    z-index: 10000;
    text-align: center;
    max-width: 400px;
    width: 90%;
    border: 2px solid #667eea;
}

    #app-modal p {
        margin-bottom: 25px;
        font-size: 1.1em;
        color: #333;
        line-height: 1.5;
    }

.store-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-right: 10px;
    transition: all 0.3s ease;
    font-size: 1em;
}

    .store-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    }

.close-modal {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e9ecef;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1em;
}

    .close-modal:hover {
        background: #e9ecef;
        color: #333;
        border-color: #667eea;
    }

/* Затемнение фона */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: none;
}

    .modal-overlay.active {
        display: block;
    }
/* ==================== КОНЕЦ МОДАЛЬНОЕ ОКНО ==================== */

/* Адаптивность */
/* ==================== НАЧАЛО АДАПТИВНОСТЬ ==================== */
@media (max-width: 1200px) {
    .forecasts-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }

    nav {
        gap: 15px;
    }

    .categories-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }

    .bets-hero h1 {
        font-size: 2em;
    }

    .strategy-step {
        padding-left: 25px;
        padding-top: 60px;
    }

        .strategy-step:before {
            top: 15px;
            left: 15px;
        }

    .forecasts-filters,
    .bookmakers-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        justify-content: space-between;
    }

    .forecasts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .forecast-header {
        /*        flex-direction: column;
        align-items: flex-start;*/
    }

    .date-time {
        align-items: flex-start;
    }

    .teams {
        /*        flex-direction: column;*/
        text-align: center;
    }

    .home-team, .away-team {
        text-align: center;
    }

    .vs {
        margin: 5px 0;
    }

    .bookmaker-card {
        flex-direction: column;
        text-align: center;
        padding: 25px;
        gap: 20px;
    }

        .bookmaker-card img {
            width: 70px;
            height: 70px;
        }

    .bookmaker-info h3 {
        font-size: 1.3em;
    }

    .bets-button {
        width: 100%;
        padding: 15px;
    }

    .bookmaker-rating {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }

    .legal-content {
        padding: 25px;
    }

    .legal-section {
        margin-bottom: 30px;
    }

        .legal-section h2 {
            font-size: 1.3em;
        }

    .responsive-table {
        display: block;
        overflow-x: auto;
    }

    /* Адаптивность для детальной страницы */
    .forecast-card-detail {
        padding: 20px;
        margin: 0 10px 20px;
    }

    .forecast-meta-info {
        padding: 20px;
        margin: 20px 10px;
    }

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

    .meta-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 40px 0 20px;
        margin-top: 60px;
    }

    .footer-content {
        gap: 25px;
    }

    .footer-section h3 {
        font-size: 1.2em;
    }

    .forecast-card,
    .bookmaker-card {
        padding: 20px;
    }

    .forecasts-grid {
        gap: 15px;
    }

    .filter-select {
        width: 100%;
    }

    .bookmaker-info h3 {
        font-size: 1.2em;
    }

    .bookmaker-bonus {
        font-size: 0.85em;
        padding: 6px 12px;
    }

    /* Адаптивность для детальной страницы */
    .forecast-card-detail {
        padding: 15px;
    }

    .forecast-header {
        flex-wrap: wrap;
        gap: 10px;
    }

    .teams {
        flex-direction: column;
        text-align: center;
    }

    .home-team, .away-team {
        text-align: center;
    }

    .vs {
        margin: 5px 0;
    }
}
/* ==================== КОНЕЦ АДАПТИВНОСТЬ ==================== */

/* Стили для сообщения "не найдено" */
/* ==================== НАЧАЛО СООБЩЕНИЯ ==================== */
.no-results-message {
    grid-column: 1 / -1;
    background: #f8f9fa;
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    color: #666;
    border: 2px dashed #dee2e6;
    margin: 20px 0;
}

    .no-results-message p {
        margin: 0;
        font-size: 1.1em;
    }

/* Анимация появления сообщения */
.no-results-message {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

