/* ============================================================
   LUMINA FEST — custom stylesheet
   Dark neon theme. Works on top of Tailwind CDN utilities.
   ============================================================ */

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
}

body {
  background-color: #0a0a12;
  overflow-x: hidden;
}

::selection {
  background: #8b5cf6;
  color: #fff;
}

/* Custom scrollbar (webkit) */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0a0a12; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(#8b5cf6, #22d3ee);
  border-radius: 8px;
}

/* ---------- Grain / noise overlay ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.06;
  /* tiny inline SVG turbulence = film grain, no external asset */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typography helpers ---------- */
.font-700 { font-weight: 700; }

.headline-gradient {
  background: linear-gradient(100deg, #8b5cf6 10%, #22d3ee 60%, #f472b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.headline-outline {
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.85);
}

.section-kicker {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.35em;
  font-size: 0.8rem;
  color: #22d3ee;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.logo-glow {
  text-shadow: 0 0 24px rgba(139, 92, 246, 0.55);
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(100deg, #8b5cf6, #6d28d9);
  box-shadow: 0 0 28px rgba(139, 92, 246, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 44px rgba(139, 92, 246, 0.7);
}

.btn-ghost {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.btn-ghost:hover {
  border-color: #22d3ee;
  background: rgba(34, 211, 238, 0.08);
  transform: translateY(-2px);
}

/* ---------- Navbar ---------- */
#navbar {
  background: transparent;
}
#navbar.scrolled {
  background: rgba(10, 10, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-link {
  position: relative;
  transition: color 0.2s ease;
}
.nav-link:hover { color: #fff; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #8b5cf6, #22d3ee);
  transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }

/* Hamburger bars */
.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
#menu-btn.open .hamburger:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#menu-btn.open .hamburger:nth-child(2) { opacity: 0; }
#menu-btn.open .hamburger:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-link { display: block; }
.mobile-link:hover { color: #fff; }

/* ---------- Hero orbs ---------- */
.orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(90px);
  opacity: 0.5;
  animation: drift 14s ease-in-out infinite alternate;
}
.orb-violet {
  width: 480px; height: 480px;
  background: #8b5cf6;
  top: -120px; left: -120px;
}
.orb-cyan {
  width: 420px; height: 420px;
  background: #22d3ee;
  bottom: -140px; right: -100px;
  animation-delay: -5s;
  opacity: 0.35;
}
.orb-pink {
  width: 300px; height: 300px;
  background: #f472b6;
  top: 40%; left: 55%;
  animation-delay: -9s;
  opacity: 0.28;
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, 40px) scale(1.15); }
}

/* ---------- Countdown ---------- */
.count-box {
  background: rgba(18, 18, 30, 0.8);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 1rem;
  padding: 1rem 0.5rem;
  min-width: 76px;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.15);
}
.count-num {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.count-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #a1a1b8;
  margin-top: 0.4rem;
}
.count-sep {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  color: #8b5cf6;
  font-weight: 700;
}

/* Scroll hint mouse */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-hint span {
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: #22d3ee;
  animation: wheel 1.6s ease-in-out infinite;
}
@keyframes wheel {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Artist cards ---------- */
.artist-card {
  background: #12121e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.artist-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 18px 50px rgba(139, 92, 246, 0.25);
}
.artist-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.artist-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  transition: transform 0.5s ease, filter 0.5s ease;
}
.artist-card:hover .artist-img-wrap img {
  transform: scale(1.06);
  filter: saturate(1.15) contrast(1.05);
}
.day-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(10, 10, 18, 0.75);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(34, 211, 238, 0.5);
  color: #22d3ee;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
}

/* ---------- Schedule tabs ---------- */
.tab-btn {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #a1a1b8;
  transition: all 0.25s ease;
}
.tab-btn:hover { color: #fff; border-color: rgba(139, 92, 246, 0.6); }
.tab-btn.active {
  color: #fff;
  background: linear-gradient(100deg, #8b5cf6, #6d28d9);
  border-color: transparent;
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.45);
}

.tab-panel { display: none; }
.tab-panel.active {
  display: block;
  animation: fadeSlide 0.4s ease;
}
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.set-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease;
}
.set-row:hover { background: rgba(139, 92, 246, 0.07); }
.set-time {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #22d3ee;
  min-width: 70px;
  font-variant-numeric: tabular-nums;
}
.set-row h4 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
}
.set-row p { color: #a1a1b8; font-size: 0.9rem; }

/* ---------- Ticket cards ---------- */
.ticket-card {
  position: relative;
  background: #12121e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.ticket-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.5);
}
.ticket-card.featured {
  border: 1px solid rgba(139, 92, 246, 0.7);
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.12), #12121e 40%);
  box-shadow: 0 0 50px rgba(139, 92, 246, 0.25);
}
.featured-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  background: linear-gradient(100deg, #8b5cf6, #22d3ee);
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  white-space: nowrap;
}
.ticket-price {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 3rem;
  margin: 1rem 0 1.5rem;
  background: linear-gradient(100deg, #fff, #a1a1b8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ticket-list { list-style: none; padding: 0; margin: 0; }
.ticket-list li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.75rem;
  color: #a1a1b8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ticket-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: #22d3ee;
}

/* ---------- Gallery ---------- */
.gallery-item {
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8);
  transition: transform 0.5s ease, filter 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.08);
  filter: saturate(1.2);
}

/* ---------- FAQ accordion ---------- */
.faq-item {
  background: #12121e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item.open { border-color: rgba(139, 92, 246, 0.6); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  text-align: left;
  cursor: pointer;
}
.faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(139, 92, 246, 0.6);
  color: #8b5cf6;
  font-size: 1.25rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: #8b5cf6;
  color: #fff;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a p {
  padding: 0 1.5rem 1.5rem;
  color: #a1a1b8;
  line-height: 1.7;
}

/* ---------- Footer ---------- */
.newsletter-input {
  flex: 1;
  background: #12121e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s ease;
}
.newsletter-input:focus { border-color: #8b5cf6; }
.newsletter-input::placeholder { color: #55556a; }

.social-btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: #a1a1b8;
  transition: all 0.25s ease;
}
.social-btn:hover {
  border-color: #22d3ee;
  color: #22d3ee;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
  transform: translateY(-3px);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .orb, .scroll-hint span { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
