/* =========================================
   CELESTIAL SOLARIS — DEEP VOID CRIMSON THEME
   ========================================= */
:root {
  --bg-void: #010003;
  --bg-panel: rgba(8, 3, 14, 0.84);
  --violet-core: #9333ea;
  --violet-deep: #581c87;
  --crimson-core: #ff1e42;
  --crimson-glow: #ff4d6d;
  --lavender-glow: #d8b4fe;
  --lavender-bright: #f3e8ff;
  --text-main: #f5f0ff;
  --text-muted: rgba(226, 204, 248, 0.72);
  --border-hud: rgba(255, 30, 66, 0.34);
  --border-violet: rgba(147, 51, 234, 0.36);
  --header-h-desktop: 72px;
  --header-h-mobile: 64px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-void);
}

body {
  min-height: 100vh;
  background-color: var(--bg-void);
  background-image:
    radial-gradient(ellipse 75% 50% at 50% 10%, rgba(56, 12, 92, 0.22) 0%, rgba(110, 8, 32, 0.08) 38%, rgba(1, 0, 3, 0) 72%),
    radial-gradient(circle at 50% 50%, transparent 45%, rgba(0, 0, 0, 0.72) 100%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  padding-top: var(--header-h-desktop);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Deep Space Canvas */
#starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* =========================================
   HEADER & NAVIGATION (DESKTOP + MOBILE)
   ========================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h-desktop);
  z-index: 100;
  background: rgba(2, 1, 5, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(147, 51, 234, 0.24);
}

.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(147, 51, 234, 0.78) 30%, rgba(255, 30, 66, 0.82) 70%, transparent 100%);
  pointer-events: none;
}

.header-inner {
  max-width: 1120px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: text-shadow 0.25s ease;
}

.brand-link:hover {
  text-shadow: -1px 0 6px rgba(255, 30, 66, 0.8), 1px 0 8px rgba(147, 51, 234, 0.85);
}

.brand-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffe4e8;
  box-shadow: 0 0 8px var(--crimson-core), 0 0 18px var(--violet-core);
  flex-shrink: 0;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 9px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, text-shadow 0.25s ease;
}

.nav-link:hover {
  color: #ffffff;
  text-shadow: -1px 0 8px rgba(255, 30, 66, 0.75), 1px 0 10px rgba(147, 51, 234, 0.75);
}

.nav-link.active {
  color: #ffffff;
  font-weight: 600;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.28), rgba(255, 30, 66, 0.22));
  border-color: rgba(255, 30, 66, 0.72);
  box-shadow: 0 0 18px rgba(255, 30, 66, 0.38), inset 0 0 10px rgba(147, 51, 234, 0.26);
}

/* Mobile Hamburger Button */
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(14, 4, 22, 0.78);
  border: 1px solid rgba(255, 30, 66, 0.45);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.menu-toggle:hover {
  background: rgba(255, 30, 66, 0.16);
  box-shadow: 0 0 14px rgba(255, 30, 66, 0.35);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #ffe4e8;
  box-shadow: 0 0 6px rgba(255, 30, 66, 0.7);
  transition: transform 0.28s ease, opacity 0.2s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Dropdown Drawer */
.mobile-drawer {
  position: fixed;
  top: var(--header-h-mobile);
  left: 0;
  right: 0;
  z-index: 95;
  background: rgba(3, 1, 7, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 30, 66, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.88);
  padding: 20px 24px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.mobile-drawer.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-drawer .nav-link {
  font-size: 0.85rem;
  width: 100%;
  max-width: 240px;
  text-align: center;
  padding: 11px 22px;
}

/* =========================================
   MAIN LAYOUT & COSMIC DIVIDER
   ========================================= */
.page-main {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1000px;
  padding: 28px 20px 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cosmic-divider {
  width: min(560px, 86%);
  height: 1px;
  margin: 26px auto;
  position: relative;
  background: linear-gradient(90deg, transparent, rgba(147, 51, 234, 0.75), rgba(255, 30, 66, 0.8), transparent);
}

.cosmic-divider::after {
  content: '✦';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.95rem;
  color: #ffe4e8;
  text-shadow: 0 0 10px var(--crimson-core), 0 0 22px var(--violet-core);
  background: var(--bg-void);
  padding: 0 10px;
}

.page-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.35rem, 3.2vw, 2.2rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #f3e8ff 50%, #ff4d6d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 14px rgba(255, 30, 66, 0.42)) drop-shadow(0 0 24px rgba(147, 51, 234, 0.35));
  margin-bottom: 10px;
}

.page-subtitle {
  color: var(--text-muted);
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* =========================================
   TICKETS (EVENTFROG EMBED)
   ========================================= */
.tickets-shell {
  width: 100%;
  max-width: 920px;
  border-radius: 16px;
  padding: 12px;
  background: var(--bg-panel);
  border: 1px solid var(--border-hud);
  box-shadow: 0 0 36px rgba(255, 30, 66, 0.16), 0 0 54px rgba(147, 51, 234, 0.22);
  position: relative;
}

.tickets-frame-wrap {
  width: 100%;
  min-height: 740px;
  height: auto;
  border-radius: 10px;
  overflow: visible;
  background: #ffffff;
}

.tickets-frame-wrap iframe {
  width: 100%;
  min-height: 740px;
  border: 0;
  display: block;
  border-radius: 10px;
}

/* =========================================
   ARTISTS GRID & SOCIAL ICONS (LINEUP)
   ========================================= */
.artists-grid {
  width: 100%;
  max-width: 960px;
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.artist-card {
  position: relative;
  width: calc((100% - 48px) / 3);
  min-width: 260px;
  background: linear-gradient(180deg, rgba(14, 5, 24, 0.86) 0%, rgba(4, 1, 9, 0.94) 100%);
  border: 1px solid rgba(147, 51, 234, 0.38);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.72), 0 0 24px rgba(147, 51, 234, 0.14);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.artist-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 30, 66, 0.78);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.82), 0 0 30px rgba(255, 30, 66, 0.32), 0 0 46px rgba(147, 51, 234, 0.24);
}

.artist-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #030106;
  border-bottom: 1px solid rgba(255, 30, 66, 0.24);
}

.artist-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.06) saturate(1.05);
  transition: transform 0.4s ease, filter 0.35s ease;
}

.artist-card:hover .artist-img-wrap img {
  transform: scale(1.05);
  filter: contrast(1.12) saturate(1.12);
}

.artist-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.artist-name {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 10px;
  transition: text-shadow 0.25s ease;
}

.artist-card:hover .artist-name {
  text-shadow: -1.5px 0 6px rgba(255, 30, 66, 0.85), 1.5px 0 8px rgba(147, 51, 234, 0.9);
}

.artist-bio {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex: 1;
}

.artist-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-btn {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #ffe4e8;
  border-radius: 50%;
  background: rgba(147, 51, 234, 0.2);
  border: 1px solid rgba(255, 30, 66, 0.55);
  transition: transform 0.2s ease, background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.social-btn svg {
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  display: block;
}

.social-btn:hover {
  color: #ffffff;
  background: rgba(255, 30, 66, 0.34);
  border-color: var(--crimson-glow);
  box-shadow: 0 0 18px rgba(255, 30, 66, 0.65), 0 0 28px rgba(147, 51, 234, 0.45);
  transform: translateY(-2px);
}

/* =========================================
   MOBILE RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
  body {
    padding-top: var(--header-h-mobile);
  }

  .site-header {
    height: var(--header-h-mobile);
  }

  .header-inner {
    padding: 0 16px;
  }

  .brand-link {
    font-size: 0.9rem;
    letter-spacing: 0.16em;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .tickets-frame-wrap,
  .tickets-frame-wrap iframe {
    min-height: 860px;
  }

  .artist-card {
    width: 100%;
    max-width: 420px;
  }
}
