/* ═══════════════════════════════════════════════════════════════
   SPLASH INTRO ANIMATION — Nashville Big Game Ecosystem
   Fullscreen brand intro that plays once per session, then fades
   ═══════════════════════════════════════════════════════════════ */

/* ── Overlay ── */
.splash-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #060d18;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.splash-overlay.splash-exit {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}
.splash-overlay.splash-gone {
  display: none !important;
}

/* ── Particle Canvas ── */
.splash-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ── Content ── */
.splash-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

/* ── Logo Ring ── */
.splash-ring {
  width: 120px;
  height: 120px;
  margin: 0 auto 32px;
  position: relative;
}
.splash-ring-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #D4A843;
  border-right-color: rgba(212,168,67,0.4);
  animation: splash-spin 1.5s linear infinite;
}
.splash-ring-inner {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-bottom-color: #D4A843;
  border-left-color: rgba(212,168,67,0.3);
  animation: splash-spin 2s linear infinite reverse;
}
.splash-ring-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  opacity: 0;
  animation: splash-icon-in 0.6s 0.4s ease-out forwards;
}
@keyframes splash-spin {
  to { transform: rotate(360deg); }
}
@keyframes splash-icon-in {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}

/* ── Brand Name ── */
.splash-brand {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 5vw, 3rem);
  font-weight: 900;
  color: #F0EDE6;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0;
  animation: splash-text-up 0.7s 0.6s ease-out forwards;
}
.splash-brand span {
  color: #D4A843;
  display: block;
  font-size: 0.7em;
  letter-spacing: 5px;
  margin-top: 4px;
}

/* ── Tagline ── */
.splash-tagline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.7rem, 2vw, 0.95rem);
  color: #8A94A6;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 16px;
  opacity: 0;
  animation: splash-text-up 0.6s 1s ease-out forwards;
}

/* ── Gold Line ── */
.splash-line {
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #D4A843, transparent);
  margin: 24px auto 0;
  animation: splash-line-grow 0.8s 0.8s ease-out forwards;
}
@keyframes splash-line-grow {
  to { width: min(280px, 60vw); }
}

/* ── Loading Bar ── */
.splash-loader {
  width: min(200px, 50vw);
  height: 3px;
  background: rgba(212,168,67,0.15);
  border-radius: 3px;
  margin: 32px auto 0;
  overflow: hidden;
  opacity: 0;
  animation: splash-text-up 0.4s 1.2s ease-out forwards;
}
.splash-loader-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #D4A843, #E8C96A);
  border-radius: 3px;
  animation: splash-load 1.6s 1.3s ease-in-out forwards;
}
@keyframes splash-load {
  0%   { width: 0; }
  40%  { width: 60%; }
  80%  { width: 90%; }
  100% { width: 100%; }
}

/* ── Skip Button ── */
.splash-skip {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 3;
  background: none;
  border: 1px solid rgba(212,168,67,0.3);
  color: #8A94A6;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s;
  opacity: 0;
  animation: splash-text-up 0.4s 1.5s ease-out forwards;
}
.splash-skip:hover {
  border-color: #D4A843;
  color: #D4A843;
  background: rgba(212,168,67,0.08);
}

/* ── Shared Animations ── */
@keyframes splash-text-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Mobile ── */
@media (max-width: 600px) {
  .splash-ring { width: 90px; height: 90px; margin-bottom: 24px; }
  .splash-ring-icon { font-size: 1.8rem; }
  .splash-skip { bottom: 24px; right: 24px; font-size: 0.7rem; padding: 12px 18px; min-height: 44px; }
}
