:root {
  /* Colors */
  --bg-dark: #0a0a0d;
  --bg-darker: #050508;
  --text-main: #f0f0f0;
  --text-muted: #a0a0a5;
  --neon-pink: #ff3399;
  --neon-cyan: #00e5ff;
  --accent-red: #ff3399;

  /* Fonts */
  --font-headings: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  /* Dimensions */
  --max-width: 1100px;
  --section-padding: 5rem 2rem;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --header-height: 70px;

  /* Transitions */
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography & Glows */
h1, h2, h3, h4 {
  font-family: var(--font-headings);
  font-weight: 600;
  color: var(--neon-pink);
}

h1 {
  text-shadow: 0 0 10px rgba(255, 51, 153, 0.5);
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  text-align: center;
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}

/* Section heading neon flicker-on (added once by IntersectionObserver) */
@keyframes h2-flicker {
  0%       { opacity: 0.35; text-shadow: none; }
  12%      { opacity: 1;    text-shadow: 0 0 12px rgba(0, 229, 255, 0.6); }
  24%      { opacity: 0.5;  text-shadow: none; }
  40%      { opacity: 1;    text-shadow: 0 0 14px rgba(0, 229, 255, 0.7); }
  55%      { opacity: 0.7;  text-shadow: 0 0 4px rgba(0, 229, 255, 0.2); }
  70%, 100% { opacity: 1;   text-shadow: 0 0 10px rgba(0, 229, 255, 0.4); }
}

h2.flicker-on {
  animation: h2-flicker 0.9s ease-in-out 1;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--neon-pink);
  text-shadow: 0 0 8px rgba(255, 51, 153, 0.6);
}

/* Visible focus for keyboard navigation */
a:focus-visible,
.btn:focus-visible,
.lang-btn:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 3px;
}

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

section {
  padding: var(--section-padding);
  scroll-margin-top: calc(var(--header-height) + 10px); /* = 80px, shares the header var */
}

/* Glassmorphism & Neon Effects */
.glass-panel {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

/* Solid fallback when backdrop-filter is unsupported/disabled */
@supports not (backdrop-filter: blur(6px)) {
  .glass-panel { background: rgba(18, 18, 24, 0.92); }
  .sticky-header { background: rgba(5, 5, 8, 0.96); }
}

/* Permanent subtle neon edge (visible without hover, e.g. touch devices) */
.neon-hover-cyan {
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.07);
}

.neon-hover-pink {
  box-shadow: 0 0 12px rgba(255, 51, 153, 0.07);
}

/* Tinted border once the section has scrolled into view */
.animate-on-scroll.is-visible .neon-hover-cyan {
  border-color: rgba(0, 229, 255, 0.3);
}

.animate-on-scroll.is-visible .neon-hover-pink {
  border-color: rgba(255, 51, 153, 0.3);
}

/* Full hover effect only on devices that actually hover */
@media (hover: hover) {
  .neon-hover-cyan:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 229, 255, 0.5);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2), inset 0 0 10px rgba(0, 229, 255, 0.1);
  }

  .neon-hover-pink:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 51, 153, 0.5);
    box-shadow: 0 0 20px rgba(255, 51, 153, 0.2), inset 0 0 10px rgba(255, 51, 153, 0.1);
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--neon-pink), #d81676);
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(255, 51, 153, 0.4);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(255, 51, 153, 0.7);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--neon-cyan);
  border: 2px solid var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.btn-outline:hover {
  background: var(--neon-cyan);
  color: var(--bg-darker);
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.6);
  text-shadow: none;
}

.btn-block {
  width: 100%;
}

.btn-large {
  margin: 2rem 0;
  font-size: 1.3rem;
  padding: 1.2rem 3rem;
}

@media (max-width: 480px) {
  .btn-large {
    font-size: 1.05rem;
    padding: 1rem 1.5rem;
    width: 100%;
  }
}

/* STICKY HEADER */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(0, 229, 255, 0.2);
  transition: var(--transition);
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--neon-pink);
  text-shadow: 0 0 8px rgba(255, 51, 153, 0.5);
  letter-spacing: 1px;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 10px;
  align-items: center;
}

.lang-separator {
  color: var(--neon-cyan);
}

.lang-btn {
  background: none;
  border: none;
  padding: 8px 10px;
  min-width: 40px;
  line-height: 1.2;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 5px rgba(0, 229, 255, 0.5);
}

.lang-btn.active {
  color: var(--neon-pink);
  text-shadow: 0 0 5px rgba(255, 51, 153, 0.5);
}

/* BANNER SECTION */
#banner {
  margin-top: var(--header-height); /* Offset for sticky header */
  width: 100%;
  display: flex;
  justify-content: center;
  background-color: #000;
}

.banner-img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

/* Mobile banner: full-bleed, taller crop keeping title + dates in frame */
@media (max-width: 767px) {
  #banner {
    padding: 0; /* full-bleed on phones */
  }

  .banner-img {
    width: 100vw;
    max-width: none;
    height: 48vh;   /* fallback */
    height: 48svh;  /* small viewport units where supported */
    object-fit: cover;
    object-position: center 22%;
  }
}

/* INTRO SECTION */
#intro {
  text-align: center;
  padding-top: 4rem;
}

.intro-content {
  max-width: 800px;
  margin: 0 auto;
}

.intro-subtitle {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--neon-cyan);
  margin-bottom: 1rem;
  display: block;
}

.intro-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.intro-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.intro-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Early-bird urgency badge */
.eb-badge {
  display: inline-block;
  margin: 1.75rem auto 0;
  padding: 6px 18px;
  border: 1px solid rgba(0, 229, 255, 0.5);
  border-radius: 20px;
  background: transparent;
  color: var(--neon-cyan);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.15);
}

/* Social proof strip */
.social-proof {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.social-proof-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.fb-event-link {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(0, 229, 255, 0.35);
  border-radius: 20px;
  color: var(--neon-cyan);
  font-size: 0.95rem;
}

/* Features Section */
#features {
  background-color: var(--bg-darker);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  padding: 2.5rem 2rem;
  text-align: center;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

/* Schedule Section */
#schedule {
  position: relative;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background: rgba(0, 229, 255, 0.3);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--bg-dark);
  border: 4px solid var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.left { left: 0; }
.right { left: 50%; }
.right::after { left: -10px; border-color: var(--neon-pink); box-shadow: 0 0 10px var(--neon-pink); }

.timeline-content {
  padding: 20px 30px;
}

.date-badge {
  display: inline-block;
  background: var(--neon-pink);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  box-shadow: 0 0 10px rgba(255, 51, 153, 0.4);
}

.schedule-list {
  list-style: none;
}

.schedule-list li {
  margin-bottom: 0.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
}

.schedule-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.time {
  font-weight: 600;
  color: var(--neon-cyan);
  margin-bottom: 0.2rem;
}

/* Pricing Section */
#pricing {
  background-color: var(--bg-darker);
}

.section-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.pricing-card {
  padding: 3rem 2rem;
  width: 100%;
  max-width: 400px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-card.premium {
  transform: scale(1.05);
  border-color: rgba(255, 51, 153, 0.3);
}

@media (hover: hover) {
  .pricing-card.premium:hover {
    transform: scale(1.05) translateY(-8px);
  }
}

.popular-badge {
  position: absolute;
  top: 15px;
  right: -35px;
  background: var(--neon-pink);
  color: #fff;
  padding: 5px 40px;
  transform: rotate(45deg);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  box-shadow: 0 0 10px rgba(255, 51, 153, 0.5);
}

.price {
  font-size: 3.5rem;
  font-family: var(--font-headings);
  color: var(--neon-pink);
  margin: 1.5rem 0;
  line-height: 1;
  text-shadow: 0 0 10px rgba(255, 51, 153, 0.3);
}

.price s {
  font-size: 1.5rem;
  color: var(--text-muted);
  text-shadow: none;
  font-family: var(--font-body);
}

.price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.price-subtext {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* Strike-price explanatory note (≥14px per typography floor) */
.price-note {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2.5rem;
}

.pricing-features li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.5rem;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--neon-cyan);
  text-shadow: 0 0 5px var(--neon-cyan);
}

/* Venue Section */
.venue-card {
  padding: 3rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.venue-name {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.venue-address {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.venue-note {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* Registration Section */
#registration {
  text-align: center;
}

.registration-card {
  padding: 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.registration-card p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.contact-block {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 229, 255, 0.2);
}

.contact-label {
  color: var(--neon-cyan);
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 1rem;
  font-size: 1.1rem;
}

/* Long email must not overflow at 320px */
.email-link {
  overflow-wrap: anywhere;
}

/* Footer */
footer {
  background: #020203;
  padding: 4rem 2rem 2rem;
  border-top: 1px solid rgba(0, 229, 255, 0.1);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-heading-cyan {
  color: var(--neon-cyan);
}

.footer-credits {
  margin-top: 1rem;
  font-style: italic;
}

.map-link {
  display: inline-block;
  margin-top: 0.5rem;
  text-decoration: underline;
  color: var(--neon-pink);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* JS Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion: show everything immediately, no transforms/flicker */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }

  h2.flicker-on {
    animation: none;
  }

  .btn:hover,
  .neon-hover-cyan:hover,
  .neon-hover-pink:hover,
  .pricing-card.premium:hover {
    transform: none;
  }

  .pricing-card.premium,
  .pricing-card.premium:hover {
    transform: scale(1.05);
  }
}

/* Media Queries */
@media screen and (max-width: 900px) {
  .timeline::after { left: 31px; }
  .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
  .timeline-item::after { left: 21px; }
  .right { left: 0%; }

  .pricing-card.premium { transform: scale(1); }
  .pricing-card.premium:hover { transform: translateY(-8px); }
}

@media screen and (max-width: 600px) {
  .intro-title { font-size: 2.2rem; }
  section { padding: 3rem 1.25rem; }
  .header-logo { font-size: 1.2rem; }
}

@media screen and (max-width: 480px) {
  .timeline-item { padding-left: 56px; padding-right: 12px; }
  .timeline::after { left: 24px; }
  .timeline-item::after { left: 11px; } /* centers the 28px dot on the line at left 24px */
  .timeline-content { padding: 16px 18px; }
}
