:root {
  color-scheme: dark;
  --bg: #09050d;
  --gold: #ffd166;
  --saffron: #ff8a00;
  --rose: #ff3d81;
  --cyan: #60f5ff;
  --text: #fff8e7;
  --muted: #d9c9a7;
  font-family: Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: radial-gradient(circle at 20% 10%, #351048 0, transparent 26rem), var(--bg);
  color: var(--text);
}

.cursor-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle 12rem at var(--x, 50%) var(--y, 50%), rgba(255, 209, 102, .18), transparent 65%);
  z-index: 10;
}

.boot-scene {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #07030b, #170820 55%, #07030b);
  z-index: 20;
  transition: transform 1.1s cubic-bezier(.8, 0, .2, 1), opacity .8s ease;
}

.site-open .boot-scene { transform: translateY(-110%); opacity: 0; pointer-events: none; }
.aurora { position: absolute; width: 42vw; height: 42vw; filter: blur(70px); opacity: .38; border-radius: 50%; animation: float 8s infinite alternate; }
.aurora-one { background: var(--rose); left: 4%; top: 8%; }
.aurora-two { background: var(--cyan); right: 3%; bottom: 4%; animation-delay: -3s; }

.laptop-wrap { width: min(760px, 88vw); perspective: 1200px; animation: arrive 1.1s ease both; }
.laptop-screen {
  height: min(420px, 52vw);
  border: 2px solid rgba(255,255,255,.22);
  border-radius: 24px 24px 10px 10px;
  background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.04));
  box-shadow: 0 0 80px rgba(255,138,0,.28), inset 0 0 40px rgba(96,245,255,.12);
  overflow: hidden;
  transform-origin: bottom;
  animation: openLaptop 1.6s cubic-bezier(.2, .85, .2, 1) both;
}
.browser-bar { display: flex; align-items: center; gap: .55rem; padding: .9rem; background: rgba(0,0,0,.35); }
.browser-bar span { width: .75rem; height: .75rem; border-radius: 50%; background: var(--rose); }
.browser-bar span:nth-child(2) { background: var(--gold); }
.browser-bar span:nth-child(3) { background: #42ff9b; }
.omnibox { flex: 1; margin-left: .5rem; padding: .55rem 1rem; border-radius: 999px; background: rgba(255,255,255,.12); color: var(--muted); }
.google-stage { height: calc(100% - 54px); display: grid; place-items: center; align-content: center; gap: 1.2rem; }
.g-mark { font-size: clamp(4rem, 10vw, 7rem); font-weight: 800; color: var(--gold); text-shadow: 0 0 35px var(--saffron); }
.search-box { width: min(520px, 82%); min-height: 54px; padding: 1rem 1.2rem; border-radius: 999px; background: #fff; color: #1a1a1a; font-size: clamp(1rem, 2vw, 1.35rem); }
.caret { display: inline-block; width: 2px; height: 1.1em; background: #222; vertical-align: middle; animation: blink .7s step-end infinite; }
.enter-key { border: 0; padding: .85rem 1.2rem; border-radius: 12px; color: #1a0b00; background: linear-gradient(135deg, var(--gold), var(--saffron)); font-weight: 800; animation: keyPress .45s 2.65s ease both; }
.laptop-base { height: 32px; border-radius: 0 0 38px 38px; background: linear-gradient(90deg, #2a2730, #aaa2a5, #2a2730); transform: rotateX(64deg); transform-origin: top; }
.trackpad { width: 26%; height: 7px; margin: auto; background: rgba(0,0,0,.35); border-radius: 999px; }
.boot-caption { position: absolute; bottom: 8%; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }

.site-shell { opacity: 0; transition: opacity 1s 3.15s ease; }
.site-open .site-shell { opacity: 1; }
.top-nav { position: fixed; z-index: 9; top: 1rem; left: 50%; transform: translateX(-50%); width: min(1100px, 92vw); display: flex; justify-content: space-between; align-items: center; padding: .8rem 1rem; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; backdrop-filter: blur(18px); background: rgba(12,7,18,.55); }
a { color: inherit; text-decoration: none; }
.brand { font-weight: 800; } .brand span { color: var(--gold); }
.nav-links { display: flex; gap: 1rem; color: var(--muted); }
.panel { min-height: 100vh; position: relative; display: grid; align-items: center; padding: 8rem max(6vw, 1rem); overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.08); }
.panel::before { content: ''; position: absolute; inset: 10%; background: radial-gradient(circle, rgba(255,209,102,.14), transparent 58%); filter: blur(20px); pointer-events: none; }
.hero { grid-template-columns: 1.1fr .9fr; gap: 2rem; }
.orbital-grid { position: absolute; inset: -20%; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 70px 70px; transform: rotate(9deg); animation: drift 20s linear infinite; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
h1, h2 { font-family: 'Noto Serif Devanagari', serif; margin: 0; line-height: 1.05; }
h1 { font-size: clamp(3rem, 7vw, 7.5rem); max-width: 980px; }
h2 { font-size: clamp(2.3rem, 5vw, 5rem); }
p { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.8; }
.hero-copy { max-width: 680px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.primary-btn, .ghost-btn { padding: 1rem 1.35rem; border-radius: 999px; font-weight: 800; }
.primary-btn { background: linear-gradient(135deg, var(--gold), var(--saffron), var(--rose)); color: #1d0a00; box-shadow: 0 0 38px rgba(255,138,0,.35); }
.ghost-btn { border: 1px solid rgba(255,255,255,.24); color: var(--text); }
.ganesha-holo { min-height: 560px; display: grid; place-items: center; position: relative; }
.halo { position: absolute; width: min(430px, 75vw); aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(255,209,102,.5); animation: spin 18s linear infinite; box-shadow: 0 0 80px rgba(255,209,102,.22); }
.face { width: min(300px, 60vw); aspect-ratio: 1; display: grid; place-items: center; border-radius: 42% 58% 48% 52%; background: linear-gradient(145deg, rgba(255,209,102,.95), rgba(255,61,129,.65)); color: #3a1300; font-size: 6rem; font-weight: 900; box-shadow: 0 25px 90px rgba(255,138,0,.4); animation: breathe 4s ease-in-out infinite; }
.crown, .modak { position: absolute; z-index: 1; color: var(--gold); font-weight: 900; }
.crown { top: 14%; font-size: 4rem; } .modak { bottom: 16%; padding: .7rem 1rem; border-radius: 999px; background: rgba(255,255,255,.12); backdrop-filter: blur(10px); }
.trunk { position: absolute; width: 64px; height: 170px; border: 18px solid var(--gold); border-top: 0; border-left: 0; border-radius: 0 0 80px 0; transform: translate(55px, 80px); }
.section-number { position: absolute; top: 7rem; right: 8vw; font-size: clamp(4rem, 11vw, 12rem); color: rgba(255,255,255,.05); font-weight: 900; }
.intro-sync, .blessings { grid-template-columns: 1fr 1fr; gap: 2rem; }
.sync-card, .final-card, .glass-card { border: 1px solid rgba(255,255,255,.16); background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.04)); backdrop-filter: blur(20px); border-radius: 32px; box-shadow: 0 24px 80px rgba(0,0,0,.24); }
.sync-card { padding: 2rem; display: grid; gap: 1rem; font-size: 1.4rem; }
.sync-card b { color: var(--gold); font-size: clamp(2rem, 4vw, 4rem); }
.event-grid, .gallery-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.glass-card { padding: 1.6rem; min-height: 210px; display: grid; align-content: end; }
.glass-card span { color: var(--gold); } .glass-card strong { font-size: 1.6rem; } .glass-card small { color: var(--muted); }
.timeline { display: grid; gap: 1rem; margin-top: 2rem; }
.timeline-item { padding: 1.5rem; border-left: 3px solid var(--gold); background: linear-gradient(90deg, rgba(255,209,102,.12), transparent); }
.timeline-item b { font-size: 1.7rem; color: var(--gold); }
.gallery-cards { grid-template-columns: repeat(4, 1fr); }
.art-card { min-height: 260px; display: grid; place-items: center; border-radius: 34px; background: conic-gradient(from 180deg, rgba(255,138,0,.4), rgba(96,245,255,.22), rgba(255,61,129,.35), rgba(255,138,0,.4)); font-size: 4rem; animation: breathe 5s ease-in-out infinite; }
.art-card span { display: block; font-size: 1.1rem; font-weight: 800; }
.mantra-ring { width: min(420px, 80vw); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; margin: auto; border: 1px solid rgba(255,209,102,.45); color: var(--gold); font-family: 'Noto Serif Devanagari', serif; font-size: 2rem; text-align: center; animation: spin 22s linear infinite reverse; }
.family { text-align: center; background: radial-gradient(circle at center, rgba(255,61,129,.18), transparent 55%); }
.final-invite { min-height: 90vh; place-items: center; text-align: center; }
.final-card { max-width: 920px; padding: clamp(2rem, 6vw, 5rem); }
.final-card span { color: var(--gold); font-weight: 800; }
.reveal { opacity: 0; transform: translateY(44px) scale(.98); transition: opacity .9s ease, transform .9s ease; }
.reveal.visible, .site-open .hero .reveal { opacity: 1; transform: none; }

@keyframes openLaptop { from { transform: rotateX(-88deg); } to { transform: rotateX(0); } }
@keyframes arrive { from { transform: translateY(120px) scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes keyPress { 50% { transform: scale(.92); filter: brightness(1.4); } }
@keyframes float { to { transform: translate(8%, -6%) scale(1.15); } }
@keyframes drift { to { transform: rotate(9deg) translate3d(70px, 70px, 0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: translateY(-12px) scale(1.03); filter: brightness(1.16); } }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .hero, .intro-sync, .blessings { grid-template-columns: 1fr; }
  .event-grid, .gallery-cards { grid-template-columns: 1fr; }
  .ganesha-holo { min-height: 420px; }
  .panel { padding-top: 7rem; }
}
