html,
body {
  overflow-x: hidden;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 1rem 0;
  z-index: 20;
  background: rgba(6, 9, 14, 0.4);
  backdrop-filter: blur(10px);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.logo {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.38em;
  color: rgba(255, 255, 255, 0.95);
}

.nav-icons {
  display: flex;
  gap: 0.5rem;
  padding: 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(6, 9, 14, 0.4);
  backdrop-filter: blur(10px);
}

.icon-link,
.icon-button {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: background 0.22s ease, transform 0.22s ease;
}

.icon-link:hover,
.icon-button:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.icon-link img,
.icon-button img {
  width: 20px;
  height: 20px;
  opacity: 0.92;
}

.icon-button {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #111318;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: clamp(7rem, 14vh, 9rem) 0 3rem;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 50% 18%, rgba(183, 194, 216, 0.18), transparent 20%),
    radial-gradient(circle at 50% 58%, rgba(255, 255, 255, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(10, 14, 20, 0.12), rgba(3, 4, 7, 0.75)),
    url("../assets/images/hero-background-texture.webp") center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 4, 7, 0.18), rgba(3, 4, 7, 0.56)),
    radial-gradient(circle at 50% 90%, rgba(0, 0, 0, 0.6), transparent 40%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.25rem;
}

.brand-tag::before,
.brand-tag::after {
  content: "";
  width: 52px;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.9rem);
  font-weight: 700;
  max-width: 11ch;
  margin: 0 auto 1rem;
}

.hero-subtitle {
  max-width: 42ch;
  margin: 0 auto 1.8rem;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  color: var(--color-text-secondary);
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.9rem;
}

.hero-products {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 2rem));
  margin: clamp(2rem, 6vh, 4rem) auto 0;
  min-height: clamp(260px, 38vw, 470px);
}

.product {
  position: absolute;
  height: auto;
  filter: drop-shadow(0 30px 48px rgba(0, 0, 0, 0.45));
  transform-origin: center;
}

.console {
  left: 50%;
  bottom: 0;
  width: min(54vw, 740px);
  transform: translateX(-50%);
  z-index: 3;
}

.controller {
  left: 11%;
  bottom: 2rem;
  width: min(17vw, 220px);
  transform: rotate(-10deg);
  z-index: 2;
}

.headset {
  right: 11%;
  bottom: 2.4rem;
  width: min(18vw, 250px);
  transform: rotate(10deg);
  z-index: 2;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-bottom: 2.5rem;
  }

  .hero-products {
    min-height: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    gap: 0.75rem;
  }

  .product {
    position: static;
    transform: none;
  }

  .console {
    width: min(86vw, 560px);
    order: 2;
  }

  .controller,
  .headset {
    width: min(29vw, 180px);
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 0.85rem 0;
  }

  .logo {
    font-size: 0.82rem;
    letter-spacing: 0.28em;
  }

  .hero {
    padding-top: 6.25rem;
  }

  .brand-tag::before,
  .brand-tag::after {
    width: 34px;
  }

  .hero-title {
    font-size: clamp(2.3rem, 11vw, 3.4rem);
  }

  .hero-subtitle {
    max-width: 30ch;
    font-size: 0.98rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .console {
    width: min(88vw, 460px);
  }

  .controller,
  .headset {
    width: min(32vw, 145px);
  }
}
