/* ============================================================
   call.bet — Main Stylesheet
   Dark Navy & Gold color scheme
   ============================================================ */

:root {
    --navy:      #0d1b2a;
    --navy-mid:  #162032;
    --navy-lite: #1e2e42;
    --gold:      #c9a84c;
    --gold-lite: #e8c96a;
    --gold-dark: #a07830;
    --white:     #f5f5f5;
    --gray-100:  #e9ecef;
    --gray-200:  #ced4da;
    --gray-400:  #868e96;
    --gray-600:  #495057;
    --text:      #222831;
    --radius:    6px;
    --shadow:    0 2px 12px rgba(0,0,0,.15);
    --shadow-lg: 0 6px 30px rgba(0,0,0,.25);
    --transition: .2s ease;
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: #f0f2f5;
}

a { color: var(--gold-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

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

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Slab', serif;
    line-height: 1.3;
    color: var(--navy);
}

h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); margin-bottom: .6rem; }
h3 { font-size: 1.15rem; margin-bottom: .4rem; }

p { margin-bottom: 1rem; }

/* ── Layout ──────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.page-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    align-items: start;
    padding: 2rem 0;
}

.page-main { min-width: 0; }
.page-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

/* ── Header ──────────────────────────────────────────────── */
.site-header {
    background: var(--navy);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 16px rgba(0,0,0,.4);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem 0;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--gold);
    font-family: 'Roboto Slab', serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}
.site-logo:hover { color: var(--gold-lite); }
.logo-icon { font-size: 1.8rem; }
.logo-dot { color: var(--white); font-weight: 300; }

/* Nav */
.main-nav { display: flex; align-items: center; }
.nav-list {
    display: flex;
    align-items: center;
    gap: .25rem;
}
.nav-link {
    display: block;
    padding: .5rem .85rem;
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 500;
    font-size: .9rem;
    letter-spacing: .02em;
    transition: background var(--transition), color var(--transition);
}
.nav-link:hover {
    background: rgba(201,168,76,.15);
    color: var(--gold-lite);
}

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--navy-mid);
    border: 1px solid var(--navy-lite);
    border-radius: var(--radius);
    min-width: 200px;
    max-height: 60vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    padding: .5rem 0;
}
.dropdown-menu a {
    display: block;
    padding: .4rem 1rem;
    color: var(--gray-100);
    font-size: .85rem;
}
.dropdown-menu a:hover {
    background: rgba(201,168,76,.1);
    color: var(--gold-lite);
}
.nav-dropdown:hover .dropdown-menu { display: block; }

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .4rem;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform .2s, opacity .2s;
}

/* AdSense bar below nav */
.ad-bar {
    padding: .5rem 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.07);
}

/* ── AdSense Blocks ──────────────────────────────────────── */
.adsense-wrap {
    position: relative;
    background: var(--gray-100);
    border: 1px dashed var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.adsense-horizontal { width: 100%; max-width: 728px; min-height: 90px; }
.adsense-rectangle  { width: 300px; min-height: 250px; }

.ad-label {
    display: block;
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--gray-400);
    text-align: center;
    padding: .25rem 0 0;
}

.adsense-wrap ins.adsbygoogle {
    display: block !important;
}

/* Sidebar ad card */
.sidebar-ad-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: .75rem;
    text-align: center;
    box-shadow: var(--shadow);
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1a2a20 100%);
    color: var(--white);
    padding: 4rem 0 3rem;
    text-align: center;
    margin-bottom: 0;
    border-bottom: 3px solid var(--gold);
}
.hero h1 {
    color: var(--gold);
    font-size: clamp(1.8rem, 5vw, 3rem);
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.hero p {
    font-size: 1.1rem;
    color: var(--gray-100);
    max-width: 700px;
    margin: 0 auto 1.5rem;
}
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
    margin-top: 1rem;
}
.hero-badge {
    background: rgba(201,168,76,.15);
    border: 1px solid rgba(201,168,76,.4);
    color: var(--gold-lite);
    padding: .3rem .8rem;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 500;
}

/* ── Cards ───────────────────────────────────────────────── */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0,0,0,.06);
}
.card-header {
    background: var(--navy);
    color: var(--gold);
    padding: .75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    font-family: 'Roboto Slab', serif;
    font-size: 1rem;
    font-weight: 700;
}
.card-header .icon { font-size: 1.4rem; }
.card-body { padding: 1.25rem; }
.card-body h2 { margin-top: 0; color: var(--navy); }

/* ── Gambling Type Sections ──────────────────────────────── */
.gambling-section { margin-bottom: 2.5rem; }
.gambling-section h2 {
    color: var(--navy);
    border-bottom: 2px solid var(--gold);
    padding-bottom: .4rem;
    margin-bottom: 1rem;
}

.category-section {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.06);
}
.category-header {
    background: linear-gradient(90deg, var(--navy) 0%, var(--navy-lite) 100%);
    color: var(--gold);
    padding: 1rem 1.5rem;
    font-family: 'Roboto Slab', serif;
    font-size: 1.3rem;
    border-bottom: 2px solid var(--gold);
}

.game-card {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-100);
}
.game-card:last-child { border-bottom: none; }
.game-card-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .6rem;
    color: var(--navy);
    font-size: 1.2rem;
    font-family: 'Roboto Slab', serif;
}
.game-icon { font-size: 1.3rem; }
.game-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: .75rem;
}
.game-badge {
    font-size: .75rem;
    padding: .2rem .6rem;
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.badge-edge {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffc107;
}
.badge-category {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.game-card p { color: var(--gray-600); font-size: .95rem; }

.game-details { margin-top: .75rem; }
.game-details summary {
    cursor: pointer;
    color: var(--gold-dark);
    font-weight: 500;
    font-size: .9rem;
    user-select: none;
}
.game-details summary:hover { color: var(--gold); }
.game-details-inner {
    padding: .75rem 0 0;
    border-top: 1px solid var(--gray-100);
    margin-top: .5rem;
}
.game-details-inner h4 {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--gray-400);
    margin: .6rem 0 .3rem;
}
.tips-list {
    list-style: disc;
    padding-left: 1.2rem;
    margin-bottom: .5rem;
}
.tips-list li {
    font-size: .9rem;
    color: var(--gray-600);
    margin-bottom: .25rem;
}

/* ── State Grid ──────────────────────────────────────────── */
.states-section {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0,0,0,.06);
}
.states-section h2 {
    color: var(--navy);
    border-bottom: 2px solid var(--gold);
    padding-bottom: .4rem;
    margin-bottom: 1.25rem;
}
.state-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: .5rem;
}
.state-link {
    display: flex;
    align-items: center;
    padding: .5rem .75rem;
    background: var(--navy);
    color: var(--gold) !important;
    border-radius: var(--radius);
    font-size: .82rem;
    font-weight: 500;
    transition: background var(--transition), transform var(--transition);
}
.state-link:hover {
    background: var(--navy-lite);
    color: var(--gold-lite) !important;
    transform: translateY(-1px);
}
.state-abbr {
    background: rgba(201,168,76,.2);
    border-radius: 3px;
    padding: .1rem .35rem;
    font-size: .7rem;
    margin-left: auto;
    color: var(--gold-lite);
}

/* ── City Grid ───────────────────────────────────────────── */
.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: .5rem;
    max-height: 500px;
    overflow-y: auto;
    padding-right: .25rem;
}
.city-grid::-webkit-scrollbar { width: 4px; }
.city-grid::-webkit-scrollbar-track { background: var(--gray-100); }
.city-grid::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 4px; }

.city-link {
    display: block;
    padding: .4rem .7rem;
    background: var(--gray-100);
    color: var(--navy) !important;
    border-radius: var(--radius);
    font-size: .82rem;
    border: 1px solid var(--gray-200);
    transition: background var(--transition), border-color var(--transition);
}
.city-link:hover {
    background: var(--navy);
    color: var(--gold) !important;
    border-color: var(--navy);
}

/* ── Law Status Boxes ────────────────────────────────────── */
.law-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}
.law-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1rem;
    border-left: 4px solid var(--gray-200);
    box-shadow: var(--shadow);
}
.law-card.legal    { border-left-color: #28a745; }
.law-card.partial  { border-left-color: #ffc107; }
.law-card.illegal  { border-left-color: #dc3545; }

.law-title { font-weight: 700; font-size: .9rem; color: var(--navy); margin-bottom: .3rem; }
.law-status {
    display: inline-block;
    font-size: .75rem;
    padding: .15rem .5rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.status-legal   { background: #d4edda; color: #155724; }
.status-partial { background: #fff3cd; color: #856404; }
.status-illegal { background: #f8d7da; color: #721c24; }

.legal-forms-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    padding: 0;
    margin: .75rem 0;
}
.legal-forms-list li {
    background: var(--navy);
    color: var(--gold);
    font-size: .75rem;
    padding: .2rem .6rem;
    border-radius: 20px;
}

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb {
    padding: .75rem 0;
    font-size: .85rem;
    color: var(--gray-400);
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
    align-items: center;
}
.breadcrumb a { color: var(--gold-dark); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: var(--gray-400); }

/* ── Section titles ──────────────────────────────────────── */
.section-title {
    font-size: 1.5rem;
    color: var(--navy);
    border-bottom: 3px solid var(--gold);
    padding-bottom: .5rem;
    margin: 2rem 0 1.25rem;
}
.section-title:first-child { margin-top: 0; }

/* ── Page hero variants ──────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    color: var(--white);
    padding: 2.5rem 0 2rem;
    margin-bottom: 0;
    border-bottom: 3px solid var(--gold);
}
.page-hero h1 { color: var(--gold); margin-bottom: .5rem; }
.page-hero p  { color: var(--gray-200); margin-bottom: 0; font-size: 1rem; }
.page-hero .container { position: relative; }

/* ── Nearby section ──────────────────────────────────────── */
.nearby-section {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0,0,0,.06);
}
.nearby-section h2 {
    color: var(--navy);
    border-bottom: 2px solid var(--gold);
    padding-bottom: .4rem;
    margin-bottom: 1rem;
}

/* ── Intro box ───────────────────────────────────────────── */
.intro-box {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--gold);
    margin-bottom: 1.5rem;
}
.intro-box p:last-child { margin-bottom: 0; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
    background: var(--navy);
    color: var(--gray-200);
    margin-top: 3rem;
}
.footer-ad {
    padding: 1rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-ad .adsense-wrap { margin: 0 auto; }
.footer-ad .ad-label { color: rgba(255,255,255,.4); }

.footer-states {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-heading {
    font-family: 'Roboto Slab', serif;
    color: var(--gold);
    margin-bottom: 1.25rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.footer-state-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: .3rem;
}
.footer-state-grid li a {
    color: var(--gray-200);
    font-size: .8rem;
    display: block;
    padding: .2rem 0;
    transition: color var(--transition);
}
.footer-state-grid li a:hover { color: var(--gold); }

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
}
.disclaimer {
    font-size: .8rem;
    color: rgba(255,255,255,.5);
    max-width: 700px;
    margin: 0 auto .75rem;
    line-height: 1.6;
}
.disclaimer strong { color: rgba(255,255,255,.7); }
.copyright {
    font-size: .8rem;
    color: rgba(255,255,255,.35);
}

/* ── Utilities ───────────────────────────────────────────── */
.text-gold   { color: var(--gold); }
.text-navy   { color: var(--navy); }
.text-muted  { color: var(--gray-400); }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: 1rem; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
    .page-layout {
        grid-template-columns: 1fr;
    }
    .page-sidebar {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    .adsense-horizontal { max-width: 100%; }
}

@media (max-width: 700px) {
    .nav-toggle { display: flex; }
    .nav-list {
        display: none;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--navy-mid);
        padding: 1rem;
        border-top: 2px solid var(--gold);
        z-index: 999;
    }
    .nav-list.open { display: flex; }
    .dropdown-menu {
        position: static;
        display: block;
        max-height: 200px;
        background: var(--navy);
        margin-top: .5rem;
        border-radius: var(--radius);
    }
    .state-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
    .city-grid  { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
    .law-grid   { grid-template-columns: 1fr; }
    .page-layout { padding: 1rem 0; }
    .hero { padding: 2rem 0 1.5rem; }
    .footer-state-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
}

@media (max-width: 400px) {
    .city-grid  { grid-template-columns: 1fr 1fr; }
    .state-grid { grid-template-columns: 1fr 1fr; }
}
