/* ===================== VARIABLES ===================== */
:root{
  --purple: #7D7091;
  --pink: #E0287D;
  --blue: #38B6FF;
  --gold: #F4C56A;
  --bg-0: #0e0812;
  --bg-1: #180d20;
  --bg-2: #221230;
  --white: #FBF7FF;
  --font-display: 'Unbounded', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  /* one continuous gradient behind the whole page so section boundaries never
     show a hard seam while scrolling — sections layer transparent/semi-transparent
     accents on top of this instead of their own opaque flat colors */
  background:linear-gradient(180deg,
    var(--bg-0) 0%,
    var(--bg-0) 10%,
    var(--bg-1) 28%,
    var(--bg-2) 42%,
    var(--bg-1) 58%,
    var(--bg-0) 72%,
    var(--bg-0) 100%);
  background-repeat:no-repeat;
  color:var(--white);
  font-family:var(--font-body);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;}
ul{list-style:none;margin:0;padding:0;}

.reveal{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .8s ease, transform .8s ease;
}
.reveal.in-view{
  opacity:1;
  transform:translateY(0);
}

/* ===================== HERO ===================== */
.hero{
  position:relative;
  min-height:100svh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:6vh 5vw;
  overflow:hidden;
}

.blob-field{
  position:absolute;
  inset:-20%;
  z-index:0;
  filter:blur(60px) saturate(1.4);
  animation:hueShift 18s linear infinite;
}
.blob{
  position:absolute;
  border-radius:50%;
  mix-blend-mode:screen;
  opacity:.85;
}
/* vmax (not vw) so the blobs still cover the screen on tall, narrow mobile viewports */
.blob-a{
  width:55vmax;height:55vmax;
  background:radial-gradient(circle, var(--pink) 0%, transparent 70%);
  top:-10%; left:-5%;
  animation:driftA 16s ease-in-out infinite;
}
.blob-b{
  width:50vmax;height:50vmax;
  background:radial-gradient(circle, var(--gold) 0%, transparent 70%);
  bottom:-15%; right:-10%;
  animation:driftB 20s ease-in-out infinite;
}
.blob-c{
  width:45vmax;height:45vmax;
  background:radial-gradient(circle, var(--blue) 0%, transparent 70%);
  top:20%; right:5%;
  animation:driftC 14s ease-in-out infinite;
}
.blob-d{
  width:40vmax;height:40vmax;
  background:radial-gradient(circle, var(--purple) 0%, transparent 70%);
  bottom:5%; left:15%;
  animation:driftA 22s ease-in-out infinite reverse;
}

@keyframes driftA{
  0%,100%{transform:translate(0,0) scale(1);}
  50%{transform:translate(8vw,6vh) scale(1.15);}
}
@keyframes driftB{
  0%,100%{transform:translate(0,0) scale(1);}
  50%{transform:translate(-10vw,-4vh) scale(1.1);}
}
@keyframes driftC{
  0%,100%{transform:translate(0,0) scale(1);}
  50%{transform:translate(-6vw,8vh) scale(0.9);}
}
@keyframes hueShift{
  0%{filter:blur(60px) saturate(1.4) hue-rotate(0deg);}
  100%{filter:blur(60px) saturate(1.4) hue-rotate(360deg);}
}

.grain{
  position:absolute;inset:0;z-index:1;pointer-events:none;
  background:radial-gradient(circle at 50% 40%, transparent 0%, var(--bg-0) 85%);
}

.mini-ball{
  position:absolute;
  z-index:2;
  opacity:.95;
  perspective:800px;
  pointer-events:none;
}
.mini-ball .disco-ball{width:140px;height:140px;animation-duration:22s;}
/* ball 1: above and to the left of "ALL" */
.mini-ball-1{top:22%;left:7%;animation:floatY 6s ease-in-out infinite;}
/* ball 2: below and to the right of "NIGHT" */
.mini-ball-2{bottom:14%;right:7%;animation:floatY 7s ease-in-out infinite 1s;}
@keyframes floatY{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-18px);}
}

.hero-content{position:relative;z-index:2;max-width:1100px;}
.eyebrow{
  font-family:var(--font-body);
  letter-spacing:.35em;
  font-size:.7rem;
  font-weight:700;
  color:var(--blue);
  margin:0 0 1.2rem;
  text-transform:uppercase;
}
.hero-title{
  font-family:var(--font-display);
  font-weight:900;
  line-height:0.98;
  margin:0;
  font-size:clamp(2.6rem, 9vw, 7.5rem);
  text-transform:uppercase;
  color:var(--white);
}
.hero-title .line{display:block;}
.hero-title .x{color:var(--pink);}
.grad-text{
  background:linear-gradient(90deg, var(--pink), var(--gold), var(--blue), var(--purple), var(--pink));
  background-size:300% 100%;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  animation:gradMove 8s linear infinite;
}
@keyframes gradMove{
  0%{background-position:0% 50%;}
  100%{background-position:300% 50%;}
}

.hero-meta{
  margin-top:2.5rem;
  display:flex;
  flex-wrap:wrap;
  gap:.9rem 1.5rem;
  justify-content:center;
  font-family:var(--font-body);
  font-weight:700;
  font-size:clamp(.85rem, 1.4vw, 1.05rem);
}
.hero-meta span{
  padding:.55em 1.2em;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter:blur(6px);
}

.scroll-cue{
  position:absolute;
  bottom:4vh;
  left:50%;
  transform:translateX(-50%);
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:.5rem;
  text-decoration:none;
  color:var(--white);
  opacity:.75;
  font-size:.7rem;
  letter-spacing:.25em;
  text-transform:uppercase;
  font-weight:700;
}
.scroll-cue i{
  width:1px;height:34px;
  background:linear-gradient(var(--white), transparent);
  animation:cueMove 1.8s ease-in-out infinite;
}
@keyframes cueMove{
  0%{transform:scaleY(0.3); transform-origin:top;}
  50%{transform:scaleY(1); transform-origin:top;}
  100%{transform:scaleY(0.3); transform-origin:bottom;}
}

/* ===================== DISCO BALL (shared, real 3D) ===================== */
.ball-3d{
  position:relative;
  perspective:900px;
}

.disco-ball{
  position:relative;
  display:inline-block;
  width:150px;height:150px;
  border-radius:50%;
  /* no background here on purpose: a flat disc painted on this element would
     rotate as a flat plane and flatten into a visible ellipse mid-spin, since
     the tile children (translateZ'd into a real sphere) don't share that problem.
     .ball-halo (non-rotating) fills the gaps between facets instead. */
  background:transparent;
  transform-style:preserve-3d;
  animation:ballIdleSpin 16s linear infinite;
  z-index:2;
}

/* individual mirror facets, positioned in real 3D space via JS (script.js) */
.ball-tile{
  position:absolute;
  top:50%;left:50%;
  background:linear-gradient(135deg, rgba(255,255,255,.9) 0%, rgba(200,208,230,.55) 40%, rgba(125,112,145,.55) 70%, rgba(35,30,48,.75) 100%);
  border:1px solid rgba(255,255,255,.32);
  border-radius:2px;
  box-shadow:inset 0 0 4px rgba(255,255,255,.55);
  backface-visibility:hidden;
  pointer-events:none;
}
.ball-tile.tint-pink{
  background:linear-gradient(135deg, rgba(255,255,255,.92) 0%, rgba(224,40,125,.55) 50%, rgba(80,15,50,.75) 100%);
}
.ball-tile.tint-blue{
  background:linear-gradient(135deg, rgba(255,255,255,.92) 0%, rgba(56,182,255,.55) 50%, rgba(10,55,85,.75) 100%);
}

/* fixed specular hotspot + sparkle — stays put while the ball rotates beneath it */
.ball-highlight{
  position:absolute;
  top:16%;left:20%;
  width:38%;height:38%;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,.95) 0%, rgba(255,255,255,.2) 55%, transparent 75%);
  filter:blur(1px);
  z-index:3;
  pointer-events:none;
  animation:highlightTwinkle 2.6s ease-in-out infinite;
}
.ball-highlight::after{
  content:"";
  position:absolute;
  top:8%;left:8%;
  width:38%;height:38%;
  background:
    linear-gradient(var(--white), var(--white)) center/2px 100% no-repeat,
    linear-gradient(90deg, var(--white), var(--white)) center/100% 2px no-repeat;
  filter:drop-shadow(0 0 6px #fff);
  opacity:.9;
  animation:sparkleTwinkle 2.6s ease-in-out infinite;
}
@keyframes highlightTwinkle{0%,100%{opacity:.65;}50%{opacity:1;}}
@keyframes sparkleTwinkle{
  0%,100%{opacity:.35;transform:scale(.75) rotate(0deg);}
  50%{opacity:1;transform:scale(1.2) rotate(25deg);}
}

/* soft contact shadow beneath the ball */
.ball-shadow{
  position:absolute;
  bottom:-12%;
  left:50%;
  width:68%;height:16%;
  transform:translateX(-50%);
  border-radius:50%;
  background:radial-gradient(ellipse, rgba(15,8,22,.55) 0%, transparent 72%);
  filter:blur(4px);
  z-index:0;
}

/* colored bloom the ball throws onto whatever is behind it */
.ball-halo{
  position:absolute;
  top:50%;left:50%;
  width:230%;height:230%;
  transform:translate(-50%,-50%);
  border-radius:50%;
  background:radial-gradient(circle, rgba(224,40,125,.5) 0%, rgba(180,150,220,.4) 25%, rgba(56,182,255,.22) 45%, transparent 72%);
  filter:blur(14px);
  mix-blend-mode:screen;
  z-index:0;
  pointer-events:none;
  animation:haloPulse 4s ease-in-out infinite;
}
.ball-halo.big{width:260%;height:260%;filter:blur(34px);}
@keyframes haloPulse{
  0%,100%{opacity:.5;transform:translate(-50%,-50%) scale(1);}
  50%{opacity:.9;transform:translate(-50%,-50%) scale(1.15);}
}

/* rotating light rays cast outward from the ball */
.ball-rays{
  position:absolute;
  inset:-45%;
  border-radius:50%;
  background:conic-gradient(from 0deg,
    transparent 0deg, rgba(255,255,255,.28) 4deg, transparent 14deg,
    transparent 86deg, rgba(224,40,125,.32) 92deg, transparent 102deg,
    transparent 176deg, rgba(56,182,255,.28) 182deg, transparent 192deg,
    transparent 266deg, rgba(244,197,106,.28) 272deg, transparent 282deg);
  mix-blend-mode:screen;
  filter:blur(2px);
  z-index:1;
  pointer-events:none;
  animation:raysSpin 12s linear infinite;
}
.ball-rays.big{inset:-60%;}
@keyframes raysSpin{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}

@keyframes ballIdleSpin{0%{transform:rotateY(0deg);}100%{transform:rotateY(360deg);}}

/* ===================== AGENDA TRIGGER ===================== */
.agenda-trigger{
  position:relative;
  padding:14vh 6vw 12vh;
  text-align:center;
}
.kicker{
  font-family:var(--font-body);
  letter-spacing:.3em;
  text-transform:uppercase;
  font-size:.75rem;
  font-weight:800;
  color:var(--pink);
  margin:0 0 .8rem;
}
.kicker.light{color:var(--gold);}
.section-title{
  font-family:var(--font-display);
  font-weight:800;
  font-size:clamp(1.8rem, 4.5vw, 3.2rem);
  margin:0 0 .8rem;
  text-transform:uppercase;
}
.hint{
  font-size:clamp(.95rem, 1.6vw, 1.15rem);
  color:rgba(251,247,255,.75);
  max-width:520px;
  margin:0 auto 4rem;
}

.disco-ball-wrap{
  position:relative;
  background:none;
  border:none;
  cursor:pointer;
  padding:2rem;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  perspective:900px;
}
.disco-ball-wrap:hover .ball-halo{
  filter:blur(16px);
  opacity:1;
}
.disco-ball-wrap .disco-ball.spin{
  animation:ballSpin 1.6s cubic-bezier(.45,0,.2,1);
}
@keyframes ballSpin{
  0%{transform:rotateY(0deg) scale(1);}
  40%{transform:rotateY(540deg) scale(1.15);}
  100%{transform:rotateY(1080deg) scale(1);}
}
.tap-hint{
  position:absolute;
  bottom:-.4rem;
  left:50%;
  transform:translateX(-50%);
  font-size:.65rem;
  letter-spacing:.3em;
  font-weight:800;
  color:var(--blue);
  animation:tapBlink 1.6s ease-in-out infinite;
}
@keyframes tapBlink{
  0%,100%{opacity:.4;}
  50%{opacity:1;}
}
.disco-ball-wrap[aria-expanded="true"] .tap-hint{display:none;}

.agenda-panel{
  max-height:0;
  opacity:0;
  overflow:hidden;
  transition:max-height 1s cubic-bezier(.2,.8,.2,1), opacity .8s ease .1s, margin .8s ease;
  margin-top:0;
  text-align:left;
  max-width:760px;
  margin-left:auto;
  margin-right:auto;
}
.agenda-panel.open{
  max-height:3200px;
  opacity:1;
  margin-top:4rem;
}
.agenda-group-title{
  font-family:var(--font-display);
  font-size:1rem;
  letter-spacing:.15em;
  text-transform:uppercase;
  color:var(--gold);
  margin:0 0 1.2rem;
}
.agenda-list{display:flex;flex-direction:column;gap:.7rem;margin-bottom:2.5rem;}
.agenda-item{
  display:flex;
  align-items:baseline;
  gap:1.2rem;
  padding:1rem 1.3rem;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.09);
  border-radius:14px;
  transition:background .3s ease, transform .3s ease;
}
.agenda-item:hover{
  background:rgba(224,40,125,.12);
  transform:translateX(4px);
}
.agenda-item .time{
  font-family:var(--font-display);
  font-weight:700;
  color:var(--pink);
  min-width:64px;
  font-size:1rem;
}
.agenda-item .who{
  font-weight:600;
  font-size:1rem;
}
.agenda-item .who em{
  font-style:normal;
  color:rgba(251,247,255,.65);
  font-weight:500;
}
.agenda-item.break{
  background:rgba(56,182,255,.1);
  border-color:rgba(56,182,255,.25);
}
.agenda-item.break .time{color:var(--blue);}

.agenda-break-banner{
  display:flex;
  align-items:center;
  gap:1rem;
  justify-content:center;
  text-align:center;
  flex-direction:column;
  padding:1.4rem;
  margin:1.5rem 0 2.5rem;
  border-radius:16px;
  background:linear-gradient(90deg, rgba(125,112,145,.25), rgba(224,40,125,.2));
  border:1px dashed rgba(255,255,255,.3);
}
.agenda-break-banner span{
  font-family:var(--font-display);
  font-weight:800;
  color:var(--white);
}
.agenda-break-banner p{
  margin:0;
  text-transform:uppercase;
  letter-spacing:.2em;
  font-size:.8rem;
  color:var(--gold);
  font-weight:700;
}

/* ===================== DRESS CODE MARQUEE ===================== */
.dresscode-strip{
  position:relative;
  padding:4vh 0;
  overflow:hidden;
}
.dresscode-strip::before,
.dresscode-strip::after{
  content:"";
  position:absolute;
  top:0;bottom:0;
  width:12vw;
  min-width:60px;
  z-index:2;
  pointer-events:none;
}
.dresscode-strip::before{left:0;background:linear-gradient(90deg, var(--bg-1), transparent);}
.dresscode-strip::after{right:0;background:linear-gradient(-90deg, var(--bg-1), transparent);}

.marquee{
  display:flex;
  width:max-content;
  animation:marqueeScroll 38s linear infinite;
}
.marquee:hover{animation-play-state:paused;}
.marquee-track{
  display:flex;
  gap:1.1rem;
  padding-right:1.1rem;
  flex-shrink:0;
}
.marquee-track img{
  width:clamp(160px, 20vw, 240px);
  height:clamp(200px, 25vw, 300px);
  object-fit:cover;
  border-radius:14px;
  background:var(--bg-1);
  border:1px solid rgba(255,255,255,.08);
  /* darken + push toward the site's purple so the photos sit under the palette, not over it */
  filter:brightness(.62) saturate(.9) sepia(.18) hue-rotate(230deg) contrast(1.05);
}
@keyframes marqueeScroll{
  0%{transform:translateX(0);}
  100%{transform:translateX(-50%);}
}

@media (prefers-reduced-motion: reduce){
  .marquee{animation:none;}
}

/* ===================== SPOTLIGHT DIVIDER ===================== */
.spotlight-divider{
  position:relative;
  height:60vh;
  min-height:400px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  /* translucent glow, not a flat fill — fades to fully transparent so the
     body's continuous gradient still shows through at the section edges */
  background:radial-gradient(ellipse at center, rgba(34,18,48,.65) 0%, transparent 75%);
}
.beam{
  position:absolute;
  top:-20%;
  width:40vw;
  height:140%;
  background:linear-gradient(180deg, rgba(255,255,255,.25), transparent 70%);
  clip-path:polygon(48% 0, 52% 0, 100% 100%, 0 100%);
  transform-origin:top center;
  filter:blur(2px);
  opacity:.55;
}
.beam-1{left:8%; background:linear-gradient(180deg, rgba(224,40,125,.55), transparent 70%); animation:sway 6s ease-in-out infinite;}
.beam-2{left:35%; background:linear-gradient(180deg, rgba(56,182,255,.5), transparent 70%); animation:sway 7s ease-in-out infinite 1s;}
.beam-3{left:58%; background:linear-gradient(180deg, rgba(244,197,106,.5), transparent 70%); animation:sway 5s ease-in-out infinite .5s;}
@keyframes sway{
  0%,100%{transform:rotate(-12deg);}
  50%{transform:rotate(12deg);}
}
.ball-3d-big{
  position:relative;
  z-index:2;
  perspective:1000px;
}
.disco-ball.big{
  width:220px;height:220px;
  animation-duration:11s;
}
.ball-halo.big{width:190%;height:190%;filter:blur(26px);}
.ball-rays.big{inset:-30%;}

/* ===================== AFTERPARTY ===================== */
.afterparty{
  position:relative;
  padding:14vh 6vw 10vh;
  overflow:hidden;
}
.dancefloor-bg{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(45deg, var(--pink) 25%, transparent 25%, transparent 75%, var(--pink) 75%),
    linear-gradient(45deg, var(--pink) 25%, transparent 25%, transparent 75%, var(--pink) 75%),
    linear-gradient(45deg, var(--blue) 25%, transparent 25%, transparent 75%, var(--blue) 75%),
    linear-gradient(45deg, var(--purple) 25%, transparent 25%, transparent 75%, var(--purple) 75%);
  background-size:120px 120px;
  background-position:0 0, 60px 60px, 60px 0, 0 60px;
  opacity:.16;
  animation:floorHue 14s linear infinite;
}
@keyframes floorHue{
  0%{filter:hue-rotate(0deg);}
  100%{filter:hue-rotate(360deg);}
}
.afterparty-overlay{
  position:absolute;inset:0;
  background:radial-gradient(ellipse at 50% 0%, transparent 0%, var(--bg-0) 70%);
}
.afterparty-content{
  position:relative;
  z-index:2;
  max-width:820px;
  margin:0 auto;
  text-align:center;
}
.afterparty-title{margin-bottom:1.8rem;}
.afterparty-lead{
  font-size:clamp(1rem, 1.8vw, 1.25rem);
  line-height:1.6;
  color:rgba(251,247,255,.9);
  margin-bottom:3rem;
}

.bar-card, .dj-card, .timeline{
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.1);
  border-radius:22px;
  padding:2rem clamp(1.2rem, 4vw, 2.5rem);
  margin-bottom:2.5rem;
  text-align:left;
  backdrop-filter:blur(4px);
}
.bar-card h3{
  font-family:var(--font-display);
  text-align:center;
  text-transform:uppercase;
  letter-spacing:.1em;
  font-size:1.1rem;
  margin:0 0 1.5rem;
  color:var(--gold);
}
.cocktail-list{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:1rem;
}
.cocktail-list li{
  display:flex;
  align-items:center;
  gap:.7rem;
  padding:1rem 1.2rem;
  background:rgba(255,255,255,.05);
  border-radius:14px;
  font-weight:700;
  font-family:var(--font-display);
  font-size:.95rem;
}
.cocktail-icon{font-size:1.3rem;}

.dj-card{
  display:flex;
  gap:1.5rem;
  align-items:flex-start;
}
.dj-time{
  font-family:var(--font-display);
  font-weight:900;
  font-size:2rem;
  color:var(--pink);
  flex-shrink:0;
  min-width:90px;
}
.dj-info h3{
  font-family:var(--font-display);
  margin:0 0 .8rem;
  font-size:1.15rem;
}
.dj-info p{
  margin:0 0 .8rem;
  line-height:1.6;
  color:rgba(251,247,255,.85);
  font-size:.98rem;
}
.dj-cta{
  color:var(--blue) !important;
  font-weight:600;
}

.timeline{display:flex;flex-direction:column;gap:1.4rem;}
.timeline-item{
  display:flex;
  gap:1.2rem;
  align-items:baseline;
}
.t-time{
  font-family:var(--font-display);
  font-weight:800;
  color:var(--blue);
  min-width:70px;
  flex-shrink:0;
}
.timeline-item p{margin:0;line-height:1.5;}

.dresscode{
  font-size:clamp(1rem, 2vw, 1.3rem);
  font-weight:700;
  margin-bottom:1.2rem;
}
.dresscode a{
  color:var(--pink);
  text-decoration:underline;
  text-decoration-color:rgba(224,40,125,.5);
  text-underline-offset:4px;
}
.see-you{
  font-family:var(--font-display);
  font-size:clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight:800;
  color:var(--white);
}

.footer{
  text-align:center;
  padding:2.5rem 1rem;
  color:rgba(251,247,255,.45);
  font-size:.8rem;
  border-top:1px solid rgba(255,255,255,.06);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width:900px){
  .cocktail-list{grid-template-columns:1fr;}
  .dj-card{flex-direction:column;}
  .dj-time{font-size:1.6rem;}
}

@media (max-width:600px){
  .hero{padding:8vh 6vw;}
  .hero-meta{gap:.6rem;}
  .hero-meta span{padding:.5em 1em;font-size:.8rem;}
  .mini-ball .disco-ball{width:84px;height:84px;}
  .mini-ball-1{top:6%;left:4%;}
  .mini-ball-2{bottom:8%;right:4%;}
  .agenda-trigger{padding:10vh 6vw 8vh;}
  .disco-ball-wrap .disco-ball{width:120px;height:120px;}
  .disco-ball.big{width:150px;height:150px;}
  .spotlight-divider{height:40vh;min-height:280px;}
  .agenda-item{flex-direction:column;gap:.3rem;}
  .bar-card, .dj-card, .timeline{padding:1.5rem;}
  .afterparty{padding:10vh 6vw 6vh;}
}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important;}
}
