/* Import modern Google Font (Inter) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  width: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow: hidden;
  color: #ffffff;
}

/* Background Video Styling */
.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

#bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Enhanced Vignette Radial Overlay */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.65) 100%);
}

/* Centered Main Content Container */
.content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
}

/* Brand Logo Styling */
.brand-logo {
  width: 72px;
  height: 72px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
  opacity: 0;
  pointer-events: none; /* Prevents hovering before fade-in */
  animation: fadeInUp 2.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.2s;
}

/* Title Styling */
.title {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 1rem;
  opacity: 0;
  pointer-events: none; /* Prevents hovering before fade-in */
  animation: fadeInUp 2.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.7s;
}

/* Links Container */
.links {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 300;
}

/* Sequential Animations with Pointer Lock */
.download-link {
  opacity: 0;
  pointer-events: none; /* Disables hover while invisible */
  animation: fadeInUp 2.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 1.8s;
}

.separator {
  margin: 0 0.75rem;
  opacity: 0;
  pointer-events: none;
  animation: fadeInUp 2.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 2.4s;
}

.manual-link {
  opacity: 0;
  pointer-events: none; /* Disables hover while invisible */
  animation: fadeInUp 2.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 3s;
}

/* Continues the 0.6s stagger: manual-link 3.0s -> second pipe 3.6s -> tools link 4.2s */
.separator-2 {
  animation-delay: 3.6s;
}

.tools-link {
  opacity: 0;
  pointer-events: none; /* Disables hover while invisible */
  animation: fadeInUp 2.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 4.2s;
}

.link {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s ease, text-decoration 0.2s ease;
}

.link:hover {
  text-decoration: underline;
  opacity: 0.8;
}

/* Slow, Cinematic Upward Float & Fade Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(32px);
    pointer-events: none; /* Disables interactions during entry */
  }
  to {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto; /* Enables interactions once visible */
  }
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
  .title {
    font-size: 2.75rem;
  }

  .links {
    flex-direction: column;
    gap: 0.75rem;
    font-size: 1.1rem;
  }

  .separator {
    display: none; /* Hide pipe on mobile when stacked vertically */
  }
}