/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #000;
}

/* Intro screen */
.intro {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
  color: #fff;
  font-size: 1.5rem;
  transition: opacity 0.6s ease;
}

.redirect-text {
  font-weight: 600;
  letter-spacing: 0.05em;
}

.dots {
  display: inline-block;
  animation: blink 1.2s infinite;
}

@keyframes blink {
  0%,
  20% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  80%,
  100% {
    opacity: 0;
  }
}

.intro.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* Main landing page */
.main {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #000;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.main.hidden {
  display: none;
}

.main.fade-in {
  opacity: 1;
}

.gif-wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.landing-gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Centered button */
.button-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 10;
  transform: translate(-50%, -50%);
  text-align: center;
}

.watch-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 3rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background-color: #ff0000;
  border-radius: 9999px;
  box-shadow: 0 10px 35px rgba(255, 0, 0, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  animation: pulse 1.8s infinite;
}

.watch-button:hover {
  transform: scale(1.05);
  background-color: #e60000;
  box-shadow: 0 12px 30px rgba(255, 0, 0, 0.6);
}

.watch-button:active {
  transform: scale(0.98);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.55);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(255, 0, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}

/* Responsive tweaks */
@media (max-width: 640px) {
  .intro {
    font-size: 1.25rem;
  }

  .watch-button {
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
  }
}
