.home-split-feature,
.home-split-feature * {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

.home-split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: clamp(28rem, 52vw, 42rem);
  padding: 0 !important;
  overflow: hidden;
  isolation: isolate;
}

.home-split-media,
.home-model-stage,
.home-split-copy {
  min-width: 0;
  min-height: 100%;
}

.home-split-media {
  position: relative;
  background: #020617;
}

.home-split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 58%, rgba(9, 16, 30, .34));
}

.home-split-media img {
  width: 100%;
  height: 100%;
  min-height: clamp(28rem, 52vw, 42rem);
  display: block;
  object-fit: cover;
  object-position: center;
}

.home-split-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5.5rem);
  text-align: center;
  background:
    radial-gradient(circle at 22% 20%, rgba(14, 165, 233, .15), transparent 34%),
    linear-gradient(145deg, rgba(15, 23, 42, .98), rgba(6, 13, 27, .98));
}

.home-feature-kicker {
  margin: 0 0 1rem;
  color: #7dd3fc;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.home-split-copy h2 {
  margin: 0;
  max-width: 11ch;
  color: #f8fafc;
  font-size: clamp(2.1rem, 4.5vw, 4.75rem);
  font-weight: 900;
  line-height: 1.03;
  text-wrap: balance;
  text-shadow: 0 14px 36px rgba(2, 6, 23, .54);
}

.fade-on-scroll.home-customer-care {
  width: 57.4%;
  max-width: 72rem;
  min-height: clamp(19.6rem, 37.8vw, 30.25rem);
  margin: 3.6rem auto;
}

.home-customer-care .home-split-media img {
  min-height: clamp(19.6rem, 37.8vw, 30.25rem);
}

.home-customer-care .home-split-copy {
  padding: clamp(1.5rem, 3.4vw, 3.7rem);
}

.home-customer-care .home-split-copy h2 {
  font-size: clamp(1.75rem, 3.15vw, 3.45rem);
}

.home-customer-care-cta {
  margin-top: 1.35rem;
}

.home-feature-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.75rem;
  padding: .85rem 1.35rem;
  border: 1px solid rgba(125, 211, 252, .32);
  border-radius: 999px;
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(2, 132, 199, .25);
  transition: transform .18s ease, box-shadow .18s ease;
}

.home-feature-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(14, 165, 233, .32);
}

.home-ucraft-copy {
  order: 1;
}

.home-ucraft-feature,
.home-ucraft-feature .home-model-stage,
.home-ucraft-feature .home-model-stage model-viewer {
  min-height: clamp(24rem, 44.2vw, 35.7rem);
}

.home-ucraft-feature .home-split-copy {
  padding-block: clamp(2rem, 4vw, 4.25rem);
}

.home-model-stage {
  position: relative;
  order: 2;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  min-height: clamp(28rem, 52vw, 42rem);
  background:
    radial-gradient(circle at 50% 44%, rgba(14, 165, 233, .24), transparent 38%),
    linear-gradient(145deg, #071225, #020617);
}

.home-model-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image:
    linear-gradient(rgba(125, 211, 252, .15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, .15) 1px, transparent 1px);
  background-size: 32px 32px;
}

.home-model-stage model-viewer {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: clamp(28rem, 52vw, 42rem);
  background: transparent;
  --poster-color: transparent;
}

.home-gaming-feature {
  position: relative;
  min-height: clamp(31rem, 43vw, 36rem);
  padding: 0 !important;
  overflow: hidden;
  isolation: isolate;
}

.home-gaming-videos,
.home-gaming-video,
.home-gaming-scrim {
  position: absolute;
  inset: 0;
}

.home-gaming-videos {
  z-index: 0;
  background: #020617 url("../images/gaming/atlas-action-bg.webp") center / cover no-repeat;
}

.home-gaming-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: saturate(.9) contrast(1.04);
  transition: opacity 1.25s ease;
}

.home-gaming-video.is-active {
  opacity: 1;
}

.home-gaming-scrim {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, .92), rgba(2, 6, 23, .72) 48%, rgba(2, 6, 23, .86)),
    linear-gradient(180deg, rgba(15, 23, 42, .2), rgba(2, 6, 23, .58));
}

.home-gaming-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15.5rem, 20rem);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  min-height: inherit;
  padding: clamp(2.5rem, 5vw, 5rem);
}

.home-gaming-copy {
  max-width: 42rem;
}

.home-gaming-kicker {
  margin: 0 0 .9rem;
  color: #c4b5fd;
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.home-gaming-copy h2 {
  margin: 0;
  color: #fbbf24;
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 900;
  line-height: .98;
  text-shadow: 0 12px 34px rgba(0, 0, 0, .65);
}

.home-gaming-description {
  max-width: 40rem;
  margin: 1.25rem 0 0;
  color: #bae6fd;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.75;
  text-shadow: 0 3px 16px rgba(0, 0, 0, .75);
}

.home-gaming-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.65rem;
}

.home-gaming-action,
.home-gaming-plan {
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease, filter .2s ease;
}

.home-gaming-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 9.25rem;
  padding: .82rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(2, 6, 23, .42);
  backdrop-filter: blur(10px);
}

.home-gaming-action--primary {
  background: rgba(14, 165, 233, .72);
  border-color: rgba(125, 211, 252, .74);
}

.home-gaming-action--secondary {
  background: rgba(16, 185, 129, .68);
  border-color: rgba(110, 231, 183, .72);
}

.home-gaming-action:hover,
.home-gaming-action:focus-visible {
  transform: translateY(-3px) scale(1.025);
  filter: brightness(1.16);
  box-shadow: 0 18px 38px rgba(14, 165, 233, .34);
}

.home-gaming-plans {
  display: grid;
  gap: 1rem;
}

.home-gaming-plan {
  display: flex;
  flex-direction: column;
  padding: 1.2rem;
  border: 1px solid rgba(125, 211, 252, .38);
  border-radius: 1.15rem;
  color: #fff;
  box-shadow: 0 18px 38px rgba(2, 6, 23, .46);
  backdrop-filter: blur(12px);
}

.home-gaming-plan--premium {
  background: linear-gradient(145deg, rgba(3, 105, 161, .5), rgba(15, 23, 42, .78));
}

.home-gaming-plan--plus {
  border-color: rgba(110, 231, 183, .42);
  background: linear-gradient(145deg, rgba(4, 120, 87, .48), rgba(15, 23, 42, .78));
}

.home-gaming-plan:hover,
.home-gaming-plan:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, .78);
  background-color: rgba(30, 41, 59, .82);
  box-shadow: 0 22px 44px rgba(14, 165, 233, .24), 0 0 0 1px rgba(255, 255, 255, .12);
}

.home-gaming-plan-name {
  color: #a5f3fc;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.home-gaming-plan--plus .home-gaming-plan-name {
  color: #a7f3d0;
}

.home-gaming-plan-price {
  margin-top: .45rem;
  color: #f8fafc;
  font-size: 1.85rem;
  font-weight: 900;
}

.home-gaming-plan-description {
  margin-top: .55rem;
  color: #dbeafe;
  font-size: .86rem;
  line-height: 1.5;
}

.hot-products-section.home-marketplace-media {
  --marketplace-gap: clamp(1rem, 2.5vw, 2.25rem);
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: var(--marketplace-gap) !important;
  padding-inline: var(--marketplace-gap) !important;
  overflow: visible !important;
}

.home-marketplace-media .hot-products-video,
.home-marketplace-media .hot-products-carousel {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.home-marketplace-media #hot-video-carousel,
.home-marketplace-media .carousel-theme-border,
.home-marketplace-media .section-carousel,
.home-marketplace-media .carousel-track {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
}

.home-marketplace-media #hot-video-carousel video,
.home-marketplace-media .video-hot-product {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: contain !important;
}

@media (min-width: 761px) {
  .home-marketplace-media .hot-products-carousel {
    aspect-ratio: auto;
    overflow: visible;
  }

  .home-marketplace-media .hot-products-carousel .carousel-theme-border,
  .home-marketplace-media .hot-products-carousel .section-carousel {
    height: auto !important;
  }

  .home-marketplace-media .hot-products-carousel .carousel-track {
    flex: none !important;
    height: auto !important;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 760px) {
  .home-split-feature {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .home-split-media img,
  .home-model-stage,
  .home-model-stage model-viewer {
    min-height: 24rem;
  }

  .home-split-copy {
    min-height: 22rem;
    padding: 2.4rem 1.25rem;
  }

  .home-split-copy h2 {
    max-width: 14ch;
  }

  .fade-on-scroll.home-customer-care {
    width: calc(100% - 1rem);
    margin: 2.8rem auto;
  }

  .home-customer-care .home-split-media img {
    min-height: 16.5rem;
    max-height: 16.5rem;
  }

  .home-customer-care .home-split-copy {
    min-height: 16rem;
    padding: 1.8rem 1rem;
  }

  .home-customer-care .home-split-copy h2 {
    font-size: clamp(1.75rem, 9vw, 2.65rem);
  }

  .home-ucraft-copy {
    order: 1;
  }

  .home-model-stage {
    order: 2;
  }

  .home-ucraft-feature .home-split-copy {
    min-height: 18.5rem;
  }

  .home-ucraft-feature .home-model-stage,
  .home-ucraft-feature .home-model-stage model-viewer {
    min-height: 20.5rem;
  }

  .home-gaming-feature {
    min-height: 0;
  }

  .home-gaming-scrim {
    background: linear-gradient(180deg, rgba(2, 6, 23, .88), rgba(2, 6, 23, .74) 48%, rgba(2, 6, 23, .91));
  }

  .home-gaming-content {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    min-height: 42rem;
    padding: 2.4rem 1.2rem;
  }

  .home-gaming-copy h2 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .home-gaming-actions,
  .home-gaming-plans {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-gaming-action {
    min-width: 0;
    width: 100%;
    padding-inline: .75rem;
  }

  .home-gaming-plan {
    min-width: 0;
    padding: 1rem .8rem;
  }

  .home-gaming-plan-price {
    font-size: clamp(1.35rem, 6vw, 1.7rem);
  }

  .hot-products-section.home-marketplace-media {
    display: block !important;
    width: 100%;
    max-width: 38rem;
    margin-inline: auto !important;
    padding-inline: 0 !important;
    overflow: visible !important;
  }

  .home-marketplace-media .hot-products-video {
    position: relative;
    z-index: 1;
  }

  .home-marketplace-media .hot-products-carousel {
    position: absolute !important;
    right: .55rem;
    bottom: .55rem;
    z-index: 5;
    width: clamp(6rem, 30vw, 8rem) !important;
    border-radius: .8rem;
    background: rgba(2, 6, 23, .84);
    box-shadow: 0 10px 28px rgba(2, 6, 23, .72);
  }

  .home-marketplace-media .carousel-theme-border {
    padding: 2px !important;
    border-radius: .8rem !important;
  }

  .home-marketplace-media .carousel-caption,
  .home-marketplace-media .carousel-dots {
    display: none !important;
  }

  .home-marketplace-media .carousel-arrow {
    width: 1.35rem;
    height: 1.35rem;
    font-size: .8rem;
    color: #fff;
    border-radius: 999px;
    background: rgba(2, 6, 23, .56);
  }

  .home-marketplace-media .carousel-arrow.left {
    left: .1rem;
  }

  .home-marketplace-media .carousel-arrow.right {
    right: .1rem;
  }
}

@media (max-width: 390px) {
  .home-gaming-content {
    padding-inline: .9rem;
  }

  .home-gaming-plan-description {
    font-size: .76rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-gaming-video,
  .home-gaming-action,
  .home-gaming-plan {
    transition: none;
  }
}
