/* ═══════════════════════════════════════════════
   Betty Casino — betty-casinos.ca
   Design System v1.0
   Brand: Gold/Amber on Dark Charcoal
   ═══════════════════════════════════════════════ */

/* ── TOKENS ───────────────────────────────────── */
:root {
    --gold: #F5B731;
    --gold-light: #FFCC4D;
    --gold-deep: #C8920A;
    --gold-glow: rgba(245, 183, 49, 0.15);
    --dark: #131313;
    --dark-card: #1A1A1A;
    --dark-elevated: #222222;
    --dark-section: #161616;
    --border: rgba(245, 183, 49, 0.12);
    --border-gold: rgba(245, 183, 49, 0.3);
    --text: #E8E8E8;
    --text-muted: #9E9E9E;
    --text-dim: #666;
    --accent-purple: #9B59B6;
    --accent-blue: #3498DB;
    --accent-teal: #1ABC9C;
    --accent-red: #E74C3C;
    --accent-green: #2ECC71;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-gold: 0 4px 24px rgba(245, 183, 49, 0.12);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'DM Sans', system-ui, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%
}

body {
    font-family: var(--font);
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden
}

a {
    color: inherit;
    text-decoration: none
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--gold);
    color: var(--dark);
    padding: 8px 16px;
    border-radius: var(--radius);
    font-weight: 700;
    z-index: 9999
}

.skip-link:focus {
    top: 12px
}

/* ── LAYOUT ───────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px
}

.container--tight {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px
}

/* ── BUTTONS ──────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
    color: var(--dark);
    box-shadow: 0 4px 16px rgba(245, 183, 49, 0.3)
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(245, 183, 49, 0.45)
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border-gold);
    color: var(--gold)
}

.btn-outline:hover {
    background: var(--gold-glow);
    border-color: var(--gold)
}

.btn-dark {
    background: var(--dark-elevated);
    color: var(--text);
    border: 1px solid var(--border)
}

.btn-dark:hover {
    border-color: var(--gold);
    color: var(--gold)
}

/* ── HEADER ───────────────────────────────────── */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(19, 19, 19, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border)
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px
}

.logo {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    color: var(--dark);
    font-family: var(--font-heading)
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.5px
}

.main-nav {
    display: flex;
    gap: 4px
}

.main-nav a {
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    color: var(--text-muted);
    transition: all var(--transition)
}

.main-nav a:hover {
    color: var(--gold);
    background: var(--gold-glow)
}

.main-nav a.active {
    color: var(--gold);
    background: var(--gold-glow)
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px
}

.hamburger {
    display: none;
    font-size: 22px;
    color: var(--gold);
    padding: 6px;
    cursor: pointer
}

/* ── MOBILE NAV ───────────────────────────────── */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(19, 19, 19, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    padding: 64px 28px 28px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    overflow-y: auto
}

.mobile-nav.open {
    transform: translateX(0)
}

.mobile-nav a {
    font-size: 17px;
    font-weight: 600;
    padding: 14px 16px;
    border-radius: 12px;
    color: var(--text-muted);
    transition: all var(--transition)
}

.mobile-nav a.active {
    color: var(--gold);
    background: var(--gold-glow)
}

.mobile-nav a:hover {
    color: var(--gold)
}

.mobile-cta-btn {
    margin-top: 16px;
    padding: 16px;
    text-align: center;
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: var(--dark);
    font-weight: 800;
    font-size: 16px;
    border-radius: 14px
}

.mobile-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer
}

/* ── HERO — SPLIT LAYOUT ─────────────────────── */
.hero {
    padding: 72px 0 64px;
    background: radial-gradient(ellipse at 20% 50%, rgba(245, 183, 49, 0.06) 0%, transparent 60%)
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gold-glow);
    border: 1px solid var(--border-gold);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 18px
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 18px
}

.hero h1 em {
    font-style: normal;
    color: var(--gold)
}

.hero-sub {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 500px
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.hero-visual {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 16/10;
    box-shadow: var(--shadow)
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

/* ── PAGE BANNER ──────────────────────────────── */
.page-banner {
    padding: 44px 0 36px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-section) 100%);
    border-bottom: 1px solid var(--border)
}

.crumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 12px
}

.crumb a {
    color: var(--text-muted);
    transition: color var(--transition)
}

.crumb a:hover {
    color: var(--gold)
}

.page-banner h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 8px
}

.page-banner h1 em {
    font-style: normal;
    color: var(--gold)
}

.page-banner p {
    color: var(--text-muted);
    font-size: 15px;
    max-width: 620px
}

/* ── SECTION ──────────────────────────────────── */
section {
    padding: 60px 0
}

.sec-alt {
    background: var(--dark-section)
}

.sec-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--gold);
    margin-bottom: 10px
}

.sec-label::before {
    content: '';
    width: 18px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px
}

.sec-title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.2
}

.sec-title em {
    font-style: normal;
    color: var(--gold)
}

.sec-desc {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    max-width: 620px;
    margin-bottom: 32px
}

/* ── METRIC BOXES ─────────────────────────────── */
.metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px
}

.metric-box {
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: all var(--transition)
}

.metric-box:hover {
    border-color: var(--border-gold);
    box-shadow: var(--shadow-gold)
}

.metric-val {
    font-size: 28px;
    font-weight: 900;
    color: var(--gold);
    font-family: var(--font-heading)
}

.metric-lbl {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px
}

/* ── CARDS — GLASS STYLE ─────────────────────── */
.cards-row {
    display: grid;
    gap: 16px
}

.cards-3 {
    grid-template-columns: repeat(3, 1fr)
}

.cards-4 {
    grid-template-columns: repeat(4, 1fr)
}

.cards-2 {
    grid-template-columns: 1fr 1fr
}

.glass-card {
    background: linear-gradient(145deg, rgba(245, 183, 49, 0.04) 0%, rgba(26, 26, 26, 0.95) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0;
    transition: opacity var(--transition)
}

.glass-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold)
}

.glass-card:hover::before {
    opacity: 1
}

.card-emoji {
    font-size: 36px;
    margin-bottom: 16px
}

.glass-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: var(--font-heading)
}

.glass-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65
}

/* ── TABLES ───────────────────────────────────── */
.tbl-shell {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--dark-card)
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px
}

table caption {
    padding: 16px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 15px;
    background: linear-gradient(90deg, rgba(245, 183, 49, 0.08), transparent);
    color: #fff;
    border-bottom: 2px solid var(--gold);
    font-family: var(--font-heading)
}

thead th {
    padding: 12px 16px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    background: rgba(245, 183, 49, 0.04);
    border-bottom: 1px solid var(--border)
}

tbody td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text)
}

tbody tr:last-child td {
    border-bottom: none
}

tbody tr:hover {
    background: rgba(245, 183, 49, 0.03)
}

.pill {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 50px
}

.pill-gold {
    background: var(--gold-glow);
    color: var(--gold)
}

.pill-green {
    background: rgba(46, 204, 113, 0.12);
    color: var(--accent-green)
}

.pill-red {
    background: rgba(231, 76, 60, 0.1);
    color: var(--accent-red)
}

.pill-blue {
    background: rgba(52, 152, 219, 0.1);
    color: var(--accent-blue)
}

.pill-purple {
    background: rgba(155, 89, 182, 0.1);
    color: var(--accent-purple)
}

/* ── CHART CONTAINER ──────────────────────────── */
.chart-shell {
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px
}

.chart-head {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 18px;
    font-family: var(--font-heading)
}

.chart-head em {
    font-style: normal;
    color: var(--gold)
}

.chart-area {
    position: relative;
    height: 280px
}

/* ── TWO-COLUMN LAYOUT ────────────────────────── */
.duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start
}

/* ── ACCORDION FAQ ────────────────────────────── */
.faq-stack {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.faq-block {
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--transition)
}

.faq-block.open {
    border-color: var(--border-gold)
}

.faq-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    user-select: none
}

.faq-trigger::after {
    content: '+';
    font-size: 20px;
    color: var(--gold);
    transition: transform var(--transition)
}

.faq-block.open .faq-trigger::after {
    content: '−'
}

.faq-body {
    display: none;
    padding: 0 20px 18px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7
}

.faq-block.open .faq-body {
    display: block
}

/* ── SEO ARTICLE ──────────────────────────────── */
.seo-zone {
    padding: 60px 0;
    background: var(--dark-section)
}

.seo-text {
    max-width: 800px
}

.seo-text h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    margin: 32px 0 12px;
    color: #fff
}

.seo-text h2:first-child {
    margin-top: 0
}

.seo-text h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 24px 0 8px;
    color: rgba(255, 255, 255, 0.9)
}

.seo-text p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px
}

.seo-text a.ilink {
    color: var(--gold);
    text-decoration: underline;
    text-decoration-style: dashed;
    text-underline-offset: 3px
}

.seo-text a.ilink:hover {
    color: var(--gold-light)
}

.seo-text ul,
.seo-text ol {
    margin: 12px 0 16px 24px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8
}

/* ── FOOTER ───────────────────────────────────── */
footer {
    background: var(--dark-card);
    border-top: 2px solid var(--gold);
    padding: 48px 0 0
}

.ft-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 40px
}

.ft-about {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: 14px
}

.ft-col h4 {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    margin-bottom: 14px
}

.ft-col a {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    padding: 4px 0;
    transition: color var(--transition)
}

.ft-col a:hover {
    color: #fff
}

.ft-warn {
    background: rgba(0, 0, 0, 0.35);
    padding: 18px;
    border-radius: var(--radius);
    margin-bottom: 28px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6
}

.ft-warn a {
    color: var(--gold);
    text-decoration: underline
}

.age-pill {
    background: var(--accent-red);
    color: #fff;
    font-weight: 800;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px
}

.ft-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 14px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-dim)
}

.ft-links {
    display: flex;
    gap: 16px
}

.ft-links a {
    color: var(--text-dim);
    transition: color var(--transition)
}

.ft-links a:hover {
    color: #fff
}

/* ── FORM SHELL ───────────────────────────────── */
.form-wrap {
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    max-width: 460px;
    margin: 0 auto
}

.form-wrap h1 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 6px;
    text-align: center
}

.form-wrap .form-sub {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 28px
}

.field {
    margin-bottom: 18px
}

.field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.8)
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    transition: border-color var(--transition)
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--gold)
}

.field select option {
    background: var(--dark-card);
    color: #fff
}

.form-wrap .btn {
    width: 100%;
    justify-content: center;
    padding: 14px;
    margin-top: 8px
}

.form-sep {
    text-align: center;
    color: var(--text-dim);
    font-size: 13px;
    margin: 20px 0;
    position: relative
}

.form-sep::before,
.form-sep::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--border)
}

.form-sep::before {
    left: 0
}

.form-sep::after {
    right: 0
}

/* ── RESPONSIVE ───────────────────────────────── */
@media(max-width:1024px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .hero-visual {
        max-width: 520px
    }

    .cards-4 {
        grid-template-columns: 1fr 1fr
    }

    .ft-grid {
        grid-template-columns: 1fr 1fr
    }

    .duo {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .metrics {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:768px) {
    .main-nav {
        display: none
    }

    .hamburger {
        display: block
    }

    .hero {
        padding: 48px 0 40px
    }

    .hero h1 {
        font-size: clamp(1.6rem, 6vw, 2.2rem)
    }

    section {
        padding: 40px 0
    }

    .sec-title {
        font-size: clamp(1.2rem, 5vw, 1.7rem)
    }

    .cards-3,
    .cards-2 {
        grid-template-columns: 1fr
    }

    .metrics {
        grid-template-columns: 1fr 1fr
    }

    .tbl-shell {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch
    }

    table {
        min-width: 500px;
        font-size: 13px
    }

    .chart-area {
        height: 220px
    }

    .ft-grid {
        grid-template-columns: 1fr
    }

    .ft-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center
    }

    .container,
    main,
    section,
    footer {
        overflow-x: hidden
    }

    .chart-shell {
        max-width: 100%;
        overflow: hidden
    }

    .chart-area canvas {
        max-width: 100% !important;
        width: 100% !important
    }

    .glass-card {
        max-width: 100%;
        overflow: hidden
    }

    img {
        max-width: 100%;
        height: auto
    }

    .header-actions .btn-outline {
        display: none
    }

    .header-actions .btn-gold {
        font-size: 12px;
        padding: 7px 14px
    }

    .seo-text p {
        font-size: 14px
    }

    .seo-text h2 {
        font-size: 1.2rem
    }

    .page-banner h1 {
        font-size: clamp(1.3rem, 6vw, 1.8rem) !important
    }
}

@media(max-width:480px) {
    .hero-ctas {
        flex-direction: column
    }

    .hero-ctas .btn {
        width: 100%;
        justify-content: center
    }

    .metrics {
        grid-template-columns: 1fr 1fr
    }

    .metric-val {
        font-size: 22px
    }

    .cards-4 {
        grid-template-columns: 1fr
    }

    .tbl-shell {
        margin-left: -24px;
        margin-right: -24px;
        border-radius: 0
    }

    table {
        min-width: 420px;
        font-size: 12px
    }

    .chart-area {
        height: 180px
    }

    .form-wrap {
        padding: 28px 20px
    }

    .sec-title {
        font-size: clamp(1.1rem, 6vw, 1.4rem)
    }
}