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

html,
body {
  width: 100%;
}

body {
  background: #ebebeb;
  color: #0f0f0f;
}

.hero-img {
  width: 100%;
  object-fit: cover;
}

.hero-intro {
  width: min(90%, 900px);
  margin: 0 auto;
  padding: 5rem 0 6rem;

  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
  text-align: center;

  color: #0f0f0f;
}

/* Episod Link */
.episod-link {
  margin-top: -3.5rem;
  margin-bottom: 5rem;
  font-family: "Montserrat", sans-serif;
  text-align: center;
}

.episod-link a {
  color: #dc0510;
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Scroll Indicator */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;

  margin-top: -3rem;
  margin-bottom: 4rem;
}

.scroll-indicator__text {
  font-family: "Montserrat", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  color: #0f0f0f;
}

.scroll-indicator__arrow {
  width: 20px;
  height: 20px;

  border-right: 3px solid #dc0510;
  border-bottom: 3px solid #dc0510;

  animation: pulseaza-sageata 1.5s ease-in-out infinite;
}

@keyframes pulseaza-sageata {
  0%,
  100% {
    transform: translateY(0) rotate(45deg);
    opacity: 0.35;
  }

  50% {
    transform: translateY(8px) rotate(45deg);
    opacity: 1;
  }
}

/* Scena */

#scena {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#scena svg {
  width: 100%;
  height: 100%;
  display: block;
  padding-bottom: 50px;
}

#scena svg text,
#scena svg tspan {
  font-family: "Montserrat", sans-serif !important;
}

.text-tv {
  position: fixed;
  z-index: 10;
  pointer-events: none;

  font-family: "Montserrat", sans-serif;
  font-weight: 700;

  color: #dc0510;

  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.text-tv--principal {
  font-size: 2rem;
}

.text-tv--taxa {
  font-size: 1.4rem;
}

/* bara de progres */
.bara-progres {
  position: fixed;
  top: 0;
  right: 0;
  width: 6px;
  height: 100vh;
  height: 100dvh;
  z-index: 100;
  pointer-events: none;
}

.bara-progres__valoare {
  width: 100%;
  height: 100%;
  background: #dc0510;

  transform: scaleY(0);
  transform-origin: top center;

  will-change: transform;
}

/* CTA */
.cta-final {
  width: min(90%, 900px);
  margin: 0 auto;
  padding: 6rem 0 1rem;
  font-family: "Montserrat", sans-serif;
  text-align: center;
}

.cta-final__principal {
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.cta-final__principal strong {
  color: #dc0510;
}

.cta-final__secundar {
  margin-top: 2rem;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.6;
}

.cta-final__secundar a {
  color: #dc0510;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.cta-img {
  width: 20rem;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hero-intro {
    font-size: 1.2rem;
  }
  .cta-final {
    width: 88%;
    padding: 4rem 0 1rem;
  }

  .cta-final__principal {
    font-size: 1.3rem;
  }

  .cta-final__secundar {
    font-size: 1rem;
  }
}

/* MEDIA */

@media (max-width: 768px) {
  #scena svg {
    padding-bottom: 0;
  }

  .bara-progres {
    height: 5px;
  }

  body.animatie-finalizata #scena {
    height: auto;
    aspect-ratio: 390 / 500;
  }

  body.animatie-finalizata #scena svg {
    height: auto;
  }
}
