/* JVS Cyberpunk Matrix Splash Overlay */
#jvsIntro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999999;
  background-color: #000000 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  user-select: none;
}

#jvsIntro.jvs-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#jvsCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Hide any stray HTML title elements */
.jvs-title,
#jvsTitle {
  display: none !important;
}

/* Subtitle Box centered directly beneath JVS canvas */
.jvs-content-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 25px);
  z-index: 5;
  text-align: center;
  pointer-events: none;
  width: 92%;
  max-width: 520px;
}

.jvs-subtitle {
  position: relative;
  font-size: clamp(10px, 2.6vw, 13px);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffffff;
  padding: 8px 8px;
  white-space: nowrap;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Bright Cyan/White horizontal energy line flare across subtitle */
.jvs-subtitle::before,
.jvs-subtitle::after {
  content: '';
  position: absolute;
  left: 2%;
  right: 2%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, #00f0ff 25%, #ffffff 50%, #00f0ff 75%, transparent 100%);
  box-shadow: 0 0 10px #00f0ff, 0 0 4px #ffffff;
}

.jvs-subtitle::before {
  top: 0px;
}

.jvs-subtitle::after {
  bottom: 0px;
}

.jvs-subtitle.active {
  opacity: 1;
  transform: scale(1);
}

.jvs-skip-btn {
  position: absolute;
  top: 24px;
  right: 20px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.95);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.jvs-skip-btn:active,
.jvs-skip-btn:hover {
  background: rgba(0, 195, 255, 0.25);
  color: #ffffff;
  border-color: #00c3ff;
}
