/* OlzhaLike campaign stage and motion. The static layout is the default. */
.hero-shell {
  isolation: isolate;
  background: linear-gradient(120deg, #2e0815, #73162a 57%, #3e0a1c);
}

.stage-atmosphere {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.stage-aurora {
  position: absolute;
  inset: 1% -14% -20% 0;
  background:
    radial-gradient(ellipse at 66% 40%, #ee776044 0%, transparent 42%),
    radial-gradient(ellipse at 76% 58%, #bd284e99 0%, transparent 56%),
    radial-gradient(ellipse at 11% 92%, #c8673e49 0%, transparent 48%);
}

.stage-lights {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 9px at 58% 18%, #ffdc9b99, transparent),
    radial-gradient(circle 14px at 93% 25%, #ffce884d, transparent),
    radial-gradient(circle 8px at 40% 77%, #ffd69c66, transparent),
    radial-gradient(circle 23px at 88% 79%, #fca76149, transparent),
    radial-gradient(circle 5px at 55% 63%, #ffe0b6bd, transparent);
}

.hero {
  min-height: 0;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 3vw, 52px);
  padding-block: clamp(38px, 4vw, 62px) clamp(34px, 3.8vw, 56px);
}

.hero-copy .eyebrow { font-size: .75rem; margin-bottom: 14px; }
.show-logo { width: min(100%, 25rem); margin-bottom: 19px; }
.hero h1 { font-size: clamp(2.35rem, 3.36vw, 3.4rem); margin-bottom: 17px; }
.hero-description { line-height: 1.55; margin-bottom: 22px; }
.hero-facts { margin-top: 17px; }

.hero-dates {
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 13px 23px;
  margin-top: 22px;
  padding-top: 17px;
}

.hero-dates > span { font-size: .76rem; color: #e6bdb6; }
.hero-dates strong { font-size: .89rem; font-weight: 600; color: #fff0cf; }
.hero-dates > :last-child { border-left: 1px solid #ffe5b931; padding-left: 22px; }

.prize-scene {
  position: relative;
  height: clamp(28rem, 39vw, 34rem);
  min-width: 0;
}

.halo {
  position: absolute;
  inset: 6% -1% 5% 6%;
  border: 1px solid #ebbf863f;
  border-radius: 50%;
  transform: rotate(-16deg);
  pointer-events: none;
}

.halo::after {
  position: absolute;
  inset: 7%;
  border: 1px solid #ebbf8627;
  border-radius: inherit;
  content: "";
}

.stage-star {
  position: absolute;
  z-index: 3;
  top: 22%;
  right: 1%;
  color: #ffdd9d;
  font-size: clamp(19px, 3vw, 40px);
  line-height: 1;
  text-shadow: 0 0 22px #ffb96591;
  pointer-events: none;
}

.travel-ticket {
  position: absolute;
  inset: 4% auto auto 27%;
  width: min(65%, 410px);
  height: 85%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  padding: clamp(17px, 2vw, 26px) clamp(16px, 2.25vw, 32px) 0;
  border: 1px solid #e8bd818a;
  border-radius: 26px;
  overflow: hidden;
  transform: rotate(3deg);
  background:
    radial-gradient(ellipse at 58% 44%, #ad4d4657, transparent 65%),
    linear-gradient(155deg, #711a2c, #421022 77%);
  box-shadow: 0 28px 70px #230614a6, inset 0 0 0 5px #f8cc9209;
}

.ticket-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
}

.ticket-mark { color: #e8bd81; font-size: 1.25rem; line-height: 1; }

.ticket-illustration {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  padding-block: 4px;
  filter: drop-shadow(0 12px 17px #20081564);
}

.ticket-copy { padding: 4px 0 14px; }

.ticket-copy strong {
  display: block;
  font-size: clamp(2.65rem, 4.2vw, 4rem);
  line-height: .99;
  letter-spacing: -.06em;
  font-weight: 670;
}

.ticket-copy em {
  display: block;
  font-size: .55em;
  margin-top: 6px;
  letter-spacing: -.04em;
}

.ticket-bottom {
  border-top: 1px dashed #e8bd8169;
  padding-block: 12px;
  font-size: .63rem;
  letter-spacing: .065em;
  color: #f2cfa0;
}

.floating-prize {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid #ecd09e;
  border-radius: 17px;
  background: linear-gradient(165deg, #fffaf1, #f4e4ce);
  color: var(--ink);
  box-shadow: 0 16px 35px #2b092a63;
}

.floating-prize img {
  width: 100%;
  height: clamp(75px, 8.7vw, 115px);
  object-fit: contain;
  filter: drop-shadow(0 8px 8px #42142b23);
}

.floating-prize strong { font-size: .75rem; line-height: 1.2; text-align: center; }
.microwave-float { width: 26%; left: 0; bottom: 6%; transform: rotate(-6deg); }
.airfryer-float { width: 25%; right: 0; bottom: 2%; transform: rotate(6deg); }

.prizes-section {
  background:
    radial-gradient(ellipse at 12% 36%, #f1dfc5a0, transparent 60%),
    linear-gradient(180deg, var(--cream), #f9f0e3 63%, var(--cream));
}

.prize-grid { grid-template-columns: 1.26fr repeat(2, minmax(0, 1fr)); }
.prize-card { min-height: 24rem; border-radius: 22px; }
.prize-card.appliance { min-height: 24rem; }
.travel-card {
  isolation: isolate;
  border: 1px solid #d7ae775e;
  background: radial-gradient(ellipse at 45% 40%, #9b3d47, #531429 66%, #421126 100%);
}

.travel-content {
  position: relative;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  min-height: 100%;
  padding: 22px;
  color: #fff8ec;
}

.travel-content img {
  align-self: center;
  width: 100%;
  height: clamp(150px, 17vw, 225px);
  margin-block: 4px 8px;
  object-fit: contain;
  filter: drop-shadow(0 14px 12px #22051560);
}

.travel-content h3 { font-size: clamp(1.8rem, 2.8vw, 2.9rem); margin: auto 0 9px; }
.travel-content p { color: #f0cfc4; font-size: .9rem; margin-bottom: 12px; }
.travel-link { min-height: 44px; font-size: .88rem; }
.appliance-image { height: clamp(164px, 16vw, 218px); padding-block: 12px; }
.appliance-copy { margin-top: 10px; }
.appliance-copy p { margin-bottom: 13px; }
.appliance-copy h3 { font-size: clamp(1.24rem, 1.7vw, 1.55rem); }
.appliance a { display: inline-flex; align-items: center; min-height: 44px; font-size: .86rem; }

.ticket-beam { display: none; }

@media (max-width: 1130px) {
  .prize-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .travel-card { grid-column: 1 / -1; }
  .travel-content img, .appliance-image { height: 218px; }
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 42rem; }
  .prize-scene { width: min(100%, 39rem); margin-inline: auto; }
}

@media (max-width: 620px) {
  .hero { gap: 23px; padding-block: 28px 23px; }
  .hero-copy .eyebrow { font-size: .69rem; letter-spacing: .105em; }
  .show-logo { width: min(84%, 23rem); margin-bottom: 14px; }
  .hero h1 { font-size: clamp(1.94rem, 7.8vw, 2.55rem); }
  .hero-description { font-size: 1rem; }
  .hero-dates { gap: 10px 14px; padding-top: 14px; }
  .hero-dates > span { font-size: .73rem; }
  .hero-dates > :last-child { padding-left: 14px; }
  .hero-dates strong { font-size: .78rem; }

  .prize-scene {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    height: auto;
    gap: 8px;
  }

  .halo, .stage-star { display: none; }
  .travel-ticket {
    position: relative;
    inset: auto;
    grid-column: 1 / -1;
    width: 100%;
    height: clamp(18.5rem, 80vw, 22rem);
    transform: none;
    border-radius: 19px;
  }

  .ticket-copy { padding-bottom: 9px; }
  .ticket-copy strong { font-size: clamp(2.4rem, 9vw, 3.15rem); }
  .ticket-bottom { padding-block: 10px; font-size: .57rem; }

  .floating-prize {
    position: relative;
    inset: auto;
    width: auto;
    min-width: 0;
    padding: 8px 4px;
    gap: 5px;
    transform: none;
    border-radius: 10px;
  }

  .floating-prize img { height: clamp(43px, 14vw, 68px); }
  .floating-prize strong { font-size: .66rem; }
  .prize-grid { grid-template-columns: 1fr; }
  .prize-card, .prize-card.appliance { min-height: 0; }
  .travel-content { padding: 24px; }
  .travel-content img, .appliance-image { height: clamp(170px, 55vw, 232px); }
  .travel-content h3 { margin-top: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .stage-intro .stage-aurora {
    animation: olzha-aurora 4.6s cubic-bezier(.2, .65, .3, 1) both;
  }

  .stage-intro .stage-lights {
    animation: olzha-lights 3.9s ease both;
  }

  .stage-intro .stage-aurora,
  .stage-intro .stage-lights {
    animation-play-state: var(--stage-play, running);
  }

  .stage-intro .hero-copy .show-logo,
  .stage-intro .travel-ticket,
  .stage-intro .floating-prize {
    animation: olzha-enter .65s cubic-bezier(.21, .72, .25, 1) var(--entry-delay, 0ms) both;
    animation-play-state: var(--stage-play, running);
  }

  .travel-ticket { --entry-delay: 90ms; }
  .microwave-float { --entry-delay: 170ms; }
  .airfryer-float { --entry-delay: 230ms; }
  .stage-intro .btn-shimmer::before {
    animation: olzha-shimmer .75s ease-out .84s both;
    animation-play-state: var(--stage-play, running);
  }

  .btn-shimmer {
    position: relative;
    overflow: hidden;
    isolation: isolate;
  }

  .btn-shimmer::before,
  .btn-shimmer::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg, transparent 32%, #fff4ce 50%, transparent 65%);
    transform: translateX(-105%);
    pointer-events: none;
    content: "";
  }

  .btn-shimmer::after { transition: transform .62s ease-out; }
  .btn-shimmer:focus-visible::after { transform: translateX(105%); }
  .motion-enter { animation: olzha-enter .6s cubic-bezier(.21, .72, .25, 1) var(--entry-delay, 0ms) both; }
  .steps > :nth-child(2), .prize-grid > :nth-child(2) { --entry-delay: 65ms; }
  .steps > :nth-child(3), .prize-grid > :nth-child(3) { --entry-delay: 130ms; }

  @supports (mask-composite: exclude) {
    .ticket-beam {
      display: block;
      position: absolute;
      inset: 0;
      z-index: 1;
      border-radius: inherit;
      padding: 2px;
      pointer-events: none;
      mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
      mask-composite: exclude;
    }

    .ticket-beam::before {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 180%;
      aspect-ratio: 1;
      background: conic-gradient(transparent 68%, #f5a64000 72%, #ffc476 87%, #fff5cb 94%, transparent 100%);
      opacity: 0;
      content: "";
    }

    .stage-intro .ticket-beam::before {
      animation: olzha-border-beam 3.7s cubic-bezier(.25, .46, .55, .94) .24s both;
      animation-play-state: var(--stage-play, running);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .travel-card::before {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 227px 206px at var(--light-x, 50%) var(--light-y, 40%), #ffd19964, transparent 95%);
    opacity: 0;
    transition: opacity .27s ease;
    pointer-events: none;
    content: "";
  }

  .travel-card.has-spotlight::before { opacity: 1; }
  .appliance:is(:hover, :focus-within) .appliance-image img { transform: translateY(-5px) scale(1.025); }
  .btn-shimmer:hover::after { transform: translateX(105%); }
}

@keyframes olzha-aurora {
  0% { transform: translate(-5%, 2%) scale(.93); opacity: .6; }
  58% { transform: translate(2%, -3%) scale(1.045); opacity: 1; }
  100% { transform: none; opacity: 1; }
}

@keyframes olzha-lights {
  0% { transform: translateY(12px); opacity: .42; }
  58% { opacity: .92; }
  100% { transform: none; opacity: 1; }
}

@keyframes olzha-enter {
  from { opacity: .76; translate: 0 12px; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes olzha-border-beam {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(-75deg); }
  21%, 75% { opacity: .92; }
  100% { opacity: 0; transform: translate(-50%, -50%) rotate(285deg); }
}

@keyframes olzha-shimmer {
  0% { transform: translateX(-105%); opacity: .78; }
  100% { transform: translateX(105%); opacity: 0; }
}
