/*
 * Lizaro Casino Design System
 * Fixed dark Wild-West theme with neon orange, nugget gold and electric green accents.
 */

:root {
    --background: #120B08;
    --foreground: #F8EAD2;
    --card: #241711;
    --card-foreground: #F8EAD2;
    --popover: #1A100C;
    --popover-foreground: #F8EAD2;
    --primary: #FF6A1A;
    --primary-foreground: #1A0D06;
    --secondary: #2A1B14;
    --secondary-foreground: #F8EAD2;
    --muted: #3A2B24;
    --muted-foreground: #D8C5AD;
    --accent: #39FF88;
    --accent-foreground: #06150B;
    --destructive: #FF6B6B;
    --destructive-foreground: #1B0808;
    --border: #6E5748;
    --input: #20140F;
    --ring: #FFB000;
    --gold: #FFB000;
    --cream: #F8EAD2;
    --canyon: #170E0A;
    --shadow: 0 18px 45px rgba(0, 0, 0, 0.36);
    --glow: 0 0 24px rgba(255, 106, 26, 0.42);
    --green-glow: 0 0 24px rgba(57, 255, 136, 0.28);
    --font-display: "Bungee Inline", system-ui, sans-serif;
    --font-body: "Albert Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3.5rem;
    --space-3xl: 6rem;
    --radius-sm: 0.65rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --container: 1240px;
    --header-height: 72px;
}

.dark {
    --background: #120B08;
    --foreground: #F8EAD2;
    --card: #241711;
    --card-foreground: #F8EAD2;
    --popover: #1A100C;
    --popover-foreground: #F8EAD2;
    --primary: #FF6A1A;
    --primary-foreground: #1A0D06;
    --secondary: #2A1B14;
    --secondary-foreground: #F8EAD2;
    --muted: #3A2B24;
    --muted-foreground: #D8C5AD;
    --accent: #39FF88;
    --accent-foreground: #06150B;
    --destructive: #FF6B6B;
    --destructive-foreground: #1B0808;
    --border: #6E5748;
    --input: #20140F;
    --ring: #FFB000;
}

/* ============================================
   RESET AND OVERFLOW SAFETY - Stable mobile-first foundation
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; min-width: 320px; background: var(--background); }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--foreground);
    background:
        radial-gradient(circle at 15% 5%, rgba(255, 106, 26, 0.16), transparent 28rem),
        radial-gradient(circle at 90% 20%, rgba(57, 255, 136, 0.08), transparent 24rem),
        linear-gradient(180deg, var(--background), #1A0F0A 58%, var(--background));
    overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img, video, iframe, embed, object, svg { max-width: 100%; height: auto; }
section { overflow: clip; }
p, li, td, th { overflow-wrap: break-word; }
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.22em; }
a[href^="http"], code { word-break: break-word; }
button, input, textarea, select { font: inherit; max-width: 100%; }
button { cursor: pointer; }
.table-wrapper, [class*="table-"] { min-width: 0; max-width: 100%; overflow-x: auto; }
pre, code, .code-block, [class*="code"] { max-width: 100%; overflow-x: auto; }
pre code, .code-block code { display: block; min-width: 0; white-space: pre; }
[class*="grid"] > *, [class*="flex"] > *, .card, .highlight-card, .info-card { min-width: 0; }

/* ============================================
   ACCESSIBILITY - Focus, skip link and screen-reader helpers
   ============================================ */
.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;
}
.skip-link {
    position: fixed;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 2000;
    transform: translateY(-150%);
    background: var(--accent);
    color: var(--accent-foreground);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; }

/* ============================================
   TYPOGRAPHY - Saloon display headings and readable body copy
   ============================================ */
h1, h2, h3, h4 {
    margin: 0 0 var(--space-md);
    color: var(--foreground);
    line-height: 1.12;
    text-wrap: balance;
}
h1, h2, .display-heading, .bonus-figure { font-family: var(--font-display); letter-spacing: 0.02em; text-transform: uppercase; }
h1 { font-size: clamp(1.875rem, calc(5vw + 0.5rem), 3.25rem); }
h2 { font-size: clamp(1.625rem, calc(3vw + 0.75rem), 2.375rem); }
h3 { font-size: clamp(1.375rem, calc(1.2vw + 1rem), 1.625rem); }
h4 { font-size: clamp(1.125rem, calc(0.8vw + 0.9rem), 1.25rem); }
p { margin: 0 0 1.65rem; max-width: 72ch; }
.lead { font-size: clamp(1.08rem, calc(0.6vw + 1rem), 1.28rem); color: var(--muted-foreground); }
.eyebrow, .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 32px;
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.bonus-figure {
    display: block;
    font-size: clamp(2.5rem, calc(8vw + 0.5rem), 4rem);
    line-height: 1;
    color: var(--gold);
    text-shadow: 0 0 18px rgba(255, 176, 0, 0.45);
}

/* ============================================
   LAYOUT - Containers, sections and common page rhythm
   ============================================ */
.container, .content-max-1240, .section-inner {
    width: min(var(--container), calc(100% - 2rem));
    margin-inline: auto;
}
.section, .page-section { padding-block: var(--space-2xl); }
.full-bleed-hero, .hero, .commercial-hero {
    position: relative;
    padding-block: clamp(3.5rem, calc(7vw + 1rem), 7.5rem);
    overflow: clip;
}
.hero-grid, .split-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xl);
    align-items: center;
}
.content-panel, .card, .info-card, .wanted-card {
    background: linear-gradient(145deg, rgba(36, 23, 17, 0.96), rgba(26, 16, 12, 0.98));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(1.25rem, calc(2vw + 0.75rem), 2rem);
    box-shadow: var(--shadow);
}
.wanted-card { border-style: dashed; box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 176, 0, 0.18); }

/* ============================================
   HEADER AND NAVIGATION - Sticky shell and verified mobile drawer
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: var(--header-height);
    background: rgba(18, 11, 8, 0.98);
    border-bottom: 1px solid rgba(110, 87, 72, 0.75);
}
.site-header__inner {
    width: min(var(--container), calc(100% - 1rem));
    min-height: var(--header-height);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}
.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 48px;
    color: var(--foreground);
    font-weight: 900;
    text-decoration: none;
    flex-shrink: 0;
}
.site-brand__mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50% 45% 50% 42%;
    background: radial-gradient(circle at 30% 20%, var(--gold), var(--primary));
    color: var(--primary-foreground);
    font-family: var(--font-display);
    font-size: 0.9rem;
    box-shadow: var(--glow);
}
.site-brand__text { font-family: var(--font-display); letter-spacing: 0.03em; }
.mobile-menu-toggle {
    position: relative;
    z-index: 1001;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--card);
    color: var(--foreground);
}
.mobile-menu-toggle span:not(.sr-only) {
    display: block;
    width: 24px;
    height: 2px;
    margin-inline: auto;
    background: var(--foreground);
    border-radius: 999px;
    transition: transform 300ms ease, opacity 300ms ease;
}
.mobile-menu-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
.mobile-menu-toggle[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }
.primary-nav {
    display: none;
    position: fixed;
    z-index: 999;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 100vw;
    overflow-y: auto;
    background: var(--background);
    padding: var(--space-lg);
    border-top: 1px solid var(--border);
}
.primary-nav.is-open { display: block; }
.primary-nav__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-xs);
    padding: 0;
    margin: 0 0 var(--space-lg);
    list-style: none;
}
.primary-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--foreground);
    font-weight: 800;
    text-decoration: none;
}
.primary-nav__list a:hover, .primary-nav__list a:focus-visible { background: var(--secondary); color: var(--gold); }
.header-actions { display: grid; gap: var(--space-sm); }

/* ============================================
   BUTTONS AND LINKS - Wanted-poster CTAs with neon pulse
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 1.15rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
    transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 300ms ease, background 300ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: linear-gradient(135deg, var(--primary), var(--gold)); color: var(--primary-foreground); box-shadow: var(--glow); }
.btn--ghost { border-color: var(--border); background: rgba(42, 27, 20, 0.92); color: var(--foreground); }
.btn--pulse { animation: pulseGlow 2.8s ease-in-out infinite; }
.text-link { color: var(--gold); font-weight: 900; }

/* ============================================
   COMPONENTS - Reusable cards, grids, FAQ and CTA banner macros
   ============================================ */
.highlight-card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
    margin-block: var(--space-xl);
}
.highlight-card {
    position: relative;
    background: linear-gradient(160deg, var(--card), #1B100C);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.15rem;
    box-shadow: var(--shadow);
    transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 300ms ease, border-color 300ms ease;
}
.highlight-card:hover { transform: translateY(-5px) scale(1.02); border-color: var(--primary); box-shadow: var(--shadow), var(--glow); }
.highlight-card__media {
    aspect-ratio: 16 / 10;
    margin: -0.35rem -0.35rem 1rem;
    overflow: hidden;
    border-radius: calc(var(--radius-lg) - 0.35rem);
    background: var(--muted);
}
.highlight-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.highlight-card__icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 1rem;
    border-radius: 1rem;
    background: rgba(57, 255, 136, 0.12);
    color: var(--accent);
    font-size: 1.7rem;
    box-shadow: var(--green-glow);
}
.highlight-card h3 { font-family: var(--font-display); font-size: 1.25rem; text-transform: uppercase; }
.highlight-card p { color: var(--muted-foreground); margin-bottom: 1rem; }
.faq-accordion {
    display: grid;
    gap: var(--space-sm);
    max-width: 920px;
    margin: var(--space-xl) auto;
    padding: clamp(0.75rem, 2vw, 1.25rem);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(36, 23, 17, 0.9);
    box-shadow: var(--shadow);
}
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--popover);
    overflow: hidden;
}
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    min-height: 56px;
    padding: 1rem;
    font-weight: 900;
    cursor: pointer;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__chevron {
    width: 12px;
    height: 12px;
    border-right: 3px solid var(--accent);
    border-bottom: 3px solid var(--accent);
    transform: rotate(45deg);
    transition: transform 300ms ease;
    flex-shrink: 0;
}
.faq-item[open] .faq-item__chevron { transform: rotate(225deg); }
.faq-item__answer { padding: 0 1rem 1rem; color: var(--muted-foreground); }
.cta-banner {
    position: relative;
    margin-block: var(--space-2xl);
    padding: clamp(3.5rem, 7vw, 6rem) 1rem;
    background:
        linear-gradient(rgba(18, 11, 8, 0.78), rgba(18, 11, 8, 0.9)),
        var(--cta-bg, radial-gradient(circle at 50% 0%, rgba(255, 176, 0, 0.22), transparent 28rem)),
        linear-gradient(135deg, #1A0F0A, #31170B);
    border-block: 1px solid rgba(255, 176, 0, 0.28);
    text-align: center;
}
.cta-banner__inner { width: min(860px, 100%); margin-inline: auto; }
.cta-banner h2 { color: var(--gold); text-shadow: 0 0 18px rgba(255, 176, 0, 0.38); }
.cta-banner__text { margin-inline: auto; color: var(--muted-foreground); }
.cta-banner__actions { display: flex; flex-direction: column; gap: var(--space-sm); align-items: stretch; justify-content: center; margin-top: var(--space-lg); }
.microcopy { margin: 1rem auto 0; color: var(--muted-foreground); font-size: 0.875rem; }

/* ============================================
   ENGAGEMENT PATTERNS - Citation-friendly CRO and reading breaks
   ============================================ */
.summary-box, .tldr-box, .callout-box {
    border: 1px solid rgba(255, 176, 0, 0.55);
    border-left: 6px solid var(--primary);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(255, 106, 26, 0.12), rgba(36, 23, 17, 0.96));
    padding: clamp(1rem, 2vw, 1.5rem);
    margin-block: var(--space-xl);
    box-shadow: var(--shadow);
}
.callout-box--success { border-color: rgba(57, 255, 136, 0.62); border-left-color: var(--accent); }
.stat-strip, .stats-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
    margin-block: var(--space-xl);
}
.stat-highlight {
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--card);
    text-align: center;
}
.stat-highlight__number { display: block; font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.4rem); color: var(--gold); }
.stat-highlight__label { color: var(--muted-foreground); font-weight: 800; }
.pull-quote, blockquote.pull-quote {
    margin: var(--space-xl) 0;
    padding: var(--space-lg);
    border-left: 5px solid var(--accent);
    border-radius: var(--radius-md);
    background: rgba(57, 255, 136, 0.08);
    color: var(--foreground);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    font-weight: 800;
}
.pull-quote cite { display: block; margin-top: 0.75rem; color: var(--muted-foreground); font-size: 0.95rem; font-style: normal; font-weight: 600; }
details.content-disclosure {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--card);
    margin-block: var(--space-md);
}
details.content-disclosure summary { min-height: 52px; padding: 1rem; cursor: pointer; font-weight: 900; }
details.content-disclosure > *:not(summary) { padding: 0 1rem 1rem; }
.trust-badges, .payment-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    padding: 0;
    margin: 0;
    list-style: none;
}
.trust-badges li, .payment-badges li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0.45rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--secondary);
    color: var(--muted-foreground);
    font-weight: 900;
}
.comparison-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    background: var(--card);
    border: 1px solid var(--border);
}
.comparison-table th, .comparison-table td { padding: 0.9rem; border: 1px solid var(--border); text-align: left; }
.comparison-table th { background: var(--secondary); color: var(--gold); }
.comparison-table .is-recommended { background: rgba(255, 176, 0, 0.12); }
.social-proof-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
    margin-block: var(--space-xl);
}
.review-card {
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--card);
}

/* ============================================
   FOOTER - Four-column legal, payment and internal navigation area
   ============================================ */
.site-footer {
    border-top: 1px solid var(--border);
    background: #0F0806;
    color: var(--foreground);
}
.site-footer__inner {
    width: min(var(--container), calc(100% - 2rem));
    margin-inline: auto;
    padding-block: var(--space-2xl);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xl);
}
.site-footer h2 { font-family: var(--font-body); font-size: 1rem; text-transform: uppercase; color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer a { display: inline-flex; min-height: 36px; align-items: center; color: var(--muted-foreground); font-weight: 800; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer p { color: var(--muted-foreground); font-size: 0.95rem; margin-bottom: 0.85rem; }
.site-footer__bottom { border-top: 1px solid rgba(110, 87, 72, 0.55); padding: 1rem; text-align: center; }
.site-footer__bottom p { margin: 0 auto; }

/* ============================================
   ANIMATIONS - Scroll reveals and neon breathing
   ============================================ */
.animate-on-scroll { opacity: 0; transform: translateY(20px); transition: opacity 600ms ease, transform 600ms ease; }
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
@keyframes pulseGlow { 0%, 100% { box-shadow: 0 0 18px rgba(255, 106, 26, 0.38); } 50% { box-shadow: 0 0 34px rgba(255, 176, 0, 0.65); } }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
    .animate-on-scroll { opacity: 1; transform: none; }
}

/* ============================================
   RESPONSIVE ENHANCEMENTS - Tablet, desktop and large screens
   ============================================ */
@media (min-width: 768px) {
    .container, .content-max-1240, .section-inner { width: min(var(--container), calc(100% - 3rem)); }
    .hero-grid, .split-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: var(--space-2xl); }
    .highlight-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); }
    .stats-grid, .stat-strip, .social-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cta-banner__actions { flex-direction: row; align-items: center; }
    .site-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .site-header { backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
    .mobile-menu-toggle { display: none; }
    .primary-nav {
        position: static;
        z-index: auto;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: var(--space-lg);
        padding: 0;
        border: 0;
        background: transparent;
        overflow: visible;
    }
    .primary-nav__list { flex-direction: row; align-items: center; gap: 0.25rem; margin: 0; overflow-x: auto; }
    .primary-nav a { white-space: nowrap; }
    .header-actions { display: flex; align-items: center; gap: var(--space-sm); }
    .highlight-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); }
    .highlight-card-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .highlight-card-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .stats-grid, .stat-strip, .social-proof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .site-footer__inner { grid-template-columns: 1.35fr 1fr 1fr 1.25fr; }
}

@media (min-width: 1280px) {
    .section, .page-section { padding-block: var(--space-2xl); }
    .highlight-card { padding: 1.4rem; }
}

