/* ═══════════════════════════════════════════════════════════════════
   Alumni Meet 2026 — PREMIUM DARK THEME
   ═══════════════════════════════════════════════════════════════════ */

/* ── CSS Variables ────────────────────────────────────────────────── */
:root {
  --bg-primary: #fdfcf0;
  --bg-secondary: #f4f3e7;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-solid: #ffffff;
  --gold-primary: #b78f4b;
  --gold-secondary: #c19b6c;
  --gold-gradient: linear-gradient(135deg, #b78f4b, #d4af37);
  --gold-gradient-hover: linear-gradient(135deg, #c19b6c, #e6c55d);
  --text-primary: #0a192f;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --success: #22c55e;
  --error: #ef4444;
  --border-glass: rgba(183, 143, 75, 0.2);
  --border-subtle: rgba(15, 23, 42, 0.1);
  --shadow-gold: 0 4px 20px rgba(183, 143, 75, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.05);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(244, 196, 48, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(244, 196, 48, 0.5);
}

a {
  color: var(--gold-primary);
  text-decoration: none;
  transition: var(--transition-smooth);
}
a:hover {
  color: var(--gold-secondary);
}

/* ═══════════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 5%;
  transition: var(--transition-smooth);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(5, 8, 22, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 5%;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border-glass);
}

.navbar .logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 0.5px;
}

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  position: relative;
  padding-bottom: 4px;
  transition: var(--transition-smooth);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: width 0.3s ease;
  border-radius: 1px;
}

.nav-links a:hover {
  color: var(--gold-primary);
}

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

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--gold-primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* ═══════════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, rgba(244, 196, 48, 0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 80%, rgba(212, 165, 116, 0.04) 0%, transparent 50%),
              var(--bg-primary);
}

#particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
  width: 100%;
  max-width: 680px;
}

/* ── Invitation Card ──────────────────────────────────────────────── */
.invitation-card {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-gold),
              0 20px 60px rgba(0, 0, 0, 0.4),
              inset 0 1px 0 rgba(244, 196, 48, 0.1);
  animation: fadeInUp 1s ease-out;
}

/* Shimmer border effect */
.invitation-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg,
    transparent 30%,
    rgba(244, 196, 48, 0.15) 50%,
    transparent 70%
  );
  background-size: 200% 200%;
  animation: shimmer 6s ease-in-out infinite;
  z-index: -1;
}

/* Ornamental SVG dividers */
.ornament {
  display: flex;
  justify-content: center;
  margin: 8px 0;
}

.ornament-svg {
  width: 160px;
  height: 20px;
  color: var(--gold-primary);
  opacity: 0.6;
}

.ornament.bottom .ornament-svg {
  transform: rotate(180deg);
}

/* Event badge */
.event-badge {
  display: inline-block;
  background: rgba(244, 196, 48, 0.1);
  color: var(--gold-primary);
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 16px 0;
  border: 1px solid rgba(244, 196, 48, 0.2);
}

/* Hero title */
.invitation-card h1 {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.2;
  margin: 20px 0;
  letter-spacing: 1px;
}

.invitation-card h1 .highlight {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Event details grid */
.event-details {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 28px 0 16px;
  flex-wrap: wrap;
}

.detail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.detail-icon {
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.detail-value {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.detail-label {
  color: var(--text-muted);
}

.countdown-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}

.cd-box {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(244, 196, 48, 0.2);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  min-width: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cd-box span {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1;
}

.cd-box small {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.cd-colon {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

.detail-label {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* CTA Button */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 16px 40px;
  background: var(--gold-gradient);
  color: #0a0e1a;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 50px;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 24px rgba(244, 196, 48, 0.3);
  animation: pulse-glow 3s ease-in-out infinite;
  text-decoration: none;
}

.cta-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 40px rgba(244, 196, 48, 0.45);
  color: #0a0e1a;
  background: var(--gold-gradient-hover);
}

.cta-btn .arrow {
  transition: transform 0.3s ease;
  font-size: 1.2rem;
}

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

/* ═══════════════════════════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════════════════════════ */
#about {
  padding: 100px 5% 80px;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 8px;
}

.section-title h2 {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.decorative-underline {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold-gradient);
  margin: 12px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 56px;
  margin-top: 12px;
}

/* Highlights grid */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.highlight-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s ease;
}

.highlight-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glass);
  box-shadow: var(--shadow-gold), var(--shadow-card);
}

.highlight-card:hover::before {
  transform: scaleX(1);
}

.highlight-icon {
  display: block;
  font-size: 3rem;
  margin-bottom: 20px;
}

.highlight-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold-primary);
  margin-bottom: 12px;
}

.highlight-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ── Scroll Reveal ────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ═══════════════════════════════════════════════════════════════════
   REGISTRATION SECTION
   ═══════════════════════════════════════════════════════════════════ */
#register {
  padding: 100px 5% 100px;
  background: var(--bg-secondary);
  position: relative;
}

#register::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(244, 196, 48, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  position: relative;
  box-shadow: var(--shadow-card);
}

/* ── Progress Bar ─────────────────────────────────────────────────── */
.progress-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
  padding: 0 10px;
}

/* Connector line behind steps */
.progress-bar::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: rgba(148, 163, 184, 0.15);
  z-index: 0;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
  flex: 1;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-muted);
  border: 2px solid rgba(148, 163, 184, 0.2);
  transition: var(--transition-smooth);
}

.step-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  transition: var(--transition-smooth);
}

/* Active step */
.progress-step.active .step-number {
  background: rgba(244, 196, 48, 0.15);
  color: var(--gold-primary);
  border-color: var(--gold-primary);
  box-shadow: 0 0 16px rgba(244, 196, 48, 0.2);
}

.progress-step.active .step-label {
  color: var(--gold-primary);
}

/* Completed step */
.progress-step.completed .step-number {
  background: var(--gold-primary);
  color: #0a0e1a;
  border-color: var(--gold-primary);
}

.progress-step.completed .step-number::after {
  content: '✓';
  font-size: 1rem;
}

/* Hide the number text when completed */
.progress-step.completed .step-number {
  font-size: 0;
}

.progress-step.completed .step-label {
  color: var(--gold-secondary);
}

/* ── Form Steps ───────────────────────────────────────────────────── */
.form-step {
  display: none;
  animation: fadeInUp 0.4s ease-out;
}

.form-step.active {
  display: block;
}

.form-step h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

/* ── Form Groups & Inputs ─────────────────────────────────────────── */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
select {
  width: 100%;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  outline: none;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.phone-input-group {
  display: flex;
  gap: 10px;
}

.phone-input-group .country-code {
  width: auto;
  min-width: 120px;
  flex-shrink: 0;
  padding-right: 32px; /* make room for select arrow */
}

.phone-input-group input[type="tel"] {
  flex-grow: 1;
}

input::placeholder {
  color: var(--text-muted);
}

input:focus,
select:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(183, 143, 75, 0.2);
  background: #ffffff;
}

input[readonly] {
  background: #f1f5f9;
  cursor: not-allowed;
  opacity: 0.8;
}

select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

select option {
  background: var(--bg-card-solid);
  color: var(--text-primary);
}

.form-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-style: italic;
}

/* Error state */
.form-group.error input,
.form-group.error select {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.form-group.error label {
  color: var(--error);
}

/* ── Family Fields (conditional) ──────────────────────────────────── */
#familyFields {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  margin-bottom: 0;
}

#familyFields.visible {
  margin-bottom: 4px;
}

/* ── Radio Group (Food Preference) ────────────────────────────────── */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.radio-option {
  position: relative;
}

.radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-option label {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
  margin-bottom: 0;
}

.radio-option label:hover {
  border-color: rgba(244, 196, 48, 0.3);
  background: rgba(244, 196, 48, 0.04);
}

.radio-option input[type="radio"]:checked + label {
  border-color: var(--gold-primary);
  background: rgba(244, 196, 48, 0.08);
  box-shadow: 0 0 16px rgba(244, 196, 48, 0.1);
}

.radio-icon {
  font-size: 2rem;
}

.radio-text {
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-primary);
}

.radio-option input[type="radio"]:checked + label .radio-text {
  color: var(--gold-primary);
}

/* ── Form Buttons ─────────────────────────────────────────────────── */
.form-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.btn-next,
.btn-prev,
.btn-submit {
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-next {
  background: var(--gold-gradient);
  color: #0a0e1a;
}

.btn-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(244, 196, 48, 0.3);
  background: var(--gold-gradient-hover);
}

.btn-prev {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.btn-prev:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: rgba(244, 196, 48, 0.05);
}

.btn-submit {
  background: var(--gold-gradient);
  color: #0a0e1a;
  padding: 16px 40px;
  font-size: 1rem;
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 24px rgba(244, 196, 48, 0.35);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Loader inside submit button */
.btn-loader {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(10, 14, 26, 0.3);
  border-top-color: #0a0e1a;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* ═══════════════════════════════════════════════════════════════════
   SUCCESS MODAL
   ═══════════════════════════════════════════════════════════════════ */
#successModal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 8, 22, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-gold), 0 24px 80px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 0.5s ease-out;
  position: relative;
}

/* ── Checkmark animation ──────────────────────────────────────────── */
.success-animation {
  margin-bottom: 24px;
}

.checkmark-circle {
  display: inline-block;
  width: 80px;
  height: 80px;
}

.checkmark {
  width: 80px;
  height: 80px;
}

.checkmark-circle-bg {
  stroke: var(--gold-primary);
  stroke-width: 2;
  stroke-dasharray: 157;
  stroke-dashoffset: 157;
  animation: checkmark-circle-draw 0.6s ease-in-out forwards;
}

.checkmark-check {
  stroke: var(--gold-primary);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: checkmark-draw 0.4s ease-in-out 0.5s forwards;
}

.modal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.modal-content > p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Token display */
.token-display {
  background: rgba(244, 196, 48, 0.08);
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.token-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.token-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-primary);
  font-family: 'Courier New', Courier, monospace;
  letter-spacing: 1px;
  word-break: break-all;
}

.token-persons {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.modal-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.btn-close-modal {
  padding: 14px 40px;
  background: var(--gold-gradient);
  color: #0a0e1a;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-close-modal:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(244, 196, 48, 0.3);
}

/* ═══════════════════════════════════════════════════════════════════
   LOADING OVERLAY
   ═══════════════════════════════════════════════════════════════════ */
#loadingOverlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4000;
  background: rgba(5, 8, 22, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(244, 196, 48, 0.15);
  border-top-color: var(--gold-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 20px;
}

.loading-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  letter-spacing: 0.3px;
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-primary);
  padding: 60px 5% 0;
  border-top: 1px solid var(--border-glass);
  position: relative;
}

/* Gold accent line at top */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: var(--gold-gradient);
  opacity: 0.4;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 40px;
}

.footer-section .logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-primary);
  display: block;
  margin-bottom: 14px;
}

.footer-section p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-section h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.footer-section ul a:hover {
  color: var(--gold-primary);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ═══════════════════════════════════════════════════════════════════
   KEYFRAME ANIMATIONS
   ═══════════════════════════════════════════════════════════════════ */

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

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 4px 24px rgba(244, 196, 48, 0.25);
  }
  50% {
    box-shadow: 0 4px 40px rgba(244, 196, 48, 0.45);
  }
}

@keyframes shimmer {
  0%, 100% {
    background-position: 200% 200%;
  }
  50% {
    background-position: 0% 0%;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes checkmark-circle-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes checkmark-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  /* Navigation */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(5, 8, 22, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 28px;
    transition: right 0.3s ease;
    border-left: 1px solid var(--border-glass);
  }

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

  .nav-links a {
    font-size: 1.1rem;
  }

  /* Hero */
  .invitation-card {
    padding: 40px 28px;
  }

  .invitation-card h1 {
    font-size: 2.4rem;
  }

  .event-details {
    flex-direction: column;
    gap: 20px;
  }

  /* About */
  #about {
    padding: 80px 5% 60px;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  /* Registration */
  #register {
    padding: 80px 5%;
  }

  .form-container {
    padding: 32px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .progress-bar {
    gap: 4px;
  }

  .step-label {
    font-size: 0.65rem;
    letter-spacing: 0.5px;
  }

  .step-number {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }

  .progress-bar::before {
    top: 17px;
    left: 30px;
    right: 30px;
  }

  .form-buttons {
    flex-direction: column-reverse;
    gap: 10px;
  }

  .btn-next, .btn-prev, .btn-submit {
    width: 100%;
    justify-content: center;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Modal */
  .modal-content {
    padding: 36px 24px;
  }

  .modal-content h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 16px 4%;
  }

  .navbar .logo {
    font-size: 1.25rem;
  }

  .invitation-card h1 {
    font-size: 1.9rem;
  }

  .event-badge {
    font-size: 0.75rem;
    padding: 6px 18px;
  }

  .cta-btn {
    padding: 14px 32px;
    font-size: 0.95rem;
  }

  .section-title h2 {
    font-size: 1.75rem;
  }

  .form-container {
    padding: 24px 18px;
  }

  .form-step h3 {
    font-size: 1.25rem;
  }

  .radio-option label {
    padding: 14px 18px;
  }
}

/* -- Light Theme Specific Additions (McGrande) -------------------- */

/* Grid Background */
.light-grid-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: 50px 50px;
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  z-index: -1;
}

/* Light Navbar Overrides */
.navbar.light-nav {
  background: rgba(253, 252, 240, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.navbar.light-nav .logo-text {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-primary);
}
.light-nav-links {
  gap: 2rem;
}
.light-link {
  font-family: 'Inter', sans-serif;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}
.light-link.active {
  color: var(--gold-primary);
}
.light-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-primary);
}

/* Light Hero Section Layout */
.light-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.hero-content-light {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  z-index: 1;
}

/* Hero Left Column */
.hero-left {
  flex: 1;
  max-width: 600px;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  color: #0a1128;
  line-height: 1;
  margin: 0;
  letter-spacing: -1px;
}
.hero-year {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  font-style: italic;
  color: #c19b6c;
  line-height: 1;
  margin: 0 0 1rem 0;
}
.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #c19b6c;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}
.hero-desc {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

/* Vertical Stacked Details */
.hero-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.hero-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.hero-detail .detail-icon {
  font-size: 1.5rem;
  color: #c19b6c;
  background: rgba(193, 155, 108, 0.1);
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
}
.detail-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.detail-text .detail-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.detail-text .detail-value {
  font-size: 1rem;
  font-weight: 600;
  color: #0a1128;
}

/* Light Countdown Timer */
.countdown-timer-light {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.05);
  max-width: fit-content;
}
.cd-box-light {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
}
.cd-box-light span {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #c19b6c;
  line-height: 1;
}
.cd-box-light small {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.5rem;
}
.cd-colon-light {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #94a3b8;
  margin-top: -15px;
}

/* Hero Right Placeholder Logo */
.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo-placeholder {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 2 / 1;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-inner {
  text-align: center;
  line-height: 1;
}
.logo-inner .ph-mc {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  color: #0a1128;
}
.logo-inner .ph-year {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  font-style: italic;
  color: #c19b6c;
}

@media (max-width: 900px) {
  .hero-content-light {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }
  .hero-details {
    align-items: center;
  }
  .hero-detail {
    text-align: left;
  }
  .countdown-timer-light {
    margin: 0 auto;
  }
}

.hero-logo-img {
  width: 100%;
  height: auto;
  max-width: 600px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

/* -- CSS Logo Styling & Glowing Effects -------------------- */

.mcgrande-logo-text {
  display: flex;
  align-items: baseline;
  gap: 10px;
  filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
}

.mc-text, .year-text {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  /* Dark blue fill with a gold stroke effect using text-shadow */
  color: #1a2f4c;
  text-shadow: 
    -1px -1px 0 #d4af37,
     1px -1px 0 #d4af37,
    -1px  1px 0 #d4af37,
     1px  1px 0 #d4af37,
     0px  3px 0 #c19b6c, /* slight 3d effect */
     0 0 20px rgba(212, 175, 55, 0.6); /* glow */
}

.mc-text {
  font-size: 5rem;
  letter-spacing: -2px;
}

.year-text {
  font-size: 4rem;
  font-style: italic;
}

/* Glowing effects for hero title */
.hero-title, .hero-year {
  text-shadow: 0 0 25px rgba(183, 143, 75, 0.3);
}

/* Add a glowing animation to primary buttons */
.cta-btn {
  animation: subtleGlow 3s infinite alternate;
}

@keyframes subtleGlow {
  0% { box-shadow: 0 4px 15px rgba(183, 143, 75, 0.2); }
  100% { box-shadow: 0 4px 25px rgba(183, 143, 75, 0.6); }
}


/* -- Centered Card Light Theme -------------------- */

.invitation-card.light-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(183, 143, 75, 0.3);
  box-shadow: 0 10px 40px rgba(183, 143, 75, 0.15), inset 0 0 20px rgba(255,255,255,0.5);
  border-radius: 20px;
  padding: 3rem 2rem;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.event-badge.light-badge {
  background: rgba(183, 143, 75, 0.1);
  color: #b78f4b;
  border: 1px solid rgba(183, 143, 75, 0.3);
  font-family: 'Inter', sans-serif;
  letter-spacing: 2px;
}

.hero-title.text-center {
  text-align: center;
  margin: 1.5rem 0;
  font-size: clamp(2.5rem, 5vw, 4rem);
}
.hero-title.text-center .highlight {
  color: #c19b6c;
  font-style: italic;
  display: block;
}

.event-details.light-details {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}
.event-details.light-details .detail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.event-details.light-details .detail-icon {
  font-size: 2rem;
  background: none;
  width: auto; height: auto;
}
.event-details.light-details .detail-value {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: #0a192f;
}
.event-details.light-details .detail-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: #94a3b8;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.centered-timer {
  margin: 0 auto;
}

.ornament path {
  stroke: #c19b6c;
  opacity: 0.5;
}
.ornament circle {
  fill: #c19b6c;
}


/* -- Light Theme Overrides (Highlights, Footer, Mobile Nav) -------------------- */

/* Highlights Cards */
.highlight-card {
  background: #ffffff;
  border: 1px solid rgba(183, 143, 75, 0.15);
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-radius: 12px;
}
.highlight-card:hover {
  transform: translateY(-5px);
  border-color: #c19b6c;
  box-shadow: 0 10px 25px rgba(183, 143, 75, 0.1);
  background: #ffffff;
}
.highlight-card h3 {
  font-family: 'Playfair Display', serif;
  color: #c19b6c;
  font-weight: 700;
}
.highlight-card p {
  color: #475569;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
}

/* Footer Light Theme */
.site-footer {
  background: #fdfcf0;
  border-top: 1px solid rgba(183, 143, 75, 0.2);
  color: #475569;
}
.footer-title,
.footer-col h4 {
  font-family: 'Playfair Display', serif;
  color: #0a192f;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-title {
  color: #c19b6c;
}
.footer-desc {
  color: #475569;
}
.footer-links a {
  color: #475569;
}
.footer-links a:hover {
  color: #c19b6c;
}
.contact-info li {
  color: #475569;
}
.contact-info .icon {
  color: #c19b6c;
}
.footer-bottom {
  border-top: 1px solid rgba(183, 143, 75, 0.2);
  color: #64748b;
}

/* Mobile Nav Light Theme */
@media (max-width: 768px) {
  .nav-links.light-nav-links {
    background: #fdfcf0;
    border-bottom: 1px solid rgba(183, 143, 75, 0.2);
  }
  .nav-links.light-nav-links .light-link {
    color: #475569;
  }
  .nav-links.light-nav-links .light-link.active {
    color: #c19b6c;
  }
  .nav-toggle.light-toggle span {
    background: #0a192f;
  }
  .nav-toggle.light-toggle.active span {
    background: #ffffff; /* Close X should be white if it has a dark bg */
  }
  
  /* The screenshot shows a dark circle close button */
  .nav-toggle.light-toggle.active {
    background: #2a3441;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .nav-toggle.light-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .nav-toggle.light-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.light-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}


/* -- Golden Glowing Effects -------------------- */

/* Background Golden Glows */
body::before {
  content: '';
  position: fixed;
  top: -20%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  animation: pulseGlow 8s infinite alternate;
}

body::after {
  content: '';
  position: fixed;
  bottom: -20%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(193, 155, 108, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  animation: pulseGlow 10s infinite alternate-reverse;
}

@keyframes pulseGlow {
  0% { transform: scale(0.8); opacity: 0.5; }
  100% { transform: scale(1.2); opacity: 1; }
}

/* Enhanced Golden Glow for Form Container and Invitation Card */
.form-container,
.invitation-card.light-card {
  box-shadow: 
    0 10px 40px rgba(183, 143, 75, 0.15), 
    0 0 20px rgba(212, 175, 55, 0.2), 
    inset 0 0 20px rgba(255,255,255,0.8);
  border: 1px solid rgba(212, 175, 55, 0.4);
  position: relative;
  overflow: hidden;
}

.form-container::before,
.invitation-card.light-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #d4af37, #fdfcf0, #d4af37, transparent);
  animation: borderGlow 3s linear infinite;
}

@keyframes borderGlow {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Enhancing Submit Button Golden Glow */
.submit-btn {
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  animation: buttonPulse 2s infinite;
}

@keyframes buttonPulse {
  0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}


/* -- Mobile Responsive Fix for Countdown Timer -------------------- */
@media (max-width: 500px) {
  .countdown-timer-light {
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .cd-box-light {
    min-width: 40px;
  }
  .cd-box-light span {
    font-size: 1.8rem;
  }
  .cd-box-light p {
    font-size: 0.7rem;
  }
}

/* -- Download Token Button ------------------- */
.btn-download-token {
  background: linear-gradient(135deg, #d4af37, #f4c430);
  color: #1a2f4c;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.5px;
}
.btn-download-token:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}
