/* header / footer */

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  padding: 24px 32px;
}

.site-header {
  background: #fff;
}

.site-footer {
  background: #000;
  justify-content: space-between;
}

.site-footer__logo {
  width: 56px;
  height: 56px;
}

.wordmark {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 30px);
  display: inline-flex;
  align-items: baseline;
  color: var(--main);
}

.wordmark--light {
  color: #fff;
}

.wordmark .accent-a {
  color: var(--accent);
  display: inline-block;
  transform: rotate(180deg);
}

.wordmark .accent-dot {
  color: var(--accent);
}

/* hero */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  padding: 96px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90vh;
}

.hero__bg {
  position: absolute;
  top: -26%;
  bottom: -26%;
  left: -26%;
  right: -26%;
  background-image: url("assets/dSlider_hero_BG.svg");
  background-size: cover;
  background-position: center right;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

@media (max-width: 640px) {
  .hero__bg {
    background-size: 240% auto;
    background-position: 75% 10%;
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  max-width: 900px;
  text-align: left;
}

.hero__logo {
  width: 100%;
  max-width: 480px;
}

.hero__desc {
  color: var(--accent);
  font-size: clamp(16px, 2vw, 24px);
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.hero__badge {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: #f9314f;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: visible;
}

.hero__badge-icon {
  width: 84%;
  height: 84%;
  object-fit: contain;
}

.hero__badge-ds {
  position: absolute;
  top: -8px;
  left: -6px;
  background: #2b3b40;
  color: #fff;
  font-family: var(--font-title);
  font-size: 0.8rem;
  line-height: 1;
  padding: 3px 6px 4px;
  border-radius: 4px;
  transform: rotate(-8deg);
}

.hero__play {
  background: #0c2831;
  border-radius: 10px;
  padding: 12px 20px;
  font-size: clamp(15px, 1.6vw, 20px);
}

.hero__play .play-label {
  color: #98ff59;
}

.hero__play .play-url {
  color: #f9314f;
  font-weight: 700;
}

/* showcase */

.showcase {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 32px;
  min-height: 850px;
  background: linear-gradient(-6.06deg, #2b3b40 0.7%, #07252f 98%);
}

.showcase__bg {
  position: absolute;
  top: -25%;
  bottom: -25%;
  left: -10%;
  right: -10%;
  background-image: url("assets/dSlider_preview_BG.svg");
  background-size: cover;
  background-position: center;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

.showcase__track {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}

.showcase__frame {
  position: relative;
  width: 231px;
  max-width: 40vw;
  flex-shrink: 0;
}

.showcase__frame img {
  width: 100%;
  height: auto;
}

@media (max-width: 640px) {
  .showcase {
    padding-left: 0;
    padding-right: 0;
  }

  .showcase__track {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 16px;
    scroll-snap-type: x proximity;
    width: 100vw;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .showcase__track::-webkit-scrollbar {
    display: none;
  }

  .showcase__frame {
    max-width: 55vw;
    scroll-snap-align: center;
  }

  .showcase__frame:first-child {
    margin-left: 22vw;
  }

  .showcase__frame:last-child {
    margin-right: 22vw;
  }
}

/* story */

.story {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  padding: 96px 32px;
  display: flex;
  flex-direction: column;
  gap: 56px;
  align-items: center;
}

.story__ghost {
  position: absolute;
  left: 0;
  top: 0;
  width: 58%;
  max-width: 760px;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

.story__landscape {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 1000px;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

.story__block {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.story__block h2 {
  font-family: var(--font-display);
  color: #fff;
  text-transform: uppercase;
  font-size: clamp(22px, 3vw, 32px);
}

.story__block p {
  color: var(--accent);
  font-size: 18px;
}
