/*
 * SHARED SPLASH SCREEN BASE STYLES
 * Used by both index.fantazzy.html and index.thrillzz.html
 */

/* Base HTML/Body styles */
html,
body {
  margin: 0;
  padding: 0;
  background-color: black;

/* White overlay - prevents splash elements from showing after Flutter loads */
#splash-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease-in-out;
}

}

#splashDiv {
  background-size: cover;
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  align-items: center;
  justify-content: center;
  top: 50%;
  transform: translateY(-50%);
}

.centered-content {
  text-align: center;
  color: antiquewhite;
}

.splash-title {
  color: white;
  font-family: 'Arial', sans-serif;
}

.splash-image {
  max-width: 200px;
  height: auto;
}

#desktopMessage {
  display: none;
  text-align: center;
  color: #FFFFFF;
}

#mobileContent {
  display: block;
  /* Show immediately - don't wait for GTM/analytics to load */
}

.grecaptcha-badge {
  visibility: hidden;
}

/* Progress bar container - Brand colors defined inline in each HTML file */
.progress-container {
  width: 60%;
  max-width: 250px;
  height: 21px;
  background: #212429; /* Neutral_900 */
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  margin: 20px auto 0;
}

/* Progress bar fill - Brand colors defined inline in each HTML file */
.progress-fill {
  height: 100%;
  width: 0%;
  background: #D7FF1A; /* Brand_VoltGreen */
  border-radius: 30px;
  animation: fillProgress 4s ease-out forwards;
  box-shadow: 0 0 20px rgba(215, 255, 26, 0.6);
}

@keyframes fillProgress {
  0% {
    width: 0%;
  }
  100% {
    width: 95%;
  }
}

/* Brand logo styling - shared sizing */
.brand-logo {
  width: 250px;
  max-width: 80%;
  height: auto;
}

/* Logo container positioning - below the video with gap */
.brand-logo-container {
  position: absolute;
  top: calc(50% + min(50vw, 300px)); /* video center + ~half video height */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 4;
}

/* Progress bar positioning - between logo and bottom, accounting for safe area */
.progress-bar-container {
  position: absolute;
  top: 85%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 4;
}

/* Fade-in animation for light logo */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.logo-light {
  animation: fadeIn 0.8s ease-in 0.5s forwards;
  opacity: 0;
}

/* Delayed fade-in animation for video */
@keyframes videoDelayedFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.splash-video {
  width: 100%;
  max-width: 600px;
  height: auto;
  position: absolute;
  top: 43%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  animation: videoDelayedFadeIn 0.5s ease-in 1.5s forwards;
  opacity: 0;
}
