/* VintageTrail Splash / Boot Overlay — lightweight, one-time, skippable */
#splash-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #181716 0%, #2A2017 55%, #4A3B2A 100%);
  color: #fff;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#splash-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Parallax background photo (weakly darkened) */
#splash-overlay .splash-bg {
  position: absolute;
  inset: -10%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.35;
  filter: blur(2px) saturate(1.1);
  transform: scale(1.05);
  animation: splashDrift 18s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes splashDrift {
  from { transform: scale(1.05) translate(0, 0); }
  to   { transform: scale(1.12) translate(-1.5%, -2%); }
}

/* Dark vignette to keep text legible */
#splash-overlay .splash-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.55) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.75) 100%);
}

#splash-overlay .splash-inner {
  position: relative;
  z-index: 2;
  max-width: 620px;
  width: 90%;
  padding: 32px 20px;
}

/* Brand mark */
#splash-overlay .splash-logo {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-gold, #D69E2E);
  margin-bottom: 14px;
  animation: splashFadeUp 0.8s ease both;
}
#splash-overlay .splash-logo span { opacity: 0.85; }

/* Headline */
#splash-overlay .splash-title {
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: clamp(2.4rem, 8vw, 4.2rem);
  line-height: 1.05;
  font-weight: 900;
  margin: 0 0 12px;
  animation: splashFadeUp 0.8s ease 0.15s both;
  text-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

/* Sub-headline (English usage hints) */
#splash-overlay .splash-sub {
  font-size: 1.02rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  font-weight: 400;
  margin-bottom: 26px;
  animation: splashFadeUp 0.8s ease 0.3s both;
}

/* Feature icons row (3 mini explanations) */
#splash-overlay .splash-features {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
  animation: splashFadeUp 0.8s ease 0.45s both;
}
#splash-overlay .splash-feat {
  flex: 1 1 130px;
  max-width: 160px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-md, 14px);
  padding: 14px 10px;
}
#splash-overlay .splash-feat-icon {
  font-size: 1.7rem;
  margin-bottom: 6px;
  display: block;
}
#splash-overlay .splash-feat-label {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.35;
}
#splash-overlay .splash-feat-desc {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  line-height: 1.4;
}

/* CTA */
#splash-overlay .splash-cta {
  animation: splashFadeUp 0.8s ease 0.6s both;
}
#splash-overlay .splash-btn {
  display: inline-block;
  font-size: 1rem;
  font-weight: 800;
  color: #181716;
  background: var(--accent-gold, #D69E2E);
  border: none;
  border-radius: 999px;
  padding: 15px 40px;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}
#splash-overlay .splash-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(214,158,46,0.45);
}
#splash-overlay .splash-skip {
  display: block;
  margin-top: 16px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.65);
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-family: inherit;
}
#splash-overlay .splash-skip:hover { color: #fff; }

/* Countdown pill */
#splash-overlay .splash-count {
  margin-top: 14px;
  font-size: 0.78rem;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-mono, monospace);
}

@keyframes splashFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 520px) {
  #splash-overlay .splash-features { gap: 10px; }
  #splash-overlay .splash-feat { flex: 1 1 100px; padding: 10px 6px; }
  #splash-overlay .splash-sub { font-size: 0.92rem; }
}
