/* ==========================================================================
   PGL THEATRICAL RED CURTAIN ENTRANCE OVERLAY & PRELOADER
   (Exact Match to Puteri Gunung Ledang: The Musical)
   ========================================================================== */

#pgl-curtain-stage {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000000;
  overflow: hidden;
  pointer-events: all;
  background: #000000;
  font-family: inherit;
}

/* Background Stage (Visible once curtain splits) */
.pgl-theatre-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../imgs/pgl_theatre_stage_open.png') center center / cover no-repeat;
  z-index: 1;
}

/* Main Closed Velvet Curtains (Splits smoothly left and right) */
.pgl-curtain-panel {
  position: absolute;
  top: 0;
  width: 50.5%;
  height: 100%;
  z-index: 5;
  transition: transform 2.4s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}

.pgl-curtain-left {
  left: 0;
  background-image: url('../imgs/pgl_main_curtain_left.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right center;
  box-shadow: 15px 0 50px rgba(0, 0, 0, 0.95);
}

.pgl-curtain-right {
  right: 0;
  background-image: url('../imgs/pgl_main_curtain_right.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: left center;
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.95);
}

/* High-Resolution Side Draperies & Valances Overlay */
.pgl-stage-drapes-overlay {
  display: none !important;
}

/* High-Resolution Ornate Golden Proscenium Stage Frame Overlay */
.pgl-stage-frame-overlay {
  display: none !important;
}

/* Center Stage Composition */
.pgl-curtain-center {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 25;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 90%;
  max-width: 580px;
  padding: 10px;
  transition: opacity 0.8s ease, transform 0.8s ease;
  pointer-events: all;
  box-sizing: border-box;
}

/* Crest Emblem */

/* Official Hero Logo in Curtain */
.pgl-curtain-hero-logo-wrap {
  width: 100%;
  max-width: 560px;
  margin: 0 auto 16px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pgl-curtain-hero-logo {
  width: 100%;
  max-width: 560px !important;
  max-height: none !important;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.pgl-curtain-crest-wrap {
  width: 100px;
  max-width: 100px;
  height: auto;
  margin: 0 auto 16px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pgl-crest-img {
  width: 100%;
  max-width: 100px;
  height: auto;
  max-height: 150px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 15px rgba(212, 175, 55, 0.45));
}

/* Title */
.pgl-curtain-title-wrap {
  width: 100%;
  max-width: 420px;
  margin: 0 auto 14px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pgl-title-img {
  width: 100%;
  max-width: 420px;
  height: auto;
  max-height: 140px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
}

/* Tagline */
.pgl-curtain-tagline {
  font-family: 'goudy-old-style', 'Georgia', serif;
  font-size: 19px;
  font-style: italic;
  font-weight: 400;
  color: #EDD797;
  letter-spacing: 0.08em;
  margin: 0 auto 22px auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 0 15px rgba(212, 175, 55, 0.5);
}

/* Progress & Loading Bar */
.pgl-curtain-loader-wrap {
  width: 100%;
  max-width: 340px;
  margin-top: 5px;
  margin-bottom: 15px;
}

.pgl-curtain-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.pgl-curtain-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #9F7A1A 0%, #E5C365 50%, #FFF5D0 100%);
  box-shadow: 0 0 16px #E5C365;
  transition: width 0.12s linear;
}

.pgl-curtain-loading-text {
  font-size: 11.5px;
  color: #E5C365;
  letter-spacing: 0.18em;
  margin-top: 10px;
  font-weight: 600;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

/* Exact Royal Theatrical Framed Button */
.pgl-royal-button-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
}

.pgl-curtain-royal-frame-btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  outline: none;
  display: inline-block;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.35s ease;
  user-select: none;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 20px rgba(212, 175, 55, 0.35));
}

.pgl-royal-btn-asset {
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
  pointer-events: none;
  transition: filter 0.35s ease;
}

.pgl-curtain-royal-frame-btn:hover {
  transform: translateY(-2px) scale(1.035);
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 35px rgba(248, 230, 152, 0.75));
}

.pgl-curtain-royal-frame-btn:hover .pgl-royal-btn-asset {
  filter: brightness(1.12);
}

.pgl-curtain-royal-frame-btn:active {
  transform: translateY(1px) scale(0.985);
}

/* Double gold filigree border via pseudo-element */
.pgl-curtain-gold-btn::before {
  content: '';
  position: absolute;
  top: -1.5px;
  left: -1.5px;
  right: -1.5px;
  bottom: -1.5px;
  border-radius: 50px;
  background: linear-gradient(135deg, #FDF3C6 0%, #D4AF37 30%, #8A641A 60%, #F5DE88 85%, #AA8022 100%);
  z-index: -1;
  transition: opacity 0.4s ease, filter 0.4s ease;
}

.pgl-curtain-gold-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 
    0 18px 45px rgba(0, 0, 0, 0.95),
    0 0 45px rgba(245, 222, 136, 0.65),
    inset 0 1px 1px rgba(255, 255, 255, 0.8),
    inset 0 -2px 6px rgba(0, 0, 0, 0.9);
  background: linear-gradient(180deg, #3d2c12 0%, #1c1407 50%, #0b0803 100%);
}

.pgl-curtain-gold-btn:hover::before {
  filter: brightness(1.25);
}

.pgl-curtain-gold-btn:active {
  transform: translateY(1px) scale(0.98);
}

.pgl-btn-ornament-left,
.pgl-btn-ornament-right {
  font-size: 13px;
  color: #EAC765;
  text-shadow: 0 0 10px rgba(234, 199, 101, 0.8);
  transition: transform 0.4s ease;
}

.pgl-curtain-gold-btn:hover .pgl-btn-ornament-left {
  transform: rotate(-45deg) scale(1.2);
  color: #FFF4C2;
}

.pgl-curtain-gold-btn:hover .pgl-btn-ornament-right {
  transform: rotate(45deg) scale(1.2);
  color: #FFF4C2;
}

.pgl-btn-title-main {
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #FFF2A6;
  background: linear-gradient(180deg, #FFFFFF 0%, #FDE48C 40%, #D4AF37 80%, #B88E28 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.9));
  white-space: nowrap;
}

/* Diagonal luxury shimmer sweep */
.pgl-curtain-gold-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg, 
    transparent 0%, 
    rgba(255, 245, 190, 0.15) 30%, 
    rgba(255, 255, 255, 0.5) 50%, 
    rgba(255, 245, 190, 0.15) 70%, 
    transparent 100%
  );
  transform: skewX(-25deg);
  animation: pglBtnShine 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

@keyframes pglBtnShine {
  0% { left: -120%; }
  35%, 100% { left: 220%; }
}

@keyframes pglRoyalGlow {
  0%, 100% { 
    box-shadow: 
      0 12px 35px rgba(0, 0, 0, 0.9),
      0 0 25px rgba(212, 175, 55, 0.25),
      inset 0 1px 0 rgba(255, 240, 170, 0.4);
  }
  50% { 
    box-shadow: 
      0 14px 40px rgba(0, 0, 0, 0.9),
      0 0 40px rgba(248, 230, 152, 0.55),
      inset 0 1px 0 rgba(255, 240, 170, 0.7);
  }
}

.pgl-curtain-gold-btn {
  animation: pglRoyalGlow 3.2s infinite ease-in-out;
}

/* Curtain Open & Zoom-In Immersive Entrance */
#pgl-curtain-stage {
  transition: opacity 1.2s ease 2.2s;
}

#pgl-curtain-stage.curtain-opened {
  pointer-events: none;
}

#pgl-curtain-stage.curtain-opened .pgl-theatre-background {
  transform: scale(1.65);
  filter: brightness(1.22) contrast(1.1);
  transition: transform 4.2s cubic-bezier(0.16, 1, 0.3, 1), filter 4.2s ease;
}

#pgl-curtain-stage.curtain-opened .pgl-curtain-panel {
  transition: transform 2.6s cubic-bezier(0.77, 0, 0.175, 1);
}

#pgl-curtain-stage.curtain-opened .pgl-curtain-left {
  transform: translateX(-115%) scale(1.2) skewX(-2deg);
}

#pgl-curtain-stage.curtain-opened .pgl-curtain-right {
  transform: translateX(115%) scale(1.2) skewX(2deg);
}

#pgl-curtain-stage.curtain-opened .pgl-stage-drapes-overlay {
  display: none !important;
}

#pgl-curtain-stage.curtain-opened .pgl-stage-frame-overlay {
  transform: scale(1.55);
  opacity: 0.4;
  transition: transform 4.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 3.5s ease;
}

#pgl-curtain-stage.curtain-opened .pgl-curtain-center {
  opacity: 0;
  transform: translate(-50%, -50%) scale(1.22);
  pointer-events: none;
  transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================================================
   PGL THEATRICAL QUOTE OVERLAY (Replaces P.T. Barnum Quote)
   "Bila sampai waktunya, kita akan bersama. Adinda anggap sebagai Janji"
   ========================================================================== */
.pgl-quote-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), visibility 1.2s;
  background: radial-gradient(circle at center, rgba(10, 6, 8, 0.82) 0%, rgba(4, 2, 4, 0.92) 80%);
}

.pgl-quote-overlay.is-revealed {
  opacity: 1;
  visibility: visible;
}

.pgl-quote-inner {
  max-width: 860px;
  width: 88%;
  text-align: center;
  padding: 40px 24px;
}

.pgl-quote-ornament {
  font-size: 18px;
  color: #D4AF37;
  letter-spacing: 0.4em;
  margin-bottom: 24px;
  opacity: 0.85;
}

.pgl-quote-text {
  font-size: 34px;
  line-height: 1.45;
  font-weight: 400;
  font-style: italic;
  color: #F8E698;
  letter-spacing: 0.04em;
  margin: 0 0 28px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9), 0 0 35px rgba(212, 175, 55, 0.45);
}

.pgl-quote-author {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #DCDFD3;
  margin: 0;
  text-align: right;
  padding-right: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

#pgl-curtain-stage.curtain-opened {
  pointer-events: none;
}

/* ==========================================================================
   MOBILE & TOUCH SCREEN OPTIMIZATIONS (Portrait & Responsive)
   ========================================================================== */

@media (max-width: 768px) {
  /* Ensure backgrounds and overlays maintain centered coverage */
  .pgl-theatre-background,
  .pgl-stage-frame-overlay,
  .pgl-stage-drapes-overlay {
    background-size: cover !important;
    background-position: center center !important;
  }

  /* Make sure split curtains cover full height in portrait without horizontal distortion */
  .pgl-curtain-left {
    background-size: auto 100% !important;
    background-position: right center !important;
  }

  .pgl-curtain-right {
    background-size: auto 100% !important;
    background-position: left center !important;
  }

  /* Center Stage Composition on Mobile */
  .pgl-curtain-center {
    width: 88% !important;
    max-width: 380px !important;
    padding: 15px 10px !important;
    top: 50% !important;
  }

  /* Crest Scaling */
  
/* Official Hero Logo in Curtain */
.pgl-curtain-hero-logo-wrap {
  width: 100%;
  max-width: 560px;
  margin: 0 auto 16px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pgl-curtain-hero-logo {
  width: 100%;
  max-width: 560px !important;
  max-height: none !important;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.pgl-curtain-crest-wrap {
    max-width: 85px !important;
    margin-bottom: 14px !important;
  }

  .pgl-crest-img {
    max-height: 120px !important;
  }

  /* Title Scaling */
  .pgl-curtain-title-wrap {
    max-width: 320px !important;
    margin-bottom: 12px !important;
  }

  .pgl-title-img {
    max-height: 110px !important;
  }

  /* Tagline */
  .pgl-curtain-tagline {
    font-size: 16px !important;
    letter-spacing: 0.06em !important;
    margin-bottom: 20px !important;
  }

  /* Loading Bar */
  .pgl-curtain-loader-wrap {
    max-width: 260px !important;
  }

  .pgl-curtain-loading-text {
    font-size: 10px !important;
    letter-spacing: 0.14em !important;
  }

  /* Royal Button */
  .pgl-royal-btn-asset {
    max-width: 320px !important;
  }

  .pgl-curtain-royal-frame-btn {
    width: 100% !important;
    max-width: 320px !important;
  }

  .pgl-quote-text {
    font-size: 22px !important;
    line-height: 1.45 !important;
    margin-bottom: 18px !important;
  }

  .pgl-quote-author {
    font-size: 14px !important;
    letter-spacing: 0.15em !important;
  }

  .pgl-quote-inner {
    padding: 20px 15px !important;
  }
}

@media (max-width: 480px) {
  .pgl-curtain-center {
    width: 90% !important;
    max-width: 330px !important;
  }

  
/* Official Hero Logo in Curtain */
.pgl-curtain-hero-logo-wrap {
  width: 100%;
  max-width: 560px;
  margin: 0 auto 16px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pgl-curtain-hero-logo {
  width: 100%;
  max-width: 560px !important;
  max-height: none !important;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.pgl-curtain-crest-wrap {
    max-width: 72px !important;
    margin-bottom: 10px !important;
  }

  .pgl-crest-img {
    max-height: 100px !important;
  }

  .pgl-curtain-title-wrap {
    max-width: 275px !important;
    margin-bottom: 10px !important;
  }

  .pgl-curtain-tagline {
    font-size: 14px !important;
    margin-bottom: 16px !important;
  }

  .pgl-curtain-loader-wrap {
    max-width: 220px !important;
  }

  .pgl-royal-btn-asset {
    max-width: 275px !important;
  }

  .pgl-curtain-royal-frame-btn {
    max-width: 275px !important;
  }

  .pgl-quote-text {
    font-size: 18px !important;
  }

  .pgl-quote-author {
    font-size: 12px !important;
  }
}

/* General Mobile & Tablet Polish */
@media (max-width: 768px) {
  header:not(.edgtf-page-header):not(.edgtf-mobile-header) {
    left: 20px !important;
    right: 20px !important;
    padding: 16px 0 !important;
    height: auto !important;
  }

  .site_logo {
    max-width: 140px !important;
  }

  .site_logo img {
    max-height: 36px !important;
  }

  .main_content {
    padding: 0 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .main_content h1 {
    font-size: 32px !important;
    line-height: 1.15 !important;
    letter-spacing: 1px !important;
  }

  .main_content h2 {
    font-size: 13px !important;
    letter-spacing: 3px !important;
    margin-bottom: 8px !important;
  }

  .main_content h3 {
    font-size: 11px !important;
    letter-spacing: 1.5px !important;
    line-height: 1.5 !important;
  }

  #main .actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 24px !important;
  }

  #main .btn_set,
  #main .troupeIn {
    width: 100% !important;
    max-width: 260px !important;
    text-align: center !important;
    box-sizing: border-box !important;
    padding: 14px 20px !important;
    margin: 0 !important;
  }

  .main_footer {
    display: none !important;
  }

  /* Troupe cards on mobile */
  .troupe_wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .troupe_content h1 {
    font-size: 24px !important;
  }

  .troupe_content h2 {
    font-size: 13px !important;
  }
}

/* ==========================================================================
   GOLDEN SAND QUOTE TYPOGRAPHY & ENTRANCE/DISPERSAL STYLES
   ========================================================================== */
.site_loader {
  z-index: 10000005 !important;
  background: transparent !important;
  pointer-events: none !important;
}

.site_loader .loader_tube {
  display: none !important;
}

.quote_set {
  position: relative;
  z-index: 10;
  display: none;
  opacity: 0;
  visibility: hidden;
}

.quote_set > h1 {
  font-family: 'goudy-old-style', 'Georgia', serif !important;
  color: #F8E698 !important;
  text-shadow: 
    0 0 12px rgba(248, 230, 152, 0.7),
    0 0 25px rgba(212, 175, 55, 0.5),
    0 4px 18px rgba(0, 0, 0, 0.95);
  letter-spacing: 1.5px !important;
  line-height: 1.4 !important;
}

.quote_set > h1 div,
.quote_set > p div {
  display: inline-block;
  will-change: transform, opacity, filter;
  backface-visibility: hidden;
}

.quote_set > p {
  font-family: 'goudy-old-style', 'Georgia', serif !important;
  color: #EDD797 !important;
  letter-spacing: 2px !important;
  text-shadow: 
    0 0 10px rgba(237, 215, 151, 0.6),
    0 2px 10px rgba(0, 0, 0, 0.9);
}

@media (max-width: 768px) {
  .quote_set {
    max-width: 90% !important;
    margin: 0 auto !important;
    padding: 0 10px !important;
  }
  .quote_set > h1 {
    font-size: 22px !important;
    line-height: 1.35 !important;
    margin-bottom: 18px !important;
  }
  .quote_set > p {
    font-size: 15px !important;
    text-align: center !important;
  }
}


/* THEATRICAL QUOTE OVERLAY (BETWEEN CURTAINS) */
.pgl-theatrical-quote-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 90%;
  max-width: 1050px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  pointer-events: auto;
}

.pgl-theatrical-quote-overlay.active {
  opacity: 1;
  visibility: visible;
  z-index: 15;
}

.pgl-quote-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
}

.pgl-quote-stars {
  color: #d4af37;
  font-size: 18px;
  letter-spacing: 14px;
  margin-bottom: 25px;
  opacity: 0;
  transform: scale(0.5);
  transition: all 1s ease;
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
}

.pgl-theatrical-quote-overlay.coalesce .pgl-quote-stars {
  opacity: 0.9;
  transform: scale(1);
}

.pgl-quote-text {
  font-family: 'goudy-old-style', 'Playfair Display', Georgia, serif;
  font-size: 38px;
  line-height: 1.5;
  color: #F8E698;
  text-shadow: 
    0 0 15px rgba(248, 230, 152, 0.75),
    0 0 35px rgba(212, 175, 55, 0.5),
    0 4px 20px rgba(0, 0, 0, 0.95);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 400;
  margin: 0 0 25px 0;
}

.pgl-quote-char {
  display: inline-block;
  opacity: 0;
  transform: translate3d(var(--rnd-x, 0px), var(--rnd-y, 25px), 0) scale(var(--rnd-scale, 0.6)) rotate(var(--rnd-rot, 0deg));
  filter: blur(8px);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s ease, filter 1.2s ease;
  will-change: transform, opacity, filter;
}

.pgl-theatrical-quote-overlay.coalesce .pgl-quote-char {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  filter: blur(0px);
}

.pgl-theatrical-quote-overlay.disperse .pgl-quote-char {
  opacity: 0;
  transform: translate3d(var(--blow-x, 40px), var(--blow-y, -30px), 0) scale(0.2) rotate(var(--blow-rot, 20deg));
  filter: blur(10px);
  transition: transform 1.0s cubic-bezier(0.4, 0, 1, 1), opacity 0.9s ease, filter 0.9s ease;
}

.pgl-quote-signature {
  font-family: 'goudy-old-style', 'Playfair Display', Georgia, serif;
  font-size: 20px;
  letter-spacing: 6px;
  color: #EDD797;
  text-transform: uppercase;
  margin: 0;
  opacity: 0;
  transform: translateY(15px);
  filter: blur(4px);
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-shadow: 
    0 0 12px rgba(237, 215, 151, 0.6),
    0 2px 10px rgba(0, 0, 0, 0.9);
}

.pgl-theatrical-quote-overlay.coalesce .pgl-quote-signature {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0px);
}

.pgl-theatrical-quote-overlay.disperse .pgl-quote-signature {
  opacity: 0;
  transform: translateY(-20px) scale(0.8);
  filter: blur(8px);
  transition: all 0.8s ease;
}

@media (max-width: 768px) {
  .pgl-quote-text {
    font-size: 22px;
    line-height: 1.4;
    letter-spacing: 1px;
    margin-bottom: 18px;
  }
  .pgl-quote-signature {
    font-size: 14px;
    letter-spacing: 3px;
  }
  .pgl-quote-stars {
    font-size: 14px;
    letter-spacing: 8px;
    margin-bottom: 15px;
  }
}


/* UNIVERSAL SUBMENU REMOVAL */
.edgtf-main-menu .second,
.edgtf-drop-down .second,
.edgtf-drop-down-wrapper,
.sub_menu,
.edgtf-menu-arrow,
.mobile_arrow {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    width: 0 !important;
}

/* PGL Hero Gold Glow Animation */
@keyframes pglGoldGlowPulse {
    0% {
        filter: brightness(1.08)
                drop-shadow(0 0 8px rgba(255, 240, 160, 0.85))
                drop-shadow(0 0 22px rgba(255, 200, 50, 0.7))
                drop-shadow(0 0 45px rgba(235, 150, 25, 0.5))
                drop-shadow(0 0 85px rgba(210, 100, 15, 0.3));
    }
    100% {
        filter: brightness(1.2)
                drop-shadow(0 0 14px rgba(255, 255, 210, 1))
                drop-shadow(0 0 32px rgba(255, 220, 70, 0.9))
                drop-shadow(0 0 65px rgba(255, 175, 35, 0.75))
                drop-shadow(0 0 110px rgba(240, 130, 20, 0.5));
    }
}

.pgl-hero-logo-glowing {
    animation: pglGoldGlowPulse 3.2s ease-in-out infinite alternate !important;
    will-change: filter;
    transition: filter 0.4s ease;
}

/* Skip Intro / Animation Button */
.pgl-curtain-skip {
  position: absolute;
  z-index: 50;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  min-width: 94px;
  min-height: 44px;
  border: 1px solid #bd9655;
  border-radius: 24px;
  padding: 10px 18px;
  background: #160908e8;
  color: #f3dba4;
  font: 14px Georgia, serif;
  letter-spacing: .04em;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  transition: opacity 0.3s ease, background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.pgl-curtain-skip:hover {
  background: #2b120fe8;
  border-color: #ffd700;
  color: #fff2cc;
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.45);
}
.pgl-curtain-skip:active {
  transform: scale(0.96);
  background: #3d1512;
}
.pgl-curtain-skip[hidden] {
  display: none !important;
}

@media (max-width: 768px) {
  .pgl-curtain-skip {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    position: absolute !important;
    z-index: 9999 !important;
    right: max(14px, env(safe-area-inset-right)) !important;
    bottom: max(16px, env(safe-area-inset-bottom)) !important;
    min-width: 86px !important;
    min-height: 40px !important;
    padding: 8px 15px !important;
    font-size: 13px !important;
    letter-spacing: 0.04em !important;
    border-radius: 20px !important;
    background: rgba(22, 9, 8, 0.92) !important;
    border: 1px solid rgba(189, 150, 85, 0.85) !important;
    color: #f3dba4 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7) !important;
    pointer-events: auto !important;
    cursor: pointer !important;
  }
}
@media (max-width: 480px) {
  .pgl-curtain-skip {
    right: max(12px, env(safe-area-inset-right)) !important;
    bottom: max(14px, env(safe-area-inset-bottom)) !important;
    min-width: 80px !important;
    min-height: 38px !important;
    padding: 7px 13px !important;
    font-size: 12px !important;
  }
}

/* Theatrical Red Velvet Curtains (Full-bleed, rich texture) */
#pgl-curtain-stage .pgl-fallback-fabric {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

#pgl-curtain-stage.pgl-webgl-ready .pgl-fallback-fabric,
#pgl-curtain-stage.curtain-opened .pgl-fallback-fabric,
#pgl-curtain-stage.pgl-curtain-opening .pgl-fallback-fabric {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#pgl-curtain-stage .pgl-curtain-panel {
  position: absolute;
  top: 0;
  width: 50.5%;
  height: 100%;
  z-index: 5;
  transition: transform 2.6s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}

#pgl-curtain-stage .pgl-curtain-left {
  left: 0;
  background-image: url('/imgs/pgl_main_curtain_left.png') !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: right center !important;
  box-shadow: 15px 0 50px rgba(0, 0, 0, 0.95);
}

#pgl-curtain-stage .pgl-curtain-right {
  right: 0;
  background-image: url('/imgs/pgl_main_curtain_right.png') !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: left center !important;
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.95);
}

#pgl-curtain-stage.curtain-opened .pgl-curtain-left {
  transform: translateX(-100%) !important;
}

#pgl-curtain-stage.curtain-opened .pgl-curtain-right {
  transform: translateX(100%) !important;
}

/* Proscenium Frame & Drapes Overlay */
#pgl-curtain-stage .pgl-stage-frame-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: url('/imgs/pgl_stage_proscenium_frame.png') center center / 100% 100% no-repeat;
  z-index: 9;
  pointer-events: none;
  display: block !important;
}

#pgl-curtain-stage .pgl-stage-drapes-overlay {
  display: none !important;
}

/* Scenery Backdrop (Woman & Red Mountain Atmosphere) */
#pgl-curtain-stage .pgl-legend-backdrop {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 2.4s ease-in-out;
  pointer-events: none;
}

#pgl-curtain-stage.pgl-art-visible .pgl-legend-backdrop,
#pgl-curtain-stage.curtain-opened .pgl-legend-backdrop {
  opacity: 1 !important;
  visibility: visible !important;
}

#pgl-curtain-stage .pgl-legend-backdrop picture,
#pgl-curtain-stage .pgl-legend-backdrop img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
