/* D-Gen EPK modal — UMC3-style fade slides, zero scroll */
.dgen-epk-root {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s;
}
.dgen-epk-root.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.dgen-epk-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 0, 10, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.dgen-epk-sheet {
  position: relative;
  width: min(96vw, 1180px);
  height: min(92vh, 860px);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 77, 154, 0.45);
  box-shadow: 0 0 0 1px rgba(0, 255, 255, 0.12), 0 24px 80px rgba(255, 0, 120, 0.25);
  background: #0a0012;
  display: flex;
  flex-direction: column;
}
.dgen-epk-top {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.85rem;
  background: linear-gradient(180deg, rgba(255, 77, 154, 0.18), transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 3;
}
.dgen-epk-top .brand-mini {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  color: #ffb3d9;
}
.dgen-epk-top .brand-mini img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.dgen-epk-close {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
}
.dgen-epk-close:hover {
  border-color: #ff4d9a;
  color: #ff4d9a;
}
.dgen-epk-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
.dgen-epk-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.5rem 3.25rem;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease, visibility 0.5s, transform 0.5s ease;
  transform: scale(0.985);
  text-align: center;
  color: #fce7f3;
  overflow: hidden;
}
.dgen-epk-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
  z-index: 2;
}
.dgen-epk-slide.leaving {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  z-index: 1;
}
.dgen-epk-slide .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  pointer-events: none;
}
.dgen-epk-slide .shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 20%, rgba(8, 0, 16, 0.75) 75%);
  pointer-events: none;
}
.dgen-epk-slide .ui {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  width: 100%;
}
.dgen-epk-slide h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 0 24px rgba(255, 77, 154, 0.45);
}
.dgen-epk-slide .kicker {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #67e8f9;
  margin: 0 0 0.65rem;
  font-weight: 700;
}
.dgen-epk-slide p {
  margin: 0.4rem 0;
  line-height: 1.5;
  font-size: clamp(0.88rem, 1.8vw, 1.05rem);
  color: rgba(255, 240, 250, 0.9);
}
.dgen-epk-slide .lyric {
  font-family: ui-monospace, Consolas, monospace;
  font-size: clamp(0.8rem, 1.6vw, 0.98rem);
  line-height: 1.55;
  color: #fda4d0;
  text-shadow: 0 0 8px rgba(255, 0, 120, 0.35);
}
.dgen-epk-slide .hero-mascot {
  width: min(200px, 38vw);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 1rem;
  border: 2px solid #ff4d9a;
  box-shadow: 0 0 40px rgba(255, 77, 154, 0.4);
  margin: 0.5rem auto 0.85rem;
  display: block;
}
.dgen-epk-slide .wordmark {
  width: min(360px, 70vw);
  height: auto;
  margin: 0.35rem auto 0.5rem;
  display: block;
  filter: drop-shadow(0 0 12px rgba(255, 77, 154, 0.5));
}
.dgen-epk-motifs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  margin-top: 0.85rem;
}
.dgen-epk-motifs img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #111;
}
.dgen-epk-discog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  max-width: 420px;
  margin: 0.75rem auto 0;
}
.dgen-epk-discog img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0.4rem;
  border: 1px solid rgba(255, 77, 154, 0.25);
}
.dgen-epk-pills {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-width: 320px;
  margin: 0.75rem auto 0;
}
.dgen-epk-pills a {
  display: block;
  text-decoration: none;
  color: #0a0012;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  text-align: center;
  transition: filter 0.15s, transform 0.15s;
}
.dgen-epk-pills a:hover {
  filter: brightness(1.08);
  transform: scale(1.02);
}
.dgen-epk-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.9rem 0.7rem;
  background: linear-gradient(0deg, rgba(10, 0, 18, 0.95), transparent);
  pointer-events: none;
}
.dgen-epk-foot > * {
  pointer-events: auto;
}
.dgen-epk-dots {
  display: flex;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.dgen-epk-dots button {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
}
.dgen-epk-dots button[aria-current="true"] {
  background: #ff4d9a;
  box-shadow: 0 0 10px rgba(255, 77, 154, 0.7);
  width: 18px;
}
.dgen-epk-hint {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.dgen-epk-navbtn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  cursor: pointer;
}
.dgen-epk-navbtn:hover {
  border-color: #67e8f9;
  color: #67e8f9;
}
body.dgen-epk-open {
  overflow: hidden !important;
}
@media (max-width: 560px) {
  .dgen-epk-sheet {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
  }
  .dgen-epk-discog {
    max-width: 280px;
  }
  .dgen-epk-motifs img {
    width: 56px;
    height: 56px;
  }
}
