@charset "UTF-8";

:root {
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #000;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: #000;
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1;
}

img,
video {
  display: block;
  max-width: 100%;
}

.landing {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0.42vw 2vw 1vw;
  background: url("img/bg.jpg") center top / cover no-repeat #000;
}

.landing__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.73vw;
}

.landing__logo {
  width: 11.46vw;
  max-width: 23.8vh;
  height: auto;
  user-select: none;
  filter: drop-shadow(0 0.42vw 0.52vw rgba(0, 0, 0, 0.45));
}

.landing__video-card {
  position: relative;
  width: 22.14vw;
  max-width: 44vh;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 0.31vw solid transparent;
  border-radius: 1.77vw;
  background:
    linear-gradient(#130100, #130100) padding-box,
    linear-gradient(90deg, #ffb51d 0%, #ffe36b 50%, #ffac19 100%) border-box;
  box-shadow:
    0 0 1.25vw rgba(0, 0, 0, 0.55),
    0 0 1.88vw rgba(0, 0, 0, 0.55),
    inset 0 0 0 0.05vw rgba(255, 255, 255, 0.22);
}

.landing__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #130100;
}

.landing__play {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 5.83vw;
  max-width: 12vh;
  height: auto;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease;
  filter: drop-shadow(0 0.42vw 0.73vw rgba(0, 0, 0, 0.55));
}

.landing__play--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.86);
}

.landing__play-image {
  width: 100%;
  height: auto;
  animation: landing-play-pulse 2s ease-in-out infinite;
}

.landing__cta {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 4%;
  width: 82%;
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  filter: drop-shadow(0 0.31vw 0.42vw rgba(0, 0, 0, 0.55));
}

.landing__cta--visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.landing__cta-image {
  width: 100%;
  height: auto;
}

.landing__cta--visible .landing__cta-image {
  animation: landing-cta-pulse 1.4s ease-in-out infinite;
}

@keyframes landing-cta-pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.025);
  }
}

@keyframes landing-play-pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@media (min-width: 576px) and (max-width: 1024px) {
  .landing {
    padding: 1vw 2vw 2vw;
  }

  .landing__content {
    gap: 1.8vw;
  }

  .landing__logo {
    width: 26vw;
    max-width: 23vh;
    filter: drop-shadow(0 0.8vw 1.2vw rgba(0, 0, 0, 0.45));
  }

  .landing__video-card {
    width: 48vw;
    max-width: 42vh;
    border-width: 0.65vw;
    border-radius: 2.8vw;
    box-shadow:
      0 1.3vw 3vw rgba(0, 0, 0, 0.55),
      inset 0 0 0 0.1vw rgba(255, 255, 255, 0.22);
  }

  .landing__play {
    width: 12vw;
    filter: drop-shadow(0 0.8vw 1.5vw rgba(0, 0, 0, 0.55));
  }

  .landing__cta {
    width: 84%;
    filter: drop-shadow(0 0.7vw 1vw rgba(0, 0, 0, 0.55));
  }
}

@media (max-width: 575px) {
  .landing {
    padding: 1vw 2vw 3vw;
    background: url("img/bg-sm.jpg") center top / cover no-repeat #000;
  }

  .landing__content {
    gap: 2.5vw;
  }

  .landing__logo {
    width: 50vw;
    max-width: 28vh;
    filter: drop-shadow(0 1.4vw 1.8vw rgba(0, 0, 0, 0.45));
  }

  .landing__video-card {
    width: 76vw;
    max-width: 43vh;
    border-width: 1.6vw;
    border-radius: 7vw;
    box-shadow:
      0 2.6vw 5.8vw rgba(0, 0, 0, 0.55),
      inset 0 0 0 0.18vw rgba(255, 255, 255, 0.22);
  }

  .landing__play {
    width: 19.48vw;
    height: 19.48vw;
    filter: drop-shadow(0 1.8vw 3vw rgba(0, 0, 0, 0.55));
  }

  .landing__cta {
    width: 86%;
    filter: drop-shadow(0 1.4vw 1.9vw rgba(0, 0, 0, 0.55));
  }
}
