/**
 * Hero / Main Section Styles
 * BEM block: .hero-section
 * Dual-class strategy: new BEM names alongside legacy names
 */

/* ========================================
   SECTION WRAPPER
   ======================================== */

.hero-section {
  width: 100%;
  background-color: #090909;
  display: flex;
  flex-direction: column;
  scroll-margin-top: 100px;
  padding-top: 100px;
  height: 100%;
}

/* ========================================
   HERO BLOCK
   ======================================== */

.hero {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.45) 40%,
    transparent 70%
  );
}

/* ========================================
   VIDEO BACKGROUND
   ======================================== */

.hero__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* ========================================
   CONTENT
   ======================================== */

.hero__content {
  position: absolute;
  z-index: 3;
  padding-left: 72px;
  padding-bottom: 100px;
  padding-top: 228px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.hero__title {
  font-family: var(--subfont);
  font-weight: 700;
  font-size: 64px;
  text-transform: uppercase;
  line-height: 115%;
  max-width: 1126px;
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.hero__description {
  font-family: var(--userfont);
  font-weight: 400;
  font-size: 24px;
  max-width: 614px;
  color: #ffffff;
  line-height: 150%;
  margin-top: 24px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.hero__cta {
  margin-top: 100px;
  margin-bottom: 144px;
}

.hero__cta .btn--primary {
  width: 315px;
}

/* ========================================
   GAME LOGOS
   ======================================== */

.hero__logos {
  opacity: 20%;
}

.hero__logo {
  width: 83px;
  height: auto;
}

/* ========================================
   MOBILE  (max-width: 768px)
   ======================================== */

@media (max-width: 768px) {
  .hero-section {
    padding-top: 64px;
    scroll-margin-top: 64px;
  }

  .hero__content {
    padding-left: 32px;
    justify-content: flex-end;
    padding-bottom: 43.49px;
  }

  .hero__title {
    font-size: 24px;
    line-height: 125%;
    max-width: 311px;
  }

  .hero__description {
    font-weight: 500;
    font-size: 18px;
    max-width: 311px;
    margin-top: 16px;
  }

  .hero__cta {
    margin: 32px 0;
  }

  .hero__cta .btn--primary {
    width: 182px;
  }

  .hero__logo {
    width: 42px;
  }
}
