.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(250px, 34vw, 430px);
  align-items: center;
  align-content: center;
  gap: clamp(24px, 5vw, 80px);
  overflow: hidden;
  background-color: #242323;
  background-image: url('/assets/images/hero-waves-poster.jpg');
  background-position: center;
  background-size: cover;
}

.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-content h1 { font-size: clamp(2.75rem, 5.7vw, 5.125rem); }
.hero-promo { position: relative; z-index: 3; min-width: 0; }
.hero-promo[hidden], .hero-promo-controls[hidden], .promotions[hidden], .promo-controls[hidden] { display: none; }

.hero-background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s ease;
}

.hero::before {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgb(0 0 0 / 10%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s ease;
}

.hero.has-background-video::before,
.hero.has-background-video .hero-background-video { opacity: 1; }

.hero-content h1,
.hero-content .hero-copy,
.hero-promo-label,
.hero-note {
  text-shadow: 0 1px 8px rgb(0 0 0 / .55);
}

.hero-note { flex-wrap: wrap; color: #d8d3c9; }
.hero-note > span:not([aria-hidden="true"]) { width: auto; height: auto; background: none; border-radius: 0; }

.hero-promo-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  color: #ece4d7;
  font-size: .8125rem;
  font-weight: 600;
}

#hero-promo-count { font-variant-numeric: tabular-nums; }

.hero-promo-stage {
  position: relative;
  height: clamp(350px, 54svh, 470px);
  overflow: hidden;
  isolation: isolate;
  background: #171717;
}

.hero-promo-stage,
.promotions .promo-card {
  border: 1px solid rgb(255 244 228 / .29);
  border-radius: var(--glass-panel-radius, 22px);
  box-shadow: 0 14px 38px rgb(0 0 0 / .26);
}

.hero-promo-stage::after,
.promotions .promo-card::before {
  content: '';
  position: absolute;
  z-index: 3;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 1px rgb(255 249 235 / .44), inset 0 -1px 1px rgb(255 249 235 / .12);
  pointer-events: none;
}

.hero-offer {
  position: absolute;
  inset: 0;
  transform: translateX(100%);
  visibility: hidden;
  background: #171717;
}

.hero-offer.is-active,
.hero-offer.is-leaving {
  visibility: visible;
  transition: transform .62s cubic-bezier(.25, .65, .35, 1);
}

.hero-offer.is-active { z-index: 1; transform: translateX(0); }
.hero-offer.is-leaving { transform: translateX(-100%); pointer-events: none; }

.hero-offer > a {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: end;
  padding: clamp(16px, 2.1vw, 28px);
  overflow: hidden;
}

.hero-offer > a::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(0 0 0 / .87), rgb(0 0 0 / .12) 63%, transparent);
}

.hero-offer > a:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; }
.hero-offer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hero-offer-content { position: relative; z-index: 1; }
.hero-offer h3 { margin: 0; font: 600 clamp(1.375rem, 2.3vw, 2.125rem)/1.1 Manrope, sans-serif; letter-spacing: -.035em; }

.hero-offer-action,
.promotions .promo-content a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .55rem 1rem;
  border: 1px solid rgb(255 233 193 / .76);
  border-radius: var(--glass-control-radius, 999px);
  background: var(--glass-gold-fill, linear-gradient(145deg, #fae6be, #e3c18a 72%));
  box-shadow: inset 0 1px 1px rgb(255 255 255 / .6), 0 3px 9px rgb(0 0 0 / .2);
  color: #21180c;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.hero-offer-action { min-height: 34px; margin-top: 8px; padding: .4rem .75rem; font-size: .8125rem; }

.hero-offer-discount,
.promotions .discount {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 9px;
  border: 1px solid rgb(255 255 255 / .58);
  border-radius: var(--glass-control-radius, 999px);
  background: #f7eee0;
  color: #24211c;
  font: 700 .75rem/1.35 Manrope, sans-serif;
}

.hero-offer-discount[hidden], .promotions .discount[hidden] { display: none; }

.offer-best-badge {
  position: absolute;
  z-index: 2;
  inset: clamp(12px, 2vw, 20px) auto auto clamp(12px, 2vw, 20px);
  padding: .35rem .65rem;
  border: 1px solid rgb(255 240 212 / .8);
  border-radius: var(--glass-control-radius, 999px);
  background: var(--glass-gold-fill, linear-gradient(145deg, #fae6be, #e3c18a 72%));
  box-shadow: inset 0 1px 1px rgb(255 255 255 / .7), 0 3px 12px rgb(0 0 0 / .24);
  color: #21180c;
  font: 800 .75rem/1.25 Manrope, sans-serif;
}

.hero-promo-controls { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.hero-promo-controls button,
.promo-controls .promo-button {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgb(255 245 230 / .28);
  border-radius: var(--glass-control-radius, 999px);
  background: linear-gradient(150deg, rgb(255 245 230 / .15), transparent 65%), #282624;
  box-shadow: inset 0 1px 1px rgb(255 255 255 / .17), 0 4px 12px rgb(0 0 0 / .18);
  color: #fff8ec;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hero-promo-controls button,
  .promo-controls .promo-button {
    background-color: rgb(30 27 23 / .82);
    -webkit-backdrop-filter: blur(12px) saturate(1.14);
    backdrop-filter: blur(12px) saturate(1.14);
  }
}

.hero-promo-controls button { font-size: .8125rem; }
.hero-promo-controls button:active, .promo-controls .promo-button:active,
.promotions .promo-content a:active { transform: scale(.96); }
.hero-promo-controls button:focus-visible, .promo-controls button:focus-visible,
.promotions .promo-content a:focus-visible, .promo-track:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.promo-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.promotions .promo-track {
  --offer-gap: 14px;
  grid-auto-columns: 100%;
  gap: var(--offer-gap);
  overscroll-behavior-x: contain;
}

.promotions .promo-card {
  aspect-ratio: 1;
  height: auto;
}

.promotions .promo-content { inset: auto clamp(16px, 3vw, 26px) clamp(16px, 3vw, 26px); }
.promotions .promo-content h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.promotions .promo-content p { margin-bottom: 10px; color: #eee6da; }

.promotions .promo-controls { gap: clamp(6px, 2vw, 14px); margin-top: 10px; }
.promo-controls .promo-button { padding-inline: clamp(8px, 2vw, 14px); font-size: .875rem; }
.promotions .promo-progress { min-width: 0; }

.promotions .promo-progress .dots {
  display: flex;
  justify-content: center;
  justify-content: safe center;
  gap: 0;
  overflow-x: auto;
  border: 1px solid rgb(255 245 230 / .18);
  border-radius: var(--glass-control-radius, 999px);
  background: linear-gradient(155deg, rgb(255 245 230 / .13), transparent 68%), #1c1a18;
  box-shadow: inset 0 1px 1px rgb(255 249 235 / .12);
  scrollbar-width: none;
}

.promotions .promo-progress .dots button {
  position: relative;
  flex: 0 0 clamp(24px, 6vw, 36px);
  width: auto;
  height: 44px;
  margin: 0;
  background: none;
  cursor: pointer;
}

.promotions .dots button::before {
  content: '';
  position: absolute;
  inset: calc(50% - 2px) 3px auto;
  height: 4px;
  border-radius: 4px;
  background: #777068;
  transition: background .2s ease;
}

.promotions .dots button.active::before { background: var(--glass-gold-fill, var(--gold)); }
.promotions .dots button:focus-visible { outline-offset: -3px; }

@media (min-width: 850px) {
  .promotions .promo-track { grid-auto-columns: calc((100% - var(--offer-gap)) / 2); }
}

@media (hover: hover) {
  .hero-promo-controls button:hover, .promo-controls .promo-button:hover { background-color: #393025; color: #f9deb0; }
  .hero-offer > a:hover .hero-offer-action, .promotions .promo-content a:hover {
    box-shadow: inset 0 1px 1px rgb(255 255 255 / .7), 0 3px 12px rgb(244 211 156 / .35);
  }
  .hero-offer > a:hover img { transform: scale(1.035); }
}

@media (max-width: 800px) {
  .hero { display: flex; align-items: stretch; min-height: 88svh; padding-top: 105px; padding-bottom: 24px; gap: 10px; }
  .hero-content { margin-inline: auto; text-align: center; }
  .hero-content h1 { font-size: clamp(2.625rem, 8vw, 4.25rem); }
  .hero-promo { align-self: center; width: min(100%, 300px); margin-top: 8px; }
  .hero-promo-controls { display: none; }
  .hero-promo-stage { height: auto; aspect-ratio: 1; }
  .hero-promo-stage:has(.offer-best-badge) { height: auto; }
  .hero-offer > a { padding: 10px 12px; }
  .hero-offer h3 { font-size: .9375rem; letter-spacing: -.01em; }
  .hero-offer-action { min-height: 24px; margin-top: 4px; padding: .22rem .5rem; font-size: .75rem; }
  .hero-offer-discount { margin-bottom: 5px; padding: 3px 6px; }
  .hero-offer .offer-best-badge { inset: 8px auto auto 10px; padding: .24rem .45rem; }
  .hero-note { position: relative; left: auto; bottom: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-background-video, .hero::before, .hero-offer.is-active, .hero-offer.is-leaving, .hero-offer img,
  .hero-promo-controls button, .promotions .promo-card img, .promo-controls .promo-button,
  .promotions .dots button::before, .hero-offer-action, .promotions .promo-content a { transition: none; }
  .hero-offer > a:hover img, .promotions .promo-card:hover img,
  .hero-promo-controls button:active, .promo-controls .promo-button:active,
  .promotions .promo-content a:active { transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .hero-promo-controls button, .promo-controls .promo-button {
    background-color: #282624;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
