@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=Sora:wght@500;600;700&display=swap');

:root {
    --slate: #1C2833;
    --emerald: #10B981;
    --emerald-dark: #059669;
    --stone: #F5F0EB;
    --surface: #FFFFFF;
    --text: #374151;
    --muted: #6B7280;
    --border: #E5E1DC;
    --radius: 10px;
    --radius-sm: 6px;
    --shadow: 0 2px 8px rgba(28,40,51,0.07);
    --shadow-lg: 0 8px 24px rgba(28,40,51,0.10);
    --max-w: 1100px;
    --gap: 24px;
}

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

body {
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--stone);
}

h1, h2, h3, h4 {
    font-family: 'Sora', sans-serif;
    color: var(--slate);
    line-height: 1.25;
}
h1 { font-size: 2rem; font-weight: 700; }
h2 { font-size: 1.55rem; font-weight: 600; margin-bottom: 18px; }
h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; }
h4 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }

a { color: var(--emerald-dark); text-decoration: none; transition: color .15s; }
a:hover { color: var(--slate); }

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

p { margin-bottom: 14px; }

strong { font-weight: 600; }

code { background: #EEEDEB; padding: 2px 7px; border-radius: 4px; font-size: .9em; color: var(--slate); }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

.section { padding: 56px 0; }
.section--alt { background: var(--surface); }
.section--dark { background: var(--slate); color: #E5E7EB; }
.section--dark h2, .section--dark h3 { color: #F9FAFB; }

/* ===== SITE HEADER ===== */

.site-hd {
    background: var(--slate);
    position: sticky;
    top: 0;
    z-index: 100;
}
.site-hd__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}
.site-hd__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.site-hd__logo { height: 28px; width: auto; }
.site-hd__name {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #F9FAFB;
    letter-spacing: -.02em;
}
.site-hd__toggle {
    display: none;
    background: none;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    cursor: pointer;
    color: #F9FAFB;
    font-size: 1.3rem;
    line-height: 1;
}
.site-hd__nav {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}
.site-hd__nav a {
    color: #D1D5DB;
    font-size: .88rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: background .15s, color .15s;
    text-decoration: none;
}
.site-hd__nav a:hover, .site-hd__nav a.is-active {
    background: rgba(255,255,255,.1);
    color: #F9FAFB;
}
.site-hd__dropdown { position: relative; }
.site-hd__dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    padding: 8px 0;
    z-index: 200;
}
.site-hd__dropdown:hover .site-hd__dropdown-menu,
.site-hd__dropdown.is-open .site-hd__dropdown-menu { display: block; }
.site-hd__dropdown-menu a {
    display: block;
    padding: 8px 16px;
    color: var(--text);
    font-size: .85rem;
    border-radius: 0;
}
.site-hd__dropdown-menu a:hover { background: var(--stone); color: var(--slate); }
.site-hd__dropdown-sep {
    height: 1px;
    background: var(--border);
    margin: 6px 12px;
}

/* ===== HERO (Pattern C — Split) ===== */

.hero {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 48px 0 40px;
}
.hero__grid {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: center;
}
.hero__title { margin-bottom: 16px; }
.hero__lead {
    font-size: 1.05rem;
    color: var(--muted);
    margin-bottom: 16px;
    line-height: 1.65;
}
.hero__byline {
    font-size: .82rem;
    color: var(--muted);
    border-top: 1px solid var(--border);
    padding-top: 12px;
    margin-top: 8px;
}
.hero__aside {
    background: var(--slate);
    border-radius: var(--radius);
    padding: 28px;
    color: #E5E7EB;
}
.hero__aside h3 { color: var(--emerald); font-size: 1rem; margin-bottom: 14px; }
.hero__stat { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .9rem; }
.hero__stat:last-child { border-bottom: 0; }
.hero__stat-val { color: #F9FAFB; font-weight: 600; }

/* ===== RANKINGS TABLE (Pattern F — Featured + List) ===== */

.rankings { padding: 48px 0; }
.rankings__hd { text-align: center; margin-bottom: 32px; }
.rankings__hd p { color: var(--muted); max-width: 640px; margin: 8px auto 0; }

.rank-featured {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
    margin-bottom: 32px;
}
.rank-card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid var(--border);
    transition: box-shadow .2s;
}
.rank-card:hover { box-shadow: var(--shadow-lg); }
.rank-card--top { border-color: var(--emerald); }
.rank-card__badge {
    position: absolute;
    top: -10px;
    left: 16px;
    background: var(--emerald);
    color: #fff;
    font-size: .72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.rank-card__name {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--slate);
    margin-bottom: 4px;
}
.rank-card__tag {
    font-size: .78rem;
    color: var(--muted);
    margin-bottom: 12px;
}
.rank-card__bonus {
    background: var(--stone);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    margin-bottom: 12px;
    font-size: .9rem;
    line-height: 1.5;
}
.rank-card__bonus strong { color: var(--slate); }
.rank-card__code {
    display: inline-block;
    background: #EEEDEB;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--slate);
    margin-top: 4px;
}
.rank-card__cta {
    display: block;
    text-align: center;
    margin-top: auto;
    padding: 10px 0;
    background: var(--emerald);
    color: #fff;
    font-weight: 600;
    font-size: .88rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background .15s;
}
.rank-card__cta:hover { background: var(--emerald-dark); color: #fff; }

.rank-list { display: flex; flex-direction: column; gap: 10px; }
.rank-row {
    display: grid;
    grid-template-columns: 36px 1fr 1fr auto;
    gap: 16px;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    transition: box-shadow .2s;
}
.rank-row:hover { box-shadow: var(--shadow); }
.rank-row__num {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--muted);
    text-align: center;
}
.rank-row__name {
    font-weight: 600;
    color: var(--slate);
}
.rank-row__name small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }
.rank-row__offer { font-size: .88rem; color: var(--text); }
.rank-row__cta {
    display: inline-block;
    padding: 7px 16px;
    background: var(--emerald);
    color: #fff;
    font-weight: 600;
    font-size: .82rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s;
}
.rank-row__cta:hover { background: var(--emerald-dark); color: #fff; }

/* ===== REVIEW TABS (Pattern D — Tabbed) ===== */

.reviews { padding: 48px 0; }
.reviews__hd { text-align: center; margin-bottom: 24px; }

.review-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 28px;
}
.review-tabs__btn {
    padding: 7px 16px;
    font-size: .82rem;
    font-weight: 500;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    transition: all .15s;
    font-family: inherit;
}
.review-tabs__btn:hover { border-color: var(--emerald); color: var(--emerald-dark); }
.review-tabs__btn.is-active {
    background: var(--emerald);
    border-color: var(--emerald);
    color: #fff;
}

.review-panel { display: none; }
.review-panel.is-visible { display: block; }

.review-detail {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}
.review-detail__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 16px;
}
.review-detail__title {
    font-family: 'Sora', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--slate);
}
.review-detail__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: var(--emerald);
    color: #fff;
    font-weight: 600;
    font-size: .88rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background .15s;
}
.review-detail__cta:hover { background: var(--emerald-dark); color: #fff; }
.review-detail__body { margin-bottom: 20px; line-height: 1.75; }
.review-detail__pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
}
.review-detail__pros h4 { color: var(--emerald-dark); }
.review-detail__cons h4 { color: #DC2626; }
.review-detail__pros ul, .review-detail__cons ul {
    list-style: none;
    padding: 0;
}
.review-detail__pros li, .review-detail__cons li {
    padding: 4px 0;
    font-size: .9rem;
    padding-left: 20px;
    position: relative;
}
.review-detail__pros li::before { content: '✓'; position: absolute; left: 0; color: var(--emerald); font-weight: 700; }
.review-detail__cons li::before { content: '✗'; position: absolute; left: 0; color: #DC2626; font-weight: 700; }

/* ===== CONTENT BLOCKS ===== */

.content-block { padding: 48px 0; }
.content-block--alt { background: var(--surface); }

.content-block h2 { margin-bottom: 16px; }
.content-block p { max-width: 780px; }

.tip-box {
    background: linear-gradient(135deg, #ECFDF5 0%, #F0FDF9 100%);
    border-left: 4px solid var(--emerald);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 18px 22px;
    margin: 24px 0;
    font-size: .92rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--gap);
    margin-top: 28px;
}
.info-tile {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
}
.info-tile h4 { color: var(--slate); }

.steps-list {
    list-style: none;
    counter-reset: steps;
    padding: 0;
}
.steps-list li {
    counter-increment: steps;
    padding: 8px 0 8px 36px;
    position: relative;
    line-height: 1.7;
}
.steps-list li::before {
    content: counter(steps);
    position: absolute;
    left: 0;
    top: 8px;
    width: 24px;
    height: 24px;
    background: var(--emerald);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== DATA TABLE ===== */

.data-tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
    margin: 20px 0;
}
.data-tbl th {
    background: var(--slate);
    color: #F9FAFB;
    font-weight: 600;
    padding: 10px 14px;
    text-align: left;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.data-tbl th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.data-tbl th:last-child { border-radius: 0 var(--radius-sm) 0 0; }
.data-tbl td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.data-tbl tr:nth-child(even) { background: rgba(245,240,235,.5); }
.data-tbl tr:hover { background: rgba(16,185,129,.04); }

.tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ===== GAME CARDS ===== */

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--gap);
    margin-top: 28px;
}
.game-tile {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    text-align: center;
}
.game-tile__icon { font-size: 2rem; margin-bottom: 10px; display: block; }

/* ===== ADVANTAGES ===== */

.adv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--gap);
    margin-top: 28px;
}
.adv-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.adv-item__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--emerald);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .85rem;
}

/* ===== TRUST BAR ===== */

.trust-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 28px;
}
.trust-bar__item { text-align: center; }
.trust-bar__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--surface);
    color: var(--slate);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    margin: 0 auto 8px;
}
.trust-bar__label { font-size: .78rem; color: #9CA3AF; line-height: 1.35; }

/* ===== FAQ ===== */

.faq { padding: 48px 0; }
.faq__hd { text-align: center; margin-bottom: 28px; }
.faq__list { max-width: 760px; margin: 0 auto; }
.faq__item {
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}
.faq__q {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--slate);
    margin-bottom: 8px;
}
.faq__a { font-size: .92rem; color: var(--text); line-height: 1.7; }

/* ===== RELATED GUIDES ===== */

.guides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 20px;
}
.guides-grid a {
    display: block;
    padding: 12px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: .88rem;
    color: var(--text);
    transition: border-color .15s, color .15s;
}
.guides-grid a:hover { border-color: var(--emerald); color: var(--emerald-dark); }

/* ===== RESPONSIBLE GAMBLING ===== */

.rg-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}
.rg-list li {
    padding: 6px 0;
    font-size: .92rem;
}
.rg-list li a { font-weight: 500; }

/* ===== FOOTER ===== */

.site-ft {
    background: var(--slate);
    color: #D1D5DB;
    padding: 40px 0 0;
    font-size: .88rem;
    line-height: 1.65;
}
.site-ft__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
}
.site-ft h3 {
    font-size: .92rem;
    color: #F9FAFB;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.site-ft a { color: #9CA3AF; transition: color .15s; }
.site-ft a:hover { color: var(--emerald); }
.site-ft__links {
    list-style: none;
    padding: 0;
}
.site-ft__links li { padding: 3px 0; }
.site-ft__disclosure {
    max-width: var(--max-w);
    margin: 32px auto 0;
    padding: 20px 20px;
    border-top: 1px solid rgba(255,255,255,.1);
    font-size: .8rem;
    color: #9CA3AF;
    line-height: 1.6;
}
.site-ft__copy {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 16px 20px;
    font-size: .78rem;
    color: #6B7280;
}
.site-ft__copy a { color: #6B7280; }
.site-ft__addr {
    font-size: 0;
    color: var(--slate);
    line-height: 0;
}
.site-ft__addr a { font-size: 0; color: var(--slate); }

/* ===== BREADCRUMB ===== */

.breadcrumb-bar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    font-size: .8rem;
}
.breadcrumb-bar a { color: var(--muted); }
.breadcrumb-bar a:hover { color: var(--emerald-dark); }
.breadcrumb-bar .current { color: var(--text); font-weight: 500; }

/* ===== SUB-PAGE HERO ===== */

.page-hero {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 36px 0;
}
.page-hero h1 { margin-bottom: 8px; }
.page-hero p { color: var(--muted); font-size: 1rem; max-width: 680px; }

/* ===== ABOUT PAGE ===== */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--gap);
    margin-top: 28px;
}
.team-member {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}
.team-member h3 { margin-bottom: 4px; }
.team-member__role {
    font-size: .82rem;
    color: var(--muted);
    margin-bottom: 10px;
}

/* ===== CONTACT PAGE ===== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 28px;
}
.contact-info { font-size: .92rem; }
.contact-info p { margin-bottom: 16px; }

/* ===== 404 PAGE ===== */

.page-404 {
    text-align: center;
    padding: 80px 20px;
}
.page-404 h1 { font-size: 4rem; color: var(--emerald); margin-bottom: 12px; }
.page-404 p { font-size: 1.1rem; color: var(--muted); margin-bottom: 24px; }
.page-404 a {
    display: inline-block;
    padding: 12px 28px;
    background: var(--emerald);
    color: #fff;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: background .15s;
}
.page-404 a:hover { background: var(--emerald-dark); color: #fff; }

/* ===== UTILITY ===== */

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
.text-center { text-align: center; }
