/* Reset and Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800;900&display=swap');

html {
  margin: 0;
  padding: 0;
  width: 100%;
  background-color: #050505;
  color: #ffffff;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  background-color: #050505;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
}

/* 
  Full Screen Interactive Hero Section
  Fitted exactly to 100vh with no scroll takeover behavior.
*/
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #050505;
}

/* Background Video and Dark Overlay wrapper */
.video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-size: cover;
  background-position: center;
  pointer-events: none; /* Let mousemove pass through to hero section if needed */
}

.bg-canvas, .bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* GPU Hardware Acceleration & Composition */
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000;
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
}

/* Dark Overlay to maintain readability for white text */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.65) 100%
  );
  z-index: 2;
}

/* 
  Content Overlay containing absolute centered story text layers.
  Z-index sits on top of video and overlay.
*/
.content-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
  pointer-events: none; /* Allows pointer events to pass through, but CTA button explicitly allows clicking */
}

/* Common style for text blocks */
.hero-text {
  position: relative;
  width: 90%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  will-change: transform, opacity;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
  pointer-events: auto; /* Enable hover/clicks on contents */
}

/* Centered layout */
.hero-text.align-center {
  align-items: center;
  text-align: center;
}

/* Pre-text tag (Server di Live Streaming) with beautiful gradient text effect */
.hero-tag {
  font-size: clamp(0.8rem, 1.5vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #ff0055, #00dbde);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.2rem;
  display: inline-block;
  animation: fadeInDown 1s ease-out 0.2s both;
}

/* Main Premium Header */
.hero-title {
  font-size: clamp(2rem, 5.5vw, 4.8rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: uppercase;
  margin: 0 0 2.5rem 0;
  color: #ffffff;
  animation: heroTextReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Premium CTA Button styling */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 48px;
  font-size: clamp(0.8rem, 1.2vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
  color: #000000;
  background-color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  animation: fadeInUp 1s ease-out 0.4s both;
  pointer-events: auto;
}

.cta-btn:hover {
  background-color: transparent;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.35);
}

.cta-btn:active {
  transform: translateY(-1px);
}

/* Animations */
@keyframes heroTextReveal {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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



