/* ==========================================================================
   HEADLINERS REALM SECTION ("VOICES OF THE REALM")
   Aesthetic: Ultra-Luxurious Royal Red Laser Concert Headliners
   Starring: Sachet Tandon & Parampara Thakur
   ========================================================================== */

.headliners-realm-section {
  position: relative;
  background-color: #050507;
  background-image: 
    radial-gradient(ellipse 900px 350px at 50% 0%, rgba(215, 181, 109, 0.22) 0%, rgba(201, 43, 56, 0.08) 45%, transparent 75%),
    linear-gradient(180deg, #050507 0%, #09080c 50%, #050507 100%);
  padding: 8rem 1.5rem 9rem 1.5rem;
  overflow: hidden;
  color: #FFFFFF;
}

/* Celestial Golden Arc Glow above title (as seen in reference design) */
.realm-celestial-arc {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(880px, 92vw);
  height: 240px;
  border-top: 1px solid rgba(215, 181, 109, 0.35);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  box-shadow: 0 -8px 30px rgba(215, 181, 109, 0.15);
  pointer-events: none;
  opacity: 0.85;
}

.realm-celestial-arc::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 20%;
  right: 20%;
  height: 3px;
  background: radial-gradient(ellipse at center, rgba(255, 235, 175, 0.8) 0%, transparent 80%);
  filter: blur(2px);
}

/* Header Composition */
.realm-header {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.5rem auto;
}

.realm-badge {
  display: inline-block;
  font-family: var(--font-serif, 'Cinzel', serif);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent-gold-bright, #D7B56D);
  margin-bottom: 0.85rem;
}

.realm-badge-devanagari {
  font-family: 'Rozha One', 'Noto Serif Devanagari', serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: #FFF2CE;
}

.realm-title {
  font-family: var(--font-serif, 'Cinzel', serif);
  font-size: clamp(2.4rem, 6.5vw, 4.8rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.05;
  color: #FFFFFF;
  text-transform: uppercase;
  margin: 0 0 1.25rem 0;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

/* Central 4-pointed Star Motif Divider */
.realm-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  max-width: 420px;
  margin: 0 auto;
}

.realm-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(215, 181, 109, 0.5), transparent);
}

.realm-star {
  color: var(--accent-gold-bright, #D7B56D);
  font-size: 0.85rem;
  filter: drop-shadow(0 0 6px rgba(215, 181, 109, 0.6));
  animation: starTwinkle 3s ease-in-out infinite;
}

@keyframes starTwinkle {
  0%, 100% { opacity: 0.7; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); filter: drop-shadow(0 0 10px #D7B56D); }
}

/* --------------------------------------------------------------------------
   Headliner Cards Grid (Editorial Staggered Duo Composition)
   -------------------------------------------------------------------------- */
.realm-cards-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  max-width: 1060px;
  margin: 0 auto;
  align-items: flex-start;
}

/* The Right Card Staggered Offset (Haute Couture Fashion Look) */
.realm-card-offset {
  margin-top: 4.5rem;
}

.realm-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Portrait Media Frame */
.realm-media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  background: #110508;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(201, 43, 56, 0.18);
  border: 1px solid rgba(215, 181, 109, 0.2);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.realm-card:hover .realm-media-frame {
  transform: translateY(-6px);
  border-color: rgba(215, 181, 109, 0.55);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.95), 0 0 60px rgba(201, 43, 56, 0.35);
}

.realm-media-frame picture {
  display: block;
  width: 100%;
  height: 100%;
}

.realm-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.realm-card:hover .realm-media-frame img {
  transform: scale(1.04);
}

/* Dynamic Red Concert Laser Beams */
.realm-lasers-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.laser-ray {
  position: absolute;
  height: 2px;
  width: 140%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 30, 60, 0.85) 20%, 
    #ffffff 50%, 
    rgba(255, 30, 60, 0.85) 80%, 
    transparent 100%
  );
  box-shadow: 0 0 10px #ff1744, 0 0 20px #ff1744, 0 0 35px rgba(255, 23, 68, 0.6);
  opacity: 0.8;
  transform-origin: center;
  transition: opacity 0.4s ease;
}

.realm-card:hover .laser-ray {
  opacity: 1;
  box-shadow: 0 0 14px #ff1744, 0 0 28px #ff1744, 0 0 50px rgba(255, 23, 68, 0.8);
}

/* Distinct Angled Lasers for Card 1 */
.laser-sachet-1 {
  top: 15%;
  left: -20%;
  transform: rotate(-38deg);
  animation: laserPulse 4s infinite alternate;
}

.laser-sachet-2 {
  top: 48%;
  left: -20%;
  transform: rotate(-38deg);
  animation: laserPulse 3.5s infinite alternate 0.4s;
}

.laser-sachet-3 {
  top: 78%;
  left: -20%;
  transform: rotate(-38deg);
  animation: laserPulse 4.2s infinite alternate 0.8s;
}

/* Distinct Angled Lasers for Card 2 */
.laser-parampara-1 {
  top: 18%;
  left: -20%;
  transform: rotate(-36deg);
  animation: laserPulse 4.2s infinite alternate 0.2s;
}

.laser-parampara-2 {
  top: 52%;
  left: -20%;
  transform: rotate(-36deg);
  animation: laserPulse 3.8s infinite alternate 0.6s;
}

.laser-parampara-3 {
  top: 82%;
  left: -20%;
  transform: rotate(-36deg);
  animation: laserPulse 4.5s infinite alternate 1s;
}

@keyframes laserPulse {
  0% { opacity: 0.65; filter: brightness(0.9); }
  50% { opacity: 0.95; filter: brightness(1.2); }
  100% { opacity: 0.75; filter: brightness(1.0); }
}

/* Bottom Text Overlay inside the Card */
.realm-text-overlay {
  position: absolute;
  bottom: 1.75rem;
  left: 1.75rem;
  right: 1.75rem;
  z-index: 3;
  text-align: left;
}

.realm-artist-name {
  font-family: var(--font-serif, 'Cinzel', serif);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  text-transform: uppercase;
  margin: 0 0 0.5rem 0;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.95);
}

.realm-artist-role {
  font-family: var(--font-mono, monospace);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #FFF2CE;
  text-transform: capitalize;
  margin: 0;
  opacity: 0.9;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

/* Date Row beneath the Card */
.realm-date-strip {
  margin-top: 1.1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--font-serif, 'Cinzel', serif);
  letter-spacing: 0.04em;
}

.realm-date-num {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent-gold-bright, #D7B56D);
}

.realm-date-num sup {
  font-size: 0.65em;
  top: -0.3em;
}

.realm-date-dash {
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0.15rem;
}

.realm-date-day {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-secondary, #b3b0be);
}

/* Call to Action at Bottom — Aligned with Unified Site Button System */
.realm-cta-wrap {
  text-align: center;
  margin-top: 4rem;
  position: relative;
  z-index: 2;
}

.realm-cta-btn {
  /* Inherits base .btn .btn-primary system from style.css */
  padding: 0.95rem 2.25rem;
  font-family: var(--font-display, 'Syne', sans-serif);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 6px;
  box-shadow: 0 4px 20px var(--accent-event-glow);
}

/* --------------------------------------------------------------------------
   Responsive Adaptations
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .realm-cards-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    max-width: 520px;
  }

  .realm-card-offset {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .headliners-realm-section {
    padding: 5.5rem 1.25rem 6.5rem 1.25rem;
  }

  .realm-title {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .realm-media-frame {
    aspect-ratio: 4 / 5;
  }

  .realm-artist-name {
    font-size: 1.9rem;
  }

  .realm-cta-wrap {
    margin-top: 2.75rem;
    padding: 0 0.5rem;
  }

  .realm-cta-btn {
    width: 100% !important;
    max-width: 380px !important;
    padding: 0.95rem 1.25rem !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.05em !important;
    border-radius: 6px !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    line-height: 1.35 !important;
  }
}
