@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700;800;900&family=Poppins:wght@400;500;600;700;800&display=swap');

/* ═══════════════════════════════════════════════════════════════════
   VYIOM CLEAN GLOBAL NETWORK SPLASH SCREEN
   - Clean White Global Wireframe Network Background (No Canvas Animations)
   - Dynamic Animated Logo Entrance from upper-left with floating physics
   - ONLY Orbitron for VYIOM Logo Text, ALL other text is Poppins
   - Interactive 'NEXT ➔' Button (proceeds to next page on click)
   - Bottom-Right Brand Telemetry Metadata
   - Single-Session Playback Control
   ═══════════════════════════════════════════════════════════════════ */

#vyiom-splash {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: #ffffff;
  z-index: 9999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  user-select: none;
  cursor: default;
  transition: opacity 0.35s cubic-bezier(0.65, 0, 0.35, 1),
    transform 0.55s cubic-bezier(0.65, 0, 0.35, 1),
    visibility 0.15s cubic-bezier(0.65, 0, 0.35, 1);
}

/* Blurred Global Network Background Layer */
#vyiom-splash::before {
  content: '';
  position: absolute;
  inset: -20px;
  background-image: url('assets/splash-bg.png');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  filter: blur(6px);
  -webkit-filter: blur(6px);
  opacity: 0.88;
  pointer-events: none;
  z-index: 1;
  transform: scale(1.03);
}

#vyiom-splash.splash-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(-20px) scale(0.99) !important;
  pointer-events: none !important;
}

/* Corner Tech HUD Brackets */
.splash-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
  z-index: 10;
  opacity: 0.35;
  transition: opacity 0.3s ease;
}

.splash-corner-tl {
  top: 28px;
  left: 32px;
  border-top: 2px solid #0040c5;
  border-left: 2px solid #0040c5;
}

.splash-corner-tr {
  top: 28px;
  right: 32px;
  border-top: 2px solid #0040c5;
  border-right: 2px solid #0040c5;
}

.splash-corner-bl {
  bottom: 28px;
  left: 32px;
  border-bottom: 2px solid #0040c5;
  border-left: 2px solid #0040c5;
}

.splash-corner-br {
  bottom: 28px;
  right: 32px;
  border-bottom: 2px solid #0040c5;
  border-right: 2px solid #0040c5;
}

/* Center Content Container */
.splash-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  overflow: visible;
  max-width: 900px;
  margin: auto;
}

/* 1. DYNAMIC FLY-IN LOGO ANIMATION */
.splash-logo-box {
  position: relative;
  max-width: 240px;
  width: 55vw;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  animation: splashLogoFlyIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.splash-logo-img {
  width: 100%;
  max-width: 210px;
  height: auto;
  max-height: 145px;
  object-fit: contain;
  position: relative;
  z-index: 4;
  filter: drop-shadow(0 10px 24px rgba(0, 64, 197, 0.18));
  animation: splashLogoFloat 3.6s ease-in-out infinite 1.1s;
}

@keyframes splashLogoFlyIn {
  0% {
    transform: translate(-180px, -140px) scale(0.3) rotate(-22deg);
    opacity: 0;
    filter: blur(8px);
  }

  65% {
    transform: translate(14px, 6px) scale(1.05) rotate(3deg);
    opacity: 1;
    filter: blur(0);
  }

  85% {
    transform: translate(-4px, -2px) scale(0.98) rotate(-1deg);
  }

  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 1;
  }
}

@keyframes splashLogoFloat {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-8px) rotate(0.8deg);
  }
}

/* 2. BRAND NAME 'VYIOM' - ONLY ORBITRON - PERFECTLY CENTERED */
.splash-title {
  font-family: 'Orbitron', sans-serif !important;
  font-size: clamp(38px, 6vw, 60px) !important;
  font-weight: 800 !important;
  letter-spacing: 0.22em !important;
  text-indent: 0.22em !important;
  text-transform: uppercase !important;
  color: #0040c5 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
  text-shadow: 0 4px 20px rgba(0, 64, 197, 0.16) !important;
  animation: splashBrandFromLeft 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.18s forwards;
  opacity: 0;
}

@keyframes splashBrandFromLeft {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* 5. INTERACTIVE 'NEXT ➔' BUTTON - POPPINS ONLY */
.splash-next-wrap {
  margin-top: 32px;
  animation: splashNextFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
  opacity: 0;
  z-index: 6;
}

@keyframes splashNextFadeUp {
  0% {
    transform: translateY(24px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.splash-next-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px 34px;
  font-family: 'Poppins', sans-serif !important;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0040c5;
  background: #ffffff;
  border: 2px solid #0040c5;
  border-radius: 0 !important;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 4px 14px rgba(0, 64, 197, 0.12);
  outline: none;
}

.splash-next-btn i {
  font-size: 12px;
  transition: transform 0.22s ease;
}

.splash-next-btn:hover,
.splash-next-btn:focus-visible {
  background: #0040c5;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 64, 197, 0.28);
}

.splash-next-btn:hover i,
.splash-next-btn:focus-visible i {
  transform: translateX(5px);
}

.splash-next-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 64, 197, 0.2);
}

/* 6. BOTTOM RIGHT BRAND METADATA - POPPINS ONLY */
.splash-bottom-right {
  position: absolute;
  bottom: 30px;
  right: 36px;
  z-index: 10;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  animation: splashFadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
  opacity: 0;
  pointer-events: none;
}

.splash-br-tagline {
  font-family: 'Poppins', sans-serif !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0040c5;
}

.splash-br-brand {
  font-family: 'Poppins', sans-serif !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #0f0f13;
  text-transform: uppercase;
  line-height: 1.25;
}

.splash-br-sub {
  font-family: 'Poppins', sans-serif !important;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #4b5563;
  text-transform: capitalize;
}

.splash-br-year {
  font-family: 'Poppins', sans-serif !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #9ca3af;
  margin-top: 2px;
}

@keyframes splashFadeInUp {
  0% {
    transform: translateY(16px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  #vyiom-splash {
    background-size: cover;
    background-position: center center;
  }

  .splash-logo-box {
    max-width: 170px;
    margin-bottom: 16px;
  }

  .splash-logo-img {
    max-width: 150px;
    max-height: 100px;
  }

  .splash-next-btn {
    padding: 9px 28px;
    font-size: 12px;
  }

  .splash-corner {
    width: 14px;
    height: 14px;
  }

  .splash-corner-tl {
    top: 16px;
    left: 16px;
  }

  .splash-corner-tr {
    top: 16px;
    right: 16px;
  }

  .splash-corner-bl {
    bottom: 16px;
    left: 16px;
  }

  .splash-corner-br {
    bottom: 16px;
    right: 16px;
  }

  .splash-bottom-right {
    bottom: 18px;
    right: 18px;
    gap: 2px;
  }

  .splash-br-tagline {
    font-size: 9.5px;
    letter-spacing: 0.12em;
  }

  .splash-br-brand {
    font-size: 12px;
  }

  .splash-br-sub {
    font-size: 10px;
  }

  .splash-br-year {
    font-size: 9.5px;
  }
}