:root {
    --surface: #fff;
    --surface-alt: #f1f1f1;
    --text: #000;
    --accent: #167141;
    --radius: 10px;
    --gold: #f2c94c;
    --silver: #c0c0c0;
    --bronze: #cd7f32;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
    color: var(--text);
    background: #fafafa
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 12px
}

.casino-list {
    display: block
}


.casino-card {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: linear-gradient(80deg, var(--surface), var(--surface-alt));
    border: 2px solid #000;
    border-radius: var(--radius);
    padding: 20px 0;
    margin: 24px 0;
}

.casino-col {
    flex: 1 1 25%;
    padding: 10px;
    text-align: center;
}

.logo-col,
.bonus-col,
.button-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-frame {
    width: clamp(150px, 22vw, 220px);
    height: clamp(110px, 16vw, 140px);
    padding: 8px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #f6f7fb;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06);
}

.logo-frame img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.logo-frame.logo--darkbg {
    background: #0f1115;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.logo-frame.logo--lightbg {
    background: #f6f7fb;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06);
}

@media (max-width:600px) {
    .logo-frame {
        width: 170px;
        height: 120px;
    }

    .logo-col {
        margin-bottom: 10px;
    }
}

.bonus-col {
    text-align: center
}

.bonus-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px
}

.bonus-main {
    font-weight: 800;
    font-size: 22px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .2px;
    color: #0b1120
}

.bonus-sub {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    text-transform: uppercase;
    color: #106022;
    opacity: .95
}

@media (max-width:992px) {
    .bonus-main {
        font-size: 20px
    }

    .bonus-sub {
        font-size: 15px
    }
}

@media (max-width:600px) {
    .bonus-main {
        font-size: 18px
    }

    .bonus-sub {
        font-size: 14px
    }
}

.rank-badge {
    position: absolute;
    top: -12px;
    left: -12px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .25), transparent), var(--gold);
    color: #1a1a1a;
    border: 2px solid #fff;
    display: grid;
    place-items: center;
    font: 800 16px/1 system-ui;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .12), 0 2px 4px rgba(0, 0, 0, .08);
    z-index: 2;
}

@media (max-width:600px) {
    .rank-badge {
        width: 30px;
        height: 30px;
        font-size: 14px;
        top: -10px;
        left: -10px
    }
}

/* Top-3 ribbons + border colors */
.casino-list>.casino-card:nth-child(1),
.casino-list>.casino-card:nth-child(2),
.casino-list>.casino-card:nth-child(3) {
    box-shadow: 0 10px 30px rgba(0, 0, 0, .16);
    padding-top: 34px;
    padding-bottom: 34px;
}

.border-gold {
    border-color: var(--gold)
}

.border-silver {
    border-color: var(--silver)
}

.border-bronze {
    border-color: var(--bronze)
}

.top-ribbon {
    position: absolute;
    top: -16px;
    left: 56px;
    padding: 8px 14px;
    border-radius: 999px;
    font: 800 13px/1 system-ui;
    letter-spacing: .2px;
    white-space: nowrap;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .12);
    z-index: 2;
    color: #1a1a1a
}

.top-ribbon.gold {
    background: var(--gold)
}

.top-ribbon.silver {
    background: var(--silver)
}

.top-ribbon.bronze {
    background: var(--bronze);
    color: #fff
}

@media (max-width:600px) {
    .top-ribbon {
        top: -12px;
        left: 44px;
        font-size: 12px;
        padding: 6px 10px
    }
}

/* Players pill */
.players-pill {
    position: absolute;
    left: 50%;
    bottom: -16px;
    transform: translateX(-50%);
    background: var(--gold);
    color: #1a1a1a;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .14);
}

.players-pill.silver {
    background: var(--silver)
}

.players-pill.bronze {
    background: var(--bronze);
    color: #fff
}

@media (max-width:600px) {
    .players-pill {
        bottom: -12px;
        font-size: 12px;
        padding: 6px 10px
    }
}

/* Feature list with icons */
.features-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
    font-size: 14px
}

.features-col li.feat {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0
}

.features-col .feat-dot {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex: 0 0 16px;
    filter: saturate(.3) contrast(1.1)
}

@media (max-width:600px) {
    .features-col ul {
        text-align: center;
        list-style-position: inside
    }

    .features-col li.feat {
        gap: 8px
    }

    .features-col .feat-dot {
        width: 14px;
        height: 14px;
        flex-basis: 14px
    }
}

/* Button + rating + payments */
.button-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px
}

.play-btn {
    display: inline-block;
    padding: 12px 20px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    max-width: 220px;
    width: 100%;
    text-align: center;
    transition: transform .12s ease, opacity .12s ease;
}

.play-btn:hover {
    transform: translateY(-1px);
    opacity: .95
}

/* Rating box */
.rating-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 12px;
    min-width: 160px;
    color: #0b1120
}

.rating-box .score {
    font-weight: 800;
    font-size: 28px;
    line-height: 1;
    letter-spacing: .5px
}

.rating-box .stars {
    position: relative;
    line-height: 1;
    font-size: 18px;
    letter-spacing: 2px;
    --fill: 100%
}

.rating-box .stars::before {
    content: "★★★★★";
    color: #3a3a3a
}

.rating-box .stars::after {
    content: "★★★★★";
    position: absolute;
    inset: 0;
    width: var(--fill);
    overflow: hidden;
    color: #ffc83d
}

.rating-box .votes {
    font-size: 14px;
    opacity: .95;
    white-space: nowrap
}

@media (max-width:600px) {
    .rating-box {
        min-width: auto;
        padding: 8px 10px
    }

    .rating-box .score {
        font-size: 24px
    }

    .rating-box .stars {
        font-size: 16px
    }

    .rating-box .votes {
        font-size: 13px
    }
}

/* Payments */
.payments {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2px
}

.payments img.pay-icon {
    width: 28px;
    height: 18px;
    object-fit: contain;
    filter: saturate(.2) contrast(1.1);
    filter: none !important;
    -webkit-filter: none !important;
}

.payments .more {
    font-size: 13px;
    font-weight: 700;
    color: #444;
    background: #f2f2f2;
    border-radius: 999px;
    padding: 4px 8px
}

@media (max-width:600px) {
    .payments img.pay-icon {
        width: 26px;
        height: 16px
    }
}

/* Responsive grid */
@media (max-width:992px) {
    .casino-col {
        flex: 1 1 50%
    }

    .features-col ul {
        padding-left: 18px
    }

    .button-col {
        align-items: center
    }
}

@media (max-width:600px) {
    .casino-col {
        flex: 1 1 100%
    }
}

/* NAV local styles */
.site-nav {
    background:
        radial-gradient(1200px 500px at 80% -20%, rgba(20, 40, 120, .35), transparent 60%),
        radial-gradient(900px 400px at 10% 120%, rgba(0, 180, 160, .25), transparent 60%),
        linear-gradient(180deg, #061022 0%, #071427 100%);
    color: #fff;
}

.site-nav__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
}

.brand-logo {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eace3c;
    color: #000;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
}

.brand-logo svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.brand-title {
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    margin: 0;
}

@media (min-width: 768px) {
    .site-nav__container {
        padding: 16px 12px;
    }

    .brand-logo {
        width: 40px;
        height: 40px;
    }

    .brand-logo svg {
        width: 20px;
        height: 20px;
    }

    .brand-title {
        font-size: 16px;
    }
}

/**/
.hero-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 6px 0 14px;
    font-size: clamp(26px, 3.8vw, 44px);
    line-height: 1.1;
}

.hero-title .part {
    display: inline-flex;
    align-items: center
}

.part-top {
    font-weight: 900;
    background: linear-gradient(90deg, #f2c94c, #ff8a00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: .3px;
}

.part-main {
    font-weight: 900;
    color: #0b1120;
    letter-spacing: .3px;
}

.part-geo,
.part-year {
    font-weight: 800;
    letter-spacing: .4px;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 8px 12px;
    line-height: 1;
}

.part-geo {
    background: #0f172a;
    color: #fff;
}

.part-year {
    background: #eace3c;
    color: #141414;
}

@media (max-width:600px) {
    .hero-title {
        gap: 8px;
    }

    .part-geo,
    .part-year {
        padding: 6px 10px;
    }
}

/**/
/* --- local styles for the table --- */
.section-title {
    font-weight: 900;
    font-size: clamp(20px, 2.4vw, 28px);
    line-height: 1.15;
    margin: 10px 0 14px;
    color: #222;
}

.feature-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    font-size: 16px;
}

.feature-table th,
.feature-table td {
    padding: 14px 16px;
    vertical-align: middle;
}

.feature-table th {
    text-align: left;
    font-weight: 700;
    color: #0b1120;
    width: 60%;
}

.feature-table td {
    text-align: right;
    color: #111827;
}

.feature-table tr:nth-child(even) {
    background: #fafafa;
}

.feature-table tr:hover {
    background: #fffbe9;
}

/* badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 13px;
    line-height: 1;
}

.badge.yes {
    background: #16a34a;
    color: #fff;
}

.badge.no {
    background: #9ca3af;
    color: #111;
}

.payments-cell {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.payments-inline img {
    width: 28px;
    height: 18px;
    object-fit: contain;
    vertical-align: middle;
    filter: none;
}

.payments-cell .more {
    font-size: 13px;
    font-weight: 700;
    color: #444;
    background: #f2f2f2;
    border-radius: 999px;
    padding: 4px 8px;
}

@media (max-width:600px) {
    .feature-table table {
        font-size: 15px;
    }

    .feature-table th,
    .feature-table td {
        padding: 12px 12px;
    }

    .payments-inline img {
        width: 26px;
        height: 16px;
    }
}

.cta-sticky {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: flex;
    justify-content: center;
    pointer-events: none;
    z-index: 1000;
}

.cta-sticky__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #0b1120;
    color: #fff;
    padding: 12px 14px;
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .22);
    max-width: 640px;
    width: 100%;
    transform: translateY(120%);
    opacity: 0;
    transition: transform .25s ease, opacity .25s ease;
    pointer-events: auto;
}

.cta-sticky.is-show .cta-sticky__inner {
    transform: translateY(0);
    opacity: 1;
}

.cta-btn {
    margin-left: auto;
    display: inline-block;
    padding: 10px 16px;
    background: #167141;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    border-radius: 10px;
}

.cta-btn:hover {
    opacity: .95;
    transform: translateY(-1px);
}

@media (max-width:480px) {
    .cta-sticky__inner {
        border-radius: 10px;
    }
}

.feature-table {
    position: relative;
    margin-top: 12px;
}

.feature-table::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -8px;
    height: 6px;
    border-radius: 12px 12px 0 0;
    background: linear-gradient(90deg, var(--gold), #e9eefc 35%, var(--accent) 100%);
    filter: saturate(1.1);
    pointer-events: none;
}

.feature-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 18px 30px -16px rgba(0, 0, 0, .20),
        0 6px 14px rgba(0, 0, 0, .06),
        inset 0 1px 0 rgba(255, 255, 255, .7);
}

.feature-table th,
.feature-table td {
    padding: 14px 16px;
    vertical-align: middle;
}

.feature-table th {
    width: 60%;
    text-align: left;
    font-weight: 800;
    color: #0b1120;
}

.feature-table td {
    text-align: right;
    color: #111827;
}

.feature-table tbody tr+tr th,
.feature-table tbody tr+tr td {
    border-top: 1px solid #eef2f7;
}

.feature-table tbody tr:hover th,
.feature-table tbody tr:hover td {
    background: #fffdf4;
}

.feature-table tbody tr:hover td:last-child {
    position: relative;
}

.feature-table tbody tr:hover td:last-child::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 4px;
    border-radius: 0 0 0 0;
    background: var(--accent);
    opacity: .25;
}

@media (max-width:600px) {
    .feature-table table {
        font-size: 15px;
    }

    .feature-table th,
    .feature-table td {
        padding: 12px 12px;
    }
}

/**/
/* ===== Footer ===== */
.site-footer {
    position: relative;
    padding: 36px 0 28px;
    color: #fff;
    overflow: hidden;
    background:
        radial-gradient(1200px 500px at 80% -20%, rgba(20, 40, 120, .35), transparent 60%),
        radial-gradient(900px 400px at 10% 120%, rgba(0, 180, 160, .25), transparent 60%),
        linear-gradient(180deg, #061022 0%, #071427 100%);
}

.site-footer .disclaimer {
    max-width: 1200px;
    margin: 0 auto;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.65;
    letter-spacing: .2px;
    text-align: left;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .25);
}


.trust-logos {
    margin: 22px auto 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    opacity: .95;
}

.trust-logos img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .15));
}


@media (max-width: 992px) {
    .site-footer {
        padding: 28px 0 22px;
    }

    .site-footer .disclaimer {
        font-size: 17px;
    }

    .trust-logos {
        gap: 22px;
    }

    .trust-logos img {
        height: 34px;
    }
}

@media (max-width: 600px) {
    .site-footer .disclaimer {
        font-size: 16px;
        text-align: left;
    }

    .trust-logos {
        flex-wrap: wrap;
        gap: 16px 22px;
    }

    .trust-logos img {
        height: 28px;
    }
}

/**/
/* ===== Info slabs ===== */
.site-info {
    margin: 32px 0 48px;
}

.info-slab {
    position: relative;
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 22px;
    padding: 24px 28px;
    border-radius: 16px;
    background:
        radial-gradient(600px 300px at 10% 10%, rgba(120, 150, 255, .06), transparent 60%),
        radial-gradient(600px 300px at 90% 90%, rgba(0, 220, 180, .06), transparent 60%),
        #0b1222;

    box-shadow:
        0 12px 24px rgba(0, 0, 0, .25),
        inset 0 1px 0 rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .06);
}

.info-slab+.info-slab {
    margin-top: 22px;
}

.info-icon {
    align-self: flex-start;
    width: 96px;
    height: 96px;
    border-radius: 16px;
    background: linear-gradient(180deg, #0e1932, #0b1428);
    box-shadow:
        0 8px 18px rgba(0, 0, 0, .35),
        inset 0 1px 0 rgba(255, 255, 255, .08);
    display: grid;
    place-items: center;
}

.info-icon img {
    max-width: auto;
    max-height: auto;
    object-fit: contain;
    filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .25));
}

.info-body h3 {
    margin: 2px 0 10px;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: .5px;
    color: #fff;
    text-transform: uppercase;
}

.info-body p {
    margin: 0;
    color: #e8eefc;
    line-height: 1.7;
    font-size: 16px;
    opacity: .95;
}

/* adaptive */
@media (max-width: 720px) {
    .info-slab {
        grid-template-columns: 1fr;
        text-align: left;
        padding: 20px;
    }

    .info-icon {
        width: 72px;
        height: 72px;
        margin-bottom: 8px;
    }

    .info-icon img {
        max-width: 44px;
        max-height: 44px;
    }

    .info-body h3 {
        font-size: 22px;
    }

    .info-body p {
        font-size: 15px;
        line-height: 1.65;
    }
}

/**/
.trust-strip {

    color: #000000;
    padding: 14px 0;
    margin-top: 24px;
}

.trust-strip__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.trust-list {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: .4px;
    opacity: .95;
    text-transform: uppercase;
    white-space: nowrap;
}

.trust-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35));
}

.trust-text {
    display: inline-block;
}

.trust-updated {
    margin-left: auto;
    font-weight: 700;
    color: #187327;
    white-space: nowrap;
}

@media (max-width: 720px) {
    .trust-strip__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .trust-updated {
        margin-left: 0;
        margin-top: 6px;
    }
}

.trust-strip .trust-icon {
    filter: brightness(0) saturate(100%) !important;
    opacity: .95;
}

/**/
/* DARK OVERLAY + CENTERING */
.offer-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    /* скрыто по умолчанию */
}

.offer-overlay.open {
    display: flex;
    /* центрируем модалку */
    align-items: center;
    justify-content: center;
    padding: clamp(14px, 4vh, 48px);
    /* отступы от краёв на всех экранах */
}

.offer-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(6, 14, 36, .9);
    /* тёмно-синий фон */
    backdrop-filter: blur(5px) saturate(1.05);
    z-index: 0;
}

/* MODAL */
.offer-modal {
    position: relative;
    z-index: 1;
    /* выше затемнения */
    width: min(520px, 92vw);
    max-height: min(85svh, 680px);
    /* svh — корректный vh на мобилках */
    margin: 0;
    /* ВАЖНО: убираем старые margin:auto/8vh */
    padding: 18px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 48px rgba(0, 0, 0, .35), 0 2px 12px rgba(0, 0, 0, .18);
    overflow: hidden;
    /* контент внутри скроллится, не вылезает */
}

/* Внутрянка как раньше */
.offer-inner {
    display: flex;
    align-items: center;
    gap: 22px;
    min-width: 0;
}

.offer-logo-wrap {
    flex: 0 0 190px;
    height: 140px;
    border-radius: 12px;
    background: #f6f7fb;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.offer-logo {
    max-width: 94%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.offer-body {
    min-width: 0;
}

.offer-tag {
    display: inline-block;
    margin-bottom: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f2c94c;
    font: 800 12px/1 system-ui;
    color: #111;
}

.offer-bonus {
    font-weight: 800;
    font-size: 22px;
    margin: 6px 0 2px;
}

.offer-fs {
    font-weight: 700;
    color: #106022;
    margin-bottom: 12px;
}

.offer-cta {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 12px;
    background: #167141;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.offer-note {
    margin-top: 10px;
    font-size: 12px;
    color: #4b5563;
}

.offer-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #0b122a;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}

/* MOBILE/TABLET STACK */
@media (max-width: 680px) {
    .offer-modal {
        width: min(560px, 92vw);
        max-height: calc(100svh - 32px);
        padding: 14px;
    }

    .offer-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .offer-logo-wrap {
        width: 100%;
        height: 110px;
    }

    .offer-logo {
        max-width: 70%;
        max-height: 80%;
    }

    .offer-body {
        text-align: left;
    }

    .offer-tag {
        margin: 6px 0 4px;
    }

    .offer-bonus {
        font-size: 19px;
    }

    .offer-fs {
        font-size: 14px;
    }

    .offer-cta {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 380px) {
    .offer-logo {
        max-width: 62%;
        max-height: 72px;
    }

    .offer-bonus {
        font-size: 18px;
    }
}

/* Блокируем прокрутку страницы, когда модалка открыта */
html.modal-open,
body.modal-open {
    overflow: hidden;
}