/* Design polish — refined luxury, not crowded */

/* Enhanced section titles with logo-matched styling */
.section-title {
  position: relative;
  display: inline-block;
  text-shadow: 0 0 40px rgba(168, 85, 247, 0.3);
}

.section-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 42%,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(192, 132, 252, 0.7) 54%,
    transparent 62%,
    transparent 100%
  );
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleChromeShimmer 8s ease-in-out infinite;
  opacity: 0.65 !important;
  pointer-events: none;
}

@keyframes titleChromeShimmer {
  0%,
  100% {
    background-position: 130% center;
  }
  50% {
    background-position: -30% center;
  }
}

.section-header.reveal.active .section-tag {
  animation: tagFadeIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.section-header.reveal.active .section-title {
  animation: titleFadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

@keyframes tagFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titleFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced glass surfaces with better borders */
.about-card,
.time-card {
  background: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 32px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(168, 85, 247, 0.15) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.about-card:hover,
.time-card:hover {
  border-color: rgba(168, 85, 247, 0.35) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 12px 40px rgba(124, 58, 237, 0.2);
  transform: translateY(-4px);
}

.legacy-filter-btn {
  box-shadow: none;
}

/* Enhanced event info panel */
.eu-info {
  background: rgba(0, 0, 0, 0.45) !important;
  backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 32px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.event-poster-inner::before {
  opacity: 0.7;
}

/* Soft section vignettes only where needed */
.events-universe-section::after,
.countdown-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 90% 75% at 50% 50%, transparent 50%, rgba(0, 0, 0, 0.28) 100%);
  z-index: 0;
}

.countdown-section {
  position: relative;
}

/* Enhanced scroll progress with better glow */
.scroll-progress {
  height: 3px !important;
  background: linear-gradient(
    90deg,
    rgba(109, 40, 217, 0.2),
    rgba(168, 85, 247, 0.7),
    rgba(226, 232, 240, 0.9)
  ) !important;
  overflow: visible !important;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.5);
}

.scroll-progress::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 10px;
  height: 10px;
  transform: translate(50%, -50%);
  border-radius: 50%;
  background: #c084fc;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.8), 0 0 40px rgba(124, 58, 237, 0.4);
}



.cursor-trail-container {
  position: fixed !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 2147483646 !important; /* Just below cursor dot/ring */
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  overflow: visible !important;
}

.cursor-trail-dot {
  position: fixed !important;
  width: 6px !important;
  height: 6px !important;
  margin: -3px 0 0 -3px !important;
  border-radius: 50% !important;
  background: rgba(192, 132, 252, 0.5) !important;
  pointer-events: none !important;
  animation: trailFade 0.4s ease-out forwards !important;
  z-index: inherit !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

@keyframes trailFade {
  to {
    opacity: 0;
    transform: scale(0.15);
  }
}

/* Finale + footer */
.premium-finale__words-block {
  position: relative;
  margin-top: 16px;
  min-height: 48px;
}

.premium-finale__constellation line {
  stroke: rgba(192, 132, 252, 0.4);
  stroke-width: 1.5;
  stroke-dasharray: 4 10;
}

.site-footer--minimal {
  padding-top: 40px !important;
}

.footer-social-btn::before {
  opacity: 0;
  transition: opacity 0.4s;
}

.footer-social-btn:hover::before {
  opacity: 0.85;
}

@media (prefers-reduced-motion: reduce) {
  .section-title::after,
  .scroll-progress::after {
    animation: none;
  }
}

@media (pointer: coarse) {
  .cursor-trail-container {
    display: none;
  }
}

/* Brochure PDF Viewer */
.brochure-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.brochure-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.brochure-pdf {
  position: relative;
  width: 100%;
  height: 80vh;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(15, 15, 22, 0.98);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 28px 70px rgba(0, 0, 0, 0.75);
  z-index: 1;
}

/* Contact Card Coordinator Styles */
.contact-coordinator-name {
  color: #f0f0f0;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
}

.contact-card__coordinators {
  margin-top: 12px;
}

.contact-coordinator-item {
  padding: 8px 12px;
  background: rgba(168, 85, 247, 0.08);
  border-radius: 10px;
  border: 1px solid rgba(168, 85, 247, 0.15);
  transition: all 0.3s ease;
}

.contact-coordinator-item:hover {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.3);
}

.contact-coordinator-item .contact-card__meta {
  color: #a855f7;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.98rem;
}

.contact-coordinator-item .contact-card__meta:hover {
  text-decoration: underline;
}

.contact-section-title {
  font-size: 1.6rem;
  margin-bottom: 24px;
  color: #e2e8f0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 8px;
}

.contact-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #a855f7, #7c3aed);
  border-radius: 100px;
}


