/* Keep decorative overflow out of the homepage viewport, including on iOS. */
html.home-root {
  overflow-x: hidden;
  overflow-x: clip;
}

body.home-page {
  min-width: 0;
  width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

.home-page main {
  display: flex;
  flex-direction: column;
}

.home-page main > .hero { order: 0; }
.partner-banner[data-home-banners] .partner-banner-link{aspect-ratio:var(--banner-ratio)}.partner-banner[data-home-banners] .partner-banner-link img{object-fit:contain}@media(max-width:680px){.partner-banner[data-home-banners] .partner-banner-link{aspect-ratio:var(--banner-mobile-ratio)}}
.partner-banner[data-banner-count="2"] .partner-banner-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:center}.partner-banner[data-banner-count="2"] .partner-banner-link{width:100%}.wpeek-context .wpeek-partner-banner[data-banner-count="1"] .wpeek-partner-banner-grid{grid-template-columns:minmax(0,720px);justify-content:center}.wpeek-context .wpeek-partner-banner-link picture{display:block;width:100%;height:100%}@media(max-width:680px){.partner-banner[data-banner-count="2"] .partner-banner-grid{grid-template-columns:1fr;gap:18px}}
.home-page main > :is(.wpeek-partner-banner, .partner-banner, .announcement) { order: 1; }
.home-page main > .live-section { order: 2; }
.home-page main > .home-youtube { order: 3; }
.home-page main > .home-ecosystem { order: 4; }
.home-page main > .socials-section { order: 5; }

.home-page main,
.home-page .container,
.home-page .hero-copy,
.home-page .live-layout > *,
.home-page .section-heading > *,
.home-page .social-card > span,
.home-page .footer-grid > * {
  min-width: 0;
}

.home-page .live-section {
  /* The 520px signal glow must not enlarge narrow mobile viewports. */
  overflow: hidden;
  overflow: clip;
}

.home-page .section-heading h2,
.home-page .social-card strong,
.home-page .channel-info strong,
.home-page .announcement p {
  overflow-wrap: anywhere;
}

@media (max-width: 980px) {
  .home-page .live-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-page .channel-list,
  .home-page .social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .home-page .live-section::before {
    left: 0;
    width: min(100%, 520px);
    height: auto;
    aspect-ratio: 1;
  }

  .home-page .channel-list,
  .home-page .social-grid,
  .home-page .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-page .channel-card {
    grid-template-columns: 26px 48px minmax(0, 1fr) 22px;
  }

  .home-page .social-card {
    min-height: 80px;
    grid-template-columns: 38px minmax(0, 1fr) 24px;
    gap: 12px;
    padding: 14px 16px;
  }

  .home-page .social-card .social-icon {
    grid-column: 1;
    grid-row: 1;
    width: 38px;
    height: 38px;
  }

  .home-page .social-card > span:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .home-page .social-card .social-arrow {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    font-size: 18px;
  }
}

.home-ecosystem {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(82px, 9vw, 132px) 0;
  border-block: 1px solid rgba(57, 255, 106, 0.16);
  background:
    radial-gradient(circle at 14% 4%, rgba(57, 255, 106, 0.1), transparent 29%),
    radial-gradient(circle at 92% 72%, rgba(57, 255, 106, 0.055), transparent 27%),
    linear-gradient(180deg, rgba(4, 10, 7, 0.38), rgba(3, 7, 5, 0.94));
}

.home-ecosystem::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(57, 255, 106, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 255, 106, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 86%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 86%, transparent);
}

.home-ecosystem-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(34px, 4vw, 52px);
}

.home-ecosystem-head > div > p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.home-ecosystem-head > div > p::before {
  width: 7px;
  height: 7px;
  content: "";
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--accent);
}

.home-ecosystem-head h2 {
  margin: 0;
  color: #f4f7f5;
  font-size: clamp(42px, 5.5vw, 76px);
  font-style: italic;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.home-ecosystem-head h2 span {
  color: var(--accent);
  text-shadow: 0 0 40px rgba(57, 255, 106, 0.14);
}

.home-ecosystem-head > p {
  max-width: 330px;
  margin: 0 0 4px;
  color: rgba(222, 233, 225, 0.58);
  font-size: 15px;
  line-height: 1.55;
  text-align: right;
}

.home-ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
}

.home-ecosystem-card {
  position: relative;
  isolation: isolate;
  display: flex;
  min-width: 0;
  min-height: 258px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 23px;
  color: #f4f7f5;
  background:
    radial-gradient(circle at 82% 17%, rgba(57, 255, 106, 0.07), transparent 34%),
    linear-gradient(145deg, rgba(13, 23, 17, 0.96), rgba(5, 10, 7, 0.98));
  border: 1px solid rgba(215, 237, 222, 0.13);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 16px 44px rgba(0, 0, 0, 0.16);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.home-ecosystem-card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, transparent 42%, rgba(3, 8, 5, 0.88) 84%),
    linear-gradient(90deg, rgba(4, 9, 6, 0.55), transparent 62%);
}

.home-ecosystem-card::after {
  position: absolute;
  z-index: -1;
  right: -74px;
  bottom: -100px;
  width: 220px;
  height: 220px;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle, rgba(57, 255, 106, 0.16), transparent 68%);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.78);
  transition: opacity 180ms ease, transform 220ms ease;
}

.home-ecosystem-card:hover,
.home-ecosystem-card:focus-visible {
  z-index: 2;
  border-color: rgba(57, 255, 106, 0.58);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.33), inset 0 0 0 1px rgba(57, 255, 106, 0.07);
  outline: none;
  transform: translateY(-4px);
}

.home-ecosystem-card:hover::after,
.home-ecosystem-card:focus-visible::after {
  opacity: 1;
  transform: scale(1);
}

.home-ecosystem-card--shop {
  grid-column: span 7;
  min-height: 334px;
}

.home-ecosystem-card--cases {
  grid-column: span 5;
  min-height: 334px;
}

.home-ecosystem-card--vip,
.home-ecosystem-card--training,
.home-ecosystem-card--inventory {
  grid-column: span 4;
}

.home-ecosystem-card--shortcut {
  grid-column: span 6;
  min-height: 154px;
  justify-content: center;
  padding-left: 92px;
}

.home-ecosystem-tag {
  position: absolute;
  z-index: 5;
  top: 20px;
  left: 20px;
  display: inline-flex;
  min-height: 33px;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  color: rgba(229, 241, 233, 0.76);
  background: rgba(3, 9, 5, 0.7);
  border: 1px solid rgba(57, 255, 106, 0.21);
  border-radius: 10px;
  backdrop-filter: blur(8px);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.home-ecosystem-tag i {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: var(--accent);
  font-style: normal;
}

.home-ecosystem-tag .ui-icon {
  width: 15px;
  height: 15px;
}

.home-ecosystem-arrow {
  position: absolute;
  z-index: 6;
  top: 20px;
  right: 20px;
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  color: rgba(238, 247, 241, 0.5);
  background: rgba(3, 9, 5, 0.52);
  border: 1px solid rgba(238, 247, 241, 0.11);
  border-radius: 50%;
  backdrop-filter: blur(7px);
  font-size: 16px;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.home-ecosystem-card:hover .home-ecosystem-arrow,
.home-ecosystem-card:focus-visible .home-ecosystem-arrow {
  color: #031006;
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(8deg);
}

.home-ecosystem-copy {
  position: relative;
  z-index: 4;
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.home-ecosystem-copy small {
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 9px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.12em !important;
}

.home-ecosystem-copy strong {
  overflow-wrap: anywhere;
  font-size: clamp(23px, 2.4vw, 34px);
  font-weight: 760;
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.home-ecosystem-card--shop .home-ecosystem-copy strong,
.home-ecosystem-card--cases .home-ecosystem-copy strong {
  font-size: clamp(30px, 3.2vw, 44px);
}

.home-ecosystem-copy em {
  max-width: 330px;
  margin-top: 8px;
  color: rgba(218, 230, 222, 0.6);
  font-size: 12px;
  font-style: normal;
  line-height: 1.5;
}

.home-ecosystem-art {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.home-ecosystem-art img {
  position: absolute;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.54));
  transition: transform 260ms ease;
}

.home-ecosystem-art--shop {
  top: 25px;
  right: 3px;
  width: 62%;
  height: 78%;
}

.home-ecosystem-art--shop::before,
.home-ecosystem-art--case::before,
.home-ecosystem-art--training::before,
.home-ecosystem-art--inventory::before {
  position: absolute;
  inset: 7% 3%;
  content: "";
  background: radial-gradient(circle, rgba(57, 255, 106, 0.14), transparent 66%);
  border: 1px solid rgba(57, 255, 106, 0.09);
  border-radius: 50%;
}

.home-shop-knife {
  top: 0;
  right: 16%;
  width: 47%;
  opacity: 0.8;
  transform: rotate(11deg);
}

.home-shop-awp {
  top: 28%;
  right: -2%;
  width: 70%;
  opacity: 0.72;
  transform: rotate(-4deg);
}

.home-shop-rifle {
  right: 8%;
  bottom: -4%;
  width: 76%;
  transform: rotate(2deg);
}

.home-ecosystem-card--shop:hover .home-shop-rifle,
.home-ecosystem-card--shop:focus-visible .home-shop-rifle {
  transform: translate(-7px, -3px) rotate(0);
}

.home-ecosystem-art--case {
  top: 28px;
  right: -6%;
  width: 94%;
  height: 76%;
}

.home-ecosystem-art--case::before {
  inset: 6% 13% 4%;
}

.home-ecosystem-art--case img {
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-ecosystem-card--cases:hover .home-ecosystem-art--case img,
.home-ecosystem-card--cases:focus-visible .home-ecosystem-art--case img {
  transform: scale(1.035) translateY(-4px);
}

.home-ecosystem-art--vip {
  top: 59px;
  right: 13px;
  left: 13px;
  display: grid;
  height: 85px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 4px;
}

.home-ecosystem-art--vip img {
  position: static;
  width: 100%;
  max-height: 65px;
}

.home-ecosystem-art--vip img:nth-child(2) {
  transform: translateY(6px);
}

.home-ecosystem-card--vip:hover .home-ecosystem-art--vip img:nth-child(2),
.home-ecosystem-card--vip:focus-visible .home-ecosystem-art--vip img:nth-child(2) {
  transform: translateY(1px) scale(1.04);
}

.home-ecosystem-art--training {
  top: 55px;
  right: 8px;
  left: 8px;
  display: flex;
  height: 107px;
  align-items: center;
  justify-content: center;
}

.home-ecosystem-art--training::before {
  inset: 0 26%;
}

.home-ecosystem-art--training img {
  position: relative;
  width: 34%;
  max-height: 108px;
  margin-inline: -5px;
  opacity: 0.68;
}

.home-ecosystem-art--training img:nth-child(2) {
  z-index: 2;
  width: 39%;
  opacity: 1;
  transform: translateY(-3px);
}

.home-ecosystem-card--training:hover .home-ecosystem-art--training img:nth-child(2),
.home-ecosystem-card--training:focus-visible .home-ecosystem-art--training img:nth-child(2) {
  transform: translateY(-7px) scale(1.04);
}

.home-ecosystem-art--inventory {
  top: 53px;
  right: 12px;
  left: 12px;
  height: 110px;
}

.home-ecosystem-art--inventory::before {
  inset: -5% 15% 5%;
}

.home-inventory-gun {
  z-index: 3;
  top: 22%;
  left: 18%;
  width: 66%;
}

.home-inventory-frame {
  z-index: 2;
  top: 0;
  right: 0;
  width: 34%;
  max-height: 90px;
}

.home-inventory-frame--back {
  right: auto;
  left: 0;
  opacity: 0.66;
  transform: rotate(-8deg) scale(0.86);
}

.home-ecosystem-card--inventory:hover .home-inventory-gun,
.home-ecosystem-card--inventory:focus-visible .home-inventory-gun {
  transform: translateY(-4px) scale(1.03);
}

.home-ecosystem-card--shortcut::before {
  z-index: 1;
  background: linear-gradient(90deg, rgba(4, 10, 6, 0.98) 0 48%, rgba(4, 10, 6, 0.64) 75%, rgba(4, 10, 6, 0.78));
}

.home-ecosystem-cover {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.43;
  filter: saturate(0.8) contrast(1.08);
  transition: opacity 180ms ease, transform 260ms ease;
}

.home-ecosystem-card--shortcut:hover .home-ecosystem-cover,
.home-ecosystem-card--shortcut:focus-visible .home-ecosystem-cover {
  opacity: 0.57;
  transform: scale(1.035);
}

.home-ecosystem-shortcut-icon {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 22px;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: var(--accent);
  background: rgba(4, 14, 8, 0.84);
  border: 1px solid rgba(57, 255, 106, 0.3);
  border-radius: 15px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.27), inset 0 0 16px rgba(57, 255, 106, 0.04);
  transform: translateY(-50%);
}

.home-ecosystem-shortcut-icon .ui-icon {
  width: 24px;
  height: 24px;
}

.home-ecosystem-card--shortcut .home-ecosystem-copy strong {
  font-size: 27px;
}

.home-ecosystem-card--shortcut .home-ecosystem-copy em {
  margin-top: 4px;
}

@media (max-width: 1000px) {
  .home-ecosystem-card--shop,
  .home-ecosystem-card--cases {
    grid-column: span 6;
  }

  .home-ecosystem-card--shop .home-ecosystem-copy,
  .home-ecosystem-card--cases .home-ecosystem-copy {
    max-width: 72%;
  }

  .home-ecosystem-card--vip,
  .home-ecosystem-card--training,
  .home-ecosystem-card--inventory {
    min-height: 274px;
  }
}

@media (max-width: 760px) {
  .home-ecosystem-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }

  .home-ecosystem-head h2 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .home-ecosystem-head > p {
    max-width: 300px;
    font-size: 13px;
    text-align: left;
  }

  .home-ecosystem-card--shop,
  .home-ecosystem-card--cases,
  .home-ecosystem-card--vip,
  .home-ecosystem-card--training,
  .home-ecosystem-card--inventory,
  .home-ecosystem-card--shortcut {
    grid-column: 1 / -1;
  }

  .home-ecosystem-card--shop,
  .home-ecosystem-card--cases {
    min-height: 318px;
  }

  .home-ecosystem-card--vip,
  .home-ecosystem-card--training,
  .home-ecosystem-card--inventory {
    min-height: 250px;
  }

  .home-ecosystem-card--shop .home-ecosystem-copy,
  .home-ecosystem-card--cases .home-ecosystem-copy {
    max-width: 84%;
  }

  .home-ecosystem-art--shop {
    width: 67%;
  }

  .home-ecosystem-art--case {
    right: -2%;
    width: 88%;
  }

  /* Give artwork its own row: larger text must never cover the products. */
  .home-ecosystem-card:not(.home-ecosystem-card--shortcut) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 38px var(--home-mobile-art-height, 176px) auto;
    gap: 12px;
    min-height: 0;
    align-content: start;
    justify-content: stretch;
    justify-items: stretch;
  }

  .home-ecosystem-card:not(.home-ecosystem-card--shortcut) .home-ecosystem-copy {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    max-width: 100%;
    padding-top: 15px;
    border-top: 1px solid rgba(215, 237, 222, 0.08);
  }

  .home-ecosystem-card:not(.home-ecosystem-card--shortcut) .home-ecosystem-art {
    position: relative;
    grid-column: 1 / -1;
    grid-row: 2;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    height: 100%;
    min-width: 0;
  }

  .home-ecosystem-art--shop::before,
  .home-ecosystem-art--case::before,
  .home-ecosystem-art--training::before,
  .home-ecosystem-art--inventory::before {
    border: 0;
    background: radial-gradient(ellipse, rgba(57, 255, 106, 0.12), transparent 70%);
  }

  .home-ecosystem-card--vip {
    --home-mobile-art-height: 94px;
  }

  .home-ecosystem-card--training,
  .home-ecosystem-card--inventory {
    --home-mobile-art-height: 128px;
  }

  .home-shop-knife {
    top: 0;
    right: 0;
    width: 42%;
    height: 75%;
    opacity: 0.48;
  }

  .home-shop-awp {
    top: 2%;
    right: 22%;
    width: 72%;
    height: 60%;
    opacity: 0.45;
  }

  .home-shop-rifle {
    right: 2%;
    bottom: 0;
    width: 96%;
    height: 85%;
  }

  .home-inventory-gun {
    top: 22%;
    left: 8%;
    width: 84%;
    height: 78%;
  }

  .home-inventory-frame {
    width: 29%;
    max-height: 85px;
  }
}

@media (max-width: 520px) {
  .home-ecosystem {
    padding: 52px 0;
  }

  .home-ecosystem-head {
    margin-bottom: 26px;
  }

  .home-ecosystem-head h2 {
    font-size: clamp(36px, 10.5vw, 48px);
    line-height: 0.98;
  }

  .home-ecosystem-grid {
    gap: 14px;
  }

  .home-ecosystem-card {
    padding: 18px;
    border-radius: 18px;
  }

  .home-ecosystem-card:not(.home-ecosystem-card--shortcut) {
    grid-template-rows: 36px var(--home-mobile-art-height, 158px) auto;
    gap: 10px;
  }

  .home-ecosystem-tag {
    top: 15px;
    left: 15px;
  }

  .home-ecosystem-arrow {
    top: 15px;
    right: 15px;
  }

  .home-ecosystem-copy strong,
  .home-ecosystem-card--shop .home-ecosystem-copy strong,
  .home-ecosystem-card--cases .home-ecosystem-copy strong {
    font-size: 26px;
    line-height: 1.12;
    letter-spacing: -0.035em;
  }

  .home-ecosystem-card--shop .home-ecosystem-copy,
  .home-ecosystem-card--cases .home-ecosystem-copy {
    max-width: 100%;
  }

  .home-ecosystem-copy em {
    max-width: 100%;
    font-size: 12px;
    line-height: 1.55;
  }

  .home-ecosystem-card--shortcut {
    grid-column: span 6;
    min-height: 132px;
    justify-content: flex-end;
    padding: 72px 14px 16px;
  }

  .home-ecosystem-shortcut-icon {
    top: 16px;
    left: 14px;
    width: 40px;
    height: 40px;
    transform: none;
  }

  .home-ecosystem-card--shortcut .home-ecosystem-arrow {
    top: 16px;
    right: 12px;
    width: 28px;
    height: 28px;
  }

  .home-ecosystem-card--shortcut .home-ecosystem-copy strong {
    font-size: 21px;
  }

  .home-ecosystem-card--shortcut .home-ecosystem-copy em {
    display: none;
  }

  .home-ecosystem-card--shortcut .home-ecosystem-copy small {
    display: none;
  }
}

@media (max-width: 359px) {
  .home-ecosystem-card--shortcut {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-ecosystem-card,
  .home-ecosystem-card::after,
  .home-ecosystem-arrow,
  .home-ecosystem-art img,
  .home-ecosystem-cover {
    transition: none;
  }
}
