:root {
    --blue: #123f78;
    --blue-light: #eaf2fb;
    --green: #19a76b;
    --green-hover: #138956;
    --orange: #ffb52e;
    --text: #263448;
    --muted: #69788a;
    --border: #dfe5ed;
    --bg: #f3f5f8;
    --white: #fff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font: inherit;
}

.container {
    width: min(1160px, calc(100% - 32px));
    margin: auto;
}

/* TOP BAR */

.topline {
    background: #0b2c55;
    color: #fff;
    font-size: 11px;
    padding: 7px 0;
}

.topline .container {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

/* HEADER */

header {
    background: var(--blue);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px #142f501a;
}

.nav {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    font-size: 21px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -.8px;
    white-space: nowrap;
}

.logo span {
    color: #75e2ac;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.nav-menu a {
    color: #edf4ff;
    font-size: 12px;
    font-weight: 700;
}

.nav-menu a:hover {
    color: #80e8b4;
}

.menu-btn {
    display: none;
    background: transparent;
    color: white;
    border: 1px solid #ffffff55;
    border-radius: 5px;
    padding: 8px 11px;
    cursor: pointer;
}

/* HERO */

.hero {
    background: linear-gradient(115deg, #123f78, #1c5795);
    color: white;
    padding: 38px 0 35px;
}

.breadcrumb {
    font-size: 11px;
    color: #d6e5f8;
    margin-bottom: 14px;
}

.hero h1 {
    font-size: clamp(27px, 4vw, 39px);
    line-height: 1.2;
    margin-bottom: 13px;
    letter-spacing: -.7px;
}

.hero p {
    max-width: 790px;
    color: #e1ebf8;
    font-size: 14px;
    line-height: 1.8;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 20px;
    font-size: 11px;
    color: #e1ebf8;
}

/* MAIN LAYOUT */

main {
    padding: 28px 0 55px;
}

.layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 275px;
    gap: 24px;
    align-items: start;
}

.section-title {
    font-size: 23px;
    line-height: 1.3;
    margin-bottom: 8px;
    color: #1b2d43;
}

.section-intro {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 18px;
}

.ad-disclosure {
    background: #fff8e9;
    border: 1px solid #f1dfb9;
    border-radius: 5px;
    padding: 11px 13px;
    font-size: 11px;
    color: #73582c;
    margin-bottom: 17px;
}

/* RANKING CARDS */

.casino-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.casino-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 7px;
    overflow: hidden;
    box-shadow: 0 2px 5px #1c35500a;
    transition: box-shadow .2s, border-color .2s;
}

.casino-card:hover {
    border-color: #b7cbe2;
    box-shadow: 0 5px 17px #1c355012;
}

.card-ribbon {
    background: #e8f7ef;
    color: #137747;
    font-size: 10px;
    font-weight: 800;
    padding: 6px 15px;
    border-bottom: 1px solid #d8eee1;
    letter-spacing: .3px;
}

.card-body {
    padding: 19px;
    display: grid;
    grid-template-columns: 115px minmax(0, 1fr) 150px;
    align-items: center;
    gap: 20px;
}

.brand-column {
    text-align: center;
}

.rank {
    color: #7a8999;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
}

.brand-logo {
    min-height: 80px;
    border: 1px solid #e9edf2;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px;
    background: #fff;
    font-size: 17px;
    line-height: 1.1;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.novi-logo {
    color: #6b43c1;
}

.betmaster-logo {
    color: #243b5a;
    font-size: 14px;
}

.betway-logo {
    color: #151515;
    font-size: 18px;
    font-style: italic;
}

.netbet-logo {
    color: #1670b9;
}

.brand-caption {
    margin-top: 8px;
    font-size: 10px;
    color: var(--muted);
}

.offer-column h3 {
    font-size: 19px;
    line-height: 1.3;
    margin-bottom: 8px;
    color: #213750;
}

.offer-description {
    color: #48596c;
    font-size: 12px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    list-style: none;
}

.features li {
    font-size: 10px;
    color: #3b6651;
    background: #edf7f0;
    border: 1px solid #d9ebdf;
    border-radius: 3px;
    padding: 4px 7px;
}

.action-column {
    text-align: center;
}

.offer-label {
    color: #778596;
    text-transform: uppercase;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .7px;
    margin-bottom: 8px;
}

.rating {
    display: inline-block;
    color: #8a5a00;
    background: #fff3d6;
    border: 1px solid #f5e0a9;
    border-radius: 4px;
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 11px;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 41px;
    width: 100%;
    padding: 9px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 800;
    transition: background .2s;
}

.btn-primary {
    background: var(--green);
    color: white;
}

.btn-primary:hover {
    background: var(--green-hover);
}

.btn-secondary {
    border: 1px solid #cbd7e5;
    color: var(--blue);
    background: white;
    margin-top: 8px;
}

.btn-secondary:hover {
    background: #edf4fc;
}

.terms {
    font-size: 9px;
    color: #7d8895;
    line-height: 1.5;
    margin-top: 9px;
}

/* SIDEBAR */

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.side-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 18px;
}

.side-box h3 {
    font-size: 16px;
    margin-bottom: 12px;
    color: #20364e;
}

.side-box p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.side-links {
    list-style: none;
}

.side-links li {
    padding: 10px 0;
    border-bottom: 1px solid #edf0f4;
    font-size: 12px;
    font-weight: 700;
}

.side-links li:last-child {
    border-bottom: 0;
}

.side-links a:hover {
    color: var(--green-hover);
}

.checklist {
    list-style: none;
}

.checklist li {
    position: relative;
    padding: 8px 0 8px 21px;
    color: #586879;
    font-size: 12px;
    border-bottom: 1px solid #edf0f4;
}

.checklist li:last-child {
    border-bottom: 0;
}

.checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #15955d;
    font-weight: 800;
}

/* CONTENT SECTIONS */

.content-section {
    margin-top: 35px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 26px;
}

.content-section h2 {
    font-size: 23px;
    line-height: 1.3;
    margin-bottom: 14px;
    color: #1b2d43;
}

.content-section h3 {
    font-size: 17px;
    margin: 21px 0 8px;
}

.content-section p {
    color: #5e6d7e;
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 12px;
}

.content-section p:last-child {
    margin-bottom: 0;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.review-item {
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 17px;
    background: #fbfcfe;
}

.review-item h3 {
    margin: 0 0 9px;
    font-size: 16px;
}

.review-item p {
    font-size: 12px;
    margin-bottom: 0;
}

.responsible-box {
    background: #edf7f0;
    border: 1px solid #d2e9d9;
}

.responsible-box h2 {
    color: #205d3b;
}

.responsible-box p {
    color: #426451;
}

.content-section a.inline-link {
    color: #1467a9;
    text-decoration: underline;
}

/* FOOTER */

footer {
    background: #102c4d;
    color: #fff;
    padding: 35px 0 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 25px;
}

.footer-about {
    max-width: 470px;
}

.footer-about p {
    color: #c2d0e0;
    font-size: 12px;
    line-height: 1.8;
    margin-top: 12px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 12px 20px;
    max-width: 450px;
}

.footer-links a {
    color: #e2eaf4;
    font-size: 11px;
}

.footer-links a:hover {
    color: #7de3ac;
}

.footer-bottom {
    border-top: 1px solid #ffffff26;
    padding-top: 18px;
    color: #bdcadd;
    font-size: 10px;
    line-height: 1.8;
}

/* MOBILE */

@media (max-width: 920px) {
    .layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nav-menu {
        gap: 14px;
    }

    .card-body {
        grid-template-columns: 100px minmax(0, 1fr) 135px;
        gap: 14px;
    }
}

@media (max-width: 650px) {
    .container {
        width: calc(100% - 24px);
    }

    .topline .container {
        justify-content: center;
        text-align: center;
    }

    .topline .topline-right {
        display: none;
    }

    .nav {
        min-height: 64px;
        flex-wrap: wrap;
    }

    .logo {
        font-size: 17px;
    }

    .menu-btn {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0;
        padding: 5px 0 13px;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu li a {
        display: block;
        padding: 10px 0;
        border-top: 1px solid #ffffff25;
    }

    .hero {
        padding: 27px 0;
    }

    .hero h1 {
        font-size: 29px;
    }

    .hero p {
        font-size: 13px;
    }

    .hero-meta {
        gap: 7px 14px;
    }

    main {
        padding-top: 20px;
    }

    .section-title {
        font-size: 21px;
    }

    .card-body {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 14px;
        padding: 14px;
        align-items: start;
    }

    .brand-logo {
        min-height: 65px;
        font-size: 14px;
        padding: 5px;
    }

    .betmaster-logo {
        font-size: 11px;
    }

    .betway-logo {
        font-size: 14px;
    }

    .offer-column h3 {
        font-size: 17px;
    }

    .offer-description {
        font-size: 11px;
    }

    .features {
        gap: 5px;
    }

    .features li {
        font-size: 9px;
    }

    .action-column {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        align-items: center;
        text-align: left;
        border-top: 1px solid #edf0f4;
        padding-top: 13px;
    }

    .action-column .offer-label {
        grid-column: 1 / -1;
        margin-bottom: -3px;
    }

    .action-column .rating {
        margin: 0;
        justify-self: start;
    }

    .action-column .btn {
        min-height: 39px;
        margin: 0;
    }

    .action-column .terms {
        grid-column: 1 / -1;
        margin-top: 0;
    }

    .sidebar {
        grid-template-columns: 1fr;
    }

    .content-section {
        padding: 19px;
        margin-top: 23px;
    }

    .content-section h2 {
        font-size: 21px;
    }

    .review-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        flex-direction: column;
    }
}
/* Builder: age confirmation modal disabled */
[class*="age-overlay"], [id*="age-overlay"] { display: none !important; }
