:root {
  --wine: #7a1739;
  --wine-light: #bc4167;
  --gold: #f3d89b;
  --cream: #fff8e9;
  --night: #08141a;
  --green: #1d392f;
  --height: 300px;
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  background: transparent;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  display: flex;
  justify-content: center;
}

.banner {
  position: relative;
  display: block;
  width: min(1200px, 100%);
  height: var(--height);
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: var(--night);
  isolation: isolate;
  cursor: pointer;
  outline-offset: -4px;
}

.banner:focus-visible {
  outline: 3px solid var(--gold);
}

.background {
  position: absolute;
  inset: -6%;
  z-index: -10;
  background:
    linear-gradient(115deg, rgba(122, 23, 57, .22), rgba(8, 20, 26, .12)),
    url("waalem_openair.jpg") center 48% / cover no-repeat,
    linear-gradient(135deg, #142b25, #5b1730 62%, #101a20);
  filter: saturate(.9) contrast(1.03);
  transform: scale(1.04);
}

.shade {
  position: absolute;
  inset: 0;
  z-index: -8;
  background:
    linear-gradient(90deg, rgba(4, 13, 18, .96) 0%, rgba(4, 13, 18, .86) 37%, rgba(7, 18, 22, .45) 66%, rgba(7, 16, 20, .66) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .48));
}

.glow {
  position: absolute;
  z-index: -5;
  border-radius: 50%;
  filter: blur(18px);
  opacity: .36;
}

.glow-a {
  top: -120px;
  right: 22%;
  width: 290px;
  height: 290px;
  background: rgba(243, 216, 155, .38);
}

.glow-b {
  right: -90px;
  bottom: -150px;
  width: 360px;
  height: 360px;
  background: rgba(122, 23, 57, .7);
}

.topline {
  position: absolute;
  z-index: 35;
  top: 14px;
  left: 24px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.premiere-badge,
.countdown {
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(7, 22, 27, .65);
  box-shadow: 0 7px 20px rgba(0, 0, 0, .24);
  backdrop-filter: blur(8px);
}

.premiere-badge {
  padding: 7px 11px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.countdown {
  min-width: 196px;
  padding: 8px 13px;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

.countdown strong { color: var(--gold); }

.stage {
  position: absolute;
  z-index: 15;
  left: 25px;
  top: 55px;
  width: 57%;
  height: 178px;
}

.scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  pointer-events: none;
}

.scene h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(31px, 4.25vw, 56px);
  line-height: .94;
  font-weight: 950;
  letter-spacing: -.8px;
  text-transform: uppercase;
  text-shadow: 0 6px 18px rgba(0, 0, 0, .6);
}

.scene h1 span { color: var(--gold); }

.scene p {
  margin: 9px 0 0;
  max-width: 630px;
  font-size: clamp(13px, 1.35vw, 18px);
  line-height: 1.24;
  font-weight: 700;
  text-shadow: 0 3px 10px rgba(0, 0, 0, .75);
}

.eyebrow,
.artist-date {
  margin-bottom: 7px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.highlight-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
  max-width: 610px;
}

.highlight-chip {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  background: rgba(7, 25, 28, .6);
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(7px);
}

.poster {
  position: absolute;
  z-index: 6;
  top: 34px;
  right: 25px;
  bottom: 14px;
  width: min(37%, 405px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .27);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(122, 23, 57, .94), rgba(19, 50, 40, .95));
  box-shadow: 0 15px 40px rgba(0, 0, 0, .44);
  transform: translateX(42px) rotate(1.2deg);
  opacity: 0;
}

.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  pointer-events: none;
}

.poster-image {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity .75s ease, transform 5.5s ease;
}

.poster-image.is-active {
  z-index: 3;
  opacity: 1;
  transform: scale(1);
}

.poster-image-acts {
  object-position: center top;
}

.poster-fallback {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  place-content: center;
  padding: 18px;
  color: var(--cream);
  font-size: 26px;
  line-height: 1;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.poster-fallback strong { color: var(--gold); }

.footer {
  position: absolute;
  z-index: 30;
  left: 24px;
  right: 20px;
  bottom: 13px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  opacity: 0;
  transform: translateY(10px);
}

.location {
  margin-bottom: 3px;
  font-size: 12px;
  font-weight: 900;
}

.event-note {
  max-width: 540px;
  color: rgba(255, 255, 255, .78);
  font-size: 10px;
  line-height: 1.2;
}

.cta {
  flex: 0 0 auto;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--gold);
  color: #31131e;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .35px;
  text-transform: uppercase;
  box-shadow: 0 7px 20px rgba(0, 0, 0, .3);
}

.progress {
  position: absolute;
  z-index: 45;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, .12);
}

.progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--wine-light));
}

.particle {
  position: absolute;
  z-index: -2;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(243, 216, 155, .9);
  opacity: 0;
}

@media (max-width: 900px) {
  .stage { width: 60%; }
  .poster { width: 39%; right: 15px; }
}

@media (max-width: 760px) {
  :root { --height: 230px; }

  .banner { height: var(--height); }
  .glow { display: none; }

  .topline {
    top: 8px;
    left: 12px;
    right: 10px;
  }

  .premiere-badge {
    padding: 5px 8px;
    font-size: 7.5px;
    letter-spacing: .9px;
  }

  .countdown {
    min-width: 128px;
    padding: 5px 8px;
    font-size: 8px;
  }

  .stage {
    left: 14px;
    top: 35px;
    width: 57%;
    height: 137px;
  }

  .scene h1 {
    font-size: clamp(21px, 7vw, 31px);
    line-height: .95;
    letter-spacing: -.45px;
  }

  .scene p {
    margin-top: 6px;
    font-size: 10px;
    line-height: 1.18;
  }

  .eyebrow,
  .artist-date {
    margin-bottom: 5px;
    font-size: 8px;
    letter-spacing: .9px;
  }

  .highlight-list {
    gap: 4px;
    margin-top: 8px;
  }

  .highlight-chip {
    padding: 5px 7px;
    font-size: 7.8px;
  }

  .poster {
    top: 30px;
    right: 8px;
    bottom: 8px;
    width: 42%;
    border-radius: 13px;
  }

  .poster-fallback { font-size: 18px; }
  .poster-image-acts { object-position: center top; }

  .footer {
    left: 12px;
    right: 10px;
    bottom: 8px;
    align-items: center;
  }

  .location {
    max-width: 48vw;
    margin-bottom: 0;
    font-size: 8px;
    line-height: 1.1;
  }

  .event-note { display: none; }

  .cta {
    padding: 7px 10px;
    font-size: 8px;
  }

  .progress { height: 2px; }
}

@media (max-width: 430px) {
  :root { --height: 220px; }

  .countdown {
    min-width: 116px;
    font-size: 7.2px;
  }

  .stage {
    top: 32px;
    width: 55%;
    height: 132px;
  }

  .scene h1 { font-size: clamp(19px, 6.7vw, 27px); }
  .scene p { font-size: 9px; }
  .poster { width: 43%; right: 6px; }
  .location { max-width: 45vw; font-size: 7.5px; }
  .cta { padding: 6px 8px; font-size: 7.4px; }
}

@media (prefers-reduced-motion: reduce) {
  .background,
  .poster,
  .scene,
  .footer,
  .particle,
  .cta {
    animation: none !important;
    transition: none !important;
  }
}
