/* Neutral palette with teal and indigo accents */
:root {
    --white: #ffffff;
    --surface: #f3f6f7;
    --green: #168f73;
    --green-dark: #0e6e58;
    --blue: #355f8d;
    --navy: #203446;
    --text: #30383d;
    --muted: #68777d;
    --line: #d8e2e5;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    overflow-x: hidden;
    width: 100%;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
}

img {
    max-width: 100%;
    height: auto;
}

.content-frame {
    width: min(100% - 44px, 1160px);
    margin-inline: auto;
}

/* Header */
.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 70px;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 2px solid var(--line);
    box-shadow: 0 5px 18px rgba(32, 52, 70, 0.07);
    backdrop-filter: blur(8px);
}

.topbar-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    height: 100%;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
}

.brand-mark img {
    display: block;
    width: auto;
    height: 44px;
    object-fit: contain;
}

.section-nav ul {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
}

.section-nav a {
    color: var(--navy);
    font-size: 0.94rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.section-nav a:hover,
.section-nav a:focus-visible {
    color: var(--green-dark);
}

.topbar-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    max-width: 100%;
    gap: 7px;
    padding: 10px 17px;
    border-radius: 999px;
    color: var(--white);
    background: var(--green);
    box-shadow: 0 5px 14px rgba(22, 143, 115, 0.2);
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.topbar-cta:hover,
.topbar-cta:focus-visible {
    background: var(--green-dark);
    transform: translateY(-1px);
}

/* Intro */
.lead-section {
    padding: 60px 0 40px;
    text-align: center;
    background: linear-gradient(180deg, #fbfcfd 0%, #eef4f4 100%);
    border-bottom: 1px solid var(--line);
}

.lead-title {
    max-width: 900px;
    margin: 0 auto 18px;
    color: var(--navy);
    font-size: clamp(2rem, 4vw, 2.65rem);
    font-weight: 800;
    line-height: 1.18;
}

.lead-summary {
    max-width: 820px;
    margin: 0 auto 28px;
    color: var(--muted);
    font-size: 1.06rem;
}

.review-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    padding: 10px 18px 10px 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 7px 22px rgba(32, 52, 70, 0.07);
}

.reviewer-photo {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    border-radius: 16px;
    object-fit: cover;
}

.reviewer-details {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.reviewer-name {
    color: var(--navy);
    font-size: 0.94rem;
    font-weight: 700;
}

.reviewer-role {
    display: inline-block;
    margin-left: 5px;
    color: var(--blue);
    font-size: 0.76rem;
    font-weight: 600;
}

.review-date {
    color: var(--muted);
    font-size: 0.8rem;
}

/* Offers listing */
.ranking-section {
    padding: 46px 0 52px;
    background: var(--surface);
}

.block-title {
    margin-bottom: 34px;
    color: var(--navy);
    font-size: clamp(1.65rem, 3vw, 2.05rem);
    line-height: 1.25;
    text-align: center;
}

.ranking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.casino-entry {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 23px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(32, 52, 70, 0.065);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.casino-entry:hover {
    transform: translateY(-3px);
    box-shadow: 0 13px 30px rgba(32, 52, 70, 0.11);
}

.entry-rank {
    position: absolute;
    top: 14px;
    left: 14px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: var(--white);
    background: var(--blue);
    font-size: 0.88rem;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(53, 95, 141, 0.2);
}

.entry-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    margin-bottom: 18px;
    padding-left: 36px;
}

.entry-logo {
    width: 80px;
    height: 80px;
    flex: 0 0 80px;
    object-fit: contain;
}

.entry-meta {
    min-width: 0;
}

.entry-name {
    display: block;
    overflow-wrap: anywhere;
    color: var(--navy);
    font-size: 1.16rem;
    font-weight: 800;
    line-height: 1.3;
}

.entry-score {
    color: #e6a900;
    font-size: 1rem;
    letter-spacing: 1px;
    white-space: nowrap;
}

.promo-box {
    margin-bottom: 18px;
    padding: 14px;
    border: 1px solid rgba(22, 143, 115, 0.18);
    border-radius: 10px;
    background: rgba(22, 143, 115, 0.075);
    text-align: left;
}

.promo-label {
    display: block;
    color: var(--green-dark);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.promo-value {
    color: var(--navy);
    font-size: 1.08rem;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.promo-facts {
    flex-grow: 1;
    margin-bottom: 22px;
    list-style: none;
}

.promo-facts li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 9px;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.fact-icon {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    margin-top: 3px;
    color: var(--green);
}

.promo-link {
    display: block;
    width: 100%;
    padding: 13px 14px;
    border-radius: 11px;
    color: var(--white);
    background: var(--blue);
    font-weight: 750;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.promo-link:hover,
.promo-link:focus-visible {
    background: var(--navy);
    transform: translateY(-1px);
}

/* Editorial content */
.article-body {
    padding: 58px 0;
}

.article-body h2 {
    margin: 40px 0 18px;
    color: var(--navy);
    font-size: clamp(1.45rem, 2.7vw, 1.9rem);
    line-height: 1.3;
}

.article-body h3 {
    margin: 26px 0 13px;
    color: var(--blue);
    font-size: clamp(1.15rem, 2.2vw, 1.38rem);
    line-height: 1.35;
}

.article-body p {
    margin-bottom: 19px;
}

.article-body ol,
.article-body ul:not(.promo-facts) {
    margin: 0 0 22px 24px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 28px 0;
    overflow-x: auto;
    border-collapse: collapse;
    -webkit-overflow-scrolling: touch;
}

.article-body tbody {
    display: table;
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}

.article-body th,
.article-body td {
    padding: 12px;
    border: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.article-body tr:nth-child(even) {
    background: #f8faf9;
}

.faq-list {
    margin-top: 58px;
    padding: 30px;
    border: 1px solid var(--line);
    border-top: 4px solid var(--green);
    border-radius: 12px;
    background: #fbfdfc;
}

.faq-list h2:first-child {
    margin-top: 0;
}

/* Expandable FAQ */
.faq-item {
    border-top: 1px solid var(--line);
}

.faq-item:first-of-type {
    margin-top: 10px;
}

.faq-item summary {
    position: relative;
    padding: 18px 38px 18px 0;
    color: var(--navy);
    font-weight: 750;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    color: var(--green-dark);
    font-size: 1.4rem;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    padding: 0 34px 18px 0;
}

/* Newsletter */
.newsletter-strip {
    padding: 34px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}

.newsletter-strip .content-frame {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1.2fr);
    align-items: center;
    gap: 30px;
}

.newsletter-copy h2 {
    margin-bottom: 8px;
    color: var(--navy);
    font-size: 1.45rem;
    line-height: 1.3;
}

.newsletter-copy p {
    color: var(--muted);
}

/* Footer */
.page-footer {
    margin-top: 58px;
    padding: 46px 0 28px;
    color: var(--white);
    background: var(--navy);
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 28px;
}

.footer-links a {
    color: #c6d0d5;
    font-size: 0.9rem;
    text-decoration: none;
}

.safer-play {
    margin-bottom: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: #b8c5ca;
    font-size: 0.8rem;
    text-align: center;
}

.legal-note {
    color: #c8d2d6;
    font-size: 0.84rem;
    text-align: center;
}

@media (max-width: 900px) {
    .section-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .content-frame {
        width: min(100% - 30px, 1160px);
    }

    .topbar {
        height: 68px;
    }

    .lead-section {
        padding: 48px 0 34px;
    }

    .ranking-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .casino-entry {
        width: 100%;
        min-width: 0;
    }

    .entry-brand {
        order: 1;
    }

    .promo-box {
        order: 2;
    }

    .promo-link {
        order: 3;
        margin-bottom: 18px;
    }

    .promo-facts {
        order: 4;
        margin-bottom: 0;
    }

    .newsletter-strip .content-frame {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .article-body {
        padding: 46px 0;
    }
}

@media (max-width: 430px) {
    .content-frame {
        width: min(100% - 24px, 1160px);
    }

    .topbar-layout {
        gap: 8px;
    }

    .brand-mark img {
        width: auto;
        max-width: 112px;
        height: 36px;
    }

    .topbar-cta {
        gap: 5px;
        padding: 8px 10px;
        border-radius: 999px;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .topbar-cta svg {
        width: 16px;
        height: 16px;
    }

    .lead-title {
        font-size: 1.82rem;
    }

    .lead-summary {
        font-size: 0.98rem;
    }

    .review-card {
        width: 100%;
        justify-content: flex-start;
        padding-right: 12px;
    }

    .block-title {
        margin-bottom: 26px;
    }

    .casino-entry {
        padding: 19px 15px;
        border-radius: 14px;
    }

    .entry-rank {
        top: 12px;
        left: 12px;
    }

    .entry-brand {
        gap: 11px;
        padding-left: 34px;
    }

    .entry-logo {
        width: 68px;
        height: 68px;
        flex-basis: 68px;
    }

    .entry-name {
        font-size: 1.05rem;
    }

    .promo-value {
        font-size: 1rem;
    }

    .faq-list {
        padding: 22px 18px;
    }
}

@media (max-width: 350px) {
    .topbar-cta {
        padding-inline: 9px;
        font-size: 0.72rem;
    }

    .topbar-cta svg {
        display: none;
    }

    .brand-mark img {
        max-width: 98px;
    }
}
