/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #edeef0;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 20px;
    background: #ffffff;
    border-radius: 10px;
}
.content-block{
    border-radius: 0 0 10px 10px;
    padding-top: 1px !important;
}
.rating-block{
    border-radius: 10px 10px 0px 0px;
}

/* Шапка */
.header {
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-container {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    flex-wrap: nowrap;
}

.logo {
    display: flex;
    align-items: center;
    height: 40px;
    font-family: 'Arial', sans-serif;
    font-size: 20px;
    font-weight: bold;
    font-style: normal;
    color: #1a1a1a;
    background: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 5px 15px;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.3),
        -1px -1px 2px rgba(255, 255, 255, 0.2),
        0 0 1px rgba(0, 0, 0, 0.5),
        0 0 1px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.logo i {
    margin-right: 8px;
    font-size: 22px;
    color: #f9e67d;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.3), 
        -1px -1px 2px rgba(255, 255, 255, 0.2),
        0 0 1px rgba(0, 0, 0, 0.5),
        0 0 1px rgba(0, 0, 0, 0.5);
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 
        3px 3px 6px rgba(0, 0, 0, 0.4),
        -2px -2px 3px rgba(255, 255, 255, 0.3),
        0 0 1.5px rgba(0, 0, 0, 0.6),
        0 0 1.5px rgba(0, 0, 0, 0.6);
}

.logo:hover i {
    text-shadow: 
        3px 3px 6px rgba(0, 0, 0, 0.4), 
        -2px -2px 3px rgba(255, 255, 255, 0.3),
        0 0 1.5px rgba(0, 0, 0, 0.6),
        0 0 1.5px rgba(0, 0, 0, 0.6);
}

/* Навигация */
.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin-right: 20px;
}

.nav-list li {
    position: relative;
    margin-left: 20px;
}

.nav-list a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    padding: 10px;
    transition: color 0.3s, background 0.3s;
}

.nav-list a:hover {
    color: #07e;
    background: #f5f5f5;
    border-radius: 5px;
}

.nav-list i {
    margin-right: 5px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    list-style: none;
    min-width: 200px;
    border-radius: 5px;
    z-index: 1000;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
}

.dropdown-menu a:hover {
    background: #f5f5f5;
}

/* Мобильное меню */
.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    color: #333;
}

@media (max-width: 768px) {
    .nav-toggle-label {
        display: block;
        margin-right: 10px;
    }

    .nav-list {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        margin: 0;
        padding: 10px 0;
    }

    .nav-toggle:checked ~ .nav-list {
        display: flex;
    }

    .nav-list li {
        margin: 10px 0;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: #f5f5f5;
    }

    .header-container {
        padding: 10px;
    }

    .logo {
        margin-left: 10px;
    }
}

/* Заголовок */
.intro-block {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 20px;
}

.intro-image {
    width: 400px; /* Базовая ширина */
    height: auto; /* Сохраняем пропорции */
    object-fit: contain; /* Картинка не обрезается */
    border-radius: 10px; /* Скругленные углы для стиля */
    flex-shrink: 0; /* Не сжимаем картинку */
    order: 2; /* Картинка справа в десктопе */
}

.intro {
    padding: 40px 20px;
}

.intro-title {
    font-size: 36px;
    font-weight: 700;
    color: #222;
    margin-bottom: 5px;
    line-height: 1.2;
    text-align: center;
}

.intro-subtitle {
    display: block;
    font-size: 18px;
    font-weight: 400;
    color: #666;
    margin-top: 5px;
    text-align: center;
}

.intro-text {
    flex: 1; /* Текст занимает оставшееся пространство */
    margin: 0; /* Убираем стандартные отступы */
    font-size: 16px;
    line-height: 1.6;
    display: flex;
    align-items: center; /* Вертикальное центрирование текста относительно картинки */
    order: 1; /* Текст слева в десктопе */
}

/* Таблица рейтинга */
.rating {
    padding: 40px 20px;
}

.rating-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rating-row {
    display: grid;
    grid-template-columns: 150px 1fr 170px 190px 150px 110px;
    align-items: center;
    padding: 15px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.rating-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.rating-header .rating-name {
    text-align: left;
}

.rating-logo img {
    display: block;
    width: 130px;
    height: 40px;
    object-fit: contain;
    background: #333;
    border-radius: 5px;
    padding: 5px;
}

/* Индивидуальные цвета фона для логотипов */
.rating-logo img[src="https://betca.ru/image/fonbet.svg"] {
    background: rgb(195, 59, 50);
}

.rating-logo img[src="https://betca.ru/image/betcity.svg"] {
    background: rgb(66, 145, 236);
}

.rating-logo img[src="https://betca.ru/image/olimp.svg"] {
    background: rgb(255, 32, 32);
}

.rating-name {
    font-size: 18px;
    font-weight: 600;
}

.rating-score {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.rating-score i {
    color: #f1c40f; /* Жёлтый для закрашенных звёзд */
    font-size: 16px;
}

.rating-score i.far {
    color: #ccc; /* Серый для пустых звёзд */
}

.rating-score .rating-value {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.rating-bonus {
    font-size: 16px;
}

.gift-icon {
    color: #e40707;
    margin-right: 5px;
}

.details-btn {
    background: transparent;
    border: none;
    color: #07e;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.details-btn i {
    transition: transform 0.3s;
}

.details-btn.active i {
    transform: rotate(180deg);
}

.btn-go {
    display: inline-block;
    padding: 10px 20px;
    background: #e40707;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: background 0.3s;
}

.btn-go:hover {
    background: #c30606;
}

.details-content {
    display: none;
    grid-column: 1 / -1;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
}

.details-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.details-title {
    font-size: 16px;
    line-height: 2;
    font-weight: 600;
}

.details-col ul {
    list-style: none;
}

.details-col li {
    font-size: 14px;
    margin-bottom: 5px;
}

.plus-icon {
    color: #28a745;
    margin-right: 5px;
}

.minus-icon {
    color: #e40707;
    margin-right: 5px;
}

/* Новая таблица с информацией о букмекере */
.bk-info-table {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
    font-size: 14px;
}

.bk-info-table td {
    padding: 10px;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
}

.bk-info-table td:first-child {
    width: 40%;
    font-weight: 600;
    color: #333;
}

.bk-info-table td:first-child i {
    margin-right: 8px;
    color: #07e;
}

.bk-info-table td:last-child {
    color: #555;
}
.bk-description {padding: 10px;}

/* Блок внимания с бонусом */
.bonus-attention {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #ffffff, #fff5f5);
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bonus-attention:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.bonus-icon {
    color: #e40707;
    font-size: 24px;
    margin-right: 15px;
}

.bonus-text {
    font-size: 16px;
    font-weight: 500;
    color: #222;
    flex: 1;
    line-height: 1.4;
}

.btn-get {
    display: inline-block;
    padding: 10px 20px;
    color: #e40707;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #e40707;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-get:hover {
    color: #fff9f8;
    background: #e40707;
    transform: scale(1.05);
}

/* Адаптивная таблица рейтинга */
@media (max-width: 1024px) {
    .rating-row {
        grid-template-columns: 120px 1fr 150px 180px 120px 120px;
    }

    .rating-logo img {
        width: 100px;
        height: 30px;
    }

    .rating-name {
        font-size: 16px;
    }

    .rating-score {
        font-size: 12px;
    }

    .rating-score i {
        font-size: 14px;
    }

    .rating-bonus {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .rating-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 15px;
        gap: 10px;
        /* text-align: center; */
        position: relative;
    }

    .rating-logo {
        margin-bottom: 10px;
        width: 100%;
        display: flex;
        justify-content: center; /* Центрирование логотипа */
    }

    .rating-logo img {
        width: 100%;
        max-width: 200px; /* Ограничение максимальной ширины для крупных логотипов */
        height: auto; /* Автоматическая высота для сохранения пропорций */
        padding: 8px;
    }

    .rating-name {
        font-size: 20px; /* Увеличенный шрифт для названия */
        font-weight: 600;
    }

    .rating-score {
        justify-content: center;
        margin: 5px 0;
        font-size: 14px; /* Увеличенный шрифт для рейтинга */
    }

    .rating-score i {
        font-size: 16px; /* Увеличенные звёзды */
    }

    .rating-score .rating-value {
        font-size: 14px; /* Увеличенный шрифт для значения рейтинга */
    }

    .rating-bonus {
        font-size: 18px; /* Увеличенный шрифт для бонуса */
        margin: 5px 0;
    }

    /* Контейнер для кнопок */
    .rating-buttons {
        display: flex !important;
        flex-direction: row; /* Горизонтальное расположение */
        width: 100%;
        gap: 10px; /* Отступ между кнопками */
        margin-top: 10px;
        align-items: center;
        justify-content: space-between;
    }

    .rating-details, .rating-link {
        width: calc(50% - 5px); /* 50% ширины минус половина отступа */
        margin: 0;
        display: flex;
        align-items: center;
    }

    .rating-row > .rating-details {
        justify-content: flex-start; /* Притягиваем к левому краю */
    }

    .rating-row > .rating-link {
        justify-content: flex-end; /* Притягиваем к правому краю */
    }

    /* Стили для кнопки "Подробнее" */
    .details-btn {
        width: 100%;
        padding: 10px;
        font-size: 14px;
        text-align: center;
        background: transparent;
        color: #07e;
        border: 1px solid #07e; /* Бордер того же цвета, что и текст */
        border-radius: 5px;
        min-height: 40px; /* Фиксированная высота для одинакового размера */
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        font-weight: 600;
        text-transform: uppercase;
        cursor: pointer;
        transition: background 0.3s, color 0.3s;
    }

    .details-btn:hover {
        background: #f5f5f5;
        color: #0055b3;
        border-color: #0055b3;
    }

    /* Стили для кнопки "Перейти" */
    .btn-go {
        width: 100%;
        padding: 10px;
        font-size: 14px;
        text-align: center;
        background: #e40707;
        color: #ffffff;
        border-radius: 5px;
        min-height: 40px; /* Фиксированная высота для одинакового размера */
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        font-weight: 600;
        text-transform: uppercase;
        transition: background 0.3s;
    }

    .btn-go:hover {
        background: #c30606;
    }

    .details-content {
        padding: 15px;
    }

    .details-inner {
        grid-template-columns: 1fr;
    }

    /* Адаптивность для bk-info-table */
    .bk-info-table td {
        display: block;
        width: 100%;
        padding: 8px 10px;
    }

    .bk-info-table td:first-child {
        font-weight: 600;
        border-bottom: none;
        width: 100%;
    }

    .bk-info-table td:last-child {
        border-bottom: 1px solid #eee;
        padding-bottom: 12px;
    }

    /* Адаптивность для bonus-attention */
    .bonus-attention {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
        gap: 10px;
    }

    .bonus-icon {
        margin-bottom: 5px;
    }

    .bonus-text {
        font-size: 15px;
        text-align: center;
        width: 100%;
    }

    .btn-get {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .rating {
        padding: 20px 10px;
    }

    .rating-row {
        padding: 10px;
        gap: 8px;
    }

    .rating-logo img {
        max-width: 160px; /* Чуть меньше для очень маленьких экранов */
        height: auto;
    }

    .rating-name {
        font-size: 18px; /* Чуть меньше для маленьких экранов */
    }

    .rating-score {
        font-size: 13px;
    }

    .rating-score i {
        font-size: 14px;
    }

    .rating-score .rating-value {
        font-size: 13px;
    }

    .rating-bonus {
        font-size: 16px;
    }

    .details-btn {
        font-size: 12px;
        min-height: 36px; /* Чуть меньше для маленьких экранов */
        padding: 8px;
    }

    .btn-go {
        font-size: 12px;
        min-height: 36px; /* Чуть меньше для маленьких экранов */
        padding: 8px;
    }

    .details-content {
        padding: 10px;
    }

    .details-col h4 {
        font-size: 14px;
    }

    .details-col li {
        font-size: 12px;
    }

    .bonus-text {
        font-size: 14px;
    }
}

/* Десктопная версия: расположение кнопок */
.rating-buttons {
    display: contents; /* Убирает влияние контейнера в десктопной версии */
}

.rating-row > .rating-details {
    grid-column: 5 / 6; /* Размещаем в 5-й колонке */
    display: flex;
    justify-content: center;
    align-items: center;
}

.rating-row > .rating-link {
    grid-column: 6 / 7; /* Размещаем в 6-й колонке */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Основной контент (продолжение) */
.content {
    padding: 40px 20px;
}

.content h2 {
    font-size: 28px;
    margin: 30px 0 20px;
    text-align: left;
}

.content h3 {
    font-size: 22px;
    margin: 25px 0 15px;
}

.content p {
    font-size: 16px;
    margin-bottom: 15px;
}

.content ul, .content ol {
    margin: 15px 0 15px 20px;
}

.content li {
    font-size: 16px;
    margin-bottom: 10px;
}

.content li strong {
    font-weight: 600;
}

.content-img {
    margin: 20px 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.content-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.content-img img:hover {
    transform: scale(1.02);
}

.content a {
    color: #07e;
    text-decoration: none;
}

.content a:hover {
    text-decoration: underline;
}

/* Таблицы в контенте */
.content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.content th, .content td {
    padding: 15px;
    text-align: left;
    font-size: 14px;
}

.content th {
    background: #f5f5f5;
    font-weight: 600;
}

.content td {
    border-bottom: 1px solid #eee;
}

.content tr:last-child td {
    border-bottom: none;
}

.content tr:hover {
    background: #f9f9f9;
}

/* FAQ */
.faq-item {
    margin-bottom: 15px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.content h2#faq {
    text-align: center;
}

.faq-question {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: #f5f5f5;
    border-radius: 10px;
}

.faq-answer {
    display: none;
    padding: 0 15px 15px;
    font-size: 16px;
}

.faq-answer.active {
    display: block;
}

.faq-icon {
    transition: transform 0.3s;
}

.faq-icon.fa-chevron-up {
    transform: rotate(180deg);
}

/* Отзывы */
.review-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.review-avatar {
    flex-shrink: 0;
    margin-right: 20px;
}

.review-avatar i {
    font-size: 50px;
    color: #666;
}

.revname {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
}

.review-content p {
    font-size: 16px;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .container {
        max-width: 100%;
    }

    .intro-title {
        font-size: 32px;
    }

    .intro-subtitle {
        font-size: 16px;
    }

    .content h2 {
        font-size: 26px;
    }

    .content h3 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .intro {
        padding: 30px 15px;
    }
    .intro-block {
        flex-direction: column;
        align-items: center;
        margin: 10px 0;
    }

    .intro-image {
        width: 100%;
        max-width: 400px; /* Ограничиваем ширину на маленьких экранах */
        order: 1; /* Картинка сверху */
    }

    .intro-text {
        text-align: left;
        width: 100%;
        order: 2; /* Текст снизу */
    }

    .intro-title {
        font-size: 28px;
    }

    .intro-subtitle {
        font-size: 14px;
    }

    .rating {
        padding: 30px 15px;
    }

    .content {
        padding: 30px 15px;
    }

    .content h2 {
        font-size: 24px;
    }

    .content h3 {
        font-size: 18px;
    }

    .content p, .content li {
        font-size: 15px;
    }

    .review-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .review-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .intro {
        padding: 20px 10px;
    }
    .intro-image {
        max-width: 300px; /* Уменьшаем для очень маленьких экранов */
    }

    .intro-text {
        font-size: 14px;
    }

    .intro-title {
        font-size: 24px;
    }

    .intro-subtitle {
        font-size: 13px;
    }

    .content {
        padding: 20px 10px;
    }

    .content h2 {
        font-size: 22px;
    }

    .content h3 {
        font-size: 16px;
    }

    .content p, .content li {
        font-size: 14px;
    }

    .content table {
        font-size: 12px;
    }

    .content th, .content td {
        padding: 10px;
    }

    .faq-question {
        font-size: 16px;
    }

    .faq-answer {
        font-size: 14px;
    }

    .review-content h4 {
        font-size: 16px;
    }

    .review-content p {
        font-size: 14px;
    }
}

/* Улучшение читаемости */
h1, h2, h3 {
    color: #222;
}

ul li::before, ol li::before {
    margin-right: 5px;
}

/* Дополнительные стили для микроразметки */
[role="navigation"] a {
    text-decoration: none;
}

[itemprop="image"] {
    max-width: 100%;
}