/*
 * GOLISIMO CASINO - Design System
 * Nightlife sports-bar aesthetic. Dark base, lime-green & amber accents.
 * Fonts: Anton (headings), Barlow (body).
 */

/* Single shipped theme - dark nightlife sports-bar palette (no theme switcher) */
:root,
.dark {
    --background: #0C0A09;
    --foreground: #FAFAF9;
    --card: #16181A;
    --card-foreground: #FAFAF9;
    --popover: #16181A;
    --popover-foreground: #FAFAF9;
    --primary: #A3E635;
    --primary-foreground: #0C0A09;
    --secondary: #1E293B;
    --secondary-foreground: #E5E5E5;
    --muted: #3D4A3D;
    --muted-foreground: #abbaa5;
    --accent: #F59E0B;
    --accent-foreground: #0C0A09;
    --destructive: #e41414;
    --destructive-foreground: #FAFAF9;
    --border: #2C3A2C;
    --input: #16181A;
    --ring: #A3E635;
}

/* Spacing scale (8px grid) */
:root {
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 40px;
    --space-2xl: 64px;
    --maxw: 1200px;
    --header-h: 68px;
    --font-head: "Anton", "Barlow", sans-serif;
    --font-body: "Barlow", system-ui, sans-serif;
    --radius: 12px;
    --radius-sm: 8px;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ============================================
   OVERFLOW PREVENTION
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
img, video, iframe, embed, object, svg { max-width: 100%; height: auto; }
[class*="grid"] > *, [class*="flex"] > * { min-width: 0; }
pre, code, .code-block, [class*="code"] { max-width: 100%; overflow-x: auto; }
pre code, .code-block code { display: block; min-width: 0; }
.table-wrapper { max-width: 100%; overflow-x: auto; }
p, li, td, th { overflow-wrap: break-word; }
input, textarea, select { max-width: 100%; }
section { overflow-x: clip; }

/* ============================================
   BASE
   ============================================ */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--foreground);
    background: var(--background);
    background-image:
        radial-gradient(1100px 500px at 80% -10%, rgba(163,230,53,0.08), transparent 60%),
        radial-gradient(900px 500px at 0% 10%, rgba(245,158,11,0.05), transparent 55%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color 250ms var(--ease); }
a:hover { color: var(--foreground); }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    margin: 0 0 var(--space-sm);
    color: var(--foreground);
}

h1 { font-size: clamp(28px, 6vw, 48px); }
h2 { font-size: clamp(24px, 4.5vw, 36px); }
h3 { font-size: clamp(20px, 3vw, 26px); }

p { margin: 0 0 var(--space-md); }

ul, ol { line-height: 1.6; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 12px 20px;
    z-index: 2000;
    border-radius: 0 0 var(--radius-sm) 0;
    font-weight: 700;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }

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

/* Layout helpers used by pages */
.max-width-1200 { max-width: var(--maxw); }
.content-center { margin-inline: auto; padding-inline: var(--space-sm); }

.section { padding-block: var(--space-xl); padding-inline: var(--space-sm); }
@media (min-width: 1024px) { .section { padding-block: var(--space-2xl); } }

.section-head { max-width: 780px; margin: 0 auto var(--space-lg); text-align: center; }
.section-intro { color: var(--muted-foreground); font-size: 17px; }
.section-outro { max-width: 780px; margin: var(--space-md) auto 0; color: var(--muted-foreground); text-align: center; }
.section-outro a, .section-intro a, .prose a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.section-outro a:hover, .prose a:hover { color: var(--accent); }

.lime { color: var(--primary); }
.amber { color: var(--accent); }

/* ============================================
   BUTTONS
   .btn-primary - vibrant lime CTA
   .btn-ghost - outlined header/login
   .btn-pulse - gentle pulse for main CTA
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.02em;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-transform: uppercase;
    transition: transform 250ms var(--ease), box-shadow 250ms var(--ease), background 250ms var(--ease), color 250ms var(--ease);
}
.btn-primary {
    background: var(--primary);
    color: var(--primary-foreground);
    box-shadow: 0 6px 20px rgba(163,230,53,0.25);
}
.btn-primary:hover {
    color: var(--primary-foreground);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(163,230,53,0.4);
}
.btn-ghost {
    background: transparent;
    color: var(--foreground);
    border-color: var(--border);
}
.btn-ghost:hover { color: var(--primary); border-color: var(--primary); }
.btn-lg { min-height: 52px; padding: 16px 34px; font-size: 18px; }

.btn-pulse { animation: pulse 2.2s var(--ease) infinite; }
@keyframes pulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(163,230,53,0.25); }
    50% { box-shadow: 0 6px 30px rgba(163,230,53,0.55); }
}
@media (prefers-reduced-motion: reduce) {
    .btn-pulse { animation: none; }
    html { scroll-behavior: auto; }
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(12,10,9,0.92);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 10px var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    min-height: var(--header-h);
}
.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--foreground);
    font-family: var(--font-head);
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}
.site-brand:hover { color: var(--foreground); }
.brand-accent { color: var(--primary); margin-left: 4px; }
.logo { border-radius: 8px; display: block; }

.primary-nav { display: none; }
.nav-list { list-style: none; display: flex; gap: var(--space-md); margin: 0; padding: 0; }
.nav-list a {
    color: var(--foreground);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 15px;
    padding: 8px 4px;
    display: inline-block;
}
.nav-list a:hover { color: var(--primary); }
.nav-actions { display: flex; gap: 12px; align-items: center; }

.mobile-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    z-index: 1001;
}
.mobile-menu-toggle span {
    display: block;
    height: 2.5px;
    width: 100%;
    background: var(--foreground);
    border-radius: 2px;
    transition: transform 250ms var(--ease), opacity 250ms var(--ease);
}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile drawer */
@media (max-width: 1023px) {
    .primary-nav {
        display: none;
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0; bottom: 0;
        z-index: 999;
        background: var(--background);
        flex-direction: column;
        padding: var(--space-md) var(--space-sm) var(--space-2xl);
        overflow-y: auto;
        border-top: 1px solid var(--border);
    }
    .primary-nav.is-open { display: flex; }
    .nav-list { flex-direction: column; gap: 0; align-items: stretch; }
    .nav-list li { border-bottom: 1px solid var(--border); }
    .nav-list a {
        min-height: 48px;
        display: flex;
        align-items: center;
        font-size: 20px;
        padding: 8px 0;
    }
    .nav-actions { flex-direction: column; align-items: stretch; margin-top: var(--space-md); gap: var(--space-sm); }
    .nav-actions .btn { width: 100%; }
}

@media (min-width: 1024px) {
    .primary-nav { display: flex; align-items: center; gap: var(--space-lg); }
    .mobile-menu-toggle { display: none; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    padding: 72px var(--space-sm) var(--space-xl);
    overflow: clip;
    background:
        radial-gradient(700px 400px at 85% 20%, rgba(163,230,53,0.14), transparent 60%),
        linear-gradient(180deg, #0A0908, #0C0A09);
}
.hero-beam, .cta-beam {
    position: absolute;
    top: -40%;
    left: -10%;
    width: 60%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(163,230,53,0.16), transparent);
    transform: rotate(15deg);
    pointer-events: none;
    filter: blur(6px);
}
.hero-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    gap: var(--space-lg);
    align-items: center;
    position: relative;
    z-index: 1;
}
@media (min-width: 1024px) {
    .hero { padding-top: 72px; }
    .hero-inner { grid-template-columns: 1.1fr 0.9fr; }
}
.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 14px;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}
.hero h1 { margin-bottom: var(--space-sm); }
.hero-lead { font-size: 19px; color: var(--muted-foreground); max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-md); }
.hero-micro { margin-top: var(--space-sm); font-size: 14px; color: var(--muted-foreground); }
.hero-media {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 24px 60px rgba(0,0,0,0.5);
    aspect-ratio: 4 / 5;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) { .hero-media { aspect-ratio: 3 / 4; } }

/* ============================================
   PROSE - SEO text blocks
   ============================================ */
.prose { max-width: 760px; margin-inline: auto; color: var(--foreground); }
.prose h2 { margin-top: var(--space-lg); }
.prose p { color: var(--muted-foreground); }
.prose ul, .prose ol { color: var(--muted-foreground); padding-left: 1.3em; margin-bottom: var(--space-md); }
.prose li { margin-bottom: 8px; }

/* ============================================
   INFO CARD GRID
   ============================================ */
.info-grid-section { padding-block: var(--space-xl); padding-inline: var(--space-sm); }
@media (min-width: 1024px) { .info-grid-section { padding-block: var(--space-2xl); } }
.info-grid {
    display: grid;
    gap: var(--space-md);
    grid-template-columns: minmax(0, 1fr);
    max-width: var(--maxw);
    margin-inline: auto;
}
@media (min-width: 640px) {
    .info-grid-2, .info-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .info-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.info-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    transition: transform 250ms var(--ease), border-color 250ms var(--ease), box-shadow 250ms var(--ease);
}
.info-card:hover {
    transform: scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 10px 32px rgba(163,230,53,0.22);
}
.info-card-media { position: relative; aspect-ratio: 16 / 9; }
.info-card-media img { width: 100%; height: 100%; object-fit: cover; }
.info-card-badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--accent); color: var(--accent-foreground);
    font-weight: 700; font-size: 13px; text-transform: uppercase;
    padding: 4px 10px; border-radius: 6px; letter-spacing: 0.04em;
}
.info-card-step {
    position: absolute; top: 12px; left: 12px;
    width: 40px; height: 40px; display: grid; place-items: center;
    background: var(--primary); color: var(--primary-foreground);
    font-family: var(--font-head); font-size: 22px; border-radius: 50%;
}
.info-card-body { padding: var(--space-md); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.info-card-title { font-size: 26px; margin: 0; color: var(--card-foreground); }
.info-card-text { color: var(--muted-foreground); margin: 0; font-size: 17px; }
.info-card-text a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.info-card-text a:hover { color: var(--accent); }
.info-card-link {
    margin-top: auto; align-self: flex-start; font-weight: 700;
    color: var(--primary); text-transform: uppercase; letter-spacing: 0.03em; font-size: 15px;
    padding-top: 8px;
}
.info-card-link:hover { color: var(--accent); }

/* ============================================
   STAT BLOCK
   ============================================ */
.stat-section { padding-block: var(--space-xl); padding-inline: var(--space-sm); }
@media (min-width: 1024px) { .stat-section { padding-block: var(--space-2xl); } }
.stat-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-md);
    max-width: var(--maxw);
    margin-inline: auto;
    text-align: center;
}
@media (min-width: 768px) { .stat-row { display: flex; justify-content: center; gap: var(--space-lg); flex-wrap: wrap; } }
.stat-row-boxed {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-lg) var(--space-md);
}
.stat-item { display: flex; flex-direction: column; gap: 4px; min-width: 140px; padding: 8px 12px; }
.stat-figure {
    font-family: var(--font-head);
    font-size: clamp(34px, 6vw, 42px);
    color: var(--primary);
    line-height: 1;
    text-shadow: 0 0 24px rgba(163,230,53,0.35);
}
.stat-label { font-size: 15px; color: var(--muted-foreground); text-transform: uppercase; letter-spacing: 0.04em; }
.stat-source { text-align: center; font-size: 14px; color: var(--muted-foreground); margin-top: var(--space-md); }

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-section { padding-block: var(--space-xl); padding-inline: var(--space-sm); max-width: 860px; margin-inline: auto; }
@media (min-width: 1024px) { .faq-section { padding-block: var(--space-2xl); } }
.faq-list { display: flex; flex-direction: column; gap: var(--space-xs); }
.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 4px var(--space-md);
}
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    min-height: 44px;
    padding: 16px 0;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 20px;
    color: var(--card-foreground);
    list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-chevron { flex-shrink: 0; color: var(--primary); transition: transform 250ms var(--ease); }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 0 16px; }
.faq-answer p { color: var(--muted-foreground); font-size: 17px; margin: 0; }
.faq-answer a { color: var(--primary); font-weight: 600; text-decoration: underline; }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    position: relative;
    background: linear-gradient(180deg, #08110A, #0C0A09);
    padding: var(--space-xl) var(--space-sm);
    text-align: center;
    overflow: clip;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
@media (min-width: 1024px) { .cta-banner { padding-block: var(--space-2xl); } }
.cta-content { position: relative; z-index: 1; max-width: 720px; margin-inline: auto; }
.cta-title { font-size: clamp(28px, 5vw, 36px); color: var(--foreground); margin-bottom: var(--space-sm); }
.cta-text { color: var(--muted-foreground); font-size: 17px; margin-bottom: var(--space-md); }
.cta-micro { margin-top: var(--space-sm); font-size: 14px; color: var(--muted-foreground); }

/* ============================================
   ENGAGEMENT / CRO PATTERNS
   ============================================ */
.callout {
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: var(--space-md);
    margin: var(--space-md) 0;
    color: var(--muted-foreground);
}
.callout strong { color: var(--foreground); }

.tldr {
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: var(--space-md);
    margin: var(--space-md) auto var(--space-lg);
    max-width: 760px;
}
.tldr h2 { font-size: 20px; margin-bottom: 8px; }
.tldr p { margin: 0; color: var(--muted-foreground); }

.pull-quote {
    border-left: 4px solid var(--primary);
    padding: 12px 0 12px var(--space-md);
    margin: var(--space-lg) auto;
    max-width: 760px;
    font-size: 22px;
    line-height: 1.4;
    color: var(--foreground);
    font-style: italic;
}
.pull-quote cite { display: block; margin-top: 8px; font-size: 15px; font-style: normal; color: var(--muted-foreground); }

/* Comparison table */
.table-wrapper { margin: var(--space-md) auto; max-width: var(--maxw); }
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    font-size: 16px;
}
.data-table th, .data-table td { padding: 14px var(--space-sm); text-align: left; border-bottom: 1px solid var(--border); }
.data-table thead th {
    background: var(--secondary);
    color: var(--secondary-foreground);
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 14px;
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table td { color: var(--muted-foreground); }
.data-table .col-highlight { color: var(--primary); font-weight: 700; }

/* Trust badges row */
.trust-row {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: var(--space-md); align-items: center;
    max-width: var(--maxw); margin: 0 auto;
}
.trust-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-weight: 600; font-size: 15px; color: var(--foreground);
}
.trust-chip.is-age { border-color: var(--accent); color: var(--accent); }

/* Payment icon strip */
.pay-strip { display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: center; }
.pay-pill {
    padding: 8px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm);
    background: var(--card); color: var(--muted-foreground); font-weight: 600; font-size: 15px;
    filter: grayscale(1); transition: filter 250ms var(--ease), color 250ms var(--ease);
}
.pay-pill:hover { filter: grayscale(0); color: var(--foreground); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: #08090A; border-top: 1px solid var(--border); padding-top: var(--space-xl); margin-top: var(--space-xl); }
.footer-inner {
    max-width: var(--maxw); margin: 0 auto; padding: 0 var(--space-sm) var(--space-lg);
    display: grid; gap: var(--space-lg);
    grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) { .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; } }
.footer-tagline { color: var(--muted-foreground); font-size: 15px; margin-top: var(--space-sm); }
.footer-heading { font-family: var(--font-head); font-size: 18px; text-transform: uppercase; color: var(--foreground); margin-bottom: var(--space-sm); }
.footer-links, .footer-payments, .footer-support { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-payments { flex-direction: row; flex-wrap: wrap; gap: 10px; }
.footer-payments li { padding: 6px 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; color: var(--muted-foreground); filter: grayscale(1); }
.footer-links a { color: var(--muted-foreground); }
.footer-links a:hover { color: var(--primary); }
.footer-note { color: var(--muted-foreground); font-size: 14px; }
.footer-support li { color: var(--muted-foreground); font-size: 14px; }
.footer-badges { display: flex; gap: 10px; margin-top: var(--space-sm); }
.trust-badge { display: inline-flex; align-items: center; padding: 6px 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 13px; font-weight: 700; color: var(--muted-foreground); text-transform: uppercase; }
.trust-badge-age { border-color: var(--accent); color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding: var(--space-md) var(--space-sm); text-align: center; }
.footer-bottom p { margin: 0; color: var(--muted-foreground); font-size: 13px; max-width: 900px; margin-inline: auto; }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.animate-on-scroll { opacity: 0; transition: opacity 550ms var(--ease); }
.animate-on-scroll.is-visible { opacity: 1; }
.info-card { opacity: 0; transition: opacity 500ms var(--ease) var(--delay, 0ms), border-color 250ms var(--ease), box-shadow 250ms var(--ease); }
.is-visible .info-card, .info-grid-section.is-visible .info-card { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll, .info-card { opacity: 1 !important; transition: none; }
}
