@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 {
  --landing-video-width: min(
    550px,
    calc(100vw - 32px),
    max(320px, calc(75vh - 171px))
  );
  --landing-logo-width: min(270px, max(190px, calc(36.75vh - 84px)));
  --landing-cta-width: min(410px, calc(var(--landing-video-width) - 90px));

  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(12px, 2.2vh, 28px) 16px 24px;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.98) 0%,
      rgba(0, 0, 0, 0.08) 16%,
      rgba(0, 0, 0, 0.08) 84%,
      rgba(0, 0, 0, 0.98) 100%
    ),
    url("img/bg.jpg") center top / cover no-repeat #000;
}

.landing__content {
  width: var(--landing-video-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1.4vh, 14px);
}

.landing__logo {
  width: var(--landing-logo-width);
  height: auto;
  user-select: none;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.45));
}

.landing__video-card {
  position: relative;
  width: var(--landing-video-width);
  aspect-ratio: 800 / 1067;
  overflow: hidden;
  border: 6px solid transparent;
  border-radius: 24px;
  background:
    linear-gradient(#130100, #130100) padding-box,
    linear-gradient(90deg, #ffb51d 0%, #ffe36b 50%, #ffac19 100%) border-box;
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px 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: 112px;
  height: 112px;
  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 8px 14px 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: clamp(20px, 4.2%, 34px);
  width: var(--landing-cta-width);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.55));
}

.landing__cta--visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.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 (max-width: 575px) {
  .landing {
    --landing-video-width: 95.65vw;
    --landing-logo-width: 46.96vw;
    --landing-cta-width: 71.3vw;

    padding: 3.2vw 2.17vw 5vw;
    background:
      linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0) 18%,
        rgba(0, 0, 0, 0) 82%,
        rgba(0, 0, 0, 0.82) 100%
      ),
      url("img/bg-sm.jpg") center top / cover no-repeat #000;
  }

  .landing__content {
    width: var(--landing-video-width);
    gap: 2.8vw;
  }

  .landing__logo {
    filter: drop-shadow(0 1.4vw 1.8vw rgba(0, 0, 0, 0.45));
  }

  .landing__video-card {
    border-width: 1.04vw;
    border-radius: 4.18vw;
    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 {
    bottom: 4.2vw;
    transform: translate(-50%, 2.4vw);
    filter: drop-shadow(0 1.4vw 1.9vw rgba(0, 0, 0, 0.55));
  }

  .landing__cta--visible {
    transform: translate(-50%, 0);
  }
}
