:root{
  --gold: #d9ac37;
  --ink: #15161a;
  --paper: #fbf9f3;
  --glass: rgba(255,255,255,0.18);
  --glass-border: rgba(255,255,255,0.24);
}

html{
  scroll-behavior:smooth;
}

/* Smooth anchor targeting with sticky header */
[id]{
  scroll-margin-top: 96px;
}

.nav-link.is-active{
  color: rgba(18,19,22,1) !important;
  font-weight: 700 !important;
}

.music-btn, .music-muted-btn{
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.20);
  border: 1px solid rgba(255,255,255,0.22);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.music-btn:hover, .music-muted-btn:hover{
  background: rgba(255,255,255,0.32);
  transform: translateY(-1px);
  box-shadow: 0 16px 45px rgba(0,0,0,0.06);
}

.section-title{
  text-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.section-kicker{
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(18,19,22,0.66);
}

.divider-line{
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(217,172,55,0.0), rgba(217,172,55,0.65), rgba(217,172,55,0.0));
}

/* Ambient background: if you add an image at assets/temple-bg.jpg, it will be used automatically. */
.bg-ambient{
  background: radial-gradient(1200px 600px at 15% 10%, rgba(217,172,55,0.18), rgba(251,249,243,0) 60%),
              radial-gradient(800px 500px at 70% 15%, rgba(0,0,0,0.06), rgba(251,249,243,0) 62%),
              linear-gradient(180deg, #faf7ef, #fbf9f3 55%, #f6f0e0);
}
.bg-ambient__temple{
  position:absolute;
  inset:0;
  background-image:
    url("./assets/temple-bg.jpeg"),
    linear-gradient(180deg, rgba(255,255,255,0.65), rgba(255,255,255,0.0)),
    radial-gradient(900px 500px at 50% 25%, rgba(217,172,55,0.18), rgba(0,0,0,0) 65%);
  background-size: cover;
  background-position: center;
  filter: blur(18px) saturate(115%);
  opacity: 0.55;
  transform: translateZ(0);
}
.bg-ambient__overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(1000px 600px at 20% 20%, rgba(217,172,55,0.10), rgba(255,255,255,0) 60%),
    radial-gradient(800px 500px at 80% 10%, rgba(0,0,0,0.05), rgba(255,255,255,0) 55%),
    linear-gradient(180deg, rgba(251,249,243,0.15), rgba(251,249,243,0.65));
}

.hero-bg-layer{
  background-image:
    url("./assets/temple-bg.jpg"),
    radial-gradient(1000px 700px at 35% 10%, rgba(217,172,55,0.22), rgba(255,255,255,0) 60%),
    linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0));
  opacity: 0.85;
  filter: blur(18px) saturate(115%);
  transform: translateZ(0);
}

/* Glassmorphism */
.glass-card{
  background: rgba(255,255,255,0.14);
  border-color: var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.06);
}
.glass-subtle{
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.glass-frame{
  background: rgba(255,255,255,0.10);
}

.glass-card, .glass-frame, .hero-panel{
  position: relative;
}

.glass-card::after{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius: inherit;
  pointer-events:none;
  background: linear-gradient(180deg, rgba(255,255,255,0.25), rgba(255,255,255,0.02));
  opacity: 0.35;
}

/* Subtle page ornaments */
.ornament-corners{
  position:absolute;
  inset: 0;
  opacity: 0.55;
  background:
    radial-gradient(400px 200px at 0% 0%, rgba(217,172,55,0.25), rgba(255,255,255,0) 60%),
    radial-gradient(350px 180px at 100% 0%, rgba(0,0,0,0.06), rgba(255,255,255,0) 55%),
    radial-gradient(420px 220px at 0% 100%, rgba(0,0,0,0.05), rgba(255,255,255,0) 60%);
}
.symbol-float{
  position:absolute;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, rgba(217,172,55,0.35), rgba(217,172,55,0) 60%),
    radial-gradient(circle at 70% 70%, rgba(0,0,0,0.08), rgba(0,0,0,0) 60%);
  filter: blur(1px);
  opacity: 0.55;
  animation: symbolFloat 10s ease-in-out infinite;
}
.symbol-float.s1{ left: -40px; top: 40px; animation-duration: 12s; }
.symbol-float.s2{ right: -55px; bottom: 25px; animation-duration: 14s; opacity: 0.35; }
@keyframes symbolFloat{
  0%,100%{ transform: translate3d(0,0,0) scale(1); }
  50%{ transform: translate3d(0,-14px,0) scale(1.03); }
}

.pill{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.26);
  background: rgba(255,255,255,0.10);
  box-shadow: 0 14px 40px rgba(0,0,0,0.06);
}
.pill__dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(18,19,22,0.25);
}
.pill--gold{ border-color: rgba(217,172,55,0.38); }
.pill__dot--gold{ background: rgba(217,172,55,0.9); }

.tag{
  display:inline-flex;
  align-items:center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
  font-size: 12px;
  font-weight: 600;
  color: rgba(18,19,22,0.72);
}
.tag--gold{
  border-color: rgba(217,172,55,0.40);
  color: rgba(18,19,22,0.84);
}

.cta-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(217,172,55,0.95), rgba(217,172,55,0.72));
  color: rgba(18,19,22,0.95);
  border: 1px solid rgba(217,172,55,0.55);
  box-shadow: 0 18px 50px rgba(217,172,55,0.20);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.cta-ghost{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  border-radius: 16px;
  background: rgba(255,255,255,0.10);
  color: rgba(18,19,22,0.85);
  border: 1px solid rgba(255,255,255,0.25);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.hover-glow:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 60px rgba(217,172,55,0.20);
  filter: saturate(108%);
}

.icon-pill{
  flex:0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
}

.info-row{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
}
.info-icon{ flex: 0 0 auto; padding-top: 1px; }

.card-border{
  position:absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events:none;
  opacity: 0.55;
  background:
    linear-gradient(90deg, rgba(217,172,55,0.0), rgba(217,172,55,0.35), rgba(217,172,55,0.0));
  mask: linear-gradient(#000,#000) content-box, linear-gradient(#000,#000);
  -webkit-mask: linear-gradient(#000,#000) content-box, linear-gradient(#000,#000);
}
.card-border--gold{
  background: linear-gradient(180deg, rgba(217,172,55,0.0), rgba(217,172,55,0.48), rgba(217,172,55,0.0));
  opacity: 0.65;
}
.card-border--soft{
  background: linear-gradient(180deg, rgba(255,255,255,0.0), rgba(255,255,255,0.28), rgba(255,255,255,0.0));
  opacity: 0.55;
}

.member-pill{
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.20);
  color: rgba(18,19,22,0.80);
  font-weight: 600;
  text-align:center;
}

/* Parallax strip effect */
.parallax-strip{
  position:absolute;
  inset: -1px 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, rgba(217,172,55,0.0), rgba(217,172,55,0.45), rgba(217,172,55,0.0));
  opacity: 0.7;
  transform: translateZ(0);
}

/* Particles */
.particles{
  position:absolute;
  inset: -20px -20px -20px -20px;
  pointer-events:none;
  overflow:hidden;
}
.particles span{
  position:absolute;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: rgba(217,172,55,0.65);
  box-shadow: 0 0 14px rgba(217,172,55,0.25);
  opacity: 0.65;
  animation: particleFloat var(--dur, 8s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes particleFloat{
  0%,100%{ transform: translate3d(0,0,0); opacity: .5; }
  50%{ transform: translate3d(0,-18px,0); opacity: .95; }
}

.particles-close{
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(500px 250px at 20% 10%, rgba(217,172,55,0.10), rgba(0,0,0,0) 60%),
    radial-gradient(600px 280px at 80% 30%, rgba(0,0,0,0.05), rgba(0,0,0,0) 60%);
}

/* Petals */
.petals-layer{
  position:absolute;
  inset: 0;
  pointer-events:none;
  overflow:hidden;
}
.petal{
  position:absolute;
  top: 85%;
  width: 14px;
  height: 10px;
  background: radial-gradient(circle at 30% 30%, rgba(217,172,55,0.55), rgba(255,255,255,0.0) 65%),
              linear-gradient(180deg, rgba(255,255,255,0.45), rgba(217,172,55,0.10));
  border-radius: 60% 40% 50% 50% / 60% 60% 40% 40%;
  filter: blur(0.2px);
  opacity: 0.5;
  transform: translate3d(0,0,0) rotate(0deg);
  animation: petalDrift var(--dur, 10s) linear infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes petalDrift{
  0%{ transform: translate3d(0,0,0) rotate(0deg); opacity: .0; }
  10%{ opacity: .45; }
  60%{ opacity: .65; }
  100%{ transform: translate3d(var(--drift, 50px), -260px, 0) rotate(240deg); opacity: .0; }
}

/* Diya / Candle animation */
.diya-wrap{
  position:relative;
  width: 120px;
  height: 120px;
}
.diya{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
}
.diya .oil{
  width: 40px;
  height: 10px;
  border-radius: 999px;
  background: rgba(217,172,55,0.35);
  border: 1px solid rgba(217,172,55,0.45);
  transform: translateY(26px);
}
.diya .wick{
  width: 4px;
  height: 28px;
  border-radius: 999px;
  background: rgba(18,19,22,0.55);
  transform: translateY(6px);
}
.diya .flame{
  width: 22px;
  height: 30px;
  border-radius: 50% 50% 55% 55% / 55% 55% 45% 45%;
  background: radial-gradient(circle at 35% 25%, rgba(255,255,255,0.9), rgba(255,255,255,0) 55%),
              linear-gradient(180deg, rgba(255,197,88,1), rgba(217,172,55,0.2));
  filter: drop-shadow(0 0 18px rgba(217,172,55,0.45));
  transform: translateY(-10px);
  animation: flameFlicker 1.35s ease-in-out infinite;
}
.diya .flame::after{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 20%, rgba(255,255,255,0.85), rgba(255,255,255,0) 60%);
  opacity: 0.6;
}
@keyframes flameFlicker{
  0%,100%{ transform: translateY(-11px) scale(0.98,1.02) rotate(-2deg); filter: drop-shadow(0 0 14px rgba(217,172,55,0.40)); }
  50%{ transform: translateY(-9px) scale(1.02,0.98) rotate(3deg); filter: drop-shadow(0 0 20px rgba(217,172,55,0.55)); }
}
.diya.glow{
  position:absolute;
  inset:0;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, rgba(217,172,55,0.28), rgba(217,172,55,0) 62%);
  animation: diyaPulse 2.8s ease-in-out infinite;
}
@keyframes diyaPulse{
  0%,100%{ opacity: .65; transform: scale(0.98); }
  50%{ opacity: 1; transform: scale(1.03); }
}

.tiny-diya{
  width: 10px;
  height: 16px;
  border-radius: 50% 50% 55% 55% / 55% 55% 45% 45%;
  background: linear-gradient(180deg, rgba(255,197,88,1), rgba(217,172,55,0.15));
  filter: drop-shadow(0 0 12px rgba(217,172,55,0.35));
  animation: tinyFlicker 1.2s ease-in-out infinite;
}
.tiny-diya.d2{ animation-delay: .22s; opacity: .85; }
.tiny-diya.d3{ animation-delay: .38s; opacity: .7; }
@keyframes tinyFlicker{
  0%,100%{ transform: translateY(0) scale(1); }
  50%{ transform: translateY(-3px) scale(1.03); }
}

.diya-stack{
  width: 120px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap: 10px;
}

.closing-candles{
  position:relative;
}
.closing-candles__glow{
  position:absolute;
  inset:-30px -20px -20px -20px;
  background:
    radial-gradient(220px 110px at 25% 20%, rgba(217,172,55,0.25), rgba(0,0,0,0) 65%),
    radial-gradient(220px 110px at 80% 30%, rgba(0,0,0,0.05), rgba(0,0,0,0) 65%);
  filter: blur(10px);
  opacity: 0.65;
  pointer-events:none;
}
.petal-note{
  display:flex;
  align-items:center;
  gap: 10px;
}
.petal-dot{
  width: 12px;
  height: 12px;
  border-radius: 50% 50% 55% 55% / 55% 55% 45% 45%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.85), rgba(255,255,255,0) 60%),
              linear-gradient(180deg, rgba(255,197,88,0.85), rgba(217,172,55,0.10));
  border: 1px solid rgba(217,172,55,0.35);
}

/* Map iframe container */
iframe{
  border: 0;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .symbol-float{ animation: none; }
  .diya .flame, .diya.glow{ animation: none; }
  .tiny-diya{ animation: none; }
  .particles span, .petal{ animation: none !important; }
}

