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

/* Theme palettes: add/edit here to expand options */
:root,
body[data-theme="golden"] {
  --bg: #070608;
  --text: #f7f1df;
  --text-dim: #d7c8a8;
  --accent: #f2c572;
  --accent2: #d4a534;
  --accent3: #ffe6a3;
  --glass: rgba(255, 245, 225, 0.07);
  --border: rgba(255, 245, 225, 0.14);
  --orb1: rgba(242, 197, 114, 0.12);
  --orb2: rgba(212, 165, 52, 0.1);
  --orb3: rgba(255, 230, 163, 0.08);
  --orb1-strong: rgba(242, 197, 114, 0.3);
  --orb2-strong: rgba(212, 165, 52, 0.26);
  --orb3-strong: rgba(255, 230, 163, 0.35);
  --glow-neutral: rgba(255, 244, 219, 0.85);
  --glow-strong: rgba(242, 197, 114, 0.85);
  --glow-alt: rgba(212, 165, 52, 0.75);
  --glow-soft: rgba(255, 230, 163, 0.55);
  --cta-shadow: rgba(242, 197, 114, 0.35);
  --cta-shadow-hover: rgba(242, 197, 114, 0.45);
  --time-icon-bg: rgba(212, 165, 52, 0.14);
  --time-icon-shadow: rgba(212, 165, 52, 0.35);
  --hero-glow-animation: crystalLights;
  --hero-reflection-animation: crystalReflection;
  --hero-aura-animation: crystalAura;
}

body[data-theme="galactic"] {
  --bg: #05060f;
  --text: #e7f1ff;
  --text-dim: #a6b8da;
  --accent: #8bd9ff;     /* icy blue */
  --accent2: #f2c572;    /* golden glow */
  --accent3: #c7adff;    /* lavender highlight */
  --glass: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.12);
  --orb1: rgba(139, 217, 255, 0.14);
  --orb2: rgba(242, 197, 114, 0.1);
  --orb3: rgba(199, 173, 255, 0.12);
  --orb1-strong: rgba(139, 217, 255, 0.32);
  --orb2-strong: rgba(242, 197, 114, 0.26);
  --orb3-strong: rgba(199, 173, 255, 0.32);
  --glow-neutral: rgba(231, 241, 255, 0.82);
  --glow-strong: rgba(139, 217, 255, 0.9);
  --glow-alt: rgba(242, 197, 114, 0.78);
  --glow-soft: rgba(199, 173, 255, 0.65);
  --cta-shadow: rgba(139, 217, 255, 0.32);
  --cta-shadow-hover: rgba(139, 217, 255, 0.42);
  --time-icon-bg: rgba(139, 217, 255, 0.16);
  --time-icon-shadow: rgba(139, 217, 255, 0.35);
  --hero-glow-animation: crystalLights;
  --hero-reflection-animation: crystalReflection;
  --hero-aura-animation: crystalAura;
}

body[data-theme="neon"] {
  --bg: #0a0a0f;
  --text: #ffffff;
  --text-dim: #a0a0b0;
  --accent: #ff6b9d;
  --accent2: #4ecdc4;
  --accent3: #ffe66d;
  --glass: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.1);
  --orb1: rgba(255, 107, 157, 0.1);
  --orb2: rgba(78, 205, 196, 0.1);
  --orb3: rgba(255, 230, 109, 0.08);
  --orb1-strong: rgba(255, 107, 157, 0.3);
  --orb2-strong: rgba(78, 205, 196, 0.25);
  --orb3-strong: rgba(255, 230, 109, 0.35);
  --glow-neutral: rgba(255, 255, 255, 0.8);
  --glow-strong: rgba(78, 205, 196, 0.6);
  --glow-alt: rgba(255, 107, 157, 0.6);
  --glow-soft: rgba(255, 230, 109, 0.6);
  --cta-shadow: rgba(255, 107, 157, 0.3);
  --cta-shadow-hover: rgba(255, 107, 157, 0.4);
  --time-icon-bg: rgba(78, 205, 196, 0.1);
  --time-icon-shadow: rgba(78, 205, 196, 0.35);
  --hero-glow-animation: crystalLights;
  --hero-reflection-animation: crystalReflection;
  --hero-aura-animation: crystalAura;
}

body[data-theme="mystical"] {
  --bg: #0d081a;
  --text: #e9e4f7;
  --text-dim: #b3a8d8;
  --accent: #c77dff;     /* Vibrant Magenta */
  --accent2: #5a7dff;    /* Deep Blue */
  --accent3: #a3f7ff;    /* Shimmering Cyan */
  --glass: rgba(233, 228, 247, 0.07);
  --border: rgba(233, 228, 247, 0.14);
  --orb1: rgba(199, 125, 255, 0.12);
  --orb2: rgba(90, 125, 255, 0.1);
  --orb3: rgba(163, 247, 255, 0.1);
  --orb1-strong: rgba(199, 125, 255, 0.3);
  --orb2-strong: rgba(90, 125, 255, 0.26);
  --orb3-strong: rgba(163, 247, 255, 0.3);
  --glow-neutral: rgba(233, 228, 247, 0.85);
  --glow-strong: rgba(199, 125, 255, 0.85);
  --glow-alt: rgba(90, 125, 255, 0.75);
  --glow-soft: rgba(163, 247, 255, 0.6);
  --cta-shadow: rgba(199, 125, 255, 0.35);
  --cta-shadow-hover: rgba(199, 125, 255, 0.45);
  --time-icon-bg: rgba(199, 125, 255, 0.14);
  --time-icon-shadow: rgba(199, 125, 255, 0.35);
  --hero-glow-animation: crystalLights;
  --hero-reflection-animation: crystalReflection;
  --hero-aura-animation: crystalAura;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Animated Background */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 20%, var(--orb1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, var(--orb2) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, var(--orb3) 0%, transparent 50%);
}

.floating-orbs {
  position: absolute;
  width: 100%;
  height: 100%;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  animation: float 6s ease-in-out infinite;
}

.orb:nth-child(1) {
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, var(--orb1-strong), transparent);
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.orb:nth-child(2) {
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, var(--orb2-strong), transparent);
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.orb:nth-child(3) {
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, var(--orb3-strong), transparent);
  bottom: 30%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-top {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
  transition: transform 0.6s ease;
}

.hero-bottom {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
  transition: transform 0.6s ease;
}

.date-badge {
  display: inline-block;
  padding: 8px 20px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.1rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  color: var(--text);
  text-shadow:
    0 0 5px var(--glow-neutral),
    0 0 10px var(--glow-strong),
    0 0 15px var(--glow-soft),
    2px 2px 0px rgba(0, 0, 0, 0.3),
    4px 4px 0px rgba(0, 0, 0, 0.2),
    6px 6px 0px rgba(0, 0, 0, 0.1);
  animation: var(--hero-glow-animation, crystalLights) 3s ease-in-out infinite;
  transform: perspective(500px) rotateX(15deg);
}

.hero h1::before {
  content: none;
}

.hero h1::after {
  content: '';
  position: absolute;
  top: -30px;
  left: -30px;
  right: -30px;
  bottom: -30px;
  background:
    radial-gradient(circle at 30% 30%, var(--glow-neutral) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, var(--glow-strong) 0%, transparent 60%),
    linear-gradient(135deg,
      var(--glow-alt) 0%,
      var(--glow-strong) 50%,
      var(--glow-soft) 100%);
  border-radius: 20px;
  filter: blur(20px);
  z-index: -2;
  animation: var(--hero-aura-animation, crystalAura) 5s ease-in-out infinite;
}

@keyframes crystalLights {
  0%, 100% {
    text-shadow:
      0 0 5px var(--glow-neutral),
      0 0 10px var(--glow-strong),
      0 0 15px var(--glow-soft),
      2px 2px 0px rgba(0, 0, 0, 0.3),
      4px 4px 0px rgba(0, 0, 0, 0.2),
      6px 6px 0px rgba(0, 0, 0, 0.1);
  }
  33% {
    text-shadow:
      0 0 8px var(--glow-strong),
      0 0 15px var(--glow-soft),
      0 0 20px var(--glow-alt),
      2px 2px 0px rgba(0, 0, 0, 0.3),
      4px 4px 0px rgba(0, 0, 0, 0.2),
      6px 6px 0px rgba(0, 0, 0, 0.1);
  }
  66% {
    text-shadow:
      0 0 10px var(--glow-soft),
      0 0 18px var(--glow-strong),
      0 0 25px var(--glow-alt),
      2px 2px 0px rgba(0, 0, 0, 0.3),
      4px 4px 0px rgba(0, 0, 0, 0.2),
      6px 6px 0px rgba(0, 0, 0, 0.1);
  }
}

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

@keyframes crystalAura {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.1) rotate(2deg);
    opacity: 0.8;
  }
}

@keyframes magicalGlow {
  0%, 100% {
    text-shadow:
      0 0 10px var(--glow-strong),
      0 0 20px var(--glow-alt),
      0 0 30px var(--glow-soft),
      0 0 40px var(--glow-strong);
  }
  25% {
    text-shadow:
      0 0 15px var(--glow-alt),
      0 0 25px var(--glow-soft),
      0 0 35px var(--glow-strong),
      0 0 45px var(--glow-alt);
  }
  50% {
    text-shadow:
      0 0 20px var(--glow-soft),
      0 0 30px var(--glow-strong),
      0 0 40px var(--glow-alt),
      0 0 50px var(--glow-soft);
  }
  75% {
    text-shadow:
      0 0 15px var(--glow-strong),
      0 0 25px var(--glow-alt),
      0 0 35px var(--glow-soft),
      0 0 45px var(--glow-strong);
  }
}

.hero h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 300;
  margin-bottom: 30px;
  color: var(--text-dim);
}

.magic-script {
  font-family: 'Great Vibes', 'Playfair Display', serif;
  font-weight: 400;
  letter-spacing: 0.6px;
  color: var(--text);
  text-shadow: 0 0 12px var(--glow-soft);
}

.motto {
  font-size: 18px;
  font-style: italic;
  color: var(--text-dim);
  margin-bottom: 40px;
}

.cta-button {
  display: inline-block;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px var(--cta-shadow);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px var(--cta-shadow-hover);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  justify-content: center;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-dim);
  font-size: 14px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* Portal countdown */
.deadline-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.confirm-section .deadline-card {
  margin: 16px 0 10px;
}

.deadline-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.deadline-date {
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 600;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(80px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.count-segment {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.count-number {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.5px;
}

.count-label {
  display: block;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.deadline-note {
  margin-top: 14px;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.countdown.countdown-closed .count-number {
  color: var(--text-dim);
}

@media (max-width: 640px) {
  .countdown {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }
}

/* Content Sections */
.section {
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  background: transparent;
  transform: translateY(0);
  transition: transform 0.6s ease;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: 60px;
  color: var(--accent2);
}

/* --- Gradient Title --- */
.gradient-title {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent !important; /* Use !important to override .section-title color */
  background-size: 200% auto;
  animation: gradient-animation 8s ease-in-out infinite;
}

@keyframes gradient-animation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Theme-specific gradients for the title */
body[data-theme="golden"] .gradient-title {
  background-image: linear-gradient(45deg, #FFD700, #FFA500, #FFD700);
}
body[data-theme="galactic"] .gradient-title {
  background-image: linear-gradient(45deg, #a258e0, #6f42c1, #4a00e0);
}
body[data-theme="neon"] .gradient-title {
  background-image: linear-gradient(45deg, #00ffc3, #ff00c8, #00ffc3);
}
body[data-theme="mystical"] .gradient-title {
  background-image: linear-gradient(45deg, #483D8B, #8A2BE2, #483D8B);
}

.section-lede {
  text-align: center;
  color: var(--text-dim);
  max-width: 760px;
  margin: -30px auto 50px;
  font-size: 18px;
  line-height: 1.7;
}

/* Philosophy Section */
.philosophy {
  text-align: center;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 60px 40px;
  backdrop-filter: blur(10px);
  margin-bottom: 100px;
}

.philosophy-tiles {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
  justify-content: flex-start;
  align-items: center;
}

.philosophy-tile {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 30px;
  height: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 38px rgba(255, 255, 255, 0.06);
  width: 100%;
  max-width: 1040px;
  position: relative;
  overflow: hidden;
}

.philosophy-tile::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 18px;
  right: 18px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent3));
  opacity: 0.6;
}

.philosophy-tile::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  pointer-events: none;
}

.philosophy-tile p {
  font-size: 22px;
  line-height: 1.9;
  color: var(--text);
  margin: 0;
  text-align: center;
  letter-spacing: 0.01em;
  font-weight: 600;
}

.philosophy-tile h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 12px;
  text-align: center;
  position: relative;
}

.philosophy-tile h3::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, transparent, var(--accent2), transparent);
  opacity: 0.7;
}

.pop-on-scroll {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, opacity;
}

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

/* Staggered animation delay for a smoother effect */
.pop-on-scroll:nth-child(2) {
  transition-delay: 0.15s;
}

.pop-on-scroll:nth-child(3) {
  transition-delay: 0.3s;
}

.philosophy-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.philosophy-reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* Timeline */
.timeline {
  --spine: 50%;
  position: relative;
  width: min(1100px, 90vw);
  margin: 0 auto;
  padding: 40px 0 20px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: var(--spine);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent2), var(--accent3));
  transform: translateX(-50%);
  opacity: 0.7;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: center;
  min-height: 200px;
  padding: 20px 10px;
}

.timeline-item:nth-child(odd) .timeline-content {
  grid-column: 1 / 2;
  justify-self: end;
  margin-right: 32px;
}

.timeline-item:nth-child(even) .timeline-content {
  grid-column: 2 / 3;
  justify-self: start;
  margin-left: 32px;
}

.timeline-content {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 25px;
  width: 100%;
  max-width: 460px;
  backdrop-filter: blur(10px);
  position: relative;
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.timeline-content.animate {
  opacity: 1;
  transform: scale(1) translateY(0);
  animation: popOut 0.72s ease-out;
}

@keyframes popOut {
  0% {
    transform: scale(0.5) translateY(30px);
    opacity: 0;
  }
  50% {
    transform: scale(1.1) translateY(-10px);
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.timeline-time {
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.time-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--time-icon-bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--time-icon-shadow);
}

.time-icon svg {
  width: 14px;
  height: 14px;
}

.time-icon svg * {
  stroke: var(--accent2);
}

.timeline-title {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.timeline-desc {
  color: var(--text-dim);
  line-height: 1.6;
}

.timeline-dot {
  position: absolute;
  left: var(--spine);
  top: 50%;
  width: 16px;
  height: 16px;
  background: var(--accent2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px var(--accent2);
  z-index: 2;
}

.timeline-dot.logo {
  width: 54px;
  height: 54px;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--glass);
  border: 1px solid var(--border);
  box-shadow: 0 0 24px var(--glow-strong);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 6px;
  backdrop-filter: blur(6px);
}

.timeline-dot.logo svg {
  width: 100%;
  height: 100%;
}

.timeline-dot.logo svg * {
  transition: filter 0.3s ease;
}

.timeline-dot.logo:hover svg * {
  filter: drop-shadow(0 0 8px var(--glow-soft));
}

.timeline-dot.logo.spin {
  animation: spinLogo 0.9s ease-out;
}

@keyframes spinLogo {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Features Grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 80px;
}

.feature-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--bg);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
}

.feature-icon svg * {
  transition: filter 0.3s ease;
  transform-box: fill-box;
  transform-origin: center;
}

/* Feature icon micro-animations */
.steam-bowl,
.steam-mug,
.leaf-sway {
  animation: iconFloat 6s ease-in-out infinite;
}

.steam-bowl .steam-line,
.steam-mug .steam-line {
  animation: steamRise 2.8s ease-in-out infinite;
  opacity: 0.85;
}

.steam-bowl .steam-line:nth-of-type(2) { animation-delay: 0s; }
.steam-bowl .steam-line:nth-of-type(3) { animation-delay: 0.35s; }
.steam-bowl .steam-line:nth-of-type(4) { animation-delay: 0.7s; }

.steam-mug .steam-line:nth-of-type(4) { animation-delay: 0s; }
.steam-mug .steam-line:nth-of-type(5) { animation-delay: 0.35s; }

.singing-bowl path:first-of-type {
  animation: bowlHum 3.4s ease-in-out infinite;
}

.singing-bowl path:nth-of-type(2),
.singing-bowl path:nth-of-type(3),
.singing-bowl path:nth-of-type(4) {
  animation: malletSwing 2.6s ease-in-out infinite;
  transform-origin: 50% 32%;
}

.leaf-sway {
  animation: leafSway 5.5s ease-in-out infinite;
}

.alchemy-spin {
  animation: alchemySpin 6.5s linear infinite;
}

.badge-pulse {
  animation: badgePulse 3s ease-in-out infinite;
}

.badge-pulse circle {
  animation: badgeHalo 3s ease-in-out infinite;
}

.feature-icon:hover svg * {
  filter: drop-shadow(0 0 10px var(--glow-alt));
}

@keyframes steamRise {
  0% { transform: translateY(6px) scale(0.9); opacity: 0.2; }
  40% { opacity: 0.8; }
  100% { transform: translateY(-10px) scale(1.05); opacity: 0; }
}

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

@keyframes bowlHum {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); filter: drop-shadow(0 0 6px var(--glow-soft)); }
}

@keyframes malletSwing {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(6deg); }
}

@keyframes leafSway {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(4deg); }
}

@keyframes alchemySpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes badgeHalo {
  0%, 100% { filter: drop-shadow(0 0 6px var(--glow-alt)); }
  50% { filter: drop-shadow(0 0 14px var(--glow-strong)); }
}

.feature-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text);
}

.feature-desc {
  color: var(--text-dim);
  line-height: 1.6;
}

/* Quote Section */
.quote-section {
  padding-top: 40px;
}

.quote-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 70px 40px;
  text-align: center;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.price-highlight {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.5px;
  text-shadow: 0 0 8px var(--glow-strong);
}

.quote-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1.2;
  color: var(--text);
  text-shadow: 0 0 18px var(--glow-soft);
  margin-bottom: 22px;
}

.quote-sub {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Tickets */
.tickets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.ticket-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 24px;
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
}

.ticket-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--time-icon-bg);
  color: var(--accent2);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 12px;
}

.ticket-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.ticket-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}

.ticket-note {
  color: var(--text-dim);
  line-height: 1.6;
}

.tickets-lede {
  text-align: center;
  color: var(--text-dim);
  margin-top: 20px;
  font-size: 16px;
}

.centered-cta {
  text-align: center;
  margin-top: 28px;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.faq-item {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.32);
}

.faq-item h3 {
  font-size: 18px;
  color: var(--text);
  margin: 4px 0 8px;
}

.faq-item p {
  color: var(--text-dim);
  line-height: 1.6;
}

.contact-card {
  border-color: var(--accent2);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.38), 0 0 22px var(--cta-shadow);
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.cta-link::after {
  content: '>';
  font-size: 14px;
}

/* Essentials */
.essentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 50px;
}

/* Footer */
.footer {
  text-align: center;
  padding: 60px 20px;
  border-top: 1px solid var(--border);
  margin-top: 100px;
}

.footer-cta {
  margin-bottom: 30px;
}

.footer p {
  color: var(--text-dim);
  font-size: 14px;
}

/* Scroll Logo */
.scroll-logo {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 110px;
  height: 110px;
  z-index: 1000;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.scroll-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  opacity: 1;
  transition: box-shadow 0.3s ease, opacity 0.3s ease;
}

.scroll-logo.glowing img {
  box-shadow:
    0 0 30px var(--glow-strong),
    0 0 60px var(--glow-alt),
    0 0 90px var(--glow-soft);
}

/* UI Toggles */
.audio-toggle,
.theme-toggle {
  position: fixed;
  right: 22px;
  z-index: 1100;
  background: var(--glass);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 18px;
  border-radius: 14px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}



.mini-eq {
  display: inline-flex;
  gap: 3px;
  align-items: flex-end;
  height: 14px;
}

.mini-eq span {
  display: block;
  width: 3px;
  border-radius: 1px;
  background: var(--accent2);
  box-shadow: 0 0 8px var(--accent2);
  animation: eqPulse 1s ease-in-out infinite;
}

.mini-eq span:nth-child(1) { height: 7px; animation-delay: 0s; }
.mini-eq span:nth-child(2) { height: 12px; animation-delay: 0.15s; }
.mini-eq span:nth-child(3) { height: 9px; animation-delay: 0.3s; }

.audio-toggle.paused .mini-eq span {
  animation-play-state: paused;
  opacity: 0.5;
  box-shadow: none;
}

@keyframes eqPulse {
  0%, 100% { transform: scaleY(0.7); }
  50% { transform: scaleY(1.2); }
}
.audio-toggle {
  bottom: 22px;
}

.audio-toggle:hover,
.theme-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px var(--cta-shadow-hover);
  border-color: var(--accent);
}

.theme-picker {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  position: relative; /* To stay on top of the tray */
  z-index: 2;
  padding: 12px;
  border-radius: 50%;
  gap: 0;
}

.theme-tray {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 50px 10px 15px;
  margin-top: -40px; /* Pull up behind the toggle button */
  opacity: 0;
  transform: translateY(-10px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.theme-picker.active .theme-tray {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.theme-option {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative; /* For tooltip positioning */
  border-radius: 50%;
}

.theme-option .theme-swatch {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.theme-option:hover .theme-swatch {
  transform: scale(1.1);
  box-shadow: 0 0 10px var(--cta-shadow);
}

/* Custom Tooltip for Theme Options */
.theme-option::after {
  content: attr(title);
  position: absolute;
  right: 125%; /* Position to the left of the button */
  top: 50%;
  transform: translateY(-50%);
  background: var(--glass);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease 0.3s; /* Fade in with a slight delay */
}

.theme-option:hover::after {
  opacity: 1;
}

/* Swatch colors */
.theme-option[data-theme="golden"] .theme-swatch { background: linear-gradient(45deg, #f2c572, #d4a534); }
.theme-option[data-theme="galactic"] .theme-swatch { background: linear-gradient(45deg, #8bd9ff, #c7adff); }
.theme-option[data-theme="neon"] .theme-swatch { background: linear-gradient(45deg, #ff6b9d, #4ecdc4); }
.theme-option[data-theme="mystical"] .theme-swatch { background: linear-gradient(45deg, #c77dff, #5a7dff); }

.theme-toggle .icon-wrapper {
  width: 20px;
  height: 20px;
}
.audio-toggle .icon-wrapper {
  position: relative;
  width: 18px;
  height: 18px;
}

.audio-toggle .icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.audio-toggle .icon-pause {
  opacity: 1;
}

.audio-toggle.paused .icon-pause {
  opacity: 0;
  transform: scale(0.7);
}



.audio-toggle.glow {
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.12), 0 0 20px var(--cta-shadow);
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.12), 0 0 20px var(--cta-shadow); transform: translateY(0); }
  50% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); transform: translateY(-1px); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.12), 0 0 20px var(--cta-shadow); transform: translateY(0); }
}

.info-card,
.faq-item {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 22px;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 12px;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0.8;
}

.info-card h3,
.faq-item h3 {
  font-size: 18px;
  color: var(--text);
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: grid;
  gap: 8px;
}

.info-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-dim);
  line-height: 1.5;
}

.info-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 12px var(--glow-soft);
}

.info-text,
.faq-item p {
  color: var(--text-dim);
  line-height: 1.5;
}

.contact-card {
  border-color: var(--accent2);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.38), 0 0 22px var(--cta-shadow);
}

.contact-card p {
  flex-grow: 1;
}

.cta-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.cta-link::after {
  content: '>';
  font-size: 14px;
  gap: 10px;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .timeline {
    --spine: 50%;
  }
  .timeline-item {
    min-height: 170px;
    gap: 22px;
  }
  .timeline-item:nth-child(odd) .timeline-content {
    margin-right: 20px;
  }
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 20px;
  }
  .timeline-content {
    max-width: 420px;
  }
}

@media (max-width: 768px) {
  .audio-toggle {
    right: 12px;
    bottom: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
  }
  .theme-toggle {
    padding: 10px 14px;
    border-radius: 12px;
  }
  .theme-picker {
    top: 12px;
    right: 12px;
  }

  .timeline { --spine: 18px; padding: 20px 0 10px; }
  .timeline::before { left: var(--spine); }
  .timeline-item {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 0;
    margin-bottom: 32px;
  }
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    grid-column: 1 / 2;
    justify-self: stretch;
    margin: 0 0 0 32px;
    width: auto;
  }
  .timeline-content {
    max-width: none;
  }
  .timeline-dot {
    left: var(--spine);
    top: 0;
    transform: translate(-50%, -50%);
  }
  .section { padding: 60px 20px; }
  .philosophy { padding: 40px 20px; }
  .scroll-logo {
    width: 70px;
    height: 70px;
  }
}
