/* Theme Variables */
:root {
  /* Obsidian & Diamond Theme */
  --bg: #05070a;
  --card: rgba(255, 255, 255, 0.03);
  --accent: #ffffff;
  --accent-secondary: #94a3b8;
  --muted: #94a3b8;
  --glass: rgba(255, 255, 255, 0.03);
  --ink: #f8fafc;
}

/* Dark theme variables (standardized) */
body.theme-dark {
  --bg: #05070a;
  --card: rgba(255, 255, 255, 0.03);
  --accent: #ffffff;
  --accent-secondary: #cbd5e1;
  --muted: #94a3b8;
  --glass: rgba(255, 255, 255, 0.03);
  --ink: #f8fafc;
}

/* Base Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', system-ui, Segoe UI, Roboto, Arial;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
}

body.theme-dark {
  background: var(--bg);
}

.fade-in {
  animation: fadeInUp .5s ease both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* Button Styles */
.btn {
  background: #ffffff;
  color: #000000;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid #ffffff;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  font-family: 'Outfit', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn.large {
  padding: 12px 30px;
  font-size: 1.1rem;
}

.btn.secondary {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: var(--ink);
}

body.theme-dark .btn.secondary {
  background: #0b1220;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e6eef8;
}

body.theme-dark .btn.secondary:hover {
  opacity: 0.95;
}

/* Global poster styles (consolidated) */
.poster-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 0;
  width: 100%;
  max-width: 350px;
  overflow: hidden;
  margin: 10px auto;
  border-radius: 10px;
}

.poster-img {
  width: 100%;
  max-width: 360px;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.poster-img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.1);
}

.poster-wrapper {
  display: flex;
  width: 300%;
  transition: transform 0.6s ease-in-out;
}

.poster-wrapper .poster-img {
  width: 100%;
  height: auto;
  flex-shrink: 0;
  border-radius: 10px;
  object-fit: cover;
}

/* Confetti styles */
.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #c41e3a, #26de81);
  border-radius: 50%;
  animation: confettiFall 2.5s linear forwards;
  opacity: 0.9;
  box-shadow: 0 0 6px rgba(196, 30, 58, 0.6);
  will-change: transform, opacity;
}

@keyframes confettiFall {
  0% {
    transform: translateY(-20px) translateX(0) rotate(0deg) scale(1);
    opacity: 1;
  }

  100% {
    transform: translateY(400px) translateX(calc(var(--random-x, 0) * 100px)) rotate(720deg) scale(0);
    opacity: 0;
  }
}

/* Accessibility and responsive enhancements */
:root {
  --focus-ring: 2px solid #1d4ed8;
}

.btn,
button,
[role="button"],
.close-popup {
  outline: none;
}

.btn:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
.close-popup:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Utility containers */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Verse banner shared style */
.verse-banner {
  background: #fef2f2;
  color: #111;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* In-app toast / thank-you component */
.toast-root {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
}

.toast-wrapper {
  position: absolute;
  top: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
  width: calc(100% - 48px);
}

.toast {
  pointer-events: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: flex-start;
  gap: 12px;
  background: #0b0b0c;
  color: #e7ffe9;
  border: 1px solid rgba(22, 163, 74, 0.35);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  border-radius: 12px;
  padding: 14px 16px;
  transform: translateY(-12px);
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
}

.toast.visible {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #16a34a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.25);
}

.toast-title {
  font-weight: 700;
  color: #dcfce7;
  margin: 0;
}

.toast-msg {
  margin: 2px 0 0 0;
  color: #c7f9d4;
  font-size: 0.95rem;
  line-height: 1.35;
}

.toast-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast-close {
  background: transparent;
  border: none;
  color: #dcfce7;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.toast-close:hover {
  background: rgba(220, 252, 231, 0.08);
}

.toast-timer {
  height: 3px;
  background: rgba(22, 163, 74, 0.25);
  border-radius: 999px;
  overflow: hidden;
  grid-column: 1 / -1;
}

.toast-timer>span {
  display: block;
  height: 100%;
  width: 0%;
  background: #22c55e;
  transition: width linear;
}

@media (max-width: 640px) {
  .toast-wrapper {
    top: auto;
    right: 12px;
    left: 12px;
    bottom: 12px;
    max-width: none;
  }
}

/* High-contrast mode support */
@media (prefers-contrast: more) {
  .toast {
    border-color: #16a34a;
  }

  .toast-icon {
    box-shadow: none;
  }
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
  display: grid;
  place-items: center;
  z-index: 1100;
  opacity: 0;
  transition: opacity .2s ease;
}

.modal-overlay.visible {
  opacity: 1;
}

.modal-card {
  width: min(560px, 92vw);
  background: var(--card);
  color: var(--ink);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  padding: 24px 22px;
  transform: translateY(6px) scale(0.98);
  transition: transform .2s ease;
}

.theme-dark .modal-card,
body.theme-dark .modal-card {
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.modal-overlay.visible .modal-card {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}

.modal-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px rgba(196, 30, 58, 0.25);
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
  color: var(--ink);
}

.modal-msg {
  margin: 8px 0 16px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
}

.modal-close,
.modal-ok {
  background: transparent;
  border: none;
  color: var(--muted);
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.modal-close-icon {
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  padding: 0;
}

.modal-ok {
  background: var(--accent);
  color: #3b2f00;
}

.modal-close:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.04);
}

.modal-timer {
  height: 3px;
  background: rgba(196, 30, 58, 0.25);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 10px;
}

.modal-timer>span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width linear;
}

/* Interactive highlight when navigating to dashboard */
.pulse-highlight {
  animation: pulseOutline 1200ms ease-in-out 1;
}

@keyframes pulseOutline {
  0% {
    box-shadow: 0 0 0 0 rgba(196, 30, 58, 0.5);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(196, 30, 58, 0.25);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(196, 30, 58, 0);
  }
}

@media (max-width: 640px) {
  .modal-card {
    padding: 16px 14px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1.2;
  }

  .invite-close-btn {
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--muted);
    transition: all 0.2s ease;
  }

  .invite-close-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--ink);
    transform: rotate(90deg);
  }

  body.theme-dark .invite-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  .invite-poster-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.02);
  }

  .invite-poster-img {
    width: 100%;
    max-height: 55vh;
    object-fit: contain;
    background: #fff;
    display: block;
    transition: transform 0.5s ease;
  }

  .invite-poster-wrapper:hover .invite-poster-img {
    transform: scale(1.02);
  }

  .invite-wrap-sheet {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #c41e3a 0%, #165b33 50%, #26de81 100%);
    z-index: 10;
  }

  .invite-details {
    text-align: center;
    margin-top: 8px;
  }

  .invite-info {
    font-size: 1rem;
    color: var(--ink);
    font-weight: 600;
    line-height: 1.5;
  }

  .invite-venue {
    font-size: 0.95rem;
    color: var(--muted);
    margin-top: 4px;
    font-weight: 500;
  }

  .invite-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
  }

  .invite-btn-primary {
    width: 100%;
    background: linear-gradient(145deg, var(--accent), #d32f45);
    color: #ffffff;
    font-weight: 700;
    border: none;
    box-shadow:
      0 4px 12px rgba(196, 30, 58, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
    padding: 14px;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
  }

  .invite-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow:
      0 6px 16px rgba(171, 196, 30, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
    filter: brightness(1.05);
  }

  .invite-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(196, 30, 58, 0.2);
  }

  .invite-btn-secondary {
    width: 100%;
    background: transparent;
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    color: var(--ink);
    font-weight: 600;
  }

  body.theme-dark .invite-btn-secondary {
    border-color: rgba(255, 255, 255, 0.12);
  }

  .invite-btn-secondary:hover {
    background: rgba(0, 0, 0, 0.03);
    border-color: var(--ink);
  }

  body.theme-dark .invite-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #fff;
  }

  .invite-icon-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }

  .invite-icon-btn {
    width: 100%;
    padding: 0;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    color: var(--muted);
    background: transparent;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  }

  body.theme-dark .invite-icon-btn {
    border-color: rgba(255, 255, 255, 0.12);
  }

  .invite-icon-btn:hover {
    color: #3b2f00;
    border-color: var(--accent);
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.25);
  }

  body.theme-dark .invite-icon-btn:hover {
    color: #3b2f00;
  }

  /* Mobile adjustments */
  @media (max-width: 480px) {
    .invite-modal {
      width: 100%;
      border-radius: 24px 24px 0 0;
      padding: 24px;
      margin-top: auto;
      gap: 14px;
    }

    .invite-poster-img {
      max-height: 45vh;
    }

    .invite-title {
      font-size: 1.25rem;
    }
  }

  /* Header Styles */
  header {
    padding: 22px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .logo-img {
    width: 64px;
    height: auto;
    border-radius: 6px;
  }

  h1 {
    margin: 0;
    font-size: 20px;
  }

  .tag {
    color: var(--muted);
    font-size: 13px;
    text-align: center;
    margin-bottom: 10px;
  }

  nav {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 8px;
  }

  /* =========================================
   Event Page Styles - Enhanced & Interactive
   ========================================= */

  /* Animated gradient background */
  @keyframes gradientShift {

    0%,
    100% {
      background-position: 0% 50%;
    }

    50% {
      background-position: 100% 50%;
    }
  }

  @keyframes float {

    0%,
    100% {
      transform: translateY(0px);
    }

    50% {
      transform: translateY(-20px);
    }
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes pulse {

    0%,
    100% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.05);
    }
  }

  @keyframes glow {

    0%,
    100% {
      box-shadow: 0 0 20px rgba(227, 176, 8, 0.3);
    }

    50% {
      box-shadow: 0 0 40px rgba(227, 176, 8, 0.6);
    }
  }

  @keyframes shimmer {
    0% {
      background-position: -1000px 0;
    }

    100% {
      background-position: 1000px 0;
    }
  }

  .event-hero {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--bg) 0%, rgba(227, 176, 8, 0.08) 50%, rgba(234, 179, 8, 0.12) 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow: hidden;
  }

  /* Decorative particles container */
  .event-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
      radial-gradient(circle at 20% 30%, rgba(227, 176, 8, 0.1) 0%, transparent 50%),
      radial-gradient(circle at 80% 70%, rgba(234, 179, 8, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
  }

  .hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }

  .hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 20px 0 10px;
    color: var(--ink);
    line-height: 1.2;
    background: linear-gradient(135deg, var(--ink) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
  }

  .hero-subtitle {
    font-size: 1.15rem;
    color: var(--muted);
    margin-bottom: 30px;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
  }

  .event-meta-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
  }

  .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(227, 176, 8, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
  }

  body.theme-dark .meta-item {
    background: rgba(11, 18, 32, 0.9);
    border-color: rgba(234, 179, 8, 0.3);
  }

  .meta-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(227, 176, 8, 0.25);
    border-color: var(--accent);
  }

  .meta-icon {
    font-size: 1.3rem;
    animation: pulse 2s ease-in-out infinite;
  }

  .meta-text {
    font-weight: 600;
    color: var(--ink);
    font-size: 0.95rem;
  }

  /* Enhanced Countdown */
  .countdown-container {
    margin: 0 auto 40px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border: 2px solid transparent;
    background-image: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)),
      linear-gradient(135deg, var(--accent), #facc15, var(--accent));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
  }

  body.theme-dark .countdown-container {
    background: rgba(11, 18, 32, 0.95);
    background-image: linear-gradient(rgba(11, 18, 32, 0.95), rgba(11, 18, 32, 0.95)),
      linear-gradient(135deg, var(--accent), #facc15, var(--accent));
  }

  .countdown-title {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
  }

  .countdown {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .countdown-item {
    background: linear-gradient(135deg, rgba(227, 176, 8, 0.1), rgba(234, 179, 8, 0.05));
    padding: 16px 20px;
    border-radius: 16px;
    border: 1px solid rgba(227, 176, 8, 0.2);
    transition: all 0.3s ease;
    min-width: 85px;
    position: relative;
    overflow: hidden;
  }

  .countdown-item::before {
    content: '';
    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;
  }

  .countdown-item:hover::before {
    left: 100%;
  }

  .countdown-item:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(227, 176, 8, 0.3);
    border-color: var(--accent);
  }

  .countdown-value {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), #facc15);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    animation: pulse 2s ease-in-out infinite;
  }

  .countdown-label {
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
  }

  .hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s both;
  }

  .hero-actions .btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .hero-actions .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
  }

  .hero-actions .btn:hover::before {
    width: 300px;
    height: 300px;
  }

  .hero-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(227, 176, 8, 0.4);
  }

  /* Section Styles */
  .section-padding {
    padding: 80px 20px;
    position: relative;
  }

  .section-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    color: var(--ink);
    position: relative;
    display: inline-block;
    width: 100%;
  }

  .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #facc15);
    border-radius: 999px;
    margin: 12px auto 0;
    animation: shimmer 3s linear infinite;
    background-size: 200% 100%;
  }

  .venue-bg {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(227, 176, 8, 0.03) 100%);
  }

  body.theme-dark .venue-bg {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(234, 179, 8, 0.05) 100%);
  }

  /* Enhanced Timeline */
  .agenda-timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding-left: 20px;
  }

  .agenda-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, rgba(227, 176, 8, 0.2), var(--accent), rgba(227, 176, 8, 0.2));
    border-radius: 999px;
  }

  .timeline-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
  }

  .timeline-item:nth-child(1) {
    animation-delay: 0.1s;
  }

  .timeline-item:nth-child(2) {
    animation-delay: 0.2s;
  }

  .timeline-item:nth-child(3) {
    animation-delay: 0.3s;
  }

  .timeline-item:nth-child(4) {
    animation-delay: 0.4s;
  }

  .timeline-item::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 8px;
    width: 18px;
    height: 18px;
    background: var(--accent);
    border-radius: 50%;
    border: 4px solid var(--bg);
    box-shadow: 0 0 0 3px rgba(227, 176, 8, 0.3), 0 0 20px rgba(227, 176, 8, 0.4);
    transition: all 0.3s ease;
    z-index: 2;
  }

  .timeline-item:hover::before {
    transform: scale(1.3);
    box-shadow: 0 0 0 6px rgba(227, 176, 8, 0.2), 0 0 30px rgba(227, 176, 8, 0.6);
  }

  .timeline-time {
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 6px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .timeline-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(227, 176, 8, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
  }

  body.theme-dark .timeline-content {
    background: rgba(11, 18, 32, 0.95);
    border-color: rgba(234, 179, 8, 0.2);
  }

  .timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent), #facc15);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .timeline-item:hover .timeline-content {
    transform: translateX(8px);
    box-shadow: 0 12px 35px rgba(227, 176, 8, 0.2);
    border-color: var(--accent);
  }

  .timeline-item:hover .timeline-content::before {
    opacity: 1;
  }

  .timeline-title {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--ink);
    margin-bottom: 6px;
  }

  .timeline-desc {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* Enhanced Venue Card */
  .venue-card {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    text-align: center;
    border: 2px solid rgba(227, 176, 8, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
  }

  body.theme-dark .venue-card {
    background: rgba(11, 18, 32, 0.95);
    border-color: rgba(234, 179, 8, 0.3);
  }

  .venue-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent), #facc15, var(--accent));
    border-radius: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
  }

  .venue-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(227, 176, 8, 0.25);
  }

  .venue-card:hover::before {
    opacity: 0.3;
  }

  .venue-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--ink), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .venue-address {
    color: var(--muted);
    margin-bottom: 28px;
    font-size: 1.05rem;
  }

  .map-container {
    width: 100%;
    height: 350px;
    border-radius: 16px;
    overflow: hidden;
    background: #eee;
    border: 3px solid rgba(227, 176, 8, 0.2);
    transition: all 0.3s ease;
    position: relative;
  }

  .map-container::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    box-shadow: inset 0 0 30px rgba(227, 176, 8, 0.1);
    pointer-events: none;
  }

  .map-container:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 30px rgba(227, 176, 8, 0.3);
  }

  .map-container iframe {
    border: 0;
  }

  /* Enhanced Poster Card */
  .event-poster-card {
    margin-bottom: 35px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    display: inline-block;
    max-width: 100%;
    border: 3px solid rgba(227, 176, 8, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: fadeInUp 0.8s ease-out, float 6s ease-in-out infinite;
  }

  .event-poster-card::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, var(--accent), #facc15, var(--accent));
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    animation: shimmer 3s linear infinite;
    background-size: 200% 100%;
  }

  .event-poster-card:hover {
    transform: scale(1.03) rotateZ(0.5deg);
    box-shadow: 0 30px 80px rgba(227, 176, 8, 0.3);
  }

  .event-poster-card:hover::before {
    opacity: 1;
  }

  .event-poster-card img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  .event-poster-card:hover img {
    transform: scale(1.02);
  }

  /* Responsive */
  @media (max-width: 768px) {
    .hero-title {
      font-size: 2.2rem;
    }

    .event-meta-grid {
      flex-direction: column;
      align-items: center;
      gap: 12px;
    }

    .meta-item {
      width: 100%;
      justify-content: center;
      max-width: 320px;
    }

    .agenda-timeline::before {
      left: 10px;
    }

    .timeline-item {
      padding-left: 35px;
    }

    .timeline-item::before {
      left: 2px;
    }

    .countdown {
      gap: 16px;
    }

    .countdown-value {
      font-size: 2rem;
    }
  }






  /* =========================================
   Footer Styles
   ========================================= */
  .site-footer {
    background: var(--card);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 60px 0 30px;
    margin-top: 60px;
  }

  body.theme-dark .site-footer {
    background: #0b1220;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
  }

  .footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
  }

  .footer-brand img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
  }

  .footer-brand-name {
    font-weight: 700;
    font-size: 1.1rem;
  }

  .footer-social {
    display: flex;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-social a {
    color: var(--muted);
    transition: color 0.2s;
  }

  .footer-social a:hover {
    color: var(--accent);
  }

  .icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--muted);
    transition: all 0.2s ease;
  }

  .icon-btn:hover {
    color: var(--ink);
    border-color: var(--accent);
    background: rgba(227, 176, 8, 0.12);
  }

  body.theme-dark .icon-btn {
    border-color: rgba(255, 255, 255, 0.12);
  }

  body.theme-dark .icon-btn:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .footer-sep {
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
    margin: 20px 0;
  }

  body.theme-dark .footer-sep {
    background: rgba(255, 255, 255, 0.08);
  }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer-links,
  .footer-legal {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-links a,
  .footer-legal a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
  }

  .footer-links a:hover,
  .footer-legal a:hover {
    color: var(--ink);
  }

  /* Poster Card */
  .event-poster-card {
    margin-bottom: 30px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: inline-block;
    max-width: 100%;
  }

  .event-poster-card img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
  }

  @media (max-width: 640px) {

    .footer-top,
    .footer-bottom {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .footer-links,
    .footer-legal {
      justify-content: center;
    }

    .event-hero {
      padding: 40px 16px;
    }

    .hero-title {
      font-size: 1.9rem;
    }
  }

  header {
    padding: 16px 14px;
    flex-direction: column;
    gap: 12px;
  }

  .brand {
    justify-content: center;
    gap: 10px;
  }

  .logo-img {
    width: 48px;
  }

  nav {
    justify-content: center;
    margin-top: 0;
    gap: 10px;
  }

  .event-poster-card img {
    max-height: 360px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .map-container {
    height: 220px;
  }


  /* Extra small devices */
  @media (max-width: 480px) {
    .hero-title {
      font-size: 1.75rem;
    }

    .hero-subtitle {
      font-size: 1rem;
      margin-bottom: 24px;
    }

    .event-poster-card img {
      max-height: 280px;
    }

    .countdown {
      gap: 14px;
    }

    .footer-brand {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      color: var(--ink);
    }

    .footer-brand img {
      width: 40px;
      height: 40px;
      border-radius: 8px;
    }

    .footer-brand-name {
      font-weight: 700;
      font-size: 1.1rem;
    }

    .footer-social {
      display: flex;
      gap: 12px;
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .footer-social a {
      color: var(--muted);
      transition: color 0.2s;
    }

    .footer-social a:hover {
      color: var(--accent);
    }

    .icon-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: 999px;
      border: 1px solid rgba(0, 0, 0, 0.08);
      color: var(--muted);
      transition: all 0.2s ease;
    }

    .icon-btn:hover {
      color: var(--ink);
      border-color: var(--accent);
      background: rgba(227, 176, 8, 0.12);
    }

    body.theme-dark .icon-btn {
      border-color: rgba(255, 255, 255, 0.12);
    }

    body.theme-dark .icon-btn:hover {
      background: rgba(255, 255, 255, 0.08);
    }

    .footer-sep {
      height: 1px;
      background: rgba(0, 0, 0, 0.08);
      margin: 20px 0;
    }

    body.theme-dark .footer-sep {
      background: rgba(255, 255, 255, 0.08);
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 20px;
    }

    .footer-links,
    .footer-legal {
      display: flex;
      gap: 20px;
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .footer-links a,
    .footer-legal a {
      color: var(--muted);
      text-decoration: none;
      font-size: 0.95rem;
      transition: color 0.2s;
    }

    .footer-links a:hover,
    .footer-legal a:hover {
      color: var(--ink);
    }

    /* Poster Card */
    .event-poster-card {
      margin-bottom: 30px;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
      display: inline-block;
      max-width: 100%;
    }

    .event-poster-card img {
      display: block;
      width: 100%;
      height: auto;
      max-height: 500px;
      object-fit: cover;
    }

    @media (max-width: 640px) {

      .footer-top,
      .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }

      .footer-links,
      .footer-legal {
        justify-content: center;
      }

      .event-hero {
        padding: 40px 16px;
      }

      .hero-title {
        font-size: 1.9rem;
      }
    }

    header {
      padding: 16px 14px;
      flex-direction: column;
      gap: 12px;
    }

    .brand {
      justify-content: center;
      gap: 10px;
    }

    .logo-img {
      width: 48px;
    }

    nav {
      justify-content: center;
      margin-top: 0;
      gap: 10px;
    }

    .event-poster-card img {
      max-height: 360px;
    }

    .hero-actions .btn {
      width: 100%;
    }

    .map-container {
      height: 220px;
    }


    /* Extra small devices */
    @media (max-width: 480px) {
      .hero-title {
        font-size: 1.75rem;
      }

      .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 24px;
      }

      .event-poster-card img {
        max-height: 280px;
      }

      .countdown {
        gap: 14px;
      }

      .countdown-value {
        font-size: 1.6rem;
      }

      .section-padding {
        padding: 40px 16px;
      }
    }

    /* === Registration Section Styles === */
    #registrationSection {
      background: #ffffff;
      border: 1px solid rgba(0, 0, 0, 0.06);
      border-radius: 16px;
      padding: 28px;
      box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 10px 15px -3px rgba(0, 0, 0, 0.05);
      position: relative;
      overflow: visible;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    body.theme-dark #registrationSection {
      background: var(--card);
      border: 1px solid rgba(255, 255, 255, 0.08);
      box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.3),
        0 10px 15px -3px rgba(0, 0, 0, 0.3);
    }

    #registrationSection:hover {
      transform: translateY(-2px);
      box-shadow:
        0 10px 25px -5px rgba(0, 0, 0, 0.08),
        0 8px 10px -6px rgba(0, 0, 0, 0.05);
    }

    body.theme-dark #registrationSection:hover {
      box-shadow:
        0 10px 25px -5px rgba(0, 0, 0, 0.4),
        0 8px 10px -6px rgba(0, 0, 0, 0.3);
    }

    /* Form Labels */
    #registrationSection label {
      font-weight: 600;
      color: #2d3748;
      margin-bottom: 6px;
      display: block;
      font-size: 0.95rem;
    }

    body.theme-dark #registrationSection label {
      color: var(--ink);
    }

    /* Inputs & Selects */
    #registrationSection input,
    #registrationSection .custom-dropdown-trigger {
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 12px;
      padding: 14px 16px;
      font-size: 0.95rem;
      transition: all 0.2s ease;
      color: #4a5568;
      width: 100%;
      margin-bottom: 12px;
    }

    #registrationSection input::placeholder {
      color: #a0aec0;
    }

    body.theme-dark #registrationSection input,
    body.theme-dark #registrationSection .custom-dropdown-trigger {
      background: rgba(255, 255, 255, 0.03);
      border-color: rgba(255, 255, 255, 0.1);
      color: #fff;
    }

    #registrationSection input:focus,
    #registrationSection .custom-dropdown-trigger.active {
      background: #ffffff;
      border-color: #ffffff;
      box-shadow: 0 0 0 3px rgba(227, 176, 8, 0.1);
      outline: none;
    }

    body.theme-dark #registrationSection input:focus,
    body.theme-dark #registrationSection .custom-dropdown-trigger.active {
      background: rgba(255, 255, 255, 0.06);
      border-color: #ffffff;
    }

    /* Join Button - Yellow/Gold matching the screenshot */
    #signup-submit {
      background: #ffffff;
      color: #3b2f00;
      font-weight: 700;
      font-size: 1.05rem;
      padding: 14px;
      border-radius: 12px;
      border: none;
      cursor: pointer;
      box-shadow: 0 4px 6px rgba(227, 176, 8, 0.25);
      transition: all 0.2s ease;
      margin-top: 16px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      width: 100%;
    }

    #signup-submit:hover {
      background: #d4a307;
      transform: translateY(-1px);
      box-shadow: 0 6px 12px rgba(227, 176, 8, 0.35);
    }

    #signup-submit:active {
      transform: translateY(0);
      box-shadow: 0 2px 4px rgba(227, 176, 8, 0.2);
    }

    /* Checkbox Style */
  }

  .footer-links,
  .footer-legal {
    justify-content: center;
  }

  .event-hero {
    padding: 40px 16px;
  }

  .hero-title {
    font-size: 1.9rem;
  }
}

header {
  padding: 16px 14px;
  flex-direction: column;
  gap: 12px;
}

.brand {
  justify-content: center;
  gap: 10px;
}

.logo-img {
  width: 48px;
}

nav {
  justify-content: center;
  margin-top: 0;
  gap: 10px;
}

.event-poster-card img {
  max-height: 360px;
}

.hero-actions .btn {
  width: 100%;
}

.map-container {
  height: 220px;
}


/* Extra small devices */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .event-poster-card img {
    max-height: 280px;
  }

  .countdown {
    gap: 14px;
  }

  .countdown-value {
    font-size: 1.6rem;
  }

  .section-padding {
    padding: 40px 16px;
  }
}

/* === Updated Registration Section - Matching Screenshot === */
#registrationSection {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 0;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 10px 15px -3px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: visible;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.theme-dark #registrationSection {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.3),
    0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

#registrationSection:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 25px -5px rgba(0, 0, 0, 0.08),
    0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

body.theme-dark #registrationSection:hover {
  box-shadow:
    0 10px 25px -5px rgba(0, 0, 0, 0.4),
    0 8px 10px -6px rgba(0, 0, 0, 0.3);
}

/* Yellow horizontal line at the top */
#registrationSection::before {
  content: '';
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 4px;
  background: #ffffff;
  border-radius: 2px;
}

/* Add padding to form content */
#registrationSection form {
  padding: 32px 24px 24px 24px;
}

/* Form Labels */
#registrationSection label {
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 8px;
  display: block;
  font-size: 0.95rem;
}

body.theme-dark #registrationSection label {
  color: var(--ink);
}

/* Inputs & Selects - Light gray background like screenshot */
#registrationSection input,
#registrationSection .custom-dropdown-trigger {
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  color: #4a5568;
  width: 100%;
  margin-bottom: 16px;
}

#registrationSection input::placeholder {
  color: #a0aec0;
}

body.theme-dark #registrationSection input,
body.theme-dark #registrationSection .custom-dropdown-trigger {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

#registrationSection input:focus,
#registrationSection .custom-dropdown-trigger.active {
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(227, 176, 8, 0.1);
  outline: none;
}

body.theme-dark #registrationSection input:focus,
body.theme-dark #registrationSection .custom-dropdown-trigger.active {
  background: rgba(255, 255, 255, 0.06);
  border-color: #ffffff;
}

/* Join Button - Yellow/Gold matching screenshot */
#signup-submit {
  background: #ffffff;
  color: #3b2f00;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(227, 176, 8, 0.2);
  transition: all 0.2s ease;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
}

#signup-submit:hover {
  background: #d4a307;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(227, 176, 8, 0.3);
}

#signup-submit:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(227, 176, 8, 0.2);
}

/* Checkbox Style */
#registrationSection input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #ffffff;
  margin-right: 8px;
  cursor: pointer;
  box-shadow: none;
  background: transparent;
  margin-bottom: 0;
}

/* Checkbox label */
#registrationSection label:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
  font-weight: 500;
  color: #6b7280;
  margin-bottom: 16px;
}

/* Ensure password input has enough padding for the toggle button */
#registrationSection .password-wrapper input {
  padding-right: 45px;
}