:root {
  --promo-splash-bg: #020617;
  --promo-splash-text: #f8fafc;
  --promo-splash-muted: #cbd5e1;
  --promo-splash-mint: #34d399;
  --promo-splash-amber: #fbbf24;
}

body.promo-splash-lock {
  overflow: hidden;
}

.promo-splash[hidden] {
  display: none;
}

.promo-splash {
  position: fixed;
  z-index: 10001;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
  color: var(--promo-splash-text);
  background-color: var(--promo-splash-bg);
  background-image:
    radial-gradient(circle at 82% 10%, rgba(251, 191, 36, 0.12), transparent 23rem),
    linear-gradient(90deg, rgba(2, 6, 23, 0.98) 0%, rgba(2, 6, 23, 0.84) 38%, rgba(2, 6, 23, 0.22) 76%, rgba(2, 6, 23, 0.38) 100%),
    url("/landing/promo-splash-desktop-20260911-v2.webp");
  background-position: center, center, right center;
  background-repeat: no-repeat;
  background-size: auto, auto, auto 100%;
  opacity: 0;
  transition: opacity 180ms ease;
}

.promo-splash.is-open {
  opacity: 1;
}

.promo-splash__content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  min-height: 100%;
  max-width: min(48rem, 58vw);
  padding: clamp(34px, 7vw, 112px);
  padding-right: 24px;
}

.promo-splash__eyebrow {
  margin: 0 0 18px;
  color: var(--promo-splash-mint);
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.promo-splash__title {
  max-width: 11ch;
  margin: 0;
  color: var(--promo-splash-text);
  font-size: clamp(45px, 6vw, 88px);
  font-weight: 850;
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.promo-splash__rewards {
  display: grid;
  gap: 10px;
  margin: clamp(22px, 3vw, 36px) 0 0;
}

.promo-splash__reward {
  margin: 0;
  color: var(--promo-splash-muted);
  font-size: clamp(17px, 1.75vw, 24px);
  line-height: 1.24;
}

.promo-splash__reward strong {
  color: var(--promo-splash-mint);
  font-weight: 900;
}

.promo-splash__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(24px, 3vw, 36px);
}

.promo-splash__store,
.promo-splash__details,
.promo-splash__close,
.promo-splash__back {
  border: 0;
  font: inherit;
}

.promo-splash__store,
.promo-splash__details,
.promo-splash__back {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.promo-splash__store {
  gap: 7px;
  border: 1px solid rgba(248, 250, 252, 0.24);
  background: rgba(15, 23, 42, 0.7);
  color: var(--promo-splash-text);
  backdrop-filter: blur(10px);
}

.promo-splash__store-icon {
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  place-items: center;
}

.promo-splash__store-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.promo-splash__store:hover,
.promo-splash__details:hover,
.promo-splash__back:hover {
  transform: translateY(-2px);
}

.promo-splash__details {
  border: 1px solid rgba(248, 250, 252, 0.32);
  background: rgba(15, 23, 42, 0.68);
  color: var(--promo-splash-text);
  cursor: pointer;
  box-shadow: none;
}

.promo-splash__close {
  position: absolute;
  z-index: 3;
  top: clamp(16px, 2.2vw, 32px);
  right: clamp(16px, 2.2vw, 32px);
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(248, 250, 252, 0.22);
  border-radius: 50%;
  background: rgba(2, 6, 23, 0.64);
  color: var(--promo-splash-text);
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.promo-splash__close:hover {
  border-color: var(--promo-splash-amber);
  color: var(--promo-splash-amber);
}

.promo-splash__details-panel {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-items: center;
  overflow-y: auto;
  box-sizing: border-box;
  padding: clamp(88px, 10vw, 128px) clamp(24px, 8vw, 128px);
  text-align: center;
  background:
    radial-gradient(circle at 82% 7%, rgba(251, 191, 36, 0.12), transparent 24rem),
    linear-gradient(135deg, rgba(2, 6, 23, 0.98), rgba(7, 31, 27, 0.96));
}

.promo-splash__details-panel[hidden] {
  display: none;
}

.promo-splash__details-inner {
  width: min(780px, 100%);
}

.promo-splash__details-title {
  max-width: 16ch;
  margin: 0 0 24px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.promo-splash__amount {
  white-space: nowrap;
}

.promo-splash__details-copy,
.promo-splash__details-list,
.promo-splash__details-total {
  color: var(--promo-splash-muted);
  font-size: clamp(17px, 1.75vw, 21px);
  line-height: 1.5;
}

.promo-splash__details-panel a:not(.promo-splash__back) {
  color: var(--promo-splash-mint);
  font-weight: 850;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.promo-splash__details-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding-left: 0;
  list-style-position: inside;
}

.promo-splash__details-total {
  margin-top: 24px;
  color: var(--promo-splash-text);
}

.promo-splash__details-total strong,
.promo-splash__details-note strong {
  color: var(--promo-splash-amber);
}

.promo-splash__details-note {
  margin: 22px 0 30px;
  color: var(--promo-splash-muted);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.5;
}

.promo-splash__back {
  border: 1px solid rgba(248, 250, 252, 0.24);
  background: rgba(15, 23, 42, 0.74);
  color: var(--promo-splash-text);
  cursor: pointer;
}

@media (max-width: 760px) {
  .promo-splash {
    background-color: var(--promo-splash-bg);
    background-image:
      linear-gradient(180deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.83) 46%, rgba(2, 6, 23, 0.14) 100%),
      url("/landing/promo-splash-mobile-20260911.png");
    background-position: center, center bottom;
    background-repeat: no-repeat;
    background-size: auto, auto 90%;
  }

  .promo-splash__content {
    align-content: start;
    max-width: none;
    padding: max(58px, env(safe-area-inset-top)) 24px 24px;
  }

  .promo-splash__title {
    max-width: 12ch;
    font-size: clamp(42px, 12vw, 58px);
  }

  .promo-splash__rewards {
    gap: 8px;
    margin-top: 22px;
  }

  .promo-splash__reward {
    font-size: clamp(16px, 5vw, 21px);
  }

  .promo-splash__actions {
    gap: 8px;
    margin-top: 24px;
  }

  .promo-splash__store,
  .promo-splash__details {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .promo-splash__details {
    flex-basis: 100%;
    order: 2;
  }

  .promo-splash__close {
    top: max(16px, env(safe-area-inset-top));
    right: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .promo-splash,
  .promo-splash__store,
  .promo-splash__details,
  .promo-splash__back {
    transition: none;
  }
}
