/*
 * Lizaro Casino Design System
 * Wild-West saloon darkness, neon-orange/gold highlights and cactus-green accents.
 */

:root {
    --background: #100d0a;
    --foreground: #f5ead7;
    --card: #24160f;
    --card-foreground: #f5ead7;
    --popover: #1a110c;
    --popover-foreground: #f5ead7;
    --primary: #ff8a1f;
    --primary-foreground: #140b05;
    --secondary: #2b1a12;
    --secondary-foreground: #f5ead7;
    --muted: #3c342c;
    --muted-foreground: #d6c9b7;
    --accent: #39ff14;
    --accent-foreground: #071005;
    --destructive: #e21313;
    --destructive-foreground: #fff7ed;
    --border: #6f5b49;
    --input: #1d140f;
    --ring: #f5b301;
    --gold: #f5b301;
    --green-glow: #39ff14;
    --orange-glow: #ff6a00;
    --leather: #351f13;
    --dust: #d6c09d;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
    --shadow-glow: 0 0 28px rgba(255, 106, 0, 0.34);
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-section: 3.75rem;
    --radius-sm: 0.55rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --header-height: 76px;
    --container: 1200px;
    --font-display: "Rye", Georgia, serif;
    --font-body: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.dark {
    --background: #100d0a;
    --foreground: #f5ead7;
    --card: #24160f;
    --card-foreground: #f5ead7;
    --popover: #1a110c;
    --popover-foreground: #f5ead7;
    --primary: #ff8a1f;
    --primary-foreground: #140b05;
    --secondary: #2b1a12;
    --secondary-foreground: #f5ead7;
    --muted: #3c342c;
    --muted-foreground: #d6c9b7;
    --accent: #39ff14;
    --accent-foreground: #071005;
    --destructive: #e21313;
    --destructive-foreground: #fff7ed;
    --border: #6f5b49;
    --input: #1d140f;
    --ring: #f5b301;
}

/* ============================================
   RESET AND OVERFLOW SAFETY - prevents broken mobile layouts
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; background: var(--background); color-scheme: dark; scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: clip; background: radial-gradient(circle at top left, rgba(255, 106, 0, 0.16), transparent 30rem), radial-gradient(circle at top right, rgba(57, 255, 20, 0.08), transparent 26rem), var(--background); color: var(--foreground); font-family: var(--font-body); font-size: 17px; line-height: 1.6; }
img, video, iframe, embed, object, svg { max-width: 100%; height: auto; }
section, header, footer, main { overflow: clip; }
[class*="grid"] > *, [class*="flex"] > *, .card, .info-card, article { 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; white-space: pre; }
.table-wrapper, [class*="table-"] { min-width: 0; max-width: 100%; overflow-x: auto; }
p, li, td, th { overflow-wrap: break-word; }
a { color: inherit; overflow-wrap: anywhere; }
input, textarea, select { max-width: 100%; box-sizing: border-box; }

/* ============================================
   TYPOGRAPHY - Rye display headlines with Outfit body copy
   ============================================ */
h1, h2, h3, h4 { margin: 0 0 var(--space-md); color: var(--foreground); line-height: 1.14; letter-spacing: -0.015em; }
h1, h2, .display-heading { font-family: var(--font-display); font-weight: 400; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, calc(5vw + 0.8rem), 3.5rem); }
h2 { font-size: clamp(1.75rem, calc(3vw + 0.8rem), 2.5rem); }
h3 { font-size: clamp(1.25rem, calc(1.5vw + 0.9rem), 1.75rem); }
p { margin: 0 0 1.65rem; max-width: 72ch; }
small, .small { font-size: 0.875rem; line-height: 1.45; }
.text-link { color: var(--gold); font-weight: 800; text-decoration: underline; text-decoration-color: rgba(57, 255, 20, 0.7); text-underline-offset: 0.22em; }
.text-link:hover { color: var(--primary); }

/* ============================================
   LAYOUT - reusable containers and section rhythm
   ============================================ */
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.section { padding-block: var(--space-section); position: relative; }
.section--tight { padding-block: var(--space-2xl); }
.section__header { margin-bottom: var(--space-xl); }
.section__header p { color: var(--muted-foreground); }
.two-column { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); align-items: center; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }

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

/* ============================================
   BUTTONS AND LINKS - neon saloon CTAs with 44px touch targets
   ============================================ */
.btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.78rem 1.15rem; border: 1px solid transparent; border-radius: 999px; font-weight: 900; text-decoration: none; transition: transform 250ms ease, box-shadow 250ms ease, background 250ms ease, border-color 250ms ease; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: linear-gradient(135deg, var(--gold), var(--primary)); color: var(--primary-foreground); box-shadow: var(--shadow-glow); }
.btn--ghost { background: rgba(245, 234, 215, 0.06); color: var(--foreground); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--primary); box-shadow: 0 0 18px rgba(255, 106, 0, 0.22); }
.btn--large { min-height: 52px; padding-inline: 1.65rem; font-size: 1.05rem; }

/* ============================================
   HEADER AND MOBILE NAVIGATION - opaque drawer below sticky header
   ============================================ */
.site-header { position: sticky; top: 0; z-index: 1000; min-height: var(--header-height); background: rgba(16, 13, 10, 0.98); border-bottom: 1px solid rgba(245, 179, 1, 0.25); }
.site-header__inner { width: min(100% - 1rem, var(--container)); 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.75rem; min-height: 48px; color: var(--foreground); text-decoration: none; font-weight: 900; flex-shrink: 0; }
.site-brand__mark { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 14px; background: radial-gradient(circle at 30% 25%, var(--gold), var(--primary)); color: var(--primary-foreground); font-family: var(--font-display); box-shadow: 0 0 18px rgba(255, 106, 0, 0.45); }
.site-brand__text { font-family: var(--font-display); font-size: 1.08rem; letter-spacing: 0.02em; }
.mobile-menu-toggle { position: relative; z-index: 1001; width: 48px; height: 48px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: var(--secondary); color: var(--foreground); border: 1px solid var(--border); border-radius: 14px; cursor: pointer; }
.mobile-menu-toggle span { width: 24px; height: 2px; background: var(--foreground); border-radius: 999px; transition: transform 250ms ease, opacity 250ms ease; }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) 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(-8px) rotate(-45deg); }
.primary-nav { display: none; position: fixed; top: var(--header-height); left: 0; right: 0; bottom: 0; z-index: 999; width: 100%; max-width: 100vw; overflow-y: auto; background: var(--background); padding: var(--space-lg); border-top: 1px solid var(--border); }
.primary-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: var(--space-lg); }
.primary-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0.35rem; }
.primary-nav__list a { min-height: 48px; display: flex; align-items: center; padding: 0.85rem 1rem; color: var(--foreground); text-decoration: none; border: 1px solid rgba(111, 91, 73, 0.65); border-radius: var(--radius-md); background: rgba(36, 22, 15, 0.95); font-weight: 800; }
.primary-nav__list a:hover { border-color: var(--primary); color: var(--gold); }
.primary-nav__actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-sm); }

/* ============================================
   FOOTER - dense trust, payment and internal link area
   ============================================ */
.site-footer { background: linear-gradient(180deg, var(--secondary), #0b0806); border-top: 1px solid rgba(245, 179, 1, 0.26); padding-top: var(--space-2xl); }
.site-footer__grid { 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; letter-spacing: 0.08em; color: var(--gold); }
.site-footer p, .site-footer li { color: var(--muted-foreground); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.site-footer a { color: var(--foreground); text-decoration: none; font-weight: 700; }
.site-footer a:hover { color: var(--primary); }
.badge-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.badge-row span, .license-badge, .age-badge { display: inline-flex; align-items: center; min-height: 34px; padding: 0.35rem 0.7rem; border: 1px solid var(--border); border-radius: 999px; background: rgba(16, 13, 10, 0.65); color: var(--foreground); font-weight: 800; }
.license-badge { color: var(--accent); border-color: rgba(57, 255, 20, 0.5); }
.site-footer__bottom { margin-top: var(--space-xl); padding: var(--space-md); text-align: center; border-top: 1px solid rgba(111, 91, 73, 0.45); }
.site-footer__bottom p { margin: 0 auto; font-size: 0.9rem; }

/* ============================================
   HERO AND MEDIA - full-bleed western casino scenes
   ============================================ */
.hero { position: relative; padding-block: clamp(3rem, calc(5vw + 2rem), 6.25rem); background: linear-gradient(135deg, rgba(36, 22, 15, 0.9), rgba(16, 13, 10, 0.94)); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 30%, rgba(57,255,20,0.12), transparent 20rem), radial-gradient(circle at 15% 10%, rgba(255,106,0,0.18), transparent 18rem); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); align-items: center; }
.hero__content { max-width: 720px; }
.hero__eyebrow, .eyebrow { display: inline-flex; align-items: center; gap: 0.4rem; margin-bottom: var(--space-md); color: var(--accent); font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-lg); }
.hero__media { border: 1px solid rgba(245, 179, 1, 0.35); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow), var(--shadow-glow); background: var(--card); }
.hero__media img { display: block; width: 100%; object-fit: cover; }

/* ============================================
   CARDS - content containers and visual breaks
   ============================================ */
.card, .info-card, .summary-box, .callout, .social-proof-card { background: linear-gradient(180deg, rgba(36, 22, 15, 0.96), rgba(43, 26, 18, 0.92)); color: var(--card-foreground); border: 1px solid rgba(111, 91, 73, 0.85); border-radius: var(--radius-lg); padding: var(--space-lg); box-shadow: 0 16px 40px rgba(0,0,0,0.24); }
.card-featured, .summary-box { border-color: rgba(245, 179, 1, 0.75); box-shadow: var(--shadow-glow); }
.callout { border-left: 5px solid var(--primary); }
.callout--warning { border-left-color: var(--destructive); }
.callout--success { border-left-color: var(--accent); }
.summary-box { margin-block: var(--space-xl); }
.summary-box ul, .callout ul { margin-bottom: 0; }
.pull-quote { margin: var(--space-xl) 0; padding: var(--space-xl); border-left: 5px solid var(--gold); background: rgba(245, 179, 1, 0.08); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; font-family: var(--font-display); font-size: clamp(1.35rem, calc(2vw + 1rem), 2rem); line-height: 1.35; }
.pull-quote cite { display: block; margin-top: 1rem; color: var(--muted-foreground); font-family: var(--font-body); font-size: 0.95rem; }

/* ============================================
   WANTED STAT CARDS - reusable bonus/provider/VIP number grid
   ============================================ */
.wanted-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
.wanted-card { position: relative; padding: var(--space-lg); border-radius: var(--radius-lg); background: linear-gradient(145deg, #2f1c12, #1b100b); border: 1px solid rgba(245, 179, 1, 0.55); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03), 0 14px 36px rgba(0,0,0,0.28); transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease; }
.wanted-card::after { content: ""; position: absolute; inset: 0.6rem; border: 1px dashed rgba(57, 255, 20, 0.28); border-radius: calc(var(--radius-lg) - 0.45rem); pointer-events: none; }
.wanted-card:hover { transform: scale(1.03); border-color: var(--primary); box-shadow: var(--shadow-glow); }
.wanted-card__eyebrow { display: inline-block; margin-bottom: 0.7rem; color: var(--accent); font-size: 0.82rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; }
.wanted-card__number { display: block; color: var(--gold); font-family: var(--font-display); font-size: clamp(2.2rem, calc(4vw + 1rem), 4rem); line-height: 1; text-shadow: 0 0 16px rgba(245, 179, 1, 0.24); }
.wanted-card h3 { margin-top: 0.85rem; margin-bottom: 0.45rem; font-family: var(--font-body); }
.wanted-card p { margin-bottom: 0; color: var(--muted-foreground); }

/* ============================================
   CTA BANNER - full-width saloon conversion section
   ============================================ */
.cta-banner { margin-block: var(--space-section); padding: 0 1rem; }
.cta-banner__inner { width: min(100%, var(--container)); margin-inline: auto; text-align: center; padding: clamp(2rem, calc(4vw + 1rem), 4rem); border: 1px solid rgba(255, 106, 0, 0.75); border-radius: var(--radius-xl); background: radial-gradient(circle at 20% 20%, rgba(245, 179, 1, 0.18), transparent 18rem), radial-gradient(circle at 80% 80%, rgba(57, 255, 20, 0.12), transparent 16rem), linear-gradient(135deg, #2d1b12, #120d08); box-shadow: var(--shadow), var(--shadow-glow); }
.cta-banner__badge { display: inline-flex; margin-bottom: var(--space-sm); padding: 0.35rem 0.85rem; border-radius: 999px; background: rgba(57, 255, 20, 0.12); color: var(--accent); border: 1px solid rgba(57, 255, 20, 0.45); font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; }
.cta-banner p { margin-inline: auto; color: var(--muted-foreground); }
.cta-banner small { display: block; margin-top: var(--space-sm); color: var(--muted-foreground); }

/* ============================================
   FAQ AND DETAILS - native accessible accordions
   ============================================ */
.faq-accordion { display: grid; gap: var(--space-sm); }
.faq-item, details.card-details { border: 1px solid rgba(111, 91, 73, 0.9); border-radius: var(--radius-md); background: var(--card); overflow: hidden; }
.faq-item summary, details.card-details summary { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding: 1rem 1.1rem; color: var(--primary); font-weight: 900; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker, details.card-details summary::-webkit-details-marker { display: none; }
.faq-item summary::after, details.card-details summary::after { content: "+"; flex: 0 0 auto; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: rgba(245, 179, 1, 0.16); color: var(--gold); }
.faq-item[open] summary::after, details.card-details[open] summary::after { content: "-"; }
.faq-item__answer, details.card-details > div { padding: 0 1.1rem 1.1rem; color: var(--muted-foreground); }
.faq-item__answer p { margin-bottom: 0; }

/* ============================================
   TABLES AND COMPARISONS - readable data on mobile
   ============================================ */
table { width: 100%; border-collapse: collapse; min-width: 680px; background: var(--card); border-radius: var(--radius-md); overflow: hidden; }
th, td { padding: 0.95rem; border-bottom: 1px solid rgba(111, 91, 73, 0.65); text-align: left; vertical-align: top; }
th { background: rgba(245, 179, 1, 0.12); color: var(--gold); font-weight: 900; }
tr:last-child td { border-bottom: 0; }
.is-recommended, td.recommended, th.recommended { background: rgba(57, 255, 20, 0.09); box-shadow: inset 4px 0 0 var(--accent); }

/* ============================================
   TRUST, BADGES AND SOCIAL PROOF - credibility patterns
   ============================================ */
.trust-badges { display: flex; flex-wrap: wrap; gap: var(--space-sm); align-items: center; }
.trust-badge { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; padding: 0.55rem 0.85rem; border: 1px solid var(--border); border-radius: 999px; background: rgba(36, 22, 15, 0.92); color: var(--foreground); font-weight: 800; }
.stat-highlight { display: grid; gap: 0.2rem; padding: var(--space-lg); border-radius: var(--radius-lg); background: rgba(245, 179, 1, 0.1); border: 1px solid rgba(245, 179, 1, 0.55); }
.stat-highlight__number { color: var(--gold); font-family: var(--font-display); font-size: clamp(2rem, calc(4vw + 1rem), 3.4rem); line-height: 1; }
.social-proof-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }

/* ============================================
   IMAGE AND FEATURE GRIDS - balanced responsive cards
   ============================================ */
.feature-grid, .category-grid, .image-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
.feature-card { padding: var(--space-lg); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card); }
.feature-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); margin-bottom: var(--space-md); }
.provider-strip, .chip-strip { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.provider-strip span, .chip-strip span { display: inline-flex; align-items: center; min-height: 38px; padding: 0.45rem 0.8rem; border-radius: 999px; border: 1px solid rgba(245, 179, 1, 0.35); background: rgba(36, 22, 15, 0.95); font-weight: 800; }

/* ============================================
   ANIMATIONS - scroll reveal and subtle neon motion
   ============================================ */
.animate-on-scroll { opacity: 0; transform: translateY(18px); transition: opacity 520ms ease, transform 520ms ease; transition-delay: var(--stagger, 0ms); }
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
    .animate-on-scroll { opacity: 1; transform: none; }
}

/* ============================================
   RESPONSIVE ENHANCEMENTS - tablet, desktop and max-width refinements
   ============================================ */
@media (min-width: 768px) {
    :root { --space-section: 5rem; }
    .container { width: min(100% - 3rem, var(--container)); }
    .two-column { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .content-grid, .feature-grid, .category-grid, .social-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wanted-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .primary-nav__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .site-header { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
    .mobile-menu-toggle { display: none; }
    .primary-nav { display: flex; position: static; inset: auto; z-index: auto; width: auto; overflow: visible; background: transparent; padding: 0; border: 0; flex-direction: row; align-items: center; gap: var(--space-lg); }
    .primary-nav__list { flex-direction: row; align-items: center; gap: 0.2rem; overflow-x: auto; }
    .primary-nav__list li { flex-shrink: 0; }
    .primary-nav__list a { min-height: 44px; padding: 0.55rem 0.8rem; border-color: transparent; background: transparent; }
    .primary-nav__actions { display: flex; align-items: center; gap: var(--space-sm); }
    .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
    .wanted-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .site-footer__grid { grid-template-columns: 1.25fr 0.9fr 1fr 1fr; }
}

@media (min-width: 1280px) {
    .site-header__inner { width: min(100% - 4rem, var(--container)); }
}

@media (max-width: 1023.98px) {
    .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
}

