/* Стили для карточки букмекера */

.bookmaker-card {
    border: 1px solid #e5e7eb;
    border-radius: 25px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin: 20px 0;
    transition: box-shadow 0.3s ease;
    overflow: visible;
    position: relative;
}

.bookmaker-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Карточка с рамкой */
.bookmaker-card--bordered {
    border-width: 4px;
    border-style: solid;
    overflow: visible;
    border-radius: 25px;
}

/* Бейдж внутри карточки */
.bookmaker-card__badge {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 24px;
    margin: 0 auto;
    width: fit-content;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    background-color: #5DB24C;
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    margin-bottom: 24px;
}

.bookmaker-card__badge .badge-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.bookmaker-card__badge .badge-text {
    line-height: 1;
}

/* Отступ для main-row когда есть бейдж */
.bookmaker-card--bordered .bookmaker-card__main-row {
    padding-top: 0;
}

/* Основная строка карточки */
.bookmaker-card__main-row {
    display: grid;
    grid-template-columns: 50px 100px 92px minmax(130px, 1fr) 203px 90px 170px;
    gap: 16px;
    align-items: center;
    padding: 24px 36px;
    background: #FFFFFF;
    border-radius: 25px 25px 0 0;
}

/* 1. Номер в рейтинге */
.bookmaker-card__rank {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border-radius: 50%;
    border: 2px solid #908F8F !important;
}

.rank-crown-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 2. Логотип */
.bookmaker-card__logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bookmaker-card__logo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: inherit;
}

.bookmaker-card__logo-link:hover .bookmaker-card__name {
    text-decoration: underline;
}

.bookmaker-card__logo {
    object-fit: contain;
    padding: 4px;
    min-width: 130px;
}

/* 3. Рейтинг звезд */
.bookmaker-card__rating {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 70px;
    border-radius: 10px;
    opacity: 1;
    padding: 0 12px;
    background: #FFC1071A;
}

.rating-stars {
    display: flex;
    gap: 2px;
    align-items: center;
}

.star {
    font-size: 23px;
    display: inline-block;
}

.star-full {
    color: #FFC107 !important;
}

.star-half {
    background: linear-gradient(90deg, #FFC107 50%, #e5e7eb 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rating-number {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #000000;
}

/* 4. Bonus up to */
.bookmaker-card__bonus {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #d4f5e9 0%, #c7f0df 100%);
    padding: 9px 16px;
    border-radius: 8px;
    text-align: center;
}

.bonus-label {
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    color: #5DB24C;
    font-weight: 600;
    margin-bottom: 4px;
}

.bonus-value {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bonus-percent {
    font-size: 20px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    color: #5DB24C;
}

/* 5. Deposit Methods */
.bookmaker-card__deposit-methods {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 202.6px;
    height: 70px;
    border-radius: 10px;
    justify-content: space-between;
    opacity: 1;
    padding: 12px 18px;
    border: 1px solid #e5e7eb;
    background: #fff;
}

.deposit-label {
    font-size: 11px;
    color: #6b7280;
    font-weight: 500;
    margin: 0;
}

.payment-icons {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
}

.payment-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36.89px;
    height: 23.72px;
    opacity: 1;
}

.payment-icon svg,
.payment-icon img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    object-fit: contain;
}

.payment-icon-placeholder svg {
    border: 1px solid #e5e7eb;
}

.more-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    background: #F5F5F5;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    font-size: 12px;
    color: #666666;
    font-weight: 500;
    min-width: 32px;
    flex-shrink: 0;
}

/* 6. Review Button */
.bookmaker-card__review-btn {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    color: #374151 !important;
    padding: 23px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    text-decoration: none;
}

.bookmaker-card__review-btn:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
}

/* 7. Claim Bonus Button */
.bookmaker-card__claim-btn {
    display: flex;
    align-items: center;
    color: rgb(255, 255, 255);
    font-weight: 600;
    font-family: 'Manrope', serif;
    font-size: 18px;
    gap: 8px;
    padding: 8px;
    background: rgb(93, 178, 76);
    border-radius: 100px;
    text-decoration: none;
    transition: 0.3s;
    white-space: nowrap;
}
.bookmaker-card__claim-btn .gift-icon-wrapper {
        width: 54px;
        height: 54px;
        background: #FFFFFF;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
}
.bookmaker-card__claim-btn:hover {
    background: #4a9c3d;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(93, 178, 76, 0.4);
}

.gift-icon {
    flex-shrink: 0;
    color: #fff;
    background-color: #fff !important;
    padding: 2px;
}

.claim-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: #fff;
}

.claim-label {
    font-size: 12px;
    opacity: 0.95;
    color: #fff;
}

.claim-amount {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

/* Expandable Section */
.bookmaker-card--expanded .bookmaker-card__main-row  {
    grid-template-columns: 50px 114px 90px minmax(105px, 1fr) 140px 118px 194px !important;
    gap: 14px !important;
}
.bookmaker-card__expandable {
    background: #fff;
    border-radius: 0 0 25px 25px;
}

.bookmaker-card__toggle {
    border-radius: 0 0 25px 25px;
    width: 100%;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    color: #5DB24C;
    transition: background 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: last baseline;
}

.bookmaker-card__toggle:hover {
    background: #f3f4f6;
}
.toggle-container {
    display: flex;
    height: 42px;
    width: 135px;
    justify-content: center;
    align-items: center;
    background-color: #F8F8F8;
    border-radius: 10px 10px 0 0;
} 

.arrow-icon {
    transition: transform 0.3s ease;
}

.bookmaker-card__toggle[aria-expanded="true"] .arrow-icon {
    transform: rotate(180deg);
}

.bookmaker-card__details {
    padding: 24px;
    background: #fafafa;
    border-top: 1px solid #e5e7eb;
    overflow: visible;
    border-radius: 0 0 25px 25px;
}

.bookmaker-card__details[hidden] {
    display: none;
}

.bookmaker-card__promo-section {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    overflow: visible;
    position: relative;
}

.promo-container {
    background: transparent;
    border-radius: 10px;
    overflow: visible;
    border: none;
    width: 100%;
    position: relative;
}

.promo-content-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 8px 12px;
    position: relative;
}

.promo-description-box {
    flex: 1;
    font-size: 20px;
    color: #34363D;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    line-height: 1.5;
    margin-left: 20px;
}

.promo-code-button {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 8px;
    background: #5DB24C1A;
    border: 2px dashed #5DB24C;
    border-radius: 8px;
    padding: 0 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    font-family: inherit;
    min-width: 140px;
}

.promo-code-button:hover {
    background: #10b981;
    border-color: #10b981;
    border-style: solid;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.promo-code-button:active {
    transform: translateY(0);
}

.promo-label {
    font-size: 12px;
    color: #34363D80;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
    margin-bottom: -6px;
}

.promo-code-button:hover .promo-label {
    color: #d1fae5;
}

.promo-code-row {
    display: flex;
    text-transform: uppercase;
    font-size: 26px;
    font-weight: 800;
    font-family: 'Manrope', sans-serif;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

.promo-code-text {
    font-size: 26px;
    font-weight: 700;
    color: #5DB24C;
    font-family: 'Manrope', sans-serif;
    transition: color 0.2s ease;
}

.promo-code-button:hover .promo-code-text {
    color: #fff;
}

.copy-icon {
    width: 22px;
    height: 22px;
    color: #5DB24C;
    transition: color 0.2s ease;
    flex-shrink: 0;
    margin-top: -20px;
}

.promo-code-button:hover .copy-icon {
    color: #fff;
}

.copied-tooltip {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: #1f2937;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 1000;
}

.copied-tooltip::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #1f2937;
}

.promo-code-button.copied .copied-tooltip {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.promo-code-button.copied {
    background: #10b981;
    border-color: #10b981;
    border-style: solid;
}

.promo-code-button.copied .promo-code-text,
.promo-code-button.copied .copy-icon,
.promo-code-button.copied .promo-label {
    color: #fff;
}

.promo-bonus {
    font-size: 12px;
    color: #374151;
}

.bookmaker-card__info-table {
    background: #FAFAFA;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.info-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

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

.info-column-left {
    border-right: 1px solid #e5e7eb;
}

.info-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 20px;
    padding: 14px 20px;
    border-bottom: 1px solid #e5e7eb;
}

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

.info-column-left .info-row:nth-child(even),
.info-column-right .info-row:nth-child(even) {
    background: #f9fafb;
}

.info-label {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #ACACB5;
}

.info-value {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    color: #626273;
}

/* Review Modal */
.bookmaker-review-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.review-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.review-modal-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.review-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f3f4f6;
    border: none;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.review-modal-close:hover {
    background: #e5e7eb;
}

.review-header h3 {
    margin: 0 0 20px 0;
    font-size: 24px;
    color: #1f2937;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 2px solid #e5e7eb;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e5e7eb;
}

.review-avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
}

.review-author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.review-author-info strong {
    font-size: 18px;
    color: #1f2937;
}

.review-author-info span {
    font-size: 14px;
    color: #6b7280;
}

.review-image {
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
}

.review-image img {
    width: 100%;
    height: auto;
    display: block;
}

.review-text {
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
}

.review-text p {
    margin: 0 0 16px 0;
}

.review-text p:last-child {
    margin-bottom: 0;
}

/* Error State */
.bookmaker-card-error {
    padding: 20px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #991b1b;
    text-align: center;
}

/* Адаптивность */
@media (min-width: 1601px) {
    .bookmaker-card__main-row {
        padding: 20px 28px;
    }
}

@media (max-width: 1600px) {
    .bookmaker-card__main-row {
        padding: 18px 24px;
    }
    
    .bookmaker-card__rating {
        padding: 0 6px;
        gap: 4px;
        width: auto;
        height: auto;
        max-width: 80px;
        min-height: 70px;
        margin-left: 10px;
    }
}

@media (max-width: 1400px) {
    .bookmaker-card__main-row {
        /* grid-template-columns: 50px 120px 90px 160px 180px 100px 200px; */
        gap: 16px;
        padding: 16px 20px;
    }
}

@media (max-width: 1200px) {
    .bookmaker-card__main-row {
        grid-template-columns: 45px 110px 85px 140px 160px 90px 180px;
        gap: 12px;
        padding: 14px 18px;
        font-size: 14px;
    }
    
    .bookmaker-card__rank {
        font-size: 14px;
    }
    
    .bookmaker-card__logo {
        width: 120px;
        height: auto;
    }
}

@media (max-width: 1024px) {
    .bookmaker-card__main-row {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "rank logo"
            "rating bonus"
            "methods methods"
            "review claim";
        gap: 12px;
        padding: 16px;
    }
    
    .bookmaker-card__rank {
        grid-area: rank;
        justify-self: start;
    }
    
    .bookmaker-card__logo-wrapper {
        grid-area: logo;
        justify-self: end;
    }
    
    .bookmaker-card__rating {
        grid-area: rating;
    }
    
    .bookmaker-card__bonus {
        grid-area: bonus;
    }
    
    .bookmaker-card__deposit-methods {
        grid-area: methods;
    }
    
    .bookmaker-card__review-btn {
        grid-area: review;
    }
    
    .bookmaker-card__claim-btn {
        grid-area: claim;
        justify-self: stretch;
    }
}

@media (max-width: 1024px) {
    .bookmaker-card {
        border-radius: 25px;
        margin: 16px 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    
    .bookmaker-card__badge {
        padding: 6px 16px;
        font-size: 12px;
        gap: 8px;
    }
    
    .bookmaker-card__badge .badge-icon {
        width: 16px;
        height: 16px;
    }
    
    .bookmaker-card--bordered {
        border-radius: 25px;
    }
    
    .bookmaker-card__main-row {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 16px;
        background: #fff;
        position: relative;
        border-radius: 25px 25px 0 0;
    }
    
    .bookmaker-card--bordered .bookmaker-card__main-row {
        padding-top: 8px;
    }
    
    /* Верхняя строка: Rank + Title + Rating */
    .bookmaker-card__rank {
        order: 1;
        width: 28px;
        height: 28px;
        font-size: 12px;
        font-weight: 700;
        border: 2px solid #D1D5DB;
        color: #6B7280;
        flex-shrink: 0;
    }
    
    .bookmaker-card__logo-wrapper {
        order: 1;
        display: flex;
        align-items: center;
        gap: 10px;
        flex: 1;
        min-width: 0;
        margin-left: 0;
    }
    
    .bookmaker-card__logo {
        max-width: 140px;
        min-width: auto;
        height: auto;
        padding: 0;
        flex-shrink: 1;
    }
    
    /* Рейтинг в хедере справа */
    .bookmaker-card__rating {
        order: 1;
        width: auto;
        height: auto;
        padding: 11px 18px;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        gap: 6px;
        flex-shrink: 0;
    }
    
    .rating-stars {
        order: 1;
    }
    
    .star {
        font-size: 18px;
    }
    
    .rating-number {
        order: 2;
        font-size: 16px;
        font-weight: 700;
        color: #34363D;
    }
    
    /* Создаем flexbox контейнер для верхней строки */
    .bookmaker-card__main-row > .bookmaker-card__rank,
    .bookmaker-card__main-row > .bookmaker-card__logo-wrapper,
    .bookmaker-card__main-row > .bookmaker-card__rating {
        order: 1;
    }
    
    .bookmaker-card__main-row {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        padding: 16px;
        background: #fff;
        position: relative;
        align-items: center;
    }
    
    /* Остальные элементы идут ниже */
    .bookmaker-card__bonus,
    .bookmaker-card__deposit-methods,
    .bookmaker-card__claim-btn,
    .bookmaker-card__review-btn,
    .bookmaker-card__expandable {
        width: 100%;
        flex-basis: 100%;
    }
    
    /* Bonus Block - зеленый фон */
    .bookmaker-card__bonus {
        order: 2;
        width: 100%;
        background: #E8F5E9;
        border-radius: 12px;
        padding: 9px 16px;
        text-align: center;
    }
    
    .bonus-label {
        font-size: 12px;
        font-weight: 600;
        color: #5DB24C;
        margin-bottom: 6px;
        line-height: 100%;
        display: block;
    }
    
    .bonus-value {
        display: block;
    }
    
    .bonus-percent {
        font-size: 24px;
        font-weight: 800;
        color: #5DB24C;
        line-height: 100%;
    }
    
    /* Методы депозита */
    .bookmaker-card__deposit-methods {
        order: 3;
        width: 100%;
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        gap: 12px;
        flex-wrap: nowrap !important;
    }
    
    .deposit-label {
        font-size: 12px;
        font-weight: 600;
        color: #34363D;
        margin: 0;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .payment-icons {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 3px;
        flex-wrap: nowrap;
        flex: 1;
        overflow-x: auto;
    }
    
    .payment-icon {
        width: 36px;
        height: 23px;
        flex-shrink: 0;
        border-radius: 4px;
        overflow: hidden;
    }
    
    .payment-icon svg,
    .payment-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    .more-count {
        font-size: 12px;
        font-weight: 600;
        color: #6B7280;
        padding: 4px 8px;
        background: #F3F4F6;
        border-radius: 4px;
    }
    
    /* Claim Button - зеленая с подарком */
    .bookmaker-card__claim-btn {
        order: 4;
        grid-column: 1 / -1;
        grid-row: 3;
        width: 100%;
        padding: 8px;
        font-size: 13px;
        justify-content: flex-start;
        box-sizing: border-box;
    }
    
    .bookmaker-card__claim-btn:hover {
        background: #4a9639;
        box-shadow: 0 4px 12px rgba(93, 178, 76, 0.35);
        transform: translateY(-1px);
    }
    
    /* Белый круг с иконкой подарка */
    .bookmaker-card__claim-btn .gift-icon {
        width: 38px;
        height: 38px;
        background: #FFFFFF;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        padding: 10px;
    }
    
    .bookmaker-card__claim-btn .gift-icon img {
        width: 24px;
        height: 24px;
        filter: invert(64%) sepia(48%) saturate(636%) hue-rotate(75deg) brightness(93%) contrast(87%);
    }
    
    .claim-content {
        display: grid;
        flex-direction: row;
        align-items: flex-start;
        gap: 0;
        flex: 1;
        justify-content: flex-start;
        padding-right: 12px;
    }
    
    .claim-label {
        font-size: 16px;
        font-weight: 600;
        line-height: 140%;
        color: #FFFFFF;
    }
    
    .claim-amount {
        font-size: 16px;
        font-weight: 600;
        color: #FFFFFF;
        line-height: 140%;
    }
    
    /* Review Button - серая */
    .bookmaker-card__review-btn {
        order: 5;
        width: 100%;
        height: 58px;
        font-size: 14px;
        font-weight: 600;
        border-radius: 12px;
        background: #F3F4F6;
        color: #34363D;
        border: none;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    .promo-content-row {
        display: block;
        padding: 20px;
        background-color: #FFFFFF;
        border-radius: 12px;

    }
    .bookmaker-card__review-btn:hover {
        background: #E5E7EB;
    }
    
    /* Expandable секция */
    .bookmaker-card__expandable {
        order: 6;
        width: 100%;
        border-radius: 0 0 25px 25px;
    }
    
    .bookmaker-card__toggle {
        padding: 0;
        width: 100%;
        background: transparent;
        border: none;
        cursor: pointer;
    }
    
    .toggle-container {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    
    .toggle-text {
        font-size: 15px;
        font-weight: 600;
        color: #5DB24C;
    }
    
    .arrow-icon {
        color: #5DB24C;
        transition: transform 0.3s ease;
    }
    
    .bookmaker-card__toggle[aria-expanded="true"] .arrow-icon {
        transform: rotate(180deg);
    }
    
    .bookmaker-card__details {
        padding: 0 0 16px;
    }
    
    /* Промокоды */
    .promo-container {
        margin-bottom: 16px;
        border-radius: 12px;
        background: #F8F8F8;
        padding: 12px;
    }
    
    .promo-description-box {
        font-size: 14px;
        font-weight: 600;
        color: #34363D;
        line-height: 140%;
        margin-left: 0;
        margin-bottom: 26px;
    }
    
    .promo-code-button {
        width: 100%;
        height: auto;
        padding: 12px 15px;
        border-radius: 10px;
        font-size: 14px;
    }
    
    .promo-code-text {
        font-size: 15px;
        font-weight: 700;
    }
    .promo-code-row {
        font-size: 18px;
        justify-content: space-between;
        width: 100%;
    }
    
    /* Таблица информации */
    .bookmaker-card__info-table {
        margin-top: 16px;
        padding: 20px;
    }
    
    .info-columns {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    .info-column {
        width: 100%;
    }
    
    .info-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 14px 0;
        border-bottom: 1px solid #F0F0F0;
        gap: 12px;
    }
    
    .info-row:last-child {
        border-bottom: none;
    }
    
    .info-label {
        font-size: 14px;
        color: #ACACB5;
        flex: 1;
        font-weight: 400;
    }
    
    .info-value {
        font-size: 14px;
        font-weight: 600;
        color: #626273;
        text-align: right;
        line-height: 100%;
        flex-shrink: 0;
    }
    
    /* Иконки приложений */
    .mobile-app-icons {
        gap: 6px;
    }
    
    .app-icon-button {
        width: 32px;
        height: 32px;
    }
    
    .app-icon-button svg {
        width: 20px;
        height: 20px;
    }
    
    /* Модальное окно отзыва */
    .review-modal-content {
        padding: 20px;
        border-radius: 20px;
        margin: 16px;
    }
    
    .review-header h3 {
        font-size: 20px;
    }
    
    .review-author {
        padding: 12px 0;
    }
    
    .review-avatar,
    .review-avatar-placeholder {
        width: 40px;
        height: 40px;
    }
}

/* Mobile App Icons and Modals */
.mobile-app-icons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.app-icon-button {
    background: transparent;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.app-icon-button:hover {
    color: #10b981;
    background: #f0fdf4;
    transform: scale(1.1);
}

.app-icon-button svg {
    display: block;
}

/* Review Modal */
.bookmaker-review-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.review-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.review-modal-content {
    position: relative;
    background: #FFFFFF;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
    color: #6B7280;
}

.review-modal-close:hover {
    background-color: #F3F4F6;
    color: #1F2937;
}

.review-header {
    margin-bottom: 24px;
}

.review-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1F2937;
    margin: 0;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background-color: #F9FAFB;
    border-radius: 8px;
    margin-bottom: 24px;
}

.review-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.review-avatar-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5DB24C 0%, #4A9B3D 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.review-author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.review-author-info strong {
    font-size: 16px;
    font-weight: 600;
    color: #1F2937;
}

.review-author-info span {
    font-size: 14px;
    color: #6B7280;
}

.review-image {
    margin-bottom: 24px;
    border-radius: 8px;
    overflow: hidden;
}

.review-image img {
    width: 100%;
    height: auto;
    display: block;
}

.review-text {
    font-size: 16px;
    line-height: 1.75;
    color: #374151;
}

.review-text p {
    margin-bottom: 16px;
}

.review-text p:last-child {
    margin-bottom: 0;
}

/* App Modal */
.app-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.app-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.app-modal-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    z-index: 1;
}

.app-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f3f4f6;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.app-modal-close:hover {
    background: #e5e7eb;
    color: #1f2937;
    transform: rotate(90deg);
}

.app-modal-header {
    padding: 10px;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
    align-items: center;
}

.app-modal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    margin-right: 20px;
}

.app-modal-icon.android-icon {
    background: linear-gradient(135deg, #3ddc84 0%, #07c160 100%);
    color: #fff;
}

.app-modal-icon.ios-icon {
    background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
    color: #fff;
}

.app-modal-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
}

.app-modal-body {
    padding: 32px;
}

.app-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 15px;
}

.app-info-item {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0 20px;
}

.app-info-item.app-bonus {
    background: #f0fdf4;
    border-color: #10b981;
}

.app-info-label {
    display: block;
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.app-bonus .app-info-label {
    color: #059669;
}

.app-info-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
}

.app-bonus .app-info-value {
    color: #10b981;
}

.app-screenshots {
    margin-bottom: 20px;
}

.app-screenshots h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 16px 0;
}

.app-screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.app-screenshot {
    height: 300px;
    border-radius: 12px;
}

.app-download-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.app-download-btn {
    flex: 1;
    min-width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: #10b981;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.app-download-btn:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3);
}

.app-download-btn.apk-btn,
.app-download-btn.pwa-btn {
    background: #6366f1;
}

.app-download-btn.apk-btn:hover,
.app-download-btn.pwa-btn:hover {
    background: #4f46e5;
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3);
}

@media (max-width: 768px) {
    .app-modal-content {
        max-width: 100%;
        border-radius: 0;
        max-height: 100vh;
    }
    
    .app-modal-header,
    .app-modal-body {
        padding: 24px 20px;
    }
    
    .app-info-grid {
        grid-template-columns: 1fr;
    }
    
    .app-screenshots-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    
    .app-download-buttons {
        flex-direction: column;
    }
    
    .app-download-btn {
        min-width: 100%;
    }
}


/* ========================================
   Bookmaker Review - Expanded View Styles
   ======================================== */

/* Карточка всегда в развернутом виде */
.bookmaker-card--expanded .bookmaker-card__details {
    display: block !important;
}

/* Скрываем кнопку "More Info" и toggle */
.bookmaker-card--expanded .bookmaker-card__toggle {
    display: none !important;
}

.bookmaker-card--expanded .bookmaker-card__expandable {
    border-radius: 0 0 25px 25px;
}

/* ========================================
   Bookmaker Review Container & Sections
   ======================================== */

.bookmaker-review-container {
    position: relative;
    background-color: #A5D6A7;
    background-image: 
        radial-gradient(100% 200% at 0% 0%, rgba(93, 178, 76, 0.9) 0%, transparent 100%),
        radial-gradient(50% 100% at 0% 0%, rgba(93, 178, 76, 0.85) 0%, transparent 100%),
        radial-gradient(90% 70% at 100% 60%, rgba(24, 26, 30, 1) 0%, transparent 100%);
    border: 4px solid rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    padding: 36px;
    margin: 24px 0;
    font-family: 'Manrope', sans-serif;
}

/* TOP Badge */
.bookmaker-review__top-badge {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 12px;
    color: #fff;
    padding: 0;
    margin-bottom: 24px;
}

.top-badge__text {
    font-size: 36px;
    font-weight: 800;
    font-family: 'Manrope', sans-serif;
    margin: 0;
    color: #fff;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Intro Text */
.bookmaker-review__intro {
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 28px !important;
    color: #FFFFFF;
    margin-bottom: 30px !important;
    text-align: justify;
    padding: 0;
}

/* Pros & Cons Section */
.bookmaker-review__pros-cons {
    background: #fff;
    border-radius: 16px;
    padding: 36px;
    margin-top: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.bookmaker-review__pros-cons h3 {
    font-size: 24px;
    font-weight: 700;
    color: #2D3748;
    margin: 0 0 30px 0;
    text-align: left;
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.pros-title {
    font-size: 18px;
    font-weight: 700;
    color: #10B981;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pros-title::before {
    content: '✓';
    font-size: 24px;
}

.cons-title {
    font-size: 18px;
    font-weight: 700;
    color: #EF4444;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cons-title::before {
    content: '✗';
    font-size: 24px;
}

.pros-list,
.cons-list {
    list-style: none;
    padding: 0 !important;
    padding-left: 0 !important;
    margin: 0;
}

.pros-list li,
.cons-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 0 !important;
    padding-left: 0 !important;
    margin-bottom: 20px !important;
    font-size: 14px;
    line-height: 1.6;
    color: #4A5568;
}

.pros-list li:last-child,
.cons-list li:last-child {
    border-bottom: none;
}

.pros-list .check-icon {
    color: #10B981;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(16, 185, 129, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cons-list .cross-icon {
    color: #EF4444;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(239, 68, 68, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Features Section */
.bookmaker-review__features {
    background: #fff;
    border-radius: 16px;
    padding: 36px;
    margin-top: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.bookmaker-review__features h3 {
    font-size: 24px;
    font-weight: 700;
    color: #2D3748;
    margin: 0 0 20px 0;
    text-align: left;
}

.features-content {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #34363D;
}

.features-content p {
    margin: 0 0 16px 0;
}

.features-content p:last-child {
    margin-bottom: 0;
}

/* After Card Text */
.bookmaker-review__after-card-text {
    padding: 0;
    margin-top: 30px;
    font-size: 18px !important;
    font-weight: 600 !important;
    font-family: 'Manrope', sans-serif;
    line-height: 28px !important;
    color: #FFFFFF;
}

.bookmaker-review__after-card-text p {
    margin: 0 0 16px 0;
}

.bookmaker-review__after-card-text p:last-child {
    margin-bottom: 0;
}

/* Переопределяем глобальное скрытие :before для списков Pros & Cons */
.main-blocks .bookmaker-review__pros-cons ul.pros-list li:before,
.main-blocks .bookmaker-review__pros-cons ul.cons-list li:before,
.wp-block-post-content .bookmaker-review__pros-cons ul.pros-list li:before,
.wp-block-post-content .bookmaker-review__pros-cons ul.cons-list li:before,
.main-blocks .bookmaker-review__pros-cons ul.pros-list li::before,
.main-blocks .bookmaker-review__pros-cons ul.cons-list li::before,
.wp-block-post-content .bookmaker-review__pros-cons ul.pros-list li::before,
.wp-block-post-content .bookmaker-review__pros-cons ul.cons-list li::before {
    display: inline-flex !important;
    content: '' !important;
    width: auto !important;
    height: auto !important;
}

.main-blocks .bookmaker-review__pros-cons .pros-list .check-icon,
.main-blocks .bookmaker-review__pros-cons .cons-list .cross-icon,
.wp-block-post-content .bookmaker-review__pros-cons .pros-list .check-icon,
.wp-block-post-content .bookmaker-review__pros-cons .cons-list .cross-icon {
    display: inline-flex !important;
    flex-shrink: 0 !important;
}



/* Mobile Styles */
@media (max-width: 1570px) {
    .bookmaker-review-container {
        padding: 16px;
    }
    .bookmaker-card__main-row {
        gap: 10px;
        padding: 18px 10px;
    }
    .bookmaker-card--expanded .bookmaker-card__main-row {
        grid-template-columns: 4% 13% 10% 19% 15% 10% 20% !important;
    }
}
@media (max-width: 768px) {
    .bookmaker-review-container {
        padding: 20px;
        border-radius: 20px;
        margin: 20px 0;
    }
    
    .bookmaker-review__top-badge {
        padding: 0;
        flex-direction: row;
        text-align: left;
        gap: 8px;
        margin: 0 !important;
    }
    
    .top-badge__text {
        font-size: 28px;
        line-height: 26px;
    }
    .bookmaker-review__after-card-text {
        font-size: 14px;
        line-height: 26px;
    }
    
    .bookmaker-review__intro {
        padding: 14px 0;
        font-size: 14px;
        text-align: left;
    }
    
    .pros-cons-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .features-content {
        font-size: 14px;
        line-height: 26px;
    }
    
    .bookmaker-review__pros-cons,
    .bookmaker-review__features {
        padding: 24px 20px;
    }
    
    .bookmaker-review__pros-cons h3,
    .bookmaker-review__features h3 {
        font-size: 20px;
    }
    
    .pros-title,
    .cons-title {
        font-size: 16px;
    }
    
    /* Review Modal Mobile */
    .review-modal-content {
        padding: 24px;
        max-height: 95vh;
    }
    
    .review-header h3 {
        font-size: 20px;
        padding-right: 32px;
    }
    
    .review-author {
        padding: 12px;
        gap: 12px;
    }
    
    .review-avatar,
    .review-avatar-placeholder {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .review-text {
        font-size: 15px;
    }
}
@media (max-width: 480px) {
   .top-badge__text {
        font-size: 22px;
   }
}