/* ==========================================================================
   Flush Fortune Casino Hotel — shared stylesheet
   Theme: deep emerald & burnished copper
   Fonts: Fraunces (display serif) + Outfit (body sans)
   ========================================================================== */

:root {
  --ink: #0d0c0a;
  --panel: #17140f;
  --panel-2: #1e1912;
  --line: #322a1f;
  --emerald: #0b5c45;
  --emerald-light: #16a888;
  --emerald-deep: #073d2f;
  --copper: #c98a4b;
  --copper-light: #e7b878;
  --copper-deep: #93602c;
  --cream: #f4ecd9;
  --muted: #b3a58e;
}

* { -webkit-font-smoothing: antialiased; }

[x-cloak] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--ink);
  color: var(--cream);
  font-family: 'Outfit', sans-serif;
}

.font-display {
  font-family: 'Fraunces', serif;
  font-optical-sizing: auto;
}

/* Texture overlay for depth on dark panels */
.felt-texture {
  background-image:
    radial-gradient(circle at 20% 20%, rgba(22, 168, 136, 0.08), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(201, 138, 75, 0.10), transparent 40%),
    linear-gradient(180deg, var(--ink) 0%, var(--panel) 100%);
}

.grain::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--copper-light), transparent);
}

.card-glow {
  box-shadow: 0 1px 0 rgba(231, 184, 120, 0.08) inset, 0 20px 40px -20px rgba(0,0,0,0.6);
}

.text-outline-copper {
  -webkit-text-stroke: 1px var(--copper-light);
}

/* Custom marquee for the reel strip */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-track {
  animation: marquee 32s linear infinite;
}

/* Fade-in utility driven by Alpine x-intersect */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.reveal-in {
  opacity: 1;
  transform: translateY(0);
}

/* Custom scrollbar for a premium feel */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--emerald-deep); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--emerald); }

/* Chip / badge */
.chip {
  border: 1px solid var(--copper-deep);
  color: var(--copper-light);
  background: rgba(201, 138, 75, 0.08);
}

/* Nav link underline hover */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--copper-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* Lightbox transitions handled by Alpine x-transition, keep body lock */
.no-scroll { overflow: hidden; }

/* Card image zoom on hover */
.img-zoom { overflow: hidden; }
.img-zoom img { transition: transform 0.7s cubic-bezier(.2,.7,.2,1); }
.img-zoom:hover img { transform: scale(1.08); }

/* Playing-card corner accents */
.corner-tag::before, .corner-tag::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border-color: var(--copper-light);
  opacity: 0.7;
}
.corner-tag::before { top: 0; left: 0; border-top: 2px solid; border-left: 2px solid; }
.corner-tag::after { bottom: 0; right: 0; border-bottom: 2px solid; border-right: 2px solid; }
