/* ==========================================
   GUEST STAR SECTION
========================================== */

.guest-star-section {
  position: relative;
  min-height: 900px;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 50% 35%,
      rgba(255, 185, 95, 0.14),
      transparent 32%
    ),
    linear-gradient(
      180deg,
      #122222 0%,
      #151317 24%,
      #09090b 100%
    );
}

.guest-stage {
  position: relative;
  min-height: 900px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
  isolation: isolate;
}

/* ==========================================
   MAIN CONTENT
========================================== */

.guest-star-container {
  position: relative;
  z-index: 8;

  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 130px 0 150px;

  opacity: 0;
  transform: translateY(40px);

  transition:
    opacity 1s ease 0.8s,
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.8s;
}

.guest-star-section.is-open .guest-star-container {
  opacity: 1;
  transform: translateY(0);
}

.guest-star-heading {
  position: relative;
  z-index: 4;

  margin-bottom: 40px;

  text-align: center;
}

.guest-star-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  color: #f4b85e;

  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.26em;
}

.guest-star-label::before,
.guest-star-label::after {
  content: "";

  width: 50px;
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(244, 184, 94, 0.8)
  );
}

.guest-star-label::after {
  transform: rotate(180deg);
}

.guest-star-kicker {
  margin-top: 12px;

  color: rgba(255, 255, 255, 0.58);

  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

/* ==========================================
   VISUAL AREA
========================================== */

.guest-star-visual {
  position: relative;

  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 30px;

  min-height: 620px;
}

/* ==========================================
   ARTIST IMAGE
========================================== */

.artist-image-frame {
  position: relative;

  min-height: 620px;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  overflow: hidden;

  border-radius: 48% 48% 8px 8px / 24% 24% 8px 8px;

  background:
    radial-gradient(
      circle at 50% 28%,
      rgba(255, 193, 110, 0.28),
      transparent 36%
    ),
    linear-gradient(
      180deg,
      rgba(54, 40, 31, 0.3),
      rgba(10, 10, 12, 0.9)
    );

  box-shadow:
    0 45px 100px rgba(0, 0, 0, 0.55),
    inset 0 0 70px rgba(255, 185, 93, 0.06);

  opacity: 0;
  transform: scale(0.92) translateY(50px);

  transition:
    opacity 1.1s ease 1.1s,
    transform 1.5s cubic-bezier(0.22, 1, 0.36, 1) 1.1s;
}

.guest-star-section.is-open .artist-image-frame {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.artist-image-frame::before {
  content: "";

  position: absolute;
  inset: 0;
  z-index: 2;

  border: 1px solid rgba(255, 209, 145, 0.16);
  border-radius: inherit;

  pointer-events: none;
}

.artist-image {
  position: relative;
  z-index: 1;

  width: 100%;
  height: 100%;
  min-height: 620px;

  object-fit: contain;
  object-position: center bottom;

  transform: scale(1.02);

  filter:
    saturate(0.92)
    contrast(1.04)
    drop-shadow(0 32px 30px rgba(0, 0, 0, 0.45));

  animation: artistSlowZoom 10s ease-in-out infinite alternate;
}

.artist-image-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;

  background:
    linear-gradient(
      180deg,
      transparent 45%,
      rgba(7, 7, 9, 0.18) 68%,
      rgba(7, 7, 9, 0.85) 100%
    );

  pointer-events: none;
}

@keyframes artistSlowZoom {
  from {
    transform: scale(1.02) translateY(0);
  }

  to {
    transform: scale(1.075) translateY(-8px);
  }
}

/* ==========================================
   ARTIST INFORMATION
========================================== */

.artist-information {
  position: relative;
  z-index: 5;

  padding: 60px 20px 60px 10px;

  opacity: 0;
  transform: translateX(50px);

  transition:
    opacity 1s ease 1.35s,
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1) 1.35s;
}

.guest-star-section.is-open .artist-information {
  opacity: 1;
  transform: translateX(0);
}

.artist-intro {
  margin-bottom: 16px;

  color: #f4b85e;

  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.artist-name {
  display: flex;
  flex-wrap: wrap;
  gap: 0;

  margin: 0;

  color: #fff5df;

  font-family: "Cinzel", serif;
  font-size: clamp(3rem, 7vw, 6.6rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.035em;
  text-transform: uppercase;

  text-shadow:
    0 10px 30px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(255, 189, 90, 0.12);
}

.artist-letter {
  display: inline-block;

  opacity: 0;
  transform:
    translateY(45px)
    rotateX(70deg);

  transform-origin: bottom;

  transition:
    opacity 0.65s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.guest-star-section.is-open .artist-letter {
  opacity: 1;
  transform:
    translateY(0)
    rotateX(0);
}

.artist-letter-space {
  width: 0.3em;
}

.artist-description {
  max-width: 520px;
  margin-top: 28px;

  color: rgba(255, 255, 255, 0.68);

  font-size: 1rem;
  line-height: 1.8;
}

.artist-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;

  margin-top: 30px;

  color: rgba(255, 255, 255, 0.84);

  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.artist-meta-dot {
  width: 5px;
  height: 5px;

  border-radius: 50%;

  background: #f4b85e;

  box-shadow: 0 0 15px rgba(244, 184, 94, 0.8);
}

/* ==========================================
   MOVING STAGE LIGHTS
========================================== */

.stage-lights {
  position: absolute;
  inset: 0;
  z-index: 2;

  overflow: hidden;
  pointer-events: none;
}

.stage-light {
  position: absolute;
  top: -12%;
  left: 50%;

  width: 24%;
  height: 90%;

  opacity: 0;

  filter: blur(4px);

  transform-origin: top center;

  clip-path: polygon(
    46% 0,
    54% 0,
    100% 100%,
    0 100%
  );

  background: linear-gradient(
    180deg,
    rgba(255, 231, 185, 0.32),
    rgba(255, 199, 110, 0.12) 44%,
    transparent 88%
  );

  transition: opacity 1.2s ease 1.4s;
  mix-blend-mode: screen;
}

.guest-star-section.is-open .stage-light {
  opacity: 0.42;
}

.stage-light-left {
  transform: translateX(-95%) rotate(18deg);
  animation: spotlightLeft 8s ease-in-out infinite alternate;
}

.stage-light-center {
  width: 18%;

  transform: translateX(-50%) rotate(0deg);

  opacity: 0;

  animation: spotlightCenter 7s ease-in-out infinite alternate;
}

.guest-star-section.is-open .stage-light-center {
  opacity: 0.28;
}

.stage-light-right {
  transform: translateX(-5%) rotate(-18deg);
  animation: spotlightRight 9s ease-in-out infinite alternate;
}

@keyframes spotlightLeft {
  from {
    transform: translateX(-104%) rotate(23deg);
  }

  to {
    transform: translateX(-72%) rotate(9deg);
  }
}

@keyframes spotlightCenter {
  from {
    transform: translateX(-62%) rotate(-4deg);
  }

  to {
    transform: translateX(-38%) rotate(4deg);
  }
}

@keyframes spotlightRight {
  from {
    transform: translateX(4%) rotate(-23deg);
  }

  to {
    transform: translateX(-25%) rotate(-9deg);
  }
}

/* ==========================================
   STAGE GLOW
========================================== */

.stage-glow {
  position: absolute;
  top: 18%;
  left: 50%;
  z-index: 1;

  width: 720px;
  height: 720px;

  border-radius: 50%;

  opacity: 0;

  transform: translateX(-50%) scale(0.75);

  background: radial-gradient(
    circle,
    rgba(255, 178, 85, 0.2),
    rgba(255, 160, 70, 0.05) 38%,
    transparent 70%
  );

  filter: blur(20px);

  transition:
    opacity 1.6s ease 1.2s,
    transform 2s cubic-bezier(0.22, 1, 0.36, 1) 1.2s;

  animation: stageGlowPulse 5s ease-in-out infinite alternate;
}

.guest-star-section.is-open .stage-glow {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

@keyframes stageGlowPulse {
  from {
    filter: blur(20px);
  }

  to {
    filter: blur(32px);
  }
}

/* ==========================================
   CURTAINS
========================================== */

.stage-curtain {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 20;

  width: 51%;

  background:
    linear-gradient(
      90deg,
      #390607 0%,
      #761113 16%,
      #440708 28%,
      #8e1718 42%,
      #4b0809 55%,
      #821315 72%,
      #3b0607 87%,
      #6b0e10 100%
    );

  box-shadow:
    inset 0 0 80px rgba(0, 0, 0, 0.65),
    0 0 50px rgba(0, 0, 0, 0.4);

  transition:
    transform 1.8s cubic-bezier(0.77, 0, 0.18, 1),
    filter 1.8s ease;

  pointer-events: none;
}

.stage-curtain-left {
  left: 0;

  transform: translateX(0);
  transform-origin: left center;
}

.stage-curtain-right {
  right: 0;

  transform: translateX(0);
  transform-origin: right center;
}

.guest-star-section.is-open .stage-curtain-left {
  transform: translateX(-91%) skewY(-2deg);
  filter: brightness(0.78);
}

.guest-star-section.is-open .stage-curtain-right {
  transform: translateX(91%) skewY(2deg);
  filter: brightness(0.78);
}

.curtain-folds {
  position: absolute;
  inset: 0;

  opacity: 0.72;

  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 0,
    rgba(255, 255, 255, 0.04) 5%,
    rgba(0, 0, 0, 0.3) 11%,
    rgba(0, 0, 0, 0.48) 14%,
    rgba(255, 255, 255, 0.035) 20%
  );
}

.curtain-edge {
  position: absolute;
  top: 0;
  bottom: 0;

  width: 22px;

  background: linear-gradient(
    90deg,
    rgba(30, 0, 0, 0.7),
    #a32223,
    rgba(30, 0, 0, 0.75)
  );

  box-shadow:
    0 0 24px rgba(0, 0, 0, 0.75),
    inset 0 0 8px rgba(255, 255, 255, 0.12);
}

.stage-curtain-left .curtain-edge {
  right: 0;
}

.stage-curtain-right .curtain-edge {
  left: 0;
}

/* ==========================================
   TOP CURTAIN
========================================== */

.stage-curtain-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 22;

  height: 95px;

  background:
    linear-gradient(
      180deg,
      #751113,
      #420607 74%,
      #290304
    );

  border-radius: 0 0 48% 48% / 0 0 45% 45%;

  box-shadow:
    0 18px 30px rgba(0, 0, 0, 0.45),
    inset 0 -10px 16px rgba(0, 0, 0, 0.5);

  transition:
    transform 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.45s;
}

.guest-star-section.is-open .stage-curtain-top {
  transform: translateY(-36px);
}

.curtain-top-folds {
  position: absolute;
  inset: 0;

  opacity: 0.5;

  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    rgba(255, 255, 255, 0.05) 8%,
    rgba(0, 0, 0, 0.38) 14%,
    transparent 22%
  );
}

/* ==========================================
   STAGE FLOOR
========================================== */

.stage-floor {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -100px;
  z-index: 3;

  height: 280px;

  transform: perspective(500px) rotateX(62deg);

  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.018) 0,
      rgba(255, 255, 255, 0.018) 2px,
      transparent 2px,
      transparent 100px
    ),
    linear-gradient(
      180deg,
      rgba(94, 60, 35, 0.24),
      rgba(10, 9, 8, 0.95)
    );

  border-top: 1px solid rgba(255, 190, 105, 0.16);

  box-shadow:
    inset 0 30px 60px rgba(0, 0, 0, 0.5),
    0 -20px 60px rgba(255, 179, 87, 0.04);
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 900px) {
  .guest-star-section,
  .guest-stage {
    min-height: auto;
  }

  .guest-star-container {
    width: min(100% - 32px, 700px);
    padding: 130px 0 120px;
  }

  .guest-star-visual {
    grid-template-columns: 1fr;
    gap: 0;

    min-height: auto;
  }

  .artist-image-frame {
    min-height: 540px;
  }

  .artist-image {
    min-height: 540px;
  }

  .artist-information {
    padding: 40px 8px 0;

    text-align: center;

    transform: translateY(40px);
  }

  .artist-name {
    justify-content: center;
  }

  .artist-description {
    margin-left: auto;
    margin-right: auto;
  }

  .artist-meta {
    justify-content: center;
  }

  .stage-light {
    width: 42%;
  }
}

@media (max-width: 600px) {
  .guest-star-container {
    width: min(100% - 24px, 520px);
    padding-top: 110px;
  }

  .guest-star-heading {
    margin-bottom: 26px;
  }

  .guest-star-label {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
  }

  .guest-star-label::before,
  .guest-star-label::after {
    width: 24px;
  }

  .artist-image-frame {
    min-height: 430px;
    border-radius: 46% 46% 8px 8px / 18% 18% 8px 8px;
  }

  .artist-image {
    min-height: 430px;
  }

  .artist-name {
    font-size: clamp(2.8rem, 15vw, 4.6rem);
  }

  .artist-description {
    font-size: 0.92rem;
  }

  .artist-meta {
    gap: 10px;

    font-size: 0.64rem;
    letter-spacing: 0.1em;
  }

  .stage-curtain-top {
    height: 72px;
  }

  .guest-star-section.is-open .stage-curtain-left {
    transform: translateX(-94%);
  }

  .guest-star-section.is-open .stage-curtain-right {
    transform: translateX(94%);
  }
}

/* ==========================================
   REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {
  .stage-light,
  .stage-glow,
  .artist-image {
    animation: none;
  }

  .guest-star-container,
  .artist-image-frame,
  .artist-information,
  .artist-letter,
  .stage-curtain,
  .stage-curtain-top,
  .stage-glow {
    transition-duration: 0.01ms;
  }
}