/* =========================================================
   AVYUKTA '26 — Amrita Fest Website
   Kalpana to Karma · Craft to Creation
   ========================================================= */

:root {
  --bg: #0b0815;
  --bg-2: #100c1f;
  --bg-alt: #f5f1ea;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.1);
  --border-dark: rgba(20, 18, 30, 0.12);
  --text: #f3eef7;
  --text-dim: #b4abbe;
  --text-mute: #6e6882;

  /* Brand: deep violet / royal purple, with marigold accent */
  --accent: #c9a2ff;
  --accent-2: #8a6dff;
  --accent-3: #ffb86b;   /* warm marigold / sunset */
  --accent-4: #ff7a59;   /* warm coral */

  --gradient-1: linear-gradient(135deg, #8a6dff 0%, #c9a2ff 50%, #ffb86b 100%);
  --gradient-2: radial-gradient(120% 80% at 0% 0%, rgba(138, 109, 255, 0.35), transparent 60%),
                 radial-gradient(120% 80% at 100% 100%, rgba(255, 184, 107, 0.22), transparent 60%);

  --radius: 18px;
  --radius-lg: 28px;
  --max: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="light"] {
  --bg: #f6f3ed;
  --bg-2: #ece7df;
  --bg-alt: #efe9e0;
  --surface: rgba(20, 18, 30, 0.04);
  --surface-2: rgba(20, 18, 30, 0.07);
  --border: rgba(20, 18, 30, 0.1);
  --text: #15131c;
  --text-dim: #4a4658;
  --text-mute: #7a7689;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-3) var(--surface);
}

/* Custom scrollbar styles */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--surface);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: var(--accent-3);
  border-radius: 4px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-4);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }
em { font-style: italic; color: var(--accent); }

/* =========================================================
   Backgrounds
   ========================================================= */
.aurora {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: var(--gradient-2);
}
.aurora-blob {
  position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%;
  filter: blur(120px); opacity: 0.55; mix-blend-mode: screen;
  animation: drift 26s var(--ease) infinite alternate;
}
.blob-1 { background: radial-gradient(circle, #8a6dff, transparent 60%); top: -20%; left: -10%; }
.blob-2 { background: radial-gradient(circle, #ff7a59, transparent 60%); bottom: -25%; right: -15%; animation-delay: -8s; }
.blob-3 { background: radial-gradient(circle, #2cd4d9, transparent 60%); top: 30%; left: 40%; animation-delay: -16s; opacity: 0.3; }
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(4vw, -3vh) scale(1.1); }
  100% { transform: translate(-3vw, 4vh) scale(0.95); }
}
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 18px 0; transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 16px; }
.brand-amrita {
  height: 44px; width: auto; max-width: 140px; object-fit: contain;
  /* Transparent: no white background, blends into the dark theme */
  mix-blend-mode: screen; opacity: 0.95;
}
.brand-divider {
  width: 1px; height: 30px; background: var(--border);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px; font-weight: 800; letter-spacing: -0.015em;
  line-height: 1;
}
.brand-title .accent { background: var(--gradient-1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-sub {
  font-family: 'Space Grotesk', monospace; font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-mute); margin-top: 4px;
}

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  position: relative; font-size: 14px; font-weight: 500; color: var(--text-dim);
  padding: 6px 0; transition: color 0.2s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

/* Special styling for Raaga link */
.nav-links a.nav-raaga {
  color: var(--accent-3);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 13px;
  padding: 6px 12px;
  border: 1px solid var(--accent-3);
  border-radius: 999px;
  background: rgba(255, 184, 107, 0.1);
  backdrop-filter: blur(8px);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.nav-links a.nav-raaga::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 184, 107, 0.2), transparent);
  transition: left 0.5s var(--ease);
}
.nav-links a.nav-raaga:hover {
  color: #0b0815;
  background: var(--accent-3);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 184, 107, 0.4);
}
.nav-links a.nav-raaga:hover::before {
  left: 100%;
}
.nav-links a.nav-raaga::after {
  display: none;
}

/* Mobile nav styles for Raaga */
.mobile-nav a.nav-raaga {
  color: var(--accent-3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 20px;
  border: 1px solid var(--accent-3);
  border-radius: var(--radius);
  background: rgba(255, 184, 107, 0.1);
  margin-top: 8px;
  text-align: center;
  transition: all 0.3s var(--ease);
}
.mobile-nav a.nav-raaga:hover {
  background: var(--accent-3);
  color: #0b0815;
  transform: scale(1.02);
}

.nav-cta { display: flex; align-items: center; gap: 12px; }
.share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  font-size: 13px; font-weight: 500;
  transition: background 0.2s, transform 0.2s;
}
.share-btn:hover { background: var(--surface-2); transform: translateY(-1px); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), background 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-1); color: #0b0815;
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform 0.6s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(138, 109, 255, 0.4); }
.btn-primary:hover::before { transform: translateX(100%); }

.btn-ghost {
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 140px 0 80px; position: relative;
}
.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.hero-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center;
}
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; gap: 60px; } }

/* Date at the top - moved to main section level */
.hero-date-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  backdrop-filter: blur(8px);
  font-family: 'Space Grotesk', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 24px;
  opacity: 0;
  animation: rise 0.8s var(--ease) 0.1s forwards;
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%; background: #4ade80;
  box-shadow: 0 0 12px #4ade80; animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Right side content - Kalpana to Karma on the right */
.hero-right-content {
  opacity: 0;
  animation: fadeInRight 0.8s var(--ease) 0.3s forwards;
  position: relative;
  z-index: 2;
}

.display {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 8vw, 7rem); /* Bigger font */
  font-weight: 800; line-height: 0.95; letter-spacing: -0.025em;
  margin-bottom: 32px;
  position: relative;
  display: inline-block;
}
.display .line {
  display: block; overflow: hidden;
  opacity: 0; transform: translateY(110%);
  animation: rise 1s var(--ease) forwards;
}
.display .line:nth-child(1) { animation-delay: 0.15s; }
.display .line:nth-child(2) { animation-delay: 0.3s; }
.display em { font-style: italic; font-family: 'Cormorant Garamond', serif; color: var(--accent-3); font-weight: 700; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-tag {
  font-size: 17px; color: var(--text-dim); max-width: 52ch; line-height: 1.65;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeInRight 0.8s var(--ease) 0.6s forwards;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 56px;
  opacity: 0; animation: fadeInRight 0.8s var(--ease) 0.75s forwards;
}

/* Countdown - now on right side */
.countdown {
  display: flex; align-items: center; gap: 8px;
  padding: 18px 24px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); backdrop-filter: blur(8px);
  width: fit-content;
  opacity: 0; animation: fadeInRight 0.8s var(--ease) 0.9s forwards;
}
.cd-cell { display: flex; flex-direction: column; align-items: center; min-width: 64px; }
.cd-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; line-height: 1;
  font-variant-numeric: tabular-nums;
  background: var(--gradient-1); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cd-label {
  font-family: 'Space Grotesk', monospace; font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-mute); margin-top: 6px;
}
.cd-sep { color: var(--text-mute); font-size: 20px; padding-bottom: 14px; }

/* Hero right - bigger logo and Avyukta on the right */
.hero-right {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 50%; min-height: 100vh;
  display: flex; justify-content: center; align-items: center;
  z-index: 1;
  opacity: 0;
  animation: fadeInLeft 1s var(--ease) 0.2s forwards;
}
.hero-mark {
  position: relative; width: 100%; max-width: 700px; /* Bigger container */
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 40px 20px;
}
.hero-logo {
  /* Bigger logo with transparent background */
  width: clamp(200px, 25vw, 300px); /* Bigger logo */
  height: auto; object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 40px rgba(201, 162, 255, 0.5)); /* Stronger shadow */
  /* Transparent effect with glow */
  mix-blend-mode: screen;
  opacity: 0.98;
}
.hero-fest-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 5rem); /* Bigger AVYUKTA text */
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
  text-shadow: 0 0 60px rgba(201, 162, 255, 0.4);
}
.hero-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 4.5rem); /* Bigger year text */
  font-weight: 800; line-height: 1;
  letter-spacing: 0.04em;
  background: var(--gradient-1); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-top: 4px;
}
.hero-tagline {
  margin-top: 24px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 20px; color: var(--text-dim);
}
.hero-tagline em { color: var(--accent-3); font-style: normal; font-weight: 600; }
.hero-tagline .dot-sep { color: var(--text-mute); }
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 22px 0; overflow: hidden; background: var(--bg-2);
}
.marquee-track {
  display: flex; gap: 40px; white-space: nowrap;
  font-family: 'Cormorant Garamond', serif; font-weight: 700; font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--text);
  letter-spacing: -0.01em; animation: marquee 32s linear infinite;
}
.marquee-track span:nth-child(even) { color: var(--text-mute); font-style: normal; font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

.hero-tag {
  font-size: 17px; color: var(--text-dim); max-width: 52ch; line-height: 1.65;
  margin-bottom: 36px;
  opacity: 0; animation: rise 0.8s var(--ease) 0.6s forwards;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 56px;
  opacity: 0; animation: rise 0.8s var(--ease) 0.75s forwards;
}

/* Countdown */
.countdown {
  display: flex; align-items: center; gap: 8px;
  padding: 18px 24px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); backdrop-filter: blur(8px);
  width: fit-content;
  opacity: 0; animation: rise 0.8s var(--ease) 0.9s forwards;
}
.cd-cell { display: flex; flex-direction: column; align-items: center; min-width: 64px; }
.cd-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; line-height: 1;
  font-variant-numeric: tabular-nums;
  background: var(--gradient-1); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cd-label {
  font-family: 'Space Grotesk', monospace; font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-mute); margin-top: 6px;
}
.cd-sep { color: var(--text-mute); font-size: 20px; padding-bottom: 14px; }

/* Hero right — big AVYUKTA wordmark with transparent logo */
.hero-right {
  position: relative; display: flex; justify-content: center; align-items: center;
  min-height: 480px;
}
.hero-mark {
  position: relative; width: 100%; max-width: 580px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 24px 0;
}
.hero-logo {
  /* Transparent PNG, displays naturally without blend tricks */
  width: clamp(160px, 28vw, 240px); height: auto; object-fit: contain;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 30px rgba(201, 162, 255, 0.4));
}
.hero-fest-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
  text-shadow: 0 0 40px rgba(201, 162, 255, 0.3);
}
.hero-word {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4rem, 11vw, 7.5rem);
  font-weight: 800; line-height: 0.9; letter-spacing: -0.04em;
  background: var(--gradient-1); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin: 0;
  text-shadow: 0 0 60px rgba(201, 162, 255, 0.3);
}
.hero-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 6.5vw, 4.2rem); font-weight: 800; line-height: 1;
  letter-spacing: 0.04em;
  background: var(--gradient-1); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-top: 4px;
}
.hero-tagline {
  margin-top: 22px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 18px; color: var(--text-dim);
}
.hero-tagline em { color: var(--accent-3); font-style: normal; font-weight: 600; }
.hero-tagline .dot-sep { color: var(--text-mute); }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 22px 0; overflow: hidden; background: var(--bg-2);
}
.marquee-track {
  display: flex; gap: 40px; white-space: nowrap;
  font-family: 'Cormorant Garamond', serif; font-weight: 700; font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--text);
  letter-spacing: -0.01em; animation: marquee 32s linear infinite;
}
.marquee-track span:nth-child(even) { color: var(--text-mute); font-style: normal; font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: 120px 0; position: relative; }
.section-alt { background: var(--bg-2); }
.section-dark {
  background: linear-gradient(180deg, #0b0815 0%, #1a0f2e 100%);
  color: #f3eef7;
}
.section-head { margin-bottom: 64px; max-width: 720px; }
.eyebrow {
  display: inline-block; font-family: 'Space Grotesk', monospace; font-size: 12px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-3);
  margin-bottom: 18px;
}
.eyebrow.on-dark { color: var(--accent-3); }
.h-display {
  font-family: 'Cormorant Garamond', serif; font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.h-display em { font-style: italic; color: var(--accent-3); font-weight: 700; }
.h-display.on-dark em { color: var(--accent-3); }
.lede { font-size: 17px; color: var(--text-dim); max-width: 60ch; }
.lede.on-dark { color: rgba(243, 238, 247, 0.7); }
.lede strong { color: var(--accent-3); font-weight: 600; }

/* =========================================================
   THEME PILLS
   ========================================================= */
.pillars {
  display: flex; align-items: stretch; gap: 12px; flex-wrap: wrap;
  padding: 36px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.pillar { flex: 1 1 200px; padding: 24px; border-radius: var(--radius); background: var(--surface-2); }
.pillar-num {
  font-family: 'Space Grotesk', monospace; font-size: 11px; letter-spacing: 0.2em; color: var(--accent-3); margin-bottom: 12px;
}
.pillar h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 700;
  margin-bottom: 8px; letter-spacing: -0.01em;
}
.pillar p { font-size: 14px; color: var(--text-dim); }
.pillar-arrow { display: flex; align-items: center; color: var(--accent-3); font-size: 24px; }
@media (max-width: 800px) { .pillars { padding: 20px; } .pillar-arrow { transform: rotate(90deg); } }

/* =========================================================
   SCHEDULE
   ========================================================= */
.days { display: flex; flex-direction: column; gap: 24px; }
.day {
  display: grid; grid-template-columns: 320px 1fr; gap: 32px;
  padding: 36px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
.day:hover { transform: translateY(-3px); border-color: rgba(201, 162, 255, 0.3); }
.day::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--gradient-1);
}
.day-header { padding-right: 24px; border-right: 1px solid var(--border); }
.day-tag {
  font-family: 'Space Grotesk', monospace; font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent-3); margin-bottom: 12px;
}
.day-name {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800; line-height: 1; letter-spacing: -0.02em; margin-bottom: 6px;
}
.day-name span { color: var(--text-mute); font-style: italic; font-weight: 500; font-size: 0.6em; }
.day-date { font-size: 13px; color: var(--text-mute); }
.day-body { padding: 8px 0 8px 16px; }
.agenda { display: flex; flex-direction: column; gap: 22px; }
.agenda li { display: grid; grid-template-columns: 80px 1fr; gap: 18px; align-items: start; }
.agenda .time {
  font-family: 'Space Grotesk', monospace; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-3); padding-top: 4px;
}
.event h4 { font-family: 'Inter', sans-serif; font-size: 17px; font-weight: 600; margin-bottom: 6px; letter-spacing: -0.01em; }
.event p { font-size: 14px; color: var(--text-dim); }
.event .badge {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  font-family: 'Space Grotesk', monospace; font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  background: var(--gradient-1); color: #0b0815; margin-bottom: 8px;
}
.event.highlight { padding: 16px 18px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--border); position: relative; }
.speaker-title { font-size: 13px; color: var(--text-dim); }
.speaker-org { font-family: 'Space Grotesk', monospace; font-size: 12px; letter-spacing: 0.1em; color: var(--accent-3); margin-bottom: 8px; }
.speaker-bio { margin-top: 8px; }
.games-cell .time { color: var(--accent); }
@media (max-width: 800px) {
  .day { grid-template-columns: 1fr; }
  .day-header { border-right: 0; border-bottom: 1px solid var(--border); padding: 0 0 20px; }
}

/* =========================================================
   SPEAKERS
   ========================================================= */
.speakers { display: flex; flex-direction: column; gap: 32px; }
.speaker-card {
  display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center;
  padding: 32px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
.speaker-card:hover { transform: translateY(-3px); border-color: rgba(201, 162, 255, 0.3); }
.speaker-card.primary {
  background: linear-gradient(135deg, rgba(138, 109, 255, 0.1), rgba(255, 184, 107, 0.06));
  border-color: rgba(201, 162, 255, 0.25);
}
.speaker-photo {
  aspect-ratio: 1; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #8a6dff, #c9a2ff, #ffb86b);
  display: grid; place-items: center;
  position: relative; overflow: hidden;
}
.speaker-photo::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3), transparent 60%);
}
.speaker-photo.sm { width: 64px; height: 64px; aspect-ratio: 1; border-radius: 16px; flex-shrink: 0; }
.speaker-initials {
  font-family: 'Cormorant Garamond', serif; font-size: 64px; font-weight: 800;
  color: #0b0815; position: relative; z-index: 1; letter-spacing: -0.02em;
}
.speaker-photo.sm .speaker-initials { font-size: 22px; }
.speaker-info { display: flex; flex-direction: column; gap: 8px; }
.speaker-tagline { font-family: 'Space Grotesk', monospace; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-3); }
.speaker-info h3 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; line-height: 1; letter-spacing: -0.01em; }
.speaker-role { font-size: 15px; color: var(--text); font-weight: 500; }
.speaker-org { font-family: 'Space Grotesk', monospace; font-size: 12px; letter-spacing: 0.18em; color: var(--accent-3); }
.speaker-bio { color: var(--text-dim); font-size: 15px; }
.speaker-meta { display: flex; gap: 8px; font-family: 'Space Grotesk', monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-mute); margin-top: 4px; }

.speaker-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.speaker-card.mini { display: flex; align-items: center; gap: 16px; padding: 18px 20px; grid-template-columns: 64px 1fr; }
.speaker-card.mini h4 { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.speaker-card.mini p { font-size: 12px; color: var(--text-mute); font-family: 'Space Grotesk', monospace; letter-spacing: 0.08em; }
@media (max-width: 800px) { .speaker-card { grid-template-columns: 1fr; } .speaker-photo { max-width: 220px; } }

/* =========================================================
   SHOWCASE
   ========================================================= */
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .showcase-grid { grid-template-columns: 1fr; gap: 40px; } }
.showcase-points { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.showcase-points li { display: flex; gap: 14px; align-items: center; font-size: 15px; }
.showcase-points li span {
  display: inline-grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0;
  background: var(--gradient-1); color: #0b0815; border-radius: 8px;
  font-family: 'Cormorant Garamond', serif; font-size: 16px; font-weight: 800;
}
.route { display: flex; flex-direction: column; gap: 12px; padding: 32px; }
.route-stop {
  display: flex; align-items: center; gap: 16px; padding: 20px 24px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); font-family: 'Cormorant Garamond', serif; font-size: 22px; font-style: italic;
  font-weight: 700; transition: transform 0.3s var(--ease), background 0.3s;
}
.route-stop:hover { transform: translateX(8px); background: rgba(255,255,255,0.08); }
.route-stop .dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gradient-1);
  box-shadow: 0 0 20px rgba(201, 162, 255, 0.6);
}
.route-line {
  width: 2px; height: 24px; margin-left: 35px;
  background: linear-gradient(to bottom, rgba(201, 162, 255, 0.5), transparent);
}

/* =========================================================
   GAMES
   ========================================================= */
.games-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px;
}
.games-title {
  font-size: clamp(3.5rem, 9vw, 7rem) !important;
  letter-spacing: -0.04em !important;
  line-height: 0.95 !important;
  margin-bottom: 28px !important;
}
.game-card {
  display: flex; flex-direction: column; gap: 16px;
  padding: 32px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
.game-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(201, 162, 255, 0.08), transparent 60%);
  opacity: 0; transition: opacity 0.3s;
  pointer-events: none;
}
.game-card:hover { transform: translateY(-4px); border-color: rgba(201, 162, 255, 0.3); }
.game-card:hover::before { opacity: 1; }
.game-card-feature {
  background: linear-gradient(135deg, rgba(138, 109, 255, 0.12), rgba(255, 184, 107, 0.08));
  border-color: rgba(201, 162, 255, 0.3);
}
.game-card-feature h3 { font-size: 38px; }
.game-badge {
  font-family: 'Space Grotesk', monospace; font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent-3); width: fit-content;
  padding: 4px 10px; border: 1px solid var(--accent-3); border-radius: 999px;
}
.game-badge.accent { background: var(--gradient-1); color: #0b0815; border-color: transparent; }
.game-card h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 800; line-height: 1;
  letter-spacing: -0.02em;
}
.game-card p { color: var(--text-dim); font-size: 14px; }
.game-cta { margin-top: auto; }

.other-games {
  margin-top: 48px; padding: 32px; background: var(--surface);
  border: 1px dashed var(--border); border-radius: var(--radius-lg);
  text-align: center;
}
.other-games h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 700;
  margin-bottom: 8px; letter-spacing: -0.01em;
}
.other-games p { color: var(--text-dim); max-width: 60ch; margin: 0 auto; font-size: 14px; }

/* =========================================================
   CTA
   ========================================================= */
.cta { padding: 100px 0; }
.cta-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.cta-meta { display: flex; flex-direction: column; gap: 12px; }
.meta-card {
  padding: 18px 20px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.meta-label { font-family: 'Space Grotesk', monospace; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 4px; }
.meta-val { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 700; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { border-top: 1px solid var(--border); padding: 40px 0; background: var(--bg-2); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-brand, .footer-credits { display: flex; align-items: center; gap: 14px; }
.footer-logo { width: 48px; height: 48px; object-fit: contain; }
.footer-amrita { width: 80px; height: auto; object-fit: contain; mix-blend-mode: screen; opacity: 0.95; }
.footer-title { font-family: 'Cormorant Garamond', serif; font-size: 17px; font-weight: 700; }
.footer-sub { font-family: 'Space Grotesk', monospace; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mute); margin-top: 2px; }

/* =========================================================
   TOAST
   ========================================================= */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  padding: 12px 20px; background: var(--bg); border: 1px solid var(--border);
  border-radius: 999px; box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  font-size: 14px; color: var(--text); opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* =========================================================
   ADMIN PILL (only visible with ?admin=1)
   ========================================================= */
#adminPill {
  position: fixed; bottom: 24px; right: 24px; z-index: 110;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  font-family: 'Space Grotesk', monospace; font-size: 12px; letter-spacing: 0.08em;
  color: var(--text); cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s;
}
#adminPill:hover { transform: translateY(-2px); background: var(--surface-2); }
#adminPill .admin-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #f87171; box-shadow: 0 0 10px currentColor;
  transition: background 0.2s;
}
#adminPill[data-state="open"] .admin-dot { background: #4ade80; }
#adminPill[data-state="open"] { border-color: rgba(74, 222, 128, 0.4); }
#adminPill[data-state="closed"] { border-color: rgba(248, 113, 113, 0.4); }
@media (max-width: 760px) {
  #adminPill { bottom: 16px; right: 16px; font-size: 11px; padding: 8px 12px; }
}

/* =========================================================
   Responsive — Mobile First
   ========================================================= */

/* Hamburger menu button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  z-index: 100;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: color-mix(in srgb, var(--bg) 95%, transparent);
  backdrop-filter: blur(20px);
  z-index: 49;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 100px 32px 60px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px; font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav .btn {
  margin-top: 16px;
  font-size: 16px;
  padding: 14px 32px;
}

@media (max-width: 760px) {
  /* Show hamburger, hide desktop links */
  .nav-toggle { display: flex; }
  .nav-links { display: none; }
  .share-btn span { display: none; }

  /* Fix hero logo display on mobile */
  .hero-right { display: flex; }
  .hero-mark { margin: 40px auto 20px; }
  .hero-logo { width: 140px; height: auto; margin-bottom: 12px; }
  .hero-fest-name { font-size: clamp(2rem, 6vw, 3.5rem); margin-bottom: 6px; }
  .hero-word { font-size: clamp(2.5rem, 8vw, 4.5rem); }
  .hero-year { font-size: clamp(1.8rem, 5vw, 3rem); }
  .hero-tagline { font-size: 14px; gap: 8px; }
}

  /* Nav padding */
  .nav { padding: 14px 0; }
  .nav-inner { padding: 0 18px; }

  /* Brand — smaller on mobile */
  .brand-amrita { height: 32px; max-width: 100px; }
  .brand-title { font-size: 22px; }
  .brand-sub { font-size: 9px; }
  .brand-divider { height: 24px; }

  /* Hero */
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { display: none; }
  .display { font-size: clamp(36px, 12vw, 64px) !important; }
  .hero-eyebrow { font-size: 11px; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; font-size: 15px; }
  .hero-stats { flex-direction: column; gap: 16px; }

  /* Sections */
  .section { padding: 60px 0; }
  .container { padding: 0 18px; }
  .section-label { font-size: 10px; }
  .section-title { font-size: clamp(28px, 8vw, 44px) !important; }

  /* Pillars */
  .pillars { flex-direction: column; padding: 16px; gap: 6px; }
  .pillar-arrow { transform: rotate(90deg); }
  .pillar { padding: 14px 18px; }

  /* Schedule */
  .day-tabs { flex-direction: column; gap: 8px; }
  .day-tab { width: 100%; text-align: center; }

  /* Speaker cards */
  .speaker-card { grid-template-columns: 1fr !important; text-align: center; }
  .speaker-photo { max-width: 160px !important; margin: 0 auto; }

  /* Showcase */
  .showcase-grid { grid-template-columns: 1fr !important; gap: 24px; }
  .showcase-card { padding: 24px; }

  /* Games/Register CTA */
  .cta-grid { grid-template-columns: 1fr !important; gap: 24px; }
  .games-grid { grid-template-columns: 1fr 1fr !important; gap: 12px; }
  .game-card { padding: 20px 14px; }
  .game-card h3 { font-size: 15px; }

  /* Footer */
  .footer { padding: 48px 0 32px; }
  .footer-inner { flex-direction: column; gap: 32px; text-align: center; }
  .footer-brand { flex-direction: column; align-items: center; }
  .footer-logo { max-height: 48px; }
  .footer-credits { flex-direction: column; gap: 8px; text-align: center; font-size: 12px; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 16px; }

  /* Admin pill */
  #adminPill { bottom: 16px; right: 16px; font-size: 11px; padding: 8px 12px; }

  /* Hero mark (logo circle) */
  .hero-mark { padding: 12px 0; }

  /* Buttons touch-friendly */
  .btn { padding: 13px 20px; font-size: 14px; }
  .btn-primary { padding: 14px 24px; }
}

/* Small phones (iPhone SE etc.) */
@media (max-width: 380px) {
  .brand-title { font-size: 18px; }
  .brand-amrita { height: 26px; }
  .display { font-size: 32px !important; }
  .games-grid { grid-template-columns: 1fr !important; }
  .container { padding: 0 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
