html {
  font-size: 16px;
  height: 100%;
}

body {
  font-family: "Inter", Arial, sans-serif;
  background: #000;
  color: #fff;
  line-height: 1.6;
  height: 100vh;
  display: flex;
  align-items: center;
  margin: 0;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 30px;
  background-repeat: no-repeat;
  background-image: url("../images/bg-2.webp");
  background-size: cover;
  background-position: top;
  height: 100vh;

  color: #fff;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 30%,
    rgb(6, 6, 22) 100%
  );
  z-index: 1;
}

.hero > * {
  position: relative;
  z-index: 2;
}

.title-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;

  margin-bottom: 100px;
}

.hero__title {
  font-size: 25px;
  font-weight: bold;
  text-align: center;
  line-height: 100%;
  margin-bottom: 0.5rem;
  margin-top: 0;
  z-index: 10;
  position: relative;
  text-transform: uppercase;
  font-size: 80px;
  color: #eee;
  animation: rainbow 1s infinite;

  span {
    background: linear-gradient(to bottom, #94ffdf, #94ffdf, #69d9b9, #69c7ac);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
  }
}

.hero__cta:hover {
  transform: scale(1.05) translate3d(0, 0, 0);
}

.logo {
  width: 120px;
  z-index: 10;
  position: relative;
}

.container {
  position: relative;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  max-height: 100%;
}

.hero__cta {
  display: inline-block;
  padding: 12px 30px;
  font-size: 18px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  border-radius: 7px;
  background-color: #ff2400;
  background-size: 600% 600%;
  animation: gradientShift 8s ease infinite, pulse 2s ease-in-out infinite;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  margin-bottom: 0;
  margin-top: 20px;
}

.hero__cta:hover {
  box-shadow: 0 0 15px rgba(177, 12, 12, 0.7);
  transform: scale(1.05);
  outline: none;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.05) translate3d(0, 0, 0);
  }
}
.pulse-circle {
  width: 30px;
  height: 30px;
  background-color: #ff4d4d;
  border-radius: 50%;
  right: 4px;
  top: 4px;
  box-shadow: 0 0 0 rgba(255, 77, 77, 0.7);
  animation: pulseShadow 2s ease-in-out infinite;
  position: absolute;
  transform: translate3d(0, 0, 0);
}

@keyframes pulseShadow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.7);
  }
  50% {
    box-shadow: 0 0 0 20px rgba(255, 77, 77, 0);
  }
}

.logo-container {
  position: relative;
  width: fit-content;
  margin: 0 auto;
  margin-top: 30px;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.hero-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 767px) {
  .hero {
    background-image: url("../images/bg.webp");
    background-size: cover;
  }

  .hero__title {
    font-size: 50px;
    line-height: 100%;
    margin-bottom: 0.25rem;
  }

  .hero__cta {
    font-size: 15px;
  }
}
@media screen and (max-width: 479px) {
  .hero__title {
    font-size: 40px;
    line-height: 130%;
    margin-bottom: 20px;
  }

  .hero__cta {
    font-size: 20px;
    padding: 8px 20px;
  }
}

@media screen and (max-width: 375px) {
  .hero__title {
    font-size: 30px;
    line-height: 150%;
    margin-bottom: 20px;
  }

  .hero__cta {
    font-size: 18px;
    padding: 8px 20px;
  }
}
.hero__subtitle {
  font-size: 60px;
  line-height: 1;
  text-align: center;
  font-style: italic;
  margin-left: auto;
  margin-bottom: 40px;
  font-weight: 700;

  background-clip: text;
}

span {
  display: block;
  font-size: 42px;
  margin-top: 10px;
  font-weight: 500;
  background: linear-gradient(90deg, #ffd700, #ffb700, #ffaa00);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.title-container {
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

.title-container.animate-in {
  transform: translateX(0);
  opacity: 1;
}

.no-js {
  .title-container {
    opacity: 1;
    transform: translateX(0);
  }
}
