/* ============================================================
   CASINO SOCIETY — CASINO3
   Cinematic splash page — centered nav tabs + two CTA buttons
   ============================================================ */

:root {
  --bg:           #080604;
  --gold:         #C9A96A;
  --gold-light:   #E6D3A3;
  --text-muted:   #927E60;
  --text-dim:     #4E4130;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-cinzel: 'Cinzel', Georgia, serif;
  --font-body:    'Outfit', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
  --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
  --dur:          0.35s;
}

/* --- RESET ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; font-size: clamp(14px, 1.1vw, 17px); }
body {
  height: 100%;
  background: var(--bg);
  color: var(--gold-light);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font: inherit; }

/* ============================================================
   NAVIGATION — fully centered
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  background: linear-gradient(to bottom, rgba(8,6,4,0.90) 0%, transparent 100%);
}
.nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(201, 169, 106, 0.45);
}

.nav__tabs {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 4vw, 5rem);
}

.nav__tab {
  font-family: var(--font-mono);
  font-size: 1.03rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--dur) var(--ease-out);
}
.nav__tab::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out);
}
.nav__tab:hover,
.nav__tab--active { color: var(--gold-light); }
.nav__tab:hover::after,
.nav__tab--active::after { width: 100%; }

/* Burger — mobile only */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 0.25rem;
  position: absolute;
  right: clamp(1.25rem, 4vw, 2.5rem);
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--gold-light);
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}
.nav__burger.is-open span:first-child { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:last-child  { transform: translateY(-7px) rotate(-45deg); }

/* Mobile full-screen menu */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(8, 6, 4, 0.97);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  backdrop-filter: blur(20px);
}
.nav__mobile.is-open { display: flex; }
.nav__mobile-link {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2.25rem, 7vw, 4rem);
  color: var(--text-muted);
  letter-spacing: 0.05em;
  transition: color var(--dur) var(--ease-out);
}
.nav__mobile-link:hover,
.nav__mobile-link--active { color: var(--gold-light); }

/* ============================================================
   HERO — full viewport, centered content
   ============================================================ */
.hero {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/casino3-hero.png');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 7s var(--ease-out);
}
body.loaded .hero__bg { transform: scale(1); }

/* Multi-layer overlay: preserve image, deepen center/edges */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 55%, rgba(8,6,4,0.30) 0%, rgba(8,6,4,0.65) 100%),
    linear-gradient(to bottom, rgba(8,6,4,0.55) 0%, rgba(8,6,4,0.05) 45%, rgba(8,6,4,0.55) 100%);
}

.hero__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 25%, rgba(8,6,4,0.80) 100%);
  pointer-events: none;
}

/* Subtle film grain */
.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* Center content block */
.hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: min(760px, 90vw);
  padding: 0 1.5rem;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1s var(--ease-out) 0.15s, transform 1s var(--ease-out) 0.15s;
}
body.loaded .hero__content { opacity: 1; transform: translateY(0); }

/* Title */
.hero__title {
  font-family: var(--font-cinzel);
  font-weight: 400;
  font-size: clamp(1.95rem, 6.75vw, 6rem);
  color: var(--gold-light);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1;
  padding-bottom: clamp(0.6rem, 1.5vw, 1.2rem);
  margin-bottom: clamp(0.5rem, 1.2vw, 1rem);
  border-bottom: 1px solid rgba(201, 169, 106, 0.55);
  text-shadow:
    0 2px 60px rgba(201, 169, 106, 0.18),
    0 0 120px rgba(201, 169, 106, 0.08);
}

/* Tagline */
.hero__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(0.9rem, 2.2vw, 1.4rem);
  color: var(--gold-light);
  letter-spacing: 0.04em;
  text-transform: none;
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  opacity: 0.75;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.hero__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  letter-spacing: 0.04em;
  text-transform: none;
  padding: 0.85rem 2.5rem;
  display: inline-block;
  white-space: nowrap;
  border-radius: 4px;
  transition: all var(--dur) var(--ease-out);
  cursor: pointer;
  text-decoration: none;
}

/* Ghost — dark bg + gold border (left button) */
.btn--ghost {
  color: var(--gold-light);
  border: 1.5px solid rgba(201, 169, 106, 0.6);
  background: rgba(10, 8, 5, 0.55);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  border-color: var(--gold);
  background: rgba(10, 8, 5, 0.75);
  box-shadow: 0 0 20px rgba(201, 169, 106, 0.15);
}

/* Primary — solid gold fill (right button) */
.btn--primary {
  color: #1a1208;
  border: 1.5px solid transparent;
  background: linear-gradient(135deg, #d4a84b 0%, #c9a96a 45%, #b8924a 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn--primary:hover {
  background: linear-gradient(135deg, #e0b85a 0%, #d4a96a 45%, #c9a050 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.2),
    0 0 30px rgba(201, 169, 106, 0.35);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 540px) {
  .nav__tabs { display: none; }
  .nav__burger { display: flex; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .btn { text-align: center; padding: 0.9375rem 1.75rem; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .hero__bg { transition: none; transform: scale(1); }
  body.loaded .hero__content { transition: none; opacity: 1; transform: none; }
}
