/* ═══════════════════════════════════════════════════════════════
   SOFTSWISS Casinos — Global Content CSS
   Source of truth for all page-level components.
   Extracted from bgaming-slots gold standard.
   NO inline <style> blocks in page files — use this instead.
   ═══════════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─── */
:root {
    --bg-deep: #06090f;
    --bg-base: #0a0e17;
    --bg-raised: #0f1520;
    --bg-card: #131a28;
    --bg-card-hover: #171f30;
    --border: #1c2538;
    --border-light: #243045;
    --text: #c8cdd5;
    --text-bright: #eef0f3;
    --text-muted: #6b7a90;
    --accent: #00d4f0;
    --accent-soft: rgba(0,212,240,0.12);
    --accent-glow: rgba(0,212,240,0.06);
    --warm: #f0a830;
    --warm-soft: rgba(240,168,48,0.1);
    --green: #34d399;
    --green-soft: rgba(52,211,153,0.1);
    --pink: #f472b6;
    --pink-soft: rgba(244,114,182,0.1);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 20px;
    --shadow: 0 2px 12px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.4);
}

/* ─── RESET + BASE ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: var(--font-body);
    background: var(--bg-base);
    color: var(--text);
    line-height: 1.72;
    font-size: 15.5px;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; transition: color 0.15s; }
a:hover { color: #5eeaff; text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }

/* ─── PAGE WRAPPER ─── */
.pg { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ─── BREADCRUMB ─── */
.bc { padding: 18px 0 0; font-size: 0.82rem; color: var(--text-muted); }
.bc a { color: var(--text-muted); }
.bc a:hover { color: var(--accent); }

/* ─── HERO ─── */
.hero {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
    margin: 24px 0 0;
    padding: 40px 36px;
    background: linear-gradient(160deg, #0c1220 0%, #111c30 40%, #0f1822 100%);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(0,212,240,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.hero h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-bright);
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lead { font-size: 0.95rem; color: var(--text); line-height: 1.65; margin-bottom: 16px; }
.hero-updated { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 16px; display: flex; align-items: center; gap: 6px; }
.hero-updated::before { content: ''; width: 6px; height: 6px; background: var(--green); border-radius: 50%; display: inline-block; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.hero-chips span {
    font-size: 0.75rem;
    padding: 4px 12px;
    background: var(--accent-soft);
    border: 1px solid rgba(0,212,240,0.15);
    border-radius: 20px;
    color: var(--accent);
    font-weight: 500;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* Hero — sidebar card (provider / info) */
.hero-provider {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--r-md);
    padding: 24px;
    position: relative;
    z-index: 1;
}
.hero-provider-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    background: var(--warm-soft);
    color: var(--warm);
    border-radius: 4px;
    margin-bottom: 14px;
}
.hero-provider h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--text-bright); margin-bottom: 12px; }
.hero-provider-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.hp-stat { padding: 8px 10px; background: var(--bg-raised); border-radius: var(--r-sm); }
.hp-stat-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }
.hp-stat-val { font-size: 0.88rem; font-weight: 600; color: var(--text-bright); }

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 22px; border-radius: var(--r-sm); font-weight: 600;
    font-size: 0.88rem; text-decoration: none !important; transition: all 0.2s;
    white-space: nowrap; border: none; cursor: pointer; font-family: var(--font-body);
}
.btn-primary { background: var(--accent); color: var(--bg-deep); }
.btn-primary:hover { background: #28e8ff; color: var(--bg-deep); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,212,240,0.25); }
.btn-secondary { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.btn-secondary:hover { background: var(--accent-soft); color: var(--accent); }
.btn-tertiary { font-size: 0.82rem; padding: 6px 16px; background: var(--accent-soft); color: var(--accent); border-radius: 6px; }
.btn-tertiary:hover { background: rgba(0,212,240,0.2); color: var(--accent); }
.btn-sm { font-size: 0.82rem; padding: 8px 18px; }
.btn-block { width: 100%; text-align: center; }

/* Alias for render_cta() output classes */
.btn--primary { background: var(--accent); color: var(--bg-deep); }
.btn--primary:hover { background: #28e8ff; color: var(--bg-deep); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,212,240,0.25); }
.btn--sm { font-size: 0.82rem; padding: 8px 18px; }

/* ─── TWO-COLUMN LAYOUT ─── */
.layout { display: grid; grid-template-columns: 1fr 280px; gap: 40px; margin: 32px 0 48px; align-items: start; }
.main-col { min-width: 0; }

/* ─── SIDEBAR ─── */
.sidebar { position: sticky; top: 90px; }
.sb-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 20px;
    margin-bottom: 16px;
}
.sb-box h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 12px; font-weight: 600; }
.sb-toc a {
    display: block; padding: 6px 0; font-size: 0.85rem; color: var(--text);
    border-bottom: 1px solid var(--border); transition: color 0.15s;
}
.sb-toc a:last-child { border-bottom: none; }
.sb-toc a:hover { color: var(--accent); text-decoration: none; }
.sb-cta {
    background: linear-gradient(160deg, #0d1a2e, #111f38);
    border: 1px solid rgba(0,212,240,0.15);
}
.sb-cta p { font-size: 0.85rem; color: var(--text); margin-bottom: 12px; }
.sb-picks { list-style: none; margin: 0; padding: 0; }
.sb-picks li { padding: 6px 0; font-size: 0.85rem; border-bottom: 1px solid var(--border); }
.sb-picks li:last-child { border-bottom: none; }

/* ─── CONTENT TYPOGRAPHY ─── */
.main-col h2 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-bright);
    margin: 40px 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    letter-spacing: -0.01em;
}
.main-col h2:first-child { margin-top: 0; }
.main-col h3 { font-size: 1.05rem; color: var(--text-bright); margin: 24px 0 8px; font-weight: 600; }
.main-col p { margin-bottom: 14px; }
.main-col ul, .main-col ol { margin: 0 0 16px 20px; }
.main-col li { margin-bottom: 6px; }
.main-col li strong { color: var(--text-bright); }
.main-col hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }

/* ─── TABLES (REUSABLE) ─── */
.tbl {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 20px 0 28px;
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--border);
}
.tbl th {
    background: var(--bg-raised);
    padding: 12px 14px;
    text-align: left;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--accent);
    font-weight: 600;
    border-bottom: 1px solid var(--border);
}
.tbl td {
    padding: 11px 14px;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}
.tbl tr:last-child td { border-bottom: none; }
.tbl tr:nth-child(even) td { background: rgba(15,21,32,0.5); }
.tbl tr:hover td { background: rgba(0,212,240,0.03); }
.tbl .cta-col { text-align: center; white-space: nowrap; }

/* Legacy alias: .style-table (bgaming-slots) */
.style-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 20px 0 28px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border); }
.style-table th { background: var(--bg-raised); padding: 12px 14px; text-align: left; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--accent); font-weight: 600; border-bottom: 1px solid var(--border); }
.style-table td { padding: 11px 14px; font-size: 0.88rem; border-bottom: 1px solid var(--border); color: var(--text); }
.style-table tr:last-child td { border-bottom: none; }
.style-table tr:nth-child(even) td { background: rgba(15,21,32,0.5); }

/* ─── TAGS / BADGES ─── */
.tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}
.tag--warn { background: rgba(255,165,0,0.15); color: #ffa500; }
.tag--ok { background: rgba(0,200,100,0.15); color: #00c864; }
.tag--accent { background: var(--accent-soft); color: var(--accent); }
.tag--warm { background: var(--warm-soft); color: var(--warm); }

/* Legacy game-card tags */
.tag-style { background: var(--accent-soft); color: var(--accent); }
.tag-session { background: var(--warm-soft); color: var(--warm); }

/* ─── INFO BOX ─── */
.info-box {
    background: rgba(240,168,48,0.08);
    border-left: 4px solid var(--warm);
    padding: 16px 20px;
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}
.info-box strong { color: var(--warm); }

/* ─── CARD GRID ─── */
.game-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0 28px; }
.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 22px;
    transition: border-color 0.2s, transform 0.2s;
    display: flex; flex-direction: column;
}
.game-card:hover { border-color: var(--border-light); transform: translateY(-2px); }
.game-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--text-bright);
    margin: 0 0 6px;
}
.game-card > p { font-size: 0.88rem; color: var(--text); margin-bottom: 10px; }
.game-card .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.game-card .tags span { font-size: 0.72rem; padding: 3px 10px; border-radius: 4px; font-weight: 500; }
.game-card .btn-tertiary { margin-top: auto; align-self: flex-start; }

/* ─── FAQ ACCORDION ─── */
.faq { margin: 20px 0 28px; }
.faq details, .faq-list details {
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    margin-bottom: 8px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.faq details[open], .faq-list details[open] { border-color: var(--border-light); }
.faq summary, .faq-list summary {
    padding: 14px 18px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-bright);
    cursor: pointer;
    background: var(--bg-card);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background 0.15s;
}
.faq summary:hover, .faq-list summary:hover { background: var(--bg-card-hover); }
.faq summary::-webkit-details-marker, .faq-list summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq-list summary::after { content: '+'; font-size: 1.2rem; color: var(--accent); font-weight: 400; flex-shrink: 0; margin-left: 12px; }
.faq details[open] summary::after, .faq-list details[open] summary::after { content: '\2212'; }
.faq details p, .faq-list details p { padding: 4px 18px 16px; font-size: 0.9rem; color: var(--text); line-height: 1.65; }

/* ─── NEXT LINKS ─── */
.next-links { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-md); padding: 24px; margin: 32px 0 0; }
.next-links h2 { font-family: var(--font-display); font-size: 1.15rem; color: var(--text-bright); margin: 0 0 14px; padding: 0; border: none; }
.next-links ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.next-links li a {
    display: block; padding: 10px 14px;
    background: var(--bg-raised); border: 1px solid var(--border); border-radius: var(--r-sm);
    font-size: 0.88rem; font-weight: 500; transition: all 0.15s;
}
.next-links li a:hover { border-color: var(--accent); background: var(--accent-soft); text-decoration: none; }

/* ─── MIGRATION FLOW (reusable) ─── */
.flow-diagram {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 1rem 0;
    font-size: 1.05rem;
}
.flow-diagram .arrow { color: var(--warm); font-weight: 700; font-size: 1.3rem; }

/* ─── CTA BLOCK (inline promo) ─── */
.cta-block {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background: rgba(0,0,0,0.15);
    border-radius: var(--r-md);
    border: 1px solid rgba(255,255,255,0.06);
}
.cta-block p:first-child { font-weight: 600; margin-bottom: 12px; }
.cta-block .disclaimer { font-size: 12px; color: var(--text-muted); margin-top: 8px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; }
    .hero-provider { order: -1; }
    .layout { grid-template-columns: 1fr; }
    .sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
}
@media (max-width: 640px) {
    .hero { padding: 24px 20px; }
    .hero h1 { font-size: 1.55rem; }
    .game-grid { grid-template-columns: 1fr; }
    .sidebar { grid-template-columns: 1fr; }
    .next-links ul { grid-template-columns: 1fr; }
    .hero-provider-stats { grid-template-columns: 1fr; }
    .tbl { font-size: 0.85rem; }
    .tbl th, .tbl td { padding: 8px 6px; }
    .tbl .hide-m { display: none; }
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.anim { animation: fadeUp 0.5s ease forwards; opacity: 0; }
.anim-d1 { animation-delay: 0.08s; }
.anim-d2 { animation-delay: 0.16s; }
.anim-d3 { animation-delay: 0.24s; }

/* ─── HERO STATS CARD (money pages variant) ─── */
.hero-stats-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--r-md);
    padding: 24px;
    position: relative;
    z-index: 1;
}
.hero-stats-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    background: var(--green-soft);
    color: var(--green);
    border-radius: 4px;
    margin-bottom: 14px;
}
.hero-stats-card h3 { font-family: var(--font-display); font-size: 1.1rem; color: var(--text-bright); margin-bottom: 12px; }
.hs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.hs-item { padding: 8px 10px; background: var(--bg-raised); border-radius: var(--r-sm); }
.hs-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }
.hs-val { font-size: 0.88rem; font-weight: 600; color: var(--text-bright); }

/* ─── WARM BUTTON ─── */
.btn-warm { background: var(--warm); color: var(--bg-deep); }
.btn-warm:hover { background: #ffbb3d; color: var(--bg-deep); transform: translateY(-1px); }

/* ─── TABLE WRAPPER (mobile scroll) ─── */
.tbl-wrap { overflow-x: auto; margin: 20px 0 28px; -webkit-overflow-scrolling: touch; }
.style-table .casino-name { font-weight: 600; color: var(--text-bright); white-space: nowrap; }
.style-table .casino-name a { font-weight: 600; }

/* ─── CALLOUT BOX ─── */
.callout {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--warm);
    border-radius: var(--r-sm);
    padding: 20px 24px;
    margin: 24px 0;
}
.callout h2 { margin-top: 0 !important; padding-bottom: 0; border-bottom: none; font-size: 1.15rem; }

/* ─── CHECKLIST ─── */
.checklist { list-style: none; margin: 0 0 16px; padding: 0; }
.checklist li { padding: 6px 0 6px 24px; position: relative; }
.checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* ─── PROS/CONS ─── */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0 28px; }
.pc-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-md); padding: 20px; }
.pc-box h3 { font-size: 0.95rem; margin-bottom: 10px; }

/* ─── RESPONSIVE (money page extras) ─── */
@media (max-width: 900px) {
    .hero-stats-card { order: -1; }
}
@media (max-width: 640px) {
    .hs-grid { grid-template-columns: 1fr; }
    .pros-cons { grid-template-columns: 1fr; }
    .style-table { min-width: 500px; }
}
