/* Final homepage alignment and offer polish. Loaded after the legacy layers. */

/* Hero: keep the preview close to the copy and use a calm cross-fade only. */
.hero-split-layout {
  gap: clamp(36px, 4vw, 68px) !important;
}

.hero-visual-layer-side {
  right: clamp(92px, 9vw, 170px) !important;
  width: min(49vw, 760px) !important;
}

.menu-slide {
  transform: none !important;
  filter: drop-shadow(0 20px 54px rgba(0, 0, 0, .36)) drop-shadow(0 0 38px rgba(255, 40, 80, .14)) !important;
  transition: opacity .42s ease !important;
}

.menu-slide.is-active {
  transform: none !important;
  animation: none !important;
}

/* Three meaningful platform stats after removing Live products. */
.home-stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.home-stat:nth-child(3) {
  border-right: 0;
}

/* The pin centre now maps one-to-one to COBE's projected endpoint. */
.world-cobe-wrapper .world-region-pin {
  translate: none !important;
  transform: translate(-50%, -50%) !important;
  width: 24px !important;
  height: 24px !important;
}

.world-cobe-wrapper .world-region-pin .world-region-dot {
  width: 13px !important;
  height: 13px !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .1), 0 0 18px rgba(255, 42, 80, .72) !important;
}

.world-cobe-wrapper .world-region-pin .world-region-dot::after {
  inset: -5px !important;
}

/* Welcome coupon: compact split card with a clear offer hierarchy. */
.discount-popup-backdrop {
  padding: 20px !important;
  background: rgba(2, 2, 4, .78) !important;
  backdrop-filter: blur(14px) !important;
}

.discount-popup {
  width: min(720px, 100%) !important;
  min-height: 386px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  overflow: hidden;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 24px !important;
  background: #0d0d11 !important;
  box-shadow: 0 40px 130px rgba(0, 0, 0, .72), 0 0 0 1px rgba(240, 56, 75, .03) inset !important;
}

.discount-popup::before {
  content: none !important;
}

.discount-popup-close {
  top: 15px !important;
  right: 15px !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  color: rgba(255, 255, 255, .72);
  background: rgba(9, 9, 12, .72) !important;
  backdrop-filter: blur(10px);
}

.discount-popup-art {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, .08);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, .14), transparent 25%),
    radial-gradient(circle at 80% 80%, rgba(255, 20, 62, .55), transparent 52%),
    linear-gradient(145deg, #e82842, #801123 72%, #30060e);
}

.discount-popup-art::before,
.discount-popup-art::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
}

.discount-popup-art::before { width: 250px; height: 250px; left: -118px; top: -94px; }
.discount-popup-art::after { width: 180px; height: 180px; right: -112px; bottom: -68px; }

.discount-popup-art small,
.discount-popup-art strong,
.discount-popup-art span {
  position: relative;
  z-index: 1;
}

.discount-popup-art small {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, .68);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.discount-popup-art strong {
  color: #fff;
  font-size: 76px;
  line-height: .86;
  letter-spacing: -6px;
  text-shadow: 0 16px 38px rgba(0, 0, 0, .25);
}

.discount-popup-art span {
  margin-top: 10px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  color: #fff;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  background: rgba(0, 0, 0, .16);
}

.discount-popup-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px 40px 36px;
}

.discount-popup-badge {
  margin-bottom: 15px !important;
  font-size: 10px !important;
  letter-spacing: 1.4px !important;
}

.discount-popup h2 {
  max-width: 390px !important;
  margin-bottom: 13px !important;
  font-size: clamp(31px, 4vw, 43px) !important;
  line-height: 1.02 !important;
  letter-spacing: -1.8px !important;
}

.discount-popup p {
  margin-bottom: 21px !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.discount-popup-form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px !important;
}

.discount-popup-form input,
.discount-popup-form button {
  min-height: 50px !important;
  border-radius: 11px !important;
}

.discount-popup-form button {
  padding-inline: 18px !important;
  white-space: nowrap;
}

.discount-popup-error {
  margin-top: 7px !important;
}

.discount-popup-note {
  margin-top: 8px !important;
}

.discount-popup-success .btn {
  align-self: flex-start;
  min-height: 49px;
  padding-inline: 20px;
}

@media (max-width: 1050px) {
  .hero-visual-layer-side {
    right: -2% !important;
    width: 104% !important;
  }
}

@media (max-width: 760px) {
  .home-stats-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .home-stat:nth-child(2) { border-right: 0; }
  .home-stat:nth-child(3) {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }

  .discount-popup {
    min-height: 0;
    grid-template-columns: 1fr;
    border-radius: 21px !important;
  }

  .discount-popup-art {
    min-height: 125px;
    flex-direction: row;
    gap: 11px;
    padding: 23px 64px 23px 24px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .discount-popup-art small { margin: 0; }
  .discount-popup-art strong { font-size: 54px; letter-spacing: -4px; }
  .discount-popup-art span { margin: 0; }
  .discount-popup-content { padding: 27px 22px 24px; }
  .discount-popup-form { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .home-stats-grid { grid-template-columns: 1fr !important; }
  .home-stat:nth-child(3) { grid-column: auto; }
  .discount-popup-backdrop { padding: 12px !important; }
  .discount-popup-art { min-height: 108px; padding-left: 18px; gap: 8px; }
  .discount-popup-art small { display: none; }
  .discount-popup-art strong { font-size: 50px; }
  .discount-popup h2 { font-size: 29px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .menu-slide { transition: none !important; }
}
