:root {
    --bg: #eef1f5;
    --surface: #fff;
    --surface-soft: #f7f8fa;
    --text: #172033;
    --muted: #647084;
    --line: #dfe4eb;
    --green: #18884f;
    --blue: #2563eb;
    --gold: #f0a400;
    --shadow: 0 8px 26px rgba(15, 23, 42, .08);
    --radius: 16px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--text);
    font: 15px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    background: var(--bg);
    -webkit-font-smoothing: antialiased
}

a {
    color: inherit;
    text-decoration: none
}

img {
    display: block;
    max-width: 100%
}

.page-bg {
    min-height: 100vh;
    padding: 22px 12px 40px;
    background: radial-gradient(700px 260px at 50% 0, #dce8ff 0, transparent 72%), linear-gradient(180deg, #eef3f9 0, #edf0f4 100%)
}

.site-shell {
    width: min(1180px, 100%);
    margin: auto
}

.market-header {
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, .05)
}

.market-header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px
}

.market-identity {
    display: flex;
    align-items: center;
    gap: 14px
}

.market-flag {
    height: 52px;
    object-fit: cover
}

.market-identity span, .market-identity strong {
    display: block
}

.market-identity span {
    color: #167243;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    font-weight: 750
}

.market-identity strong {
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 18px
}

.market-actions {
    display: flex;
    align-items: center;
    gap: 8px
}

.language-switch-public {
    display: flex;
    gap: 5px
}

.language-switch-public a, .country-menu__button {
    min-width: 42px;
    height: 42px;
    padding: 0 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: #536075;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 2px 8px #0f172a0a
}

.language-switch-public a.is-active {
    background: #e9f2ff;
    color: #1d4ed8;
    border-color: #c7dafd
}

.country-menu {
    position: relative
}

.country-menu__button {
    cursor: pointer
}

.country-menu__panel {
    display: none;
    position: absolute;
    right: 0;
    top: 48px;
    z-index: 50;
    width: 245px;
    max-height: 360px;
    overflow: auto;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
    box-shadow: var(--shadow)
}

.country-menu__panel.is-open {
    display: block
}

.country-menu__panel a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 9px;
    font-size: 13px
}

.country-menu__panel a:hover {
    background: #f2f5f8
}

.country-menu__panel img {
    height: 18px;
    object-fit: cover;
    border-radius: 4px
}

.author-card {
    max-width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 8px 12px 8px 8px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fbfcfd
}

.author-card img {
    width: 43px;
    height: 43px;
    object-fit: cover;
    border-radius: 7px
}

.author-card strong, .author-card span {
    display: block
}

.author-card strong {
    color: #087640;
    font-size: 14px
}

.author-card span {
    color: #445064;
    font-size: 12px
}

.status-strip {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 1px;
    margin: 16px 0;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 13px;
    overflow: hidden;
    box-shadow: 0 2px 10px #0f172a08
}

.status-strip span {
    min-height: 42px;
    padding: 10px 12px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    color: #425066;
    font-size: 11px;
    font-weight: 650
}

.ranking-intro {
    text-align: center;
    padding: 10px 16px 18px
}

.ranking-kicker {
    margin-bottom: 6px;
    color: #16804b;
    text-transform: uppercase;
    letter-spacing: .11em;
    font-size: 11px;
    font-weight: 800
}

.ranking-intro h1 {
    max-width: 820px;
    margin: 0 auto;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.08;
    letter-spacing: -.035em
}

.short-intro {
    max-width: 740px;
    max-height: 3.25em;
    overflow: hidden;
    margin: 9px auto 0;
    color: var(--muted);
    font-size: 14px
}

.short-intro p {
    margin: 0
}

.ranking {
    display: grid;
    gap: 13px
}

.casino-card {
    --card-accent: #2563eb;
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 5px 18px rgba(15, 23, 42, .055);
    overflow: hidden
}

.casino-card--featured {
    border: 2px solid #f0a400;
    box-shadow: 0 8px 24px rgba(217, 146, 0, .10)
}

.rank-badge {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    padding: 5px 10px;
    border-radius: 0 0 10px 0;
    background: #16804b;
    color: #fff;
    font-size: 11px;
    font-weight: 900
}

.offer-badge {
    position: absolute;
    right: 14px;
    top: 0;
    z-index: 2;
    max-width: 48%;
    padding: 5px 10px;
    border-radius: 0 0 8px 8px;
    background: var(--card-accent);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .025em;
    font-size: 11px;
    font-weight: 850
}

.casino-card__main {
    display: grid;
    grid-template-columns:230px minmax(230px, 1fr) 135px 190px;
    gap: 20px;
    align-items: center;
    padding: 34px 22px 17px
}

.casino-brand {
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: #2f3541;
    border-radius: 11px;
    overflow: hidden
}



.casino-brand img {
    max-width: 100%;
    max-height: 72px;
    object-fit: contain
}

.casino-brand strong {
    font-size: 22px
}

.casino-offer small, .casino-offer span, .casino-rating span, .casino-rating small, .casino-cta small {
    display: block;
    color: var(--muted);
    font-size: 12px
}

.casino-offer small {
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: .07em;
    font-weight: 750
}

.casino-offer strong {
    display: block;
    font-size: 20px;
    line-height: 1.22;
    letter-spacing: -.02em
}

.casino-offer span {
    margin-top: 6px
}

.casino-rating {
    text-align: center
}

.casino-rating > strong {
    display: block;
    color: #147843;
    font-size: 30px;
    line-height: 1;
    font-weight: 850
}

.stars {
    color: #f4ad00;
    letter-spacing: 1px;
    font-size: 15px;
    margin: 4px 0 2px
}

.casino-cta a {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 13px;
    border-radius: 10px;
    background: #1f8b50;
    color: #fff;
    font-size: 15px;
    font-weight: 850;
    text-align: center;
    box-shadow: 0 5px 12px rgba(31, 139, 80, .16)
}

.casino-cta a:hover {
    background: #167542
}

.casino-cta small {
    text-align: center;
    margin-top: 5px
}

.payment-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex-wrap: wrap;
    padding: 0 22px 14px
}

.payment-chip {
    min-width: 42px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 8px;
    border: 1px solid #e1e6ec;
    border-radius: 7px;
    background: #fff;
    color: #667084;
    font-size: 9px;
    font-weight: 700
}

.payment-chip img {
    max-width: 64px;
    max-height: 19px;
    object-fit: contain
}

.offer-terms {
    border-top: 1px solid #e5e9ef;
    background: #fafbfc
}

.offer-terms summary {
    min-height: 42px;
    padding: 11px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    list-style: none;
    color: #566176;
    font-size: 11px;
    font-weight: 650
}

.offer-terms summary::-webkit-details-marker {
    display: none
}

.offer-terms summary span {
    transition: transform .18s
}

.offer-terms[open] summary span {
    transform: rotate(180deg)
}

.offer-terms__body {
    padding: 2px 24px 16px;
    color: #556176;
    font-size: 12px
}

.offer-terms__body ul {
    margin: 8px 0;
    padding-left: 18px
}

.editorial {
    margin-top: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 4px 16px #0f172a08
}

.editorial__inner {
    margin: auto;
    padding: 28px 32px
}

.editorial h2 {
    margin: 0 0 13px;
    font-size: 25px
}

.editorial h3 {
    font-size: 19px;
    margin: 22px 0 8px
}

.editorial p, .editorial li {
    color: #4f5b6e
}

.responsible {
    margin-top: 18px;
    padding: 20px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 15px
}

.responsible strong {
    display: block;
    margin-bottom: 13px
}

.responsible div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap
}

.responsible img {
    max-height: 32px;
    max-width: 140px;
    object-fit: contain
}

.site-footer {
    margin-top: 18px;
    padding: 0;
    text-align: center;
    color: #7b8697;
    font-size: 11px;
    overflow: hidden;
    border-radius: 0
}

.footer-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 79px;
    background: #0b4b34
}

.footer-trust img {
    display: block;
    width: 100%;
    max-width: 949px;
    height: auto
}

.footer-copy {
    padding: 22px 10px
}

.empty-public {
    padding: 30px;
    text-align: center;
    background: #fff;
    border: 1px dashed #cbd3de;
    border-radius: 14px;
    color: var(--muted)
}

@media (max-width: 900px) {
    .casino-card__main {
        grid-template-columns:160px minmax(200px, 1fr) 115px 165px;
        gap: 14px;
        padding-inline: 16px
    }

    .casino-offer strong {
        font-size: 17px
    }

    .status-strip {
        grid-template-columns:repeat(2, 1fr)
    }
}

@media (max-width: 680px) {
    .page-bg {
        padding: 8px 7px 26px
    }

    .market-header {
        padding: 14px;
        border-radius: 0 0 14px 14px
    }

    .market-flag {
        height: 50px
    }

    .market-identity {
        gap: 12px
    }

    .market-identity strong {
        font-size: 16px
    }

    .author-card {
        margin-top: 12px
    }

    .status-strip {
        margin: 12px 8px;
        border-radius: 12px
    }

    .ranking-intro {
        padding: 8px 16px 14px
    }

    .ranking-intro h1 {
        font-size: 26px
    }

    .short-intro {
        font-size: 13px;
        max-height: 3em
    }

    .ranking {
        gap: 12px
    }

    .casino-card {
        border-radius: 13px
    }

    .casino-card__main {
        grid-template-columns:minmax(120px, 1fr) minmax(128px, 1fr);
        gap: 13px;
        padding: 34px 15px 14px
    }

    .casino-brand {
        height: 84px;
        padding: 10px
    }

    .casino-offer strong {
        font-size: 21px
    }

    .casino-rating {
        grid-column: 1;
        text-align: left;
        display: grid;
        grid-template-columns:auto auto;
        align-items: end;
        column-gap: 8px
    }

    .casino-rating span {
        grid-column: 1/-1
    }

    .casino-rating > strong {
        font-size: 27px
    }

    .casino-rating .stars {
        align-self: center
    }

    .casino-rating small {
        grid-column: 1/-1
    }

    .casino-cta {
        grid-column: 2
    }

    .casino-cta a {
        min-height: 44px
    }

    .payment-row {
        padding-inline: 14px;
        justify-content: center;
    }

    .offer-terms summary {
        justify-content: space-between;
        padding-inline: 15px
    }

    .offer-terms__body {
        padding-inline: 18px
    }

    .editorial__inner {
        padding: 22px 18px
    }

    .offer-badge {
        right: 8px;
        max-width: 56%
    }
}

@media (max-width: 390px) {
    .market-identity span {
        font-size: 10px
    }

    .market-identity strong {
        font-size: 14px
    }

    .market-flag {
        height: 46px
    }

    .language-switch-public {
        display: none
    }

    .status-strip span {
        padding: 8px 7px;
        font-size: 9.5px
    }

    .casino-card__main {
        grid-template-columns:118px 1fr;
        padding-inline: 12px
    }

    .casino-brand {
        height: 78px
    }

    .casino-offer strong {
        font-size: 15px
    }

    .casino-rating > strong {
        font-size: 25px
    }

    .casino-cta a {
        font-size: 12px;
        padding-inline: 8px
    }

    .payment-chip:nth-child(n+7) {
        display: none
    }
}


/* Updated market status bar; casino ranking remains identical to the original source. */
.status-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: min(1180px, calc(100vw - 32px));
    min-height: 43px;
    margin: 18px 0 18px 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #e3e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(18, 32, 53, .07)
}

.status-strip .status-item {
    position: relative;
    min-height: 41px;
    padding: 0 16px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    color: #111827;
    font-size: 14px;
    font-weight: 500;
    text-align: left
}

.status-strip .status-item + .status-item:before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 1px;
    height: 21px;
    background: #dfe4e8
}

.status-strip .status-item svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    fill: none;
    stroke: #18884f;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round
}

.status-strip .status-item b {
    font-weight: 600
}

.status-strip .status-country img {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #eef0f2
}

.status-strip .flag-fallback {
    width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #18884f;
    color: #fff;
    font-size: 8px;
    font-style: normal;
    font-weight: 800
}

.status-strip .status-item--adult {
    color: #df140c
}

.status-strip .status-item--adult i {
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border: 1.6px solid #ef2017;
    border-radius: 50%;
    font-size: 7px;
    line-height: 1;
    font-style: normal;
    font-weight: 800
}

@media (max-width: 1050px) {
    .status-strip .status-item {
        padding-inline: 11px;
        font-size: 13px
    }
}

@media (max-width: 820px) {
    .status-strip {
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none
    }

    .status-strip::-webkit-scrollbar {
        display: none
    }

    .status-strip .status-item {
        flex: 0 0 auto
    }
}

@media (max-width: 600px) {
    .status-strip {
        width: calc(100vw - 12px);
        margin-top: 12px;
        margin-bottom: 12px;
        border-radius: 10px
    }
}

/* Footer trust logos: individual PNG assets */
.footer-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 79px;
    padding: 0 42px;
    background: #0b4b34;
    flex-wrap: nowrap
}

.footer-trust img {
    display: block;
    width: auto;
    max-width: none;
    height: auto;
    object-fit: contain;
    flex: 0 0 auto
}

.footer-trust img:nth-child(1) {
    width: 193px
}

.footer-trust img:nth-child(2) {
    width: 69px
}

.footer-trust img:nth-child(3) {
    width: 113px
}

.footer-trust img:nth-child(4) {
    width: 81px
}

.footer-trust img:nth-child(5) {
    width: 94px
}

.footer-trust img:nth-child(6) {
    width: 116px
}

.footer-trust img:nth-child(7) {
    width: 127px
}

@media (max-width: 900px) {
    .footer-trust {
        gap: 4px;
        padding: 8px 12px;
        flex-wrap: wrap
    }

    .footer-trust img {
        max-height: 45px;
        width: auto !important
    }
}
