.bp-has-casino-category-layout .site-main {
    padding: 0;
}

.bp-casino-hero {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: #f3f4f6;
    padding: 52px 0 44px;
}

.bp-casino-hero__inner {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bp-casino-hero__title {
    font-size: clamp(2.4rem, 4.5vw, 3.4rem);
    font-weight: 700;
    margin: 0;
    color: #0f172a;
}

.bp-casino-placeholder {
    padding: 64px 0 80px;
}

.bp-casino-placeholder__inner {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.bp-casino-placeholder__card {
    width: 100%;
    min-height: 320px;
    border-radius: 32px;
    background: linear-gradient(125deg, #ffffff 0%, #f8fbff 50%, #ffffff 100%);
    box-shadow: 0 35px 80px rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bp-casino-placeholder__label {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #cbd5f5;
}

.bp-casino-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    width: 100%;
}

.bp-casino-card {
    background: #ffffff;
    border-radius: 26px;
    padding: 32px 28px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    min-height: 430px;
}

.bp-casino-card__thumb {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

.bp-casino-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bp-casino-card__thumb-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #a5b4fc, #c7d2fe);
}

.bp-casino-card__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}

.bp-casino-card__title a {
    color: inherit;
}

.bp-casino-card__body {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    flex: 1 1 auto;
}

.bp-casino-card__rating {
    display: flex;
    justify-content: center;
    min-height: 24px;
}

.bp-casino-card__excerpt {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #64748b;
    min-height: 48px;
    line-clamp: 3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bp-casino-card__actions {
    width: 100%;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

.bp-casino-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(200px, 100%);
    padding: 14px 0;
    border-radius: 40px;
    background-color: #d63031;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bp-casino-card__button:hover,
.bp-casino-card__button:focus {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(214, 48, 49, 0.3);
    color: #ffffff;
}

.bp-casino-card__button--disabled {
    opacity: 0.6;
    pointer-events: none;
    box-shadow: none;
}

.bp-casino-card__meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.82rem;
    color: #94a3b8;
    align-items: center;
    width: 100%;
}

.bp-card-terms {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bp-card-terms__trigger,
.bp-card-terms--muted {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 18px;
    border-radius: 999px;
    border: none;
    font-size: 0.85rem;
    font-weight: 600;
    background-color: rgba(214, 215, 219, 0.35);
    color: #d63031;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.bp-card-terms__trigger:hover,
.bp-card-terms__trigger:focus {
    background-color: rgba(214, 215, 219, 0.55);
    transform: translateY(-1px);
}

.bp-card-terms__trigger:focus-visible {
    box-shadow: 0 0 0 2px rgba(214, 48, 49, 0.35);
}

.bp-card-terms--muted {
    background-color: rgba(226, 232, 240, 0.7);
    color: #94a3b8;
    cursor: default;
}

.bp-card-terms__tooltip {
    position: absolute;
    bottom: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%);
    width: min(260px, calc(100vw - 80px));
    padding: 18px 20px;
    border-radius: 16px;
    background: #ffffff;
    color: #475569;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.25);
    line-height: 1.5;
    font-size: 0.85rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10;
}

.bp-card-terms__tooltip:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px 10px 0 10px;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
}

.bp-card-terms:hover .bp-card-terms__tooltip,
.bp-card-terms:focus-within .bp-card-terms__tooltip {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, -4px);
}

.bp-card-terms__note {
    font-size: 0.8rem;
    color: #94a3b8;
}

.bp-casino-pagination {
    margin-top: 48px;
}

.bp-casino-pagination ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.bp-casino-pagination a,
.bp-casino-pagination span {
    display: inline-flex;
    min-width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f1f5f9;
    color: #475569;
    font-weight: 600;
}

.bp-casino-pagination .current {
    background: #0f172a;
    color: #ffffff;
}

@media (max-width: 1024px) {
    .bp-casino-hero__inner,
    .bp-casino-placeholder__inner {
        width: calc(100% - 30px);
    }

    .bp-casino-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .bp-casino-hero {
        padding: 40px 0 32px;
    }

    .bp-casino-hero__inner,
    .bp-casino-placeholder__inner {
        width: calc(100% - 24px);
    }

    .bp-casino-placeholder__card {
        min-height: 240px;
        border-radius: 24px;
    }

    .bp-casino-grid {
        grid-template-columns: 1fr;
    }
}

