/* Кнопки событий и ставок */
.event-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.bet-button, .odds-button {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bet-button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.bet-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(30,64,175,0.3);
}

.odds-button {
    background: #059669;
    color: white;
}

.odds-button:hover {
    background: #047857;
    transform: translateY(-2px);
}

/* Кнопка "Загрузить еще" */
.load-more-container {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.load-more-button {
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(30,64,175,0.3);
}

.load-more-button:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

/* Кнопки скачивания приложений */
.download-buttons {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 200px;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(30,64,175,0.3);
    color: white;
    text-decoration: none;
}

.download-btn i {
    font-size: 24px;
}

.download-btn div {
    text-align: left;
}

.download-btn small {
    display: block;
    opacity: 0.8;
    font-size: 12px;
    font-weight: normal;
}

/* Карточки промокодов */
.promocodes-section {
    margin: 40px 0;
}

.promocodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.promocode-card {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    border-radius: 12px;
    padding: 20px;
    color: white;
    text-align: center;
    box-shadow: 0 4px 12px rgba(30,64,175,0.2);
    transition: transform 0.3s ease;
}

.promocode-card:hover {
    transform: translateY(-5px);
}

.promo-header {
    margin-bottom: 15px;
}

.promo-code {
    font-size: 24px;
    font-weight: bold;
    background: rgba(255,255,255,0.2);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 2px dashed rgba(255,255,255,0.3);
    letter-spacing: 1px;
}

.promo-type {
    font-size: 12px;
    background: rgba(255,255,255,0.1);
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-block;
}

.promo-description {
    margin: 15px 0;
    line-height: 1.4;
}

.promo-validity {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 15px;
}

.copy-promo {
    background: #10b981;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

.copy-promo:hover {
    background: #059669;
}

/* Сетка спортивных событий */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.event-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.event-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.event-sport {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 10px;
}

.event-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.home-team, .away-team {
    font-weight: bold;
    flex: 1;
}

.away-team {
    text-align: right;
}

.vs {
    margin: 0 10px;
    font-size: 12px;
    color: #666;
}

.event-odds {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.odd-item {
    flex: 1;
    text-align: center;
    background: #f8f9fa;
    padding: 8px;
    border-radius: 4px;
}

.odd-label {
    font-size: 12px;
    color: #666;
}

.odd-value {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 16px;
}

/* Турнирная таблица */
.league-table {
    margin: 40px 0;
}

.table-responsive {
    overflow-x: auto;
    margin: 20px 0;
}

.standings-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.standings-table th,
.standings-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
}

.standings-table th {
    background: var(--primary-color);
    color: white;
    font-weight: bold;
}

.standings-table tr:hover {
    background-color: #f8f9fa;
}

.team-name {
    font-weight: bold;
}

.points {
    color: var(--primary-color);
}

/* Расписание матчей */
.matches-schedule {
    margin: 40px 0;
}

.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.match-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.match-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.match-date {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.match-teams {
    margin-bottom: 15px;
}

.match-teams .home-team,
.match-teams .away-team {
    font-weight: bold;
    font-size: 14px;
}

.match-teams .vs {
    margin: 5px 0;
    color: #999;
}

.match-status {
    color: var(--primary-color);
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Инструкции по установке */
.installation-guide {
    margin: 40px 0;
}

.installation-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.step {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    margin: 0 0 8px 0;
    color: var(--primary-color);
}

.step-content p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* Преимущества приложения */
.app-features {
    margin: 40px 0;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
}

.app-features h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.app-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.app-features li {
    padding: 8px 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 14px;
}

.app-features li:last-child {
    border-bottom: none;
}

/* Информация о фрибете */
.freebet-info {
    margin: 40px 0;
}

.freebet-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Зеркала */
.mirror-info {
    margin: 40px 0;
}

.mirror-list {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.mirror-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #e5e5e5;
}

.mirror-item:last-child {
    margin-bottom: 0;
}

.mirror-url {
    font-family: monospace;
    color: var(--primary-color);
    font-weight: bold;
}

.mirror-status.active {
    background: #10b981;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.mirror-guide {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    margin-top: 20px;
}

.mirror-guide h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.mirror-guide ol {
    margin: 0;
    padding-left: 20px;
}

.mirror-guide li {
    margin-bottom: 8px;
}

/* Баннеры */
.banner-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    padding: 25px;
    color: white;
    text-align: center;
    box-shadow: 0 4px 12px rgba(30,64,175,0.2);
    transition: transform 0.3s ease;
}

.banner:hover {
    transform: translateY(-3px);
}

.banner-image {
    font-size: 48px;
    margin-bottom: 15px;
}

.banner-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.banner-description {
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.4;
}

.banner-button {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
}

.banner-button:hover {
    background: rgba(255,255,255,0.3);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Раздел "Почему выбирают нас" */
.why-choose-us {
    margin: 50px 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.advantage-item {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

.advantage-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.advantage-item h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 18px;
}

.advantage-item p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Гид по видам спорта */
.sports-guide {
    margin: 50px 0;
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.sport-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.sport-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

.sport-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.sport-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
}

.events-count {
    color: #666;
}

.avg-odds {
    color: var(--primary-color);
    font-weight: bold;
}

.popular-events {
    margin-top: 20px;
}

.popular-events h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 16px;
}

.popular-events ul {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.popular-events li {
    margin-bottom: 5px;
}

.popular-events a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
}

.popular-events a:hover {
    text-decoration: underline;
}

.view-all {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    padding: 5px 10px;
    border: 1px solid var(--primary-color);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.view-all:hover {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
}

/* Обзор букмекерской конторы */
.detailed-bk-info {
    margin: 50px 0;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
}

.bk-overview {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.overview-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.overview-content p {
    line-height: 1.6;
    margin-bottom: 25px;
    color: #555;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* FAQ секция */
.faq-section {
    margin: 50px 0;
}

.faq-container {
    margin-top: 30px;
}

.faq-item {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 20px;
    margin: 0;
    background: #f8f9fa;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    border-bottom: 1px solid #e5e5e5;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer div {
    padding: 20px;
}

.faq-answer p {
    margin: 0;
    line-height: 1.6;
    color: #555;
}

/* Формы регистрации и входа */
.register-form-container,
.login-container {
    max-width: 600px;
    margin: 30px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 40px;
}

.register-form,
.login-form {
    width: 100%;
}

.form-section {
    margin-bottom: 30px;
}

.form-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30,64,175,0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    flex-shrink: 0;
}

.checkbox-group label {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.register-button,
.login-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.register-button:hover,
.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(30,64,175,0.3);
}

.login-link,
.register-link {
    text-align: center;
    margin-top: 20px;
}

.login-link a,
.register-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.login-link a:hover,
.register-link a:hover {
    text-decoration: underline;
}

.forgot-password {
    text-align: center;
    margin-top: 15px;
}

.forgot-password a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password a:hover {
    text-decoration: underline;
}

/* Статистика отзывов */
.reviews-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-item {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.stat-value {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    color: #666;
    font-size: 14px;
}

/* Отзывы с расширенной разметкой */
.reviews-section-extended {
    margin: 40px 0;
}

.review-item-extended {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.review-header span[itemprop="name"] {
    font-weight: bold;
    color: var(--primary-color);
}

.stars {
    color: #ffc107;
    font-size: 14px;
}

.review-header time {
    color: #666;
    font-size: 12px;
}

.review-item-extended p {
    margin: 0;
    line-height: 1.6;
    color: #555;
}

/* Таблица сравнения */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
}

.comparison-table th {
    background: var(--primary-color);
    color: white;
    font-weight: bold;
}

.comparison-table tr:hover {
    background-color: #f8f9fa;
}

/* Раздел загрузки */
.download-section {
    margin: 40px 0;
}

/* Фильтры */
.filters-container {
    margin: 30px 0;
}

.filters-title {
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.filters-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-option {
    padding: 8px 16px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.filter-option:hover {
    background: #e9ecef;
}

.filter-option.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Счетчик результатов */
.results-count {
    margin: 20px 0;
    color: #666;
    font-size: 14px;
}

/* Заголовки секций */
.section-title {
    color: var(--primary-color);
    font-size: 24px;
    margin: 40px 0 20px 0;
    text-align: center;
}

/* Дефолтный контент */
.content-default {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin: 20px 0;
    text-align: center;
}

.content-default h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.content-default p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Мобильная адаптивность */
@media (max-width: 768px) {
    .download-buttons {
        flex-direction: column;
    }
    
    .download-btn {
        min-width: auto;
    }
    
    .promocodes-grid {
        grid-template-columns: 1fr;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .event-teams {
        flex-direction: column;
        text-align: center;
    }
    
    .home-team, .away-team {
        text-align: center;
    }
    
    .standings-table {
        font-size: 12px;
    }
    
    .standings-table th,
    .standings-table td {
        padding: 8px 4px;
    }
    
    .banner-container {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .sports-grid {
        grid-template-columns: 1fr;
    }
    
    .bk-overview {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .overview-stats {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .reviews-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filters-options {
        gap: 5px;
    }
    
    .filter-option {
        font-size: 12px;
        padding: 6px 12px;
    }
}