:root {
    --bg: #f4f7fb;
    --surface: #fff;
    --surface-2: #f8fafc;
    --ink: #0b1f3a;
    --ink-soft: #334155;
    --muted: #64748b;
    --line: #d8dee8;
    --line-strong: #c7d0dd;
    --navy: #0b1f3a;
    --gold: #b8860b;
    --gold-2: #e0b64b;
    --green: #1f8a5b;
    --blue: #225ea8;
    --shadow: 0 18px 50px rgba(15, 23, 42, .08);
    --radius: 20px;
    --max: 1180px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, #eef3f9 0%, #f7f9fc 32%, #fff 100%);
    line-height: 1.55
}

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

.wrap {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto
}

.topbar {
    background: var(--navy);
    color: #dbe7f5;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    font-size: 13px
}

.topbar .wrap {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px
}

.topbar strong {
    color: #fff
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap
}

.status:before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--gold-2)
}

header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line)
}

.nav {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}

.brand-img {
    width: 218px;
    max-width: 52vw;
    height: auto;
    display: block
}

nav ul {
    margin: 0;
    padding: 0;
    display: flex;
    gap: 4px;
    list-style: none
}

nav a {
    display: inline-flex;
    padding: 10px 12px;
    color: var(--ink-soft);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 750
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 17px;
    border-radius: 11px;
    border: 1px solid transparent;
    background: var(--navy);
    color: #fff;
    font-weight: 850;
    box-shadow: 0 10px 22px rgba(11, 31, 58, .16)
}

.btn.gold {
    background: var(--gold);
    box-shadow: 0 10px 22px rgba(184, 134, 11, .18)
}

.hero {
    padding: 76px 0 70px;
    background: radial-gradient(circle at 86% 12%, rgba(224, 182, 75, .24), transparent 28%), linear-gradient(135deg, rgba(11, 31, 58, .99), rgba(16, 43, 77, .94));
    color: #fff
}

.hero-content {
    max-width: 920px
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    color: #e8eef8;
    font-size: 14px;
    font-weight: 800
}

.eyebrow:before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold-2)
}

h1 {
    max-width: 880px;
    margin: 20px 0 0;
    font-size: clamp(42px, 6vw, 78px);
    line-height: .98;
    letter-spacing: -.064em
}

.section {
    padding: 58px 0
}

.section-head {
    margin-bottom: 22px
}

h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.05;
    letter-spacing: -.045em;
    color: var(--navy)
}

.sub {
    max-width: 760px;
    color: var(--muted);
    margin: 10px 0 0
}

.casino-list {
    display: grid;
    gap: 14px
}

.casino-card {
    display: grid;
    grid-template-columns: 56px minmax(220px, 1.05fr) minmax(190px, .64fr) minmax(250px, .95fr) minmax(230px, .9fr) auto;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow)
}

.rank {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--surface-2);
    border: 1px solid var(--line-strong);
    color: var(--navy);
    font-weight: 900;
    font-size: 20px
}

.casino-main {
    display: grid;
    gap: 4px
}

.casino-title {
    margin: 0;
    font-size: 20px;
    color: var(--navy);
    letter-spacing: -.02em
}

.meta {
    color: var(--muted);
    font-size: 13px
}

.rating span {
    display: block;
    color: var(--gold);
    font-weight: 900;
    letter-spacing: 1px
}

.rating strong {
    color: var(--navy);
    font-size: 18px
}

.payment-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center
}

.payment-strip img {
    width: 70px;
    height: 34px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .06)
}

.bonus strong {
    display: block;
    color: var(--ink);
    font-size: 16px
}

.bonus span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 13px
}

.card-actions {
    display: flex;
    gap: 9px;
    align-items: center;
    justify-content: flex-end
}

.table-box {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow)
}

.table-scroll {
    overflow-x: auto
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 860px
}

th,
td {
    padding: 15px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top
}

th {
    background: #f1f5f9;
    color: var(--navy);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em
}

td {
    color: var(--ink-soft)
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px
}

.card,
.legal {
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow)
}

.card h3 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 20px
}

.card p {
    margin: 0;
    color: var(--muted)
}

.card ul {
    margin: 14px 0 0;
    padding-left: 18px;
    color: var(--ink-soft)
}

.card li {
    margin: 7px 0
}

.icon-box {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 11px;
    background: #eff4fb;
    color: var(--navy);
    font-weight: 900;
    border: 1px solid var(--line)
}

.editorial {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 20px;
    align-items: start;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow)
}

.badge {
    display: inline-flex;
    width: max-content;
    margin-top: 7px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #f6eddb;
    color: #7a5608;
    font-weight: 850;
    font-size: 12px
}

.checklist {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none
}

.checklist li {
    display: flex;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-2);
    color: var(--ink-soft)
}

.checklist b {
    color: var(--green)
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px
}

.payment {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 10px 26px rgba(15, 23, 42, .05)
}

.payment img {
    width: 100%;
    max-width: 150px;
    height: 62px;
    object-fit: contain;
    align-self: flex-start
}

.payment strong {
    display: block;
    color: var(--navy)
}

.payment span {
    display: block;
    color: var(--muted);
    font-size: 13px
}

.review-list {
    display: grid;
    gap: 16px
}

.review {
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 18px;
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow)
}

.review h3 {
    margin: 10px 0 8px;
    color: var(--navy);
    font-size: 24px
}

.review p {
    margin: 0 0 12px;
    color: var(--muted)
}

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

.mini {
    padding: 14px;
    border: 1px solid var(--line);
    background: var(--surface-2);
    border-radius: 13px
}

.mini strong {
    display: block;
    margin-bottom: 8px;
    color: var(--navy)
}

.mini ul {
    margin: 0;
    padding-left: 18px;
    color: var(--ink-soft)
}

.fact-table {
    display: grid;
    gap: 10px
}

.fact-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 14px;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff
}

.fact-row span {
    color: var(--muted)
}

.fact-row strong {
    color: var(--navy)
}

.warning {
    background: #fff8e6;
    border-color: #f0c36a
}

.danger {
    background: #fff5f5;
    border-color: #fecaca
}

.responsible {
    background: var(--navy);
    color: #fff;
    border: 0;
    box-shadow: 0 22px 60px rgba(11, 31, 58, .18)
}

.responsible h2,
.responsible h3 {
    color: #fff
}

.responsible p,
.responsible li {
    color: #d7e1ee
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 18px
}

.resource {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 13px;
    background: rgba(255, 255, 255, .08)
}

.resource strong {
    display: block;
    color: #fff
}

.resource span {
    display: block;
    color: #d7e1ee;
    margin-top: 4px;
    font-size: 13px
}

.faq {
    display: grid;
    gap: 10px
}

details {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 13px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .04);
    overflow: hidden
}

summary {
    cursor: pointer;
    padding: 16px 18px;
    font-weight: 850;
    color: var(--navy)
}

details p {
    margin: 0;
    padding: 0 18px 18px;
    color: var(--muted)
}

.footer {
    padding: 38px 0;
    background: #07172d;
    color: #d7e1ee
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 24px
}

.footer .brand-img {
    filter: brightness(0) invert(1);
    opacity: .95
}

.footer a {
    display: block;
    margin-top: 8px;
    color: #d7e1ee
}

.disclaimer {
    color: #9fb1c8;
    font-size: 13px;
    margin-top: 16px
}

@media(max-width:1120px) {
    .casino-card {
        grid-template-columns: 56px 1fr
    }

    .rating,
    .payment-strip,
    .bonus,
    .card-actions {
        grid-column: 2/-1
    }

    .card-actions {
        justify-content: flex-start
    }
}

@media(max-width:980px) {
    nav ul {
        display: none
    }

    .editorial,
    .review {
        grid-template-columns: 1fr
    }

    .grid-3,
    .grid-2,
    .payment-grid,
    .resource-grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:640px) {
    .topbar .wrap {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 0
    }

    .topbar .status {
        white-space: normal
    }

    .nav {
        min-height: 66px
    }

    .nav .btn {
        display: none
    }

    .brand-img {
        width: 176px;
        max-width: 70vw
    }

    .hero {
        padding: 44px 0 48px
    }

    h1 {
        font-size: clamp(40px, 14vw, 56px)
    }

    .casino-card {
        grid-template-columns: 44px 1fr;
        gap: 12px;
        padding: 14px
    }

    .rank {
        width: 42px;
        height: 42px;
        font-size: 17px
    }

    .casino-title {
        font-size: 18px
    }

    .rating,
    .payment-strip,
    .bonus,
    .card-actions {
        grid-column: 1/-1
    }

    .payment-strip img {
        width: 72px;
        height: 35px
    }

    .card-actions .btn {
        width: 100%
    }

    .grid-3,
    .grid-2,
    .payment-grid,
    .resource-grid,
    .footer-grid,
    .pros-cons {
        grid-template-columns: 1fr
    }

    .fact-row {
        grid-template-columns: 1fr
    }
}


/* === Mobile overflow fix + removed topbar === */
.topbar {
    display: none !important;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

img,
svg,
video,
canvas {
    max-width: 100%;
    height: auto;
}

.wrap {
    width: min(var(--max), calc(100% - 24px));
    max-width: 100%;
}

header,
main,
section,
footer {
    max-width: 100%;
    overflow-x: clip;
}

.brand-img {
    max-width: 210px;
}

.casino-card,
.review,
.editorial,
.card,
.legal,
.table-box,
.responsible {
    min-width: 0;
}

.casino-main,
.rating,
.payment-strip,
.bonus,
.card-actions {
    min-width: 0;
}

.casino-title,
.bonus strong,
.meta,
.sub,
.review p,
.card p {
    overflow-wrap: anywhere;
    word-break: normal;
}

.payment-strip {
    max-width: 100%;
}

.payment-strip img {
    flex: 0 0 auto;
}

.table-scroll {
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 760px) {
    .wrap {
        width: calc(100% - 20px);
    }

    .nav {
        min-height: 68px;
        gap: 12px;
    }

    .brand-img {
        width: 168px;
        max-width: 58vw;
    }

    .hero {
        padding: 34px 0 40px;
    }

    .hero-content {
        max-width: 100%;
    }

    h1 {
        font-size: clamp(34px, 12vw, 50px);
        letter-spacing: -.055em;
    }

    h2 {
        font-size: clamp(28px, 9vw, 38px);
    }

    .section {
        padding: 42px 0;
    }

    .casino-card {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
        border-radius: 16px;
        width: 100%;
    }

    .rank {
        width: 42px;
        height: 42px;
        font-size: 17px;
    }

    .casino-main {
        min-width: 0;
    }

    .rating,
    .payment-strip,
    .bonus,
    .card-actions {
        grid-column: 1 / -1;
    }

    .payment-strip {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 7px;
    }

    .payment-strip img {
        width: 100%;
        height: 34px;
        min-width: 0;
    }

    .card-actions {
        width: 100%;
    }

    .card-actions .btn {
        width: 100%;
    }

    .payment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .payment {
        padding: 12px;
        min-width: 0;
    }

    .payment img {
        height: 46px;
        max-width: 100%;
    }

    .review,
    .editorial,
    .grid-2,
    .grid-3,
    .resource-grid,
    .footer-grid,
    .pros-cons {
        grid-template-columns: 1fr !important;
    }

    .fact-row {
        grid-template-columns: 1fr;
    }

    table {
        min-width: 720px;
    }

    .footer .brand-img {
        width: 170px;
    }
}

@media (max-width: 420px) {
    .wrap {
        width: calc(100% - 16px);
    }

    .nav .btn {
        display: none;
    }

    .brand-img {
        width: 150px;
        max-width: 62vw;
    }

    .eyebrow {
        font-size: 12px;
        padding: 7px 10px;
    }

    h1 {
        font-size: 36px;
    }

    .casino-card {
        grid-template-columns: 38px minmax(0, 1fr);
        padding: 12px;
    }

    .rank {
        width: 38px;
        height: 38px;
    }

    .casino-title {
        font-size: 17px;
    }

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

    .payment-strip img {
        height: 38px;
    }

    .payment-grid {
        grid-template-columns: 1fr;
    }
}


/* === Compact hero update === */
.hero {
    padding: 42px 0 38px;
}

.hero-content {
    max-width: 780px;
}

.eyebrow {
    padding: 7px 11px;
    font-size: 13px;
    margin-bottom: 14px;
}

h1 {
    max-width: 760px;
    margin-top: 14px;
    font-size: clamp(38px, 5.2vw, 64px);
    line-height: 1.01;
}

#casinos.section {
    padding-top: 42px;
}

#casinos .section-head {
    margin-bottom: 16px;
}

#casinos h2 {
    font-size: clamp(28px, 3.4vw, 40px);
}

@media (max-width: 760px) {
    .hero {
        padding: 24px 0 26px;
    }

    .hero-content {
        max-width: 100%;
    }

    .eyebrow {
        font-size: 11px;
        padding: 6px 9px;
        margin-bottom: 10px;
    }

    .eyebrow::before {
        width: 6px;
        height: 6px;
    }

    h1 {
        margin-top: 8px;
        font-size: clamp(30px, 9.5vw, 42px);
        line-height: 1.04;
        letter-spacing: -.052em;
        max-width: 100%;
    }

    #casinos.section {
        padding-top: 28px;
    }

    #casinos h2 {
        font-size: clamp(27px, 8vw, 34px);
        line-height: 1.08;
    }

    #casinos .section-head {
        margin-bottom: 14px;
    }
}

@media (max-width: 420px) {
    .hero {
        padding: 20px 0 22px;
    }

    .eyebrow {
        transform: scale(.92);
        transform-origin: left center;
    }

    h1 {
        font-size: 31px;
        line-height: 1.05;
    }

    #casinos.section {
        padding-top: 24px;
    }

    #casinos h2 {
        font-size: 29px;
    }
}


/* === Brand logos in casino listing === */
.casino-card {
    grid-template-columns: 136px minmax(190px, 1fr) minmax(160px, .56fr) minmax(250px, .95fr) minmax(230px, .9fr) auto;
}

.rank.brand-logo-cell {
    width: 124px;
    height: 64px;
    padding: 0;
    border-radius: 16px;
    background: transparent;
    border: 0;
    overflow: visible;
    box-shadow: none;
}

.rank.brand-logo-cell img {
    width: 124px;
    height: 56px;
    display: block;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .10);
}

.casino-main {
    align-self: center;
    padding-top: 12px;
}

.casino-title {
    margin-top: 4px;
}

@media (max-width: 1120px) {
    .casino-card {
        grid-template-columns: 118px minmax(0, 1fr);
    }

    .rank.brand-logo-cell {
        width: 108px;
        height: 58px;
    }

    .rank.brand-logo-cell img {
        width: 108px;
        height: 52px;
    }

    .casino-main {
        padding-top: 8px;
    }
}

@media (max-width: 760px) {
    .casino-card {
        grid-template-columns: 104px minmax(0, 1fr);
    }

    .rank.brand-logo-cell {
        width: 96px;
        height: 52px;
    }

    .rank.brand-logo-cell img {
        width: 96px;
        height: 48px;
    }

    .casino-main {
        padding-top: 6px;
    }

    .casino-title {
        margin-top: 6px;
    }
}

@media (max-width: 420px) {
    .casino-card {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .rank.brand-logo-cell {
        width: 86px;
        height: 48px;
    }

    .rank.brand-logo-cell img {
        width: 86px;
        height: 44px;
    }

    .casino-title {
        font-size: 18px;
        line-height: 1.08;
    }
}


/* === Final cleanup: brand-only listing === */
.casino-main {
    display: flex;
    align-items: center;
    min-height: 64px;
    padding-top: 0;
}

.casino-main .meta,
.casino-main .badge {
    display: none !important;
}

.casino-title {
    margin: 0;
    transform: translateY(6px);
}

@media (max-width: 760px) {
    .casino-main {
        min-height: 54px;
    }

    .casino-title {
        transform: translateY(4px);
    }
}

@media (max-width: 420px) {
    .casino-main {
        min-height: 48px;
    }

    .casino-title {
        transform: translateY(3px);
    }
}