/* ============================================
   REUNION 2028 — Tomorrowland-Themed Landing Page
   ============================================ */

/* ---- CSS Custom Properties ---- */
:root {
  /* Primary Palette — Deep & Dreamy */
  --color-bg-deep: #0a0a1a;
  --color-bg-primary: #0d0d2b;
  --color-bg-secondary: #111133;
  --color-bg-card: rgba(20, 20, 60, 0.6);
  --color-bg-card-hover: rgba(30, 30, 80, 0.8);

  /* Accent Colors */
  --color-accent-gold: #d4a853;
  --color-accent-gold-light: #f0d48a;
  --color-accent-rose: #e8749a;
  --color-accent-teal: #4ecdc4;
  --color-accent-purple: #8b5cf6;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0a0a1a 0%, #1a0a2e 30%, #0d1b3e 60%, #0a0a1a 100%);
  --gradient-card: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(78, 205, 196, 0.05));
  --gradient-accent: linear-gradient(135deg, var(--color-accent-gold), var(--color-accent-rose));
  --gradient-text: linear-gradient(135deg, var(--color-accent-gold-light), var(--color-accent-rose));

  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding: 120px 0;
  --container-max: 1200px;

  /* Effects */
  --glow-gold: 0 0 40px rgba(212, 168, 83, 0.3);
  --glow-purple: 0 0 60px rgba(139, 92, 246, 0.2);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --border-subtle: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg-deep);
  color: #e8e8f0;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---- Particles Canvas ---- */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ---- Container ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 26, 0.98);
  /* backdrop-filter removed for mobile performance */
  padding: 12px 0;
  border-bottom: 1px solid rgba(212, 168, 83, 0.1);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-accent-gold);
}

.logo-year {
  letter-spacing: 2px;
}

.logo-connector {
  font-size: 0.9rem;
  opacity: 0.5;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #fff;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link--accent {
  color: var(--color-accent-gold);
}

.nav-link--accent::after {
  background: var(--color-accent-gold);
}

/* Member Area Link */
.nav-link--member {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 20px;
  color: var(--color-accent-purple);
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.nav-link--member:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: var(--color-accent-purple);
  color: #fff;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.nav-link--member::after {
  display: none;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO / MAIN STAGE
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gradient-hero);
  overflow: hidden;
  /* Always render hero — it's above the fold */
  content-visibility: visible;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  /* Replaced filter: blur() with radial-gradient — same look, 10x faster */
  opacity: 0.3;
  animation: float 8s ease-in-out infinite;
}

.hero-glow--left {
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%);
  top: -200px;
  left: -200px;
}

.hero-glow--right {
  background: radial-gradient(circle, rgba(232, 116, 154, 0.4) 0%, transparent 70%);
  bottom: -200px;
  right: -200px;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 24px 80px;
  max-width: 800px;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--color-accent-gold);
  margin-bottom: 16px;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 900;
  line-height: 0.95;
  margin-bottom: 24px;
  animation: fadeInUp 1s ease 0.4s both;
}

.title-line {
  display: block;
  color: #fff;
  text-shadow: 0 0 80px rgba(255, 255, 255, 0.2);
}

.title-line--accent {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-date {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
  animation: fadeInUp 1s ease 0.6s both;
}

.date-icon {
  color: var(--color-accent-gold);
  margin: 0 12px;
}

.date-location {
  color: var(--color-accent-teal);
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 32px;
  animation: fadeInUp 1s ease 0.7s both;
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 32px;
  animation: fadeInUp 1s ease 0.8s both;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}

.countdown-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.countdown-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease 1s both;
}

.btn--primary {
  background: var(--gradient-accent);
  color: var(--color-bg-deep);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-gold);
}

.btn--primary.btn--glow {
  box-shadow: 0 0 30px rgba(212, 168, 83, 0.3), 0 0 60px rgba(232, 116, 154, 0.2);
}

.btn-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn:hover .btn-shimmer {
  left: 100%;
}

.btn--full {
  width: 100%;
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  animation: fadeInUp 1s ease 1.2s both;
  pointer-events: none;
}

.scroll-text {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255, 255, 255, 0.3);
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  transform: rotate(45deg);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.3; }
  50% { transform: rotate(45deg) translate(5px, 5px); opacity: 0.8; }
}

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

/* ============================================
   SECTIONS (Common)
   ============================================ */
.section {
  position: relative;
  z-index: 1;
  padding: var(--section-padding);
  /* Skip rendering until visible — huge mobile perf win */
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-accent-gold);
  margin-bottom: 16px;
  padding: 8px 20px;
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 16px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   LINE-UP (Schedule)
   ============================================ */
.line-up {
  background: linear-gradient(180deg, var(--color-bg-deep) 0%, var(--color-bg-secondary) 50%, var(--color-bg-deep) 100%);
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.schedule-card {
  background: var(--gradient-card);
  border: var(--border-subtle);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  /* Contain layout/paint to improve scroll performance */
  contain: layout style paint;
}

.schedule-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.schedule-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 168, 83, 0.2);
  box-shadow: var(--shadow-card);
}

.schedule-card:hover::before {
  opacity: 1;
}

.schedule-card--featured {
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.15), rgba(232, 116, 154, 0.08));
  border-color: rgba(212, 168, 83, 0.2);
}

.schedule-card--featured::before {
  opacity: 1;
}

.schedule-time {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-accent-gold);
  margin-bottom: 12px;
}

.schedule-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.schedule-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.schedule-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.featured-badge {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent-gold);
  border: 1px solid rgba(212, 168, 83, 0.4);
  border-radius: 4px;
}

/* ============================================
   THE JOURNEY (Timeline)
   ============================================ */
.journey {
  background: var(--color-bg-deep);
}

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

.journey-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--color-accent-gold), var(--color-accent-rose), transparent);
  transform: translateX(-50%);
}

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

.timeline-item--left {
  left: 0;
  text-align: right;
}

.timeline-item--right {
  left: 50%;
  text-align: left;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 8px;
  width: 16px;
  height: 16px;
  background: var(--color-bg-deep);
  border: 3px solid var(--color-accent-gold);
  border-radius: 50%;
  z-index: 1;
}

.timeline-item--left::before {
  right: -8px;
}

.timeline-item--right::before {
  left: -8px;
}

.timeline-content {
  background: var(--gradient-card);
  border: var(--border-subtle);
  border-radius: 12px;
  padding: 28px;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  border-color: rgba(212, 168, 83, 0.2);
  box-shadow: var(--shadow-card);
}

.timeline-content--featured {
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.15), rgba(232, 116, 154, 0.08));
  border-color: rgba(212, 168, 83, 0.3);
}

.timeline-year {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent-gold);
  margin-bottom: 8px;
}

.timeline-year--accent {
  font-size: 2rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

/* ============================================
   THE STAGES (Location)
   ============================================ */
.stages {
  background: linear-gradient(180deg, var(--color-bg-deep) 0%, var(--color-bg-secondary) 50%, var(--color-bg-deep) 100%);
}

.stages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.stage-card {
  background: var(--gradient-card);
  border: var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
  contain: layout style paint;
}

.stage-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 168, 83, 0.2);
  box-shadow: var(--shadow-card);
}

.stage-card__visual {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.stage-card__visual::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, var(--color-bg-card), transparent);
}

.stage-card__visual--venue {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(78, 205, 196, 0.2));
}

.stage-card__visual--venue::before {
  content: '🏰';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  z-index: 1;
}

.stage-card__visual--hotel {
  background: linear-gradient(135deg, rgba(232, 116, 154, 0.3), rgba(212, 168, 83, 0.2));
}

.stage-card__visual--hotel::before {
  content: '🛏️';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  z-index: 1;
}

.stage-card__visual--travel {
  background: linear-gradient(135deg, rgba(78, 205, 196, 0.3), rgba(139, 92, 246, 0.2));
}

.stage-card__visual--travel::before {
  content: '🚗';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  z-index: 1;
}

.stage-card__content {
  padding: 28px;
}

.stage-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.stage-card__desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
  line-height: 1.7;
}

.stage-card__info {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
}

.stage-card__note {
  font-size: 0.85rem;
  color: var(--color-accent-gold);
  margin-top: 12px;
}

.hotel-list {
  list-style: none;
  margin: 16px 0;
}

.hotel-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hotel-name {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.hotel-rate {
  font-size: 0.85rem;
  color: var(--color-accent-teal);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent-gold);
  margin-top: 16px;
  transition: gap 0.3s ease;
}

.link-arrow:hover {
  gap: 14px;
}

.arrow {
  transition: transform 0.3s ease;
}

.link-arrow:hover .arrow {
  transform: translateX(4px);
}

/* ============================================
   BACKSTAGE (FAQ + RSVP)
   ============================================ */
.backstage {
  background: var(--color-bg-deep);
}

.backstage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.faq-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 32px;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--color-accent-gold);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--color-accent-gold);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}

/* RSVP Form */
.rsvp-form-wrapper {
  background: var(--gradient-card);
  border: var(--border-subtle);
  border-radius: 16px;
  padding: 40px;
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-accent-gold);
  background: rgba(212, 168, 83, 0.05);
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.1);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.radio-option:hover {
  border-color: rgba(212, 168, 83, 0.3);
  background: rgba(212, 168, 83, 0.05);
}

.radio-option input[type="radio"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.radio-option input[type="radio"]:checked {
  border-color: var(--color-accent-gold);
  background: var(--color-accent-gold);
  box-shadow: inset 0 0 0 3px var(--color-bg-deep);
}

.radio-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Form Success */
.form-success {
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.success-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent-gold);
  margin-bottom: 12px;
}

.success-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  position: relative;
  z-index: 1;
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--color-bg-deep);
}

.footer-content {
  text-align: center;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-accent-gold);
  margin-bottom: 16px;
}

.footer-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.25);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   NOTIFICATION OVERLAY (for confirm dialogs)
   ============================================ */
.notification-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.7);
  /* backdrop-filter removed — too expensive on mobile */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.notification-overlay--visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ============================================
   NOTIFICATION BANNERS
   ============================================ */
#notification-container {
  position: fixed;
  top: 80px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: var(--NOTIFICATION_GAP, 16px);
  max-width: 420px;
  pointer-events: none;
}

.notification {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(20, 20, 60, 0.98);
  /* backdrop-filter removed — use opaque background instead */
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  pointer-events: auto;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
  min-width: 280px;
  max-width: 420px;
}

.notification--visible {
  opacity: 1;
  transform: translateX(0);
}

.notification--hiding {
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 700;
}

.notification-message {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #e8e8f0;
  padding-top: 3px;
}

.notification-close {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.2s ease;
}

.notification-close:hover {
  color: #fff;
}

/* Success notification */
.notification--success {
  border-color: rgba(78, 205, 196, 0.3);
  background: linear-gradient(135deg, rgba(78, 205, 196, 0.15), rgba(20, 20, 60, 0.95));
}

.notification--success .notification-icon {
  background: rgba(78, 205, 196, 0.2);
  color: var(--color-accent-teal);
}

/* Error notification */
.notification--error {
  border-color: rgba(232, 116, 154, 0.3);
  background: linear-gradient(135deg, rgba(232, 116, 154, 0.15), rgba(20, 20, 60, 0.95));
}

.notification--error .notification-icon {
  background: rgba(232, 116, 154, 0.2);
  color: var(--color-accent-rose);
}

/* Info notification */
.notification--info {
  border-color: rgba(139, 92, 246, 0.3);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(20, 20, 60, 0.95));
}

.notification--info .notification-icon {
  background: rgba(139, 92, 246, 0.2);
  color: var(--color-accent-purple);
}

/* Warning notification */
.notification--warning {
  border-color: rgba(212, 168, 83, 0.3);
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.15), rgba(20, 20, 60, 0.95));
}

.notification--warning .notification-icon {
  background: rgba(212, 168, 83, 0.2);
  color: var(--color-accent-gold);
}

/* ============================================
   CONFIRM DIALOG
   ============================================ */
.notification-confirm {
  max-width: 440px;
  width: 90%;
  background: rgba(15, 15, 45, 0.99);
  /* backdrop-filter removed — use opaque background instead */
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
  z-index: 100000;
  position: relative;
}

.notification-confirm--visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.notification-confirm--hiding {
  opacity: 0;
  transform: scale(0.95) translateY(10px);
  transition: all 0.2s ease;
}

.notification-confirm-content {
  padding: 32px;
  text-align: center;
}

.notification-confirm-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 168, 83, 0.15);
  border: 2px solid rgba(212, 168, 83, 0.3);
  border-radius: 50%;
  color: var(--color-accent-gold);
}

.notification-confirm-message {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #e8e8f0;
  margin-bottom: 28px;
  font-weight: 500;
}

.notification-confirm-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn-confirm-cancel,
.btn-confirm-ok {
  flex: 1;
  max-width: 160px;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.5px;
}

.btn-confirm-cancel {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-confirm-cancel:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-confirm-ok {
  background: var(--gradient-accent);
  color: var(--color-bg-deep);
}

.btn-confirm-ok:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(212, 168, 83, 0.3);
}

.btn-confirm-cancel:focus,
.btn-confirm-ok:focus {
  outline: 2px solid var(--color-accent-gold);
  outline-offset: 2px;
}

/* ============================================
   REDUCED MOTION & PERFORMANCE
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Keep reveal animations but make them instant */
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Mobile-specific performance optimizations */
@media (max-width: 768px) {
  /* Reduce hero glow intensity */
  .hero-glow {
    filter: blur(80px);
    width: 400px;
    height: 400px;
  }

  /* Simplify scroll indicator */
  .hero-scroll-indicator {
    display: none;
  }

  /* Reduce button glow */
  .btn--primary.btn--glow {
    box-shadow: 0 0 20px rgba(212, 168, 83, 0.2);
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .backstage-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 26, 0.99);
    /* backdrop-filter removed for mobile performance */
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    transition: right 0.4s ease;
    border-left: 1px solid rgba(212, 168, 83, 0.1);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .countdown {
    gap: 16px;
  }

  .countdown-item {
    min-width: 60px;
  }

  .countdown-value {
    font-size: 2rem;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding-left: 40px;
    padding-right: 0;
  }

  .journey-timeline::before {
    left: 8px;
  }

  .timeline-item::before {
    left: 0 !important;
    right: auto !important;
  }

  .stages-grid {
    grid-template-columns: 1fr;
  }

  .schedule-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-subtitle {
    font-size: 0.7rem;
    letter-spacing: 3px;
  }

  .hero-tagline {
    font-size: 0.9rem;
  }

  .hero-content {
    padding: 70px 16px 60px;
  }

  .countdown {
    gap: 10px;
  }

  .countdown-item {
    min-width: 45px;
  }

  .countdown-value {
    font-size: 1.4rem;
  }

  .countdown-label {
    font-size: 0.55rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.75rem;
  }

  .hero-scroll-indicator {
    bottom: 20px;
    right: 20px;
  }

  .rsvp-form-wrapper {
    padding: 24px;
  }
}
