/* C22 FEATURE HERO — 2026-08-29 */
.game-hero-carousel {
  position: relative;
  isolation: isolate;
  min-height: 680px;
  overflow: hidden;
  background: #030711;
}

.game-hero-carousel::before,
.game-hero-carousel::after {
  display: none;
}

.hero-carousel-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  z-index: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 700ms ease, visibility 700ms ease;
}

.hero-slide::before,
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-slide::before {
  z-index: -2;
  background-image: var(--hero-image);
  background-position: var(--hero-position, center);
  background-size: cover;
  transform: scale(1.025);
  transition: transform 7s ease;
}

.hero-slide::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 6, 15, .98) 0%, rgba(2, 7, 17, .92) 30%, rgba(2, 7, 17, .50) 61%, rgba(2, 7, 17, .16) 100%),
    linear-gradient(0deg, rgba(2, 6, 15, .92) 0%, transparent 38%),
    linear-gradient(180deg, rgba(2, 6, 15, .38) 0%, transparent 25%);
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero-slide.is-active::before {
  transform: scale(1);
}

.game-hero-carousel .hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  padding-top: 98px;
  padding-bottom: 128px;
}

.game-hero-carousel .hero-content > * {
  max-width: 760px;
}

.game-hero-carousel .hero-kicker {
  margin-bottom: 14px;
  color: #64dcff;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  margin-bottom: 14px;
  padding: 8px 12px;
  border: 1px solid rgba(63, 193, 255, .42);
  border-radius: 999px;
  background: rgba(0, 119, 255, .18);
  box-shadow: inset 0 0 18px rgba(0, 174, 255, .08);
  color: #d8f5ff;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #32d7ff;
  box-shadow: 0 0 12px #00aaff;
}

.game-hero-carousel .hero-content h1 {
  max-width: 900px;
  margin: 0 0 20px;
  font-size: clamp(3.8rem, 6.6vw, 7.2rem);
  line-height: .87;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.game-hero-carousel .hero-content h1 span {
  display: block;
  color: #21bfff;
  text-shadow: 0 0 32px rgba(0, 165, 255, .32);
}

.game-hero-carousel .hero-content > p:not(.eyebrow) {
  margin: 0 0 22px;
  color: #c3cfdf;
  font-size: 1.05rem;
  line-height: 1.75;
  text-shadow: 0 2px 15px rgba(0, 0, 0, .75);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}

.hero-tags span {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 7px;
  background: rgba(4, 10, 21, .56);
  backdrop-filter: blur(8px);
  color: #dfe8f3;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.game-hero-carousel .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.game-hero-carousel .hero-actions .button {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 9px;
}

.game-hero-carousel .hero-primary {
  border-color: #14baff;
  background: linear-gradient(135deg, #17c5ff, #087cff);
  box-shadow: 0 14px 35px rgba(0, 129, 255, .28), inset 0 1px rgba(255, 255, 255, .28);
  color: #fff;
}

.game-hero-carousel .hero-primary:hover {
  border-color: #6edcff;
  box-shadow: 0 17px 44px rgba(0, 155, 255, .38), inset 0 1px rgba(255, 255, 255, .32);
  transform: translateY(-2px);
}

.game-hero-carousel .button.secondary {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(4, 10, 20, .58);
  backdrop-filter: blur(10px);
  color: #fff;
}

.game-hero-carousel .button.is-disabled {
  cursor: default;
  opacity: .68;
  filter: saturate(.55);
  pointer-events: none;
}

.hero-carousel-controls {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 32px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-arrows {
  display: flex;
  gap: 8px;
}

.hero-arrows button {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: rgba(2, 8, 17, .62);
  backdrop-filter: blur(10px);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  cursor: pointer;
  transition: .2s ease;
}

.hero-arrows button:hover,
.hero-arrows button:focus-visible {
  border-color: #32c9ff;
  background: rgba(0, 143, 255, .24);
  color: #60dcff;
  outline: none;
  transform: translateY(-1px);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dots button {
  width: 34px;
  height: 4px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, .3);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}

.hero-dots button:hover,
.hero-dots button:focus-visible {
  background: rgba(102, 219, 255, .72);
  outline: 2px solid rgba(77, 207, 255, .35);
  outline-offset: 4px;
}

.hero-dots button.is-active {
  width: 54px;
  background: linear-gradient(90deg, #21c4ff, #0b7fff);
}

.hero-count {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 0 0 0 auto;
  color: #7d8ba0;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.hero-count strong {
  color: #fff;
  font-size: 1.15rem;
}

@media (max-width: 860px) {
  .game-hero-carousel {
    min-height: 650px;
  }

  .hero-slide {
    align-items: flex-end;
  }

  .hero-slide::after {
    background:
      linear-gradient(0deg, rgba(2, 6, 15, .99) 0%, rgba(2, 6, 15, .9) 48%, rgba(2, 6, 15, .30) 100%),
      linear-gradient(90deg, rgba(2, 6, 15, .65), transparent);
  }

  .game-hero-carousel .hero-content {
    padding-top: 128px;
    padding-bottom: 118px;
  }

  .game-hero-carousel .hero-content h1 {
    font-size: clamp(3rem, 13.5vw, 5rem);
  }

  .game-hero-carousel .hero-content > p:not(.eyebrow) {
    font-size: .96rem;
    line-height: 1.6;
  }

  .hero-carousel-controls {
    bottom: 24px;
  }
}

@media (max-width: 560px) {
  .game-hero-carousel {
    min-height: 690px;
  }

  .hero-slide::before {
    background-position: center top;
  }

  .game-hero-carousel .hero-content {
    padding-bottom: 124px;
  }

  .game-hero-carousel .hero-content h1 {
    margin-bottom: 16px;
  }

  .game-hero-carousel .hero-kicker {
    font-size: .68rem;
  }

  .hero-badge {
    padding: 6px 10px;
  }

  .hero-tags {
    margin-bottom: 22px;
  }

  .game-hero-carousel .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .game-hero-carousel .hero-actions .button {
    justify-content: center;
    width: 100%;
  }

  .hero-arrows {
    display: none;
  }

  .hero-dots {
    gap: 6px;
  }

  .hero-dots button {
    width: 24px;
  }

  .hero-dots button.is-active {
    width: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide::before,
  .hero-arrows button,
  .hero-dots button {
    transition: none;
  }
}
