:root {
  --charcoal: #09090B;
  --casino: #111111;
  --gold: #D4AF37;
  --champagne: #F5D76E;
  --sunset: #F97316;
  --deepred: #991B1B;
  --warm: #FAFAF9;
  --muted: #A1A1AA;
  --success: #16A34A;
}

html { scroll-behavior: smooth; }
body {
  background: var(--charcoal);
  color: var(--warm);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--gold); color: var(--casino); }

/* Header is intentionally NOT sticky or fixed */
.site-header { position: relative; }
.nav-link { color: #d4d4d8; transition: color .25s; position: relative; }
.nav-link:hover, .nav-link.active { color: var(--champagne); }
.nav-link.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--champagne)); border-radius: 2px;
}

.gold-text {
  background: linear-gradient(90deg, #D4AF37, #F5D76E, #D4AF37);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: goldShine 6s linear infinite;
}
@keyframes goldShine { to { background-position: 200% center; } }

.glass {
  background: rgba(17, 17, 17, .55);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, .18);
}

.btn-gold, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.25rem; border-radius: 9999px; font-weight: 600; font-size: .875rem;
  transition: all .25s ease; white-space: nowrap; cursor: pointer;
}
.btn-gold { background: linear-gradient(135deg, #D4AF37, #F5D76E); color: #111; }
.btn-gold:hover { box-shadow: 0 0 30px rgba(212, 175, 55, .45); transform: translateY(-1px); }
.btn-outline { border: 1px solid rgba(212, 175, 55, .5); color: var(--champagne); background: rgba(212,175,55,.04); }
.btn-outline:hover { background: rgba(212, 175, 55, .12); border-color: var(--gold); }
.btn-gold svg, .btn-outline svg { width: 16px; height: 16px; }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .75rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold); font-weight: 600;
}
.section-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); }

.hotel-card {
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #151515, #0d0d0f);
  border: 1px solid rgba(255, 255, 255, .06); border-radius: 1.5rem; overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.hotel-card:hover {
  border-color: rgba(212, 175, 55, .45); transform: translateY(-4px);
  box-shadow: 0 24px 60px -24px rgba(212, 175, 55, .35);
}
@media (min-width: 768px) {
  .list-view .hotel-card { flex-direction: row; }
  .list-view .hotel-card .card-media { width: 38%; height: auto; min-height: 260px; }
  .list-view .hotel-card .card-body { width: 62%; }
}

.chip {
  display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; padding: .3rem .65rem;
  border-radius: 9999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); color: #d4d4d8;
}
.chip svg { width: 13px; height: 13px; color: var(--gold); }

.badge-casino {
  display: inline-flex; align-items: center; gap: .35rem; font-size: .7rem; font-weight: 600; letter-spacing: .05em;
  padding: .35rem .75rem; border-radius: 9999px; background: rgba(9, 9, 11, .75); color: var(--champagne);
  border: 1px solid rgba(212, 175, 55, .4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.badge-casino svg { width: 14px; height: 14px; }
.badge-rating {
  display: inline-flex; align-items: center; gap: .25rem; font-size: .8rem; font-weight: 700;
  padding: .35rem .7rem; border-radius: 9999px; background: linear-gradient(135deg, #D4AF37, #F5D76E); color: #111;
}

/* HERO */
.hero-section { position: relative; min-height: calc(100vh - 80px); overflow: hidden; isolation: isolate; }
.hero-casino-resort-bg {
  position: absolute; inset: -12% 0 0 0; z-index: -3;
  background-image:
    linear-gradient(180deg, rgba(9,9,11,.55) 0%, rgba(9,9,11,.75) 55%, #09090B 100%),
    url('https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=1920&q=80');
  background-size: cover; background-position: center; will-change: transform;
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { from { scale: 1.12; } to { scale: 1; } }
.page-hero-california-sunset-bg {
  background-image:
    linear-gradient(180deg, rgba(9,9,11,.6), rgba(9,9,11,.92)),
    url('https://images.unsplash.com/photo-1506953823976-52e1fdc0149a?auto=format&fit=crop&w=1920&q=80');
  background-size: cover; background-position: center;
}
.page-hero-casino-floor-bg {
  background-image:
    linear-gradient(180deg, rgba(9,9,11,.6), rgba(9,9,11,.94)),
    url('https://images.unsplash.com/photo-1596838132731-3301c3fd4317?auto=format&fit=crop&w=1920&q=80');
  background-size: cover; background-position: center;
}
.page-hero-resort-lobby-bg {
  background-image:
    linear-gradient(180deg, rgba(9,9,11,.6), rgba(9,9,11,.94)),
    url('https://images.unsplash.com/photo-1445019980597-93fa8acb246c?auto=format&fit=crop&w=1920&q=80');
  background-size: cover; background-position: center;
}
.final-cta-golden-pool-bg {
  background-image:
    linear-gradient(120deg, rgba(9,9,11,.92), rgba(153,27,27,.55)),
    url('https://images.unsplash.com/photo-1571896349842-33c89424de2d?auto=format&fit=crop&w=1920&q=80');
  background-size: cover; background-position: center;
}

.casino-light-beam {
  position: absolute; top: -20%; width: 40vw; height: 140%; z-index: -2; opacity: .35; filter: blur(60px);
  background: radial-gradient(ellipse at center, rgba(212,175,55,.55), transparent 65%);
  animation: beamSweep 9s ease-in-out infinite alternate;
}
.casino-light-beam.beam-sunset { background: radial-gradient(ellipse at center, rgba(249,115,22,.45), transparent 65%); animation-duration: 12s; }
.casino-light-beam.beam-red { background: radial-gradient(ellipse at center, rgba(153,27,27,.6), transparent 65%); animation-duration: 10s; }
@keyframes beamSweep { 0% { transform: translateX(-10vw) rotate(-8deg); } 100% { transform: translateX(15vw) rotate(8deg); } }

.marquee-lights { position: absolute; left: 0; right: 0; height: 6px; display: flex; justify-content: space-around; z-index: -1; }
.marquee-lights span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--champagne);
  box-shadow: 0 0 10px var(--champagne), 0 0 20px var(--gold); animation: bulbBlink 1.6s ease-in-out infinite;
}
.marquee-lights span:nth-child(even) { animation-delay: .8s; }
@keyframes bulbBlink { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }

.gold-particle {
  position: absolute; bottom: -20px; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, #F5D76E 0%, rgba(212,175,55,.6) 40%, rgba(212,175,55,0) 70%);
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translateY(-110vh) translateX(40px); opacity: 0; }
}

.casino-chip-3d {
  position: absolute; width: 74px; height: 74px; border-radius: 50%;
  background: repeating-conic-gradient(#991B1B 0 30deg, #FAFAF9 30deg 45deg);
  box-shadow: 0 10px 0 #5b1010, 0 25px 40px rgba(0,0,0,.6); animation: chipFloat 7s ease-in-out infinite; z-index: -1;
}
.casino-chip-3d::after {
  content: ''; position: absolute; inset: 13px; border-radius: 50%; background: #991B1B;
  border: 2px dashed rgba(245,215,110,.8);
}
.casino-chip-3d.chip-gold { background: repeating-conic-gradient(#D4AF37 0 30deg, #111 30deg 45deg); box-shadow: 0 10px 0 #7a6320, 0 25px 40px rgba(0,0,0,.6); }
.casino-chip-3d.chip-gold::after { background: #111; border-color: rgba(212,175,55,.9); }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0) rotateX(55deg) rotateZ(0deg); }
  50% { transform: translateY(-22px) rotateX(55deg) rotateZ(180deg); }
}
.floating-dice {
  position: absolute; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(145deg, #FAFAF9, #d6d3d1); color: #991B1B; z-index: -1;
  box-shadow: 6px 8px 0 #a8a29e, 0 20px 40px rgba(0,0,0,.6); animation: diceTumble 9s ease-in-out infinite;
}
@keyframes diceTumble { 0%, 100% { transform: translateY(0) rotate(-12deg); } 50% { transform: translateY(-18px) rotate(18deg); } }

.fade-up { opacity: 0; transform: translateY(28px); animation: fadeUp .9s cubic-bezier(.2,.7,.2,1) forwards; }
.delay-1 { animation-delay: .15s; } .delay-2 { animation-delay: .3s; } .delay-3 { animation-delay: .45s; } .delay-4 { animation-delay: .6s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Form controls */
.field {
  width: 100%; background: rgba(9,9,11,.7); border: 1px solid rgba(255,255,255,.1); color: var(--warm);
  border-radius: .9rem; padding: .8rem 1rem; font-size: .9rem; outline: none; transition: border-color .2s, box-shadow .2s;
}
.field:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,.18); }
select.field { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23D4AF37' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
select.field option { background: #111; }
.check-pill { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .85rem; border-radius: 9999px; border: 1px solid rgba(255,255,255,.1); font-size: .8rem; cursor: pointer; user-select: none; transition: all .2s; }
.check-pill input { accent-color: var(--gold); }
.check-pill:has(input:checked) { border-color: var(--gold); background: rgba(212,175,55,.12); color: var(--champagne); }

.filter-btn { padding: .5rem 1rem; border-radius: 9999px; font-size: .8rem; border: 1px solid rgba(255,255,255,.1); color: #d4d4d8; transition: all .2s; }
.filter-btn:hover { border-color: rgba(212,175,55,.5); }
.filter-btn.active { background: linear-gradient(135deg, #D4AF37, #F5D76E); color: #111; border-color: transparent; font-weight: 600; }

/* Hero live results */
.hero-results { max-height: 320px; overflow-y: auto; }
.hero-results a:hover { background: rgba(212,175,55,.08); }

/* Compare table */
.compare-table th { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 600; white-space: nowrap; }
.compare-table td, .compare-table th { padding: .9rem 1rem; border-bottom: 1px solid rgba(255,255,255,.06); text-align: left; }
.compare-table tbody tr:hover { background: rgba(212,175,55,.05); }
.yes-mark { color: var(--success); } .no-mark { color: #52525b; }

/* Map */
.leaflet-container { background: #111 !important; font-family: 'Inter', sans-serif; border-radius: 1.5rem; overflow: hidden; z-index: 0; }
/* Key-free OpenStreetMap tiles restyled to match the dark casino theme */
.map-tiles-dark { filter: invert(1) hue-rotate(180deg) brightness(.9) contrast(.9) saturate(.55); }
.leaflet-container .leaflet-control-attribution { background: rgba(9,9,11,.75) !important; color: var(--muted); }
.leaflet-container .leaflet-control-attribution a { color: var(--champagne); }
.leaflet-bar a { background: #111 !important; color: var(--champagne) !important; border-color: rgba(212,175,55,.3) !important; }
.leaflet-bar a:hover { background: #1a1a1a !important; }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: #111 !important; color: var(--warm) !important; border: 1px solid rgba(212,175,55,.35); }
.leaflet-popup-content a { color: var(--champagne); }
.map-marker-gold {
  display: block; width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle, #F5D76E 0 35%, #D4AF37 36% 60%, rgba(212,175,55,.25) 61%);
  box-shadow: 0 0 0 4px rgba(212,175,55,.25), 0 0 18px rgba(245,215,110,.8); animation: markerPulse 2s ease-in-out infinite;
}
@keyframes markerPulse { 50% { box-shadow: 0 0 0 9px rgba(212,175,55,.08), 0 0 26px rgba(245,215,110,.9); } }

/* Tabs */
.tab-btn { padding: .6rem 1.1rem; border-radius: 9999px; font-size: .85rem; color: #d4d4d8; border: 1px solid transparent; transition: all .2s; white-space: nowrap; }
.tab-btn:hover { color: var(--champagne); }
.tab-btn.active { background: rgba(212,175,55,.14); border-color: rgba(212,175,55,.45); color: var(--champagne); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 100; display: none; align-items: center; justify-content: center; padding: 1rem; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 82vh; max-width: 100%; border-radius: 1rem; }

/* Cookie banner */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 90; max-width: 560px; transform: translateY(140%); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.cookie-banner.show { transform: none; }

.prose-legal h2 { font-family: 'Playfair Display', serif; font-size: 1.6rem; margin-top: 2.5rem; margin-bottom: .75rem; color: var(--champagne); }
.prose-legal h3 { font-weight: 600; font-size: 1.1rem; margin-top: 1.5rem; margin-bottom: .5rem; }
.prose-legal p, .prose-legal li { color: #d4d4d8; line-height: 1.8; }
.prose-legal ul { list-style: disc; padding-left: 1.25rem; margin: .75rem 0; }
.prose-legal a { color: var(--champagne); text-decoration: underline; }

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .fade-up { opacity: 1; transform: none; }
}