body.temple-locked{overflow:hidden}.temple-entry{position:fixed;z-index:100;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:25px;background:radial-gradient(circle at 50% 35%,#66371466,transparent 28%),linear-gradient(#080a0fee,#080a0ffa),url('../images/bhakti-3d-hero.png') 50%/cover;color:#fff;transition:opacity .7s,transform .7s}.temple-entry.leaving{opacity:0;transform:scale(1.08);pointer-events:none}.entry-mandala{width:110px;height:110px;border:1px solid #f4b7489c;border-radius:50%;display:grid;place-items:center;color:#f4b748;font:58px Georgia,serif;box-shadow:0 0 0 15px #f4b7480a,0 0 80px #ff792848;animation:entryGlow 2.3s ease-in-out infinite}.temple-entry>span{margin-top:25px;color:#e8bd64;font:15px Georgia,serif;letter-spacing:.12em}.temple-entry h1{margin:14px 0 10px;font:clamp(34px,5vw,66px) Georgia,serif}.temple-entry p{color:#b8bac1;max-width:560px;line-height:1.7}.temple-entry button{margin-top:18px;border:0;color:#211506;background:linear-gradient(135deg,#ffdf8d,#e58b21);border-radius:99px;padding:16px 27px;text-transform:uppercase;font-size:12px;font-weight:bold;letter-spacing:.08em;box-shadow:0 15px 60px #ff921f45}.temple-entry button i{font-size:20px;font-style:normal;margin-right:8px}.temple-entry small{color:#696f7a;margin-top:13px;font-size:9px;letter-spacing:.12em}@keyframes entryGlow{50%{box-shadow:0 0 0 24px #f4b74800,0 0 110px #ff79287a}}
.hero-image{background-image:url('../images/temple-mahadev.png');transition:opacity .3s,filter .3s}.hero-image.changing{opacity:.35;filter:blur(4px)}.temple-bells{position:absolute;z-index:7;top:73px;left:2%;right:2%;height:95px;display:flex;justify-content:space-around;align-items:start;pointer-events:none}.temple-bell{pointer-events:auto;border:0;background:none;padding:0;font-size:clamp(27px,3vw,49px);filter:sepia(1) saturate(1.4) drop-shadow(0 8px 8px #0009);transform-origin:50% 0;transition:filter .2s}.temple-bell:nth-child(2n){margin-top:20px;font-size:clamp(22px,2.4vw,39px)}.temple-bell:nth-child(3n){margin-top:7px}.temple-bell:hover{filter:sepia(1) saturate(2.2) drop-shadow(0 0 13px #f6b948)}.temple-bell.ringing{animation:ringBell 1.25s ease-out}@keyframes ringBell{0%,100%{transform:rotate(0)}15%{transform:rotate(24deg)}30%{transform:rotate(-21deg)}48%{transform:rotate(15deg)}65%{transform:rotate(-9deg)}82%{transform:rotate(4deg)}}
.ritual-dock{position:absolute;z-index:8;left:50%;transform:translateX(-50%);bottom:24px;display:flex;align-items:center;gap:6px;padding:8px;background:#090b10c9;border:1px solid #f4b74840;border-radius:14px;backdrop-filter:blur(15px);box-shadow:0 20px 50px #0009}.ritual-dock button{width:82px;min-height:65px;border:1px solid transparent;background:transparent;color:#d8d9dd;border-radius:9px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px}.ritual-dock button:hover{border-color:#f4b74855;background:#f4b7480f;color:#fff;transform:translateY(-3px)}.ritual-dock i{font-style:normal;font-size:23px}.ritual-dock span{font-size:9px;white-space:nowrap}.ritual-dock .daan{background:linear-gradient(145deg,#693b11,#261709);border-color:#e5aa4361}.sound-toggle{position:absolute;z-index:9;right:20px;top:185px;border:1px solid #ffffff2b;background:#080b11a6;color:#eee;border-radius:99px;padding:9px 13px;font-size:10px;backdrop-filter:blur(10px)}
.petal-layer,.ritual-fx{position:absolute;z-index:6;inset:0;pointer-events:none;overflow:hidden}.petal-layer span{position:absolute;top:-60px;font-size:24px;animation:petalFall 5s linear forwards}@keyframes petalFall{to{transform:translate3d(40px,105vh,0) rotate(720deg);opacity:.1}}.coconut-fx{position:absolute;left:50%;bottom:16%;width:230px;height:190px;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;font-size:60px;animation:coconutDrop 1.6s forwards}.coconut-fx span,.coconut-fx b{position:absolute}.coconut-fx i{font-style:normal;font-size:44px;opacity:0;animation:crackFlash .7s .45s}.coconut-fx b{transform:rotate(0);animation:halfRight 1s .5s forwards}.coconut-fx span{animation:halfLeft 1s .5s forwards}@keyframes coconutDrop{0%{transform:translate(-50%,-450px)}35%{transform:translate(-50%,0)}100%{opacity:0}}@keyframes crackFlash{45%{opacity:1;transform:scale(1.5)}}@keyframes halfLeft{to{transform:translate(-80px,40px) rotate(-80deg);opacity:0}}@keyframes halfRight{to{transform:translate(80px,40px) rotate(80deg);opacity:0}}
.incense-fx{position:absolute;right:24%;bottom:13%;width:90px;height:170px}.incense-fx b{position:absolute;bottom:0;width:5px;height:83px;background:linear-gradient(#ff713e,#5b2415 8%,#22110a);transform:rotate(-5deg);left:35px}.incense-fx b:nth-child(2){left:53px;transform:rotate(5deg)}.incense-fx i{position:absolute;bottom:0;left:19px;width:55px;height:15px;background:#8d581e;border-radius:50%}.incense-fx span{position:absolute;bottom:78px;left:34px;width:18px;height:80px;border-left:5px solid #d6d2c65c;border-radius:50%;filter:blur(3px);animation:smoke 3.2s infinite}.incense-fx span:nth-of-type(2){left:51px;animation-delay:.8s}.incense-fx span:nth-of-type(3){left:42px;animation-delay:1.6s}@keyframes smoke{from{transform:translateY(0) scale(.5);opacity:0}35%{opacity:.8}to{transform:translate(25px,-75px) scale(1.7);opacity:0}}
.diya-fx{position:absolute;left:50%;bottom:11%;transform:translateX(-50%);display:flex;gap:18px;opacity:.12;filter:grayscale(1);transition:.4s}.diya-fx.lit{opacity:1;filter:none;animation:diyaGlow 1.4s ease-in-out infinite alternate}.diya-fx i{font-style:normal;font-size:34px}@keyframes diyaGlow{to{filter:drop-shadow(0 0 16px #ff9c22)}}.aarti-fx{position:absolute;right:29%;top:48%;width:125px;height:125px;border-radius:50%;background:radial-gradient(circle,#f7d978,#8a4e14 58%,#3f210b);box-shadow:0 0 45px #ff8b2f;display:grid;place-items:center;animation:aartiOrbit 2.2s linear infinite}.aarti-fx span{font-size:48px}.aarti-fx b{position:absolute;top:8px;font-size:23px}.aarti-fx i{position:absolute;bottom:11px;font-style:normal;color:#6c3208;font:bold 22px Georgia}@keyframes aartiOrbit{0%{transform:translate(-120px,0) rotate(0)}25%{transform:translate(0,-70px) rotate(90deg)}50%{transform:translate(120px,0) rotate(180deg)}75%{transform:translate(0,70px) rotate(270deg)}100%{transform:translate(-120px,0) rotate(360deg)}}.jal-fx{position:absolute;right:28%;top:18%;width:90px;height:480px;text-align:center}.jal-fx span{font-size:38px;display:block;animation:kalashTilt 3s}.jal-fx i{display:block;margin:auto;width:9px;height:0;background:linear-gradient(#b9eaffdd,#6ac9ff22);border-radius:50%;animation:waterStream 2.7s .2s}@keyframes waterStream{40%,80%{height:340px}100%{height:0;opacity:0}}@keyframes kalashTilt{50%{transform:rotate(35deg)}}
.blessing-toast{position:fixed;z-index:120;left:50%;top:105px;transform:translate(-50%,-20px);opacity:0;background:#100d08eb;border:1px solid #f4b7486b;color:#f3d59b;border-radius:99px;padding:12px 20px;box-shadow:0 12px 45px #0009;transition:.35s;white-space:nowrap}.blessing-toast.show{opacity:1;transform:translate(-50%,0)}.donation-modal{position:fixed;z-index:110;inset:0;background:#05070bdb;backdrop-filter:blur(10px);display:grid;place-items:center;padding:20px;opacity:0;pointer-events:none;transition:.3s}.donation-modal.open{opacity:1;pointer-events:auto}.donation-card{width:min(440px,100%);max-height:92vh;overflow:auto;background:linear-gradient(160deg,#181009,#0d121b);border:1px solid #efb85670;border-radius:22px;padding:26px;text-align:center;position:relative;box-shadow:0 40px 100px #000}.modal-close{position:absolute;right:14px;top:14px;width:34px;height:34px;border-radius:50%;border:1px solid #ffffff26;background:transparent;color:#ddd}.donation-symbol{width:54px;height:54px;border:1px solid #f4b74899;border-radius:50%;display:grid;place-items:center;margin:auto;color:#f4b748;font-size:30px}.donation-card>small{display:block;margin-top:13px;color:#c49342;letter-spacing:.18em}.donation-card h2{font:29px Georgia,serif;margin:8px 0}.donation-card p{color:#8f96a2}.donation-card img{display:block;width:min(280px,100%);max-height:380px;object-fit:contain;margin:15px auto;border-radius:13px;background:#fff}.donation-card b,.donation-card code{display:block;margin-top:7px}.donation-card code{color:#f4c76c}.donation-card>a{display:block;margin:17px auto 10px;border-radius:9px;background:linear-gradient(135deg,#f9ce72,#e78d27);color:#211507;text-decoration:none;padding:13px}.donation-card em{display:block;color:#68707e;font-size:9px;line-height:1.5}.player:before{content:"";position:absolute;inset:0;background-image:linear-gradient(90deg,#0e1017fa 35%,#0e1017ce),var(--player-bg);background-size:cover;background-position:center;z-index:-1;opacity:.35}.player>*{position:relative}.player .youtube-frame{position:absolute}
@media(max-width:900px){.temple-bells .temple-bell:nth-child(even){display:none}.ritual-dock{left:12px;right:12px;transform:none;overflow-x:auto;justify-content:start;bottom:14px}.ritual-dock button{min-width:70px;width:70px}.sound-toggle{top:145px}.hero-copy{padding-bottom:125px}.aarti-fx{right:35%;top:45%}}
@media(max-width:720px){.temple-bells{top:65px;height:80px}.temple-bell{font-size:31px}.sound-toggle{top:130px;right:12px}.ritual-dock{bottom:10px}.ritual-dock button{min-width:65px;width:65px;min-height:58px}.ritual-dock i{font-size:20px}.ritual-dock span{font-size:8px}.hero-copy{padding-bottom:105px}.trust{display:none}.aarti-fx{right:40%;top:36%;transform:scale(.75)}.jal-fx{right:35%;top:14%}.blessing-toast{top:82px;font-size:11px;max-width:90%;white-space:normal;text-align:center}.donation-card{padding:22px 18px}.donation-card img{max-height:300px}.temple-entry h1{font-size:39px}}
.ritual-dock{bottom:110px}@media(max-width:720px){.ritual-dock{bottom:94px}}

/* V2: physical 3D temple and fully visible ritual actions */
.temple-stage{perspective:1200px}.stone-temple-frame{position:absolute;z-index:2;inset:0;pointer-events:none;filter:drop-shadow(0 22px 28px #000b)}.stone-beam{position:absolute;top:67px;left:-2%;right:-2%;height:75px;border-radius:0 0 48% 48%;border-bottom:8px ridge #745d43;background:repeating-linear-gradient(90deg,#40372f 0 70px,#594b3d 71px 73px,#2a2521 74px 142px),linear-gradient(#65513d,#2b2724);box-shadow:inset 0 12px 18px #9d805338,inset 0 -18px 22px #090807aa,0 14px 35px #0009;opacity:.8}.stone-beam:before{content:"ॐ  ✦  श्री  ✦  ॐ  ✦  श्री  ✦  ॐ  ✦  श्री  ✦  ॐ";position:absolute;inset:17px 0 auto;text-align:center;color:#c9a96675;font:20px Georgia,serif;letter-spacing:1.2vw;text-shadow:0 2px #111;white-space:nowrap;overflow:hidden}.stone-pillar{position:absolute;top:105px;bottom:0;width:7.2vw;min-width:72px;background:repeating-linear-gradient(0deg,#37312b 0 58px,#51463a 59px 61px,#2a2724 62px 118px),repeating-linear-gradient(90deg,#1f1c19,#51483e 38%,#75634e 52%,#342e28 82%,#181614);border-inline:1px solid #ac8b5d4d;box-shadow:inset 14px 0 20px #0008,inset -10px 0 18px #b9956330,12px 0 35px #000c;opacity:.72}.stone-pillar.left{left:-2.6vw;transform:rotateY(12deg)}.stone-pillar.right{right:-2.6vw;transform:rotateY(-12deg)}.stone-pillar>i{position:absolute;left:-9%;right:-9%;height:22px;border-radius:4px;background:linear-gradient(#76634d,#28231e);border:1px solid #b4926250;box-shadow:0 8px 15px #0008}.stone-pillar>i:nth-child(1){top:4%}.stone-pillar>i:nth-child(2){top:46%}.stone-pillar>i:nth-child(3){bottom:3%}.sacred-dust{position:absolute;z-index:4;inset:120px 7% 130px;overflow:hidden;pointer-events:none}.sacred-dust i{position:absolute;left:var(--dust-x);bottom:-10px;width:4px;height:4px;border-radius:50%;background:#ffd98d;box-shadow:0 0 10px #ffb33e;opacity:0;animation:sacredDust 8s var(--dust-delay) ease-in infinite}@keyframes sacredDust{10%{opacity:.45}60%{opacity:.18;transform:translate3d(25px,-48vh,90px) scale(1.5)}100%{opacity:0;transform:translate3d(-15px,-75vh,180px) scale(.4)}}.chant-ribbon{position:absolute;z-index:10;top:160px;left:50%;transform:translateX(-50%) translateZ(70px);min-width:330px;display:flex;align-items:center;justify-content:center;gap:12px;color:#f9df9e;font:15px Georgia,serif;letter-spacing:.09em;text-shadow:0 0 14px #ff982b;pointer-events:none}.chant-ribbon:before{content:"";position:absolute;inset:-8px -30px;border-block:1px solid #efba5630;background:linear-gradient(90deg,transparent,#100b06a8,transparent)}.chant-ribbon>*{position:relative}.chant-ribbon i,.chant-ribbon b{color:#f4b748;font-style:normal;animation:chantPulse 2s infinite}@keyframes chantPulse{50%{transform:scale(1.22);filter:drop-shadow(0 0 8px #ff9a2b)}}
.temple-bells{z-index:11;top:82px;perspective:700px}.temple-bell,.temple-bell:nth-child(2n){position:relative;width:45px;height:88px;font-size:0;transform-style:preserve-3d;filter:drop-shadow(0 10px 8px #000d);transform-origin:50% 0}.temple-bell:nth-child(2n){width:38px;height:78px}.bell-chain{position:absolute;left:50%;top:-20px;width:3px;height:47px;transform:translateX(-50%) translateZ(3px);background:repeating-linear-gradient(0deg,#d9af55 0 4px,#493416 5px 8px);box-shadow:1px 0 #f8d67e}.bell-metal{position:absolute;left:50%;top:24px;width:42px;height:44px;transform:translateX(-50%) rotateX(-8deg);border-radius:52% 52% 17% 17%/28% 28% 72% 72%;background:radial-gradient(circle at 35% 22%,#fff0ab 0 5%,#dba33d 17%,#7b4b12 52%,#3b2109 82%);border-bottom:6px solid #f2c361;box-shadow:inset -10px -8px 13px #261405aa,inset 8px 5px 10px #ffefaa70,0 0 0 1px #4b2b0b}.bell-metal:before{content:"";position:absolute;left:50%;top:-8px;width:13px;height:12px;transform:translateX(-50%);border-radius:50% 50% 10% 10%;background:linear-gradient(90deg,#5a350d,#e2ae47,#51300b)}.bell-metal i{position:absolute;left:8px;right:8px;top:19px;height:2px;border-radius:50%;background:#f8d98988;box-shadow:0 5px #492706aa}.bell-clapper{position:absolute;left:50%;top:62px;width:7px;height:16px;transform:translateX(-50%) translateZ(4px);border-radius:0 0 50% 50%;background:linear-gradient(90deg,#4d2c09,#e8b44d,#4a2907)}.temple-bell.ringing{animation:ringBell3d 1.25s cubic-bezier(.3,.8,.35,1)}@keyframes ringBell3d{0%,100%{transform:rotateZ(0) rotateY(0)}15%{transform:rotateZ(27deg) rotateY(15deg)}32%{transform:rotateZ(-23deg) rotateY(-14deg)}52%{transform:rotateZ(16deg) rotateY(9deg)}72%{transform:rotateZ(-9deg)}88%{transform:rotateZ(4deg)}}
.altar-3d{position:absolute;z-index:5;right:18%;bottom:143px;width:360px;height:130px;transform-style:preserve-3d;pointer-events:none}.altar-halo{position:absolute;left:50%;bottom:25px;width:290px;height:160px;transform:translateX(-50%) translateZ(-40px);background:radial-gradient(ellipse,#ff9d2940,transparent 67%);filter:blur(12px)}.altar-platform{position:absolute;inset:auto 0 0;height:78px;transform:rotateX(60deg);transform-origin:bottom;border-radius:50%;background:radial-gradient(ellipse at 50% 35%,#9b8569 0 16%,#4e443a 38%,#211d19 68%,#080706 71%);border:5px ridge #a68658;box-shadow:0 35px 34px #000e,inset 0 0 25px #d0ad7438}.altar-platform:after{content:"";position:absolute;left:10%;right:10%;bottom:-32px;height:50px;transform:rotateX(-55deg);transform-origin:top;background:repeating-linear-gradient(90deg,#3b342c 0 35px,#574a3a 36px 38px),linear-gradient(#665641,#25211d);border-bottom:6px solid #17130f;box-shadow:0 24px 35px #000b}.altar-platform b{position:absolute;inset:20px 0 auto;text-align:center;color:#d2aa6570;font:32px Georgia,serif}.flower-offering{position:absolute;left:50%;bottom:34px;width:180px;transform:translateX(-50%) translateZ(38px);display:flex;justify-content:center;opacity:0;transition:.5s;filter:drop-shadow(0 10px 7px #000a)}.flower-offering.visible{opacity:1}.flower-offering i{font-style:normal;font-size:30px;margin:-4px;animation:flowerSettle .8s both}.flower-offering i:nth-child(2){animation-delay:.12s}.flower-offering i:nth-child(3){animation-delay:.22s}.flower-offering i:nth-child(4){animation-delay:.32s}@keyframes flowerSettle{from{transform:translateY(-90px) rotate(100deg);opacity:0}to{transform:none;opacity:1}}
.ritual-fx{z-index:9;inset:120px 7% 130px;overflow:visible;perspective:1000px;transform-style:preserve-3d}.incense-fx{right:28%;bottom:6px;width:110px;height:205px;opacity:0;transform:translateY(28px) scale(.8);transition:.55s;filter:drop-shadow(0 17px 11px #000d)}.incense-fx.active{opacity:1;transform:translateY(0) scale(1)}.incense-holder{position:absolute;bottom:0;left:17px;width:78px;height:25px;border-radius:50%;background:radial-gradient(ellipse at 50% 25%,#d49c3d,#6e3c10 48%,#2d1808 68%);border:3px ridge #dda74c;box-shadow:inset 0 5px 7px #ffe2a74a,0 11px 13px #0009}.incense-stick{position:absolute!important;bottom:15px!important;left:45px!important;width:5px!important;height:105px!important;border-radius:4px!important;background:linear-gradient(#ff6538 0 4%,#2a150b 5% 100%)!important;transform-origin:bottom!important;box-shadow:0 0 5px #ff5c29}.incense-stick.one{transform:rotate(-7deg)!important}.incense-stick.two{left:61px!important;transform:rotate(8deg)!important}.smoke-ring{position:absolute!important;left:42px!important;bottom:112px!important;width:34px!important;height:34px!important;border:5px solid #eee9dc70!important;border-bottom-color:transparent!important;border-radius:50%!important;filter:blur(3px)!important;opacity:0;animation:smokeSpiral 3.1s ease-out infinite!important}.smoke-ring:nth-of-type(even){left:54px!important}@keyframes smokeSpiral{0%{opacity:0;transform:translate3d(0,0,0) scale(.25) rotate(0)}28%{opacity:.65}100%{opacity:0;transform:translate3d(28px,-105px,70px) scale(1.9) rotate(150deg)}}
.diya-fx{bottom:-4px;gap:15px;opacity:.26;filter:grayscale(1);transform:translateX(-50%) rotateX(5deg)}.diya-fx.lit{opacity:1;filter:none;animation:none}.diya-lamp{position:relative;width:52px;height:37px;transform-style:preserve-3d}.diya-lamp>span{position:absolute;inset:auto 0 0;height:24px;border-radius:12% 12% 55% 55%/15% 15% 85% 85%;background:radial-gradient(ellipse at 50% 10%,#ffd46f,#b56613 45%,#4f2807 80%);border:2px solid #e2a63e;box-shadow:inset 0 4px 7px #fff1a64f,0 10px 10px #000a}.diya-fx .flame{position:absolute;z-index:2;left:50%;bottom:20px;width:15px;height:31px;transform:translateX(-50%) scale(.05);transform-origin:bottom;border-radius:80% 20% 65% 35%;background:radial-gradient(ellipse at 50% 68%,#fff 0 10%,#ffe05c 28%,#ff7d18 58%,transparent 72%);filter:drop-shadow(0 0 12px #ff8a1e);transition:.45s;font-size:0}.diya-fx.lit .flame{transform:translateX(-50%) scale(1);animation:flameDance .45s ease-in-out infinite alternate}.flame b{position:absolute;left:5px;bottom:4px;width:5px;height:12px;border-radius:50%;background:#6ac7ff}@keyframes flameDance{to{transform:translateX(-50%) scale(.92,1.08) rotate(4deg);filter:drop-shadow(0 0 18px #ffb12f)}}
.coconut-ritual{position:absolute;left:50%;bottom:10px;width:260px;height:360px;transform:translateX(-50%)}.whole-coconut,.coconut-half{position:absolute;left:50%;bottom:42px;width:92px;height:112px;border-radius:48% 48% 45% 45%;background:radial-gradient(circle at 32% 25%,#9c663a,#5b321b 50%,#24130b 78%);box-shadow:inset -13px -15px 22px #190c06aa,inset 8px 9px 12px #d89a6240,0 20px 18px #000b}.whole-coconut{animation:coconutFall3d .9s cubic-bezier(.3,.75,.4,1) forwards}.whole-coconut:before{content:"";position:absolute;inset:0;border-radius:inherit;background:repeating-linear-gradient(77deg,transparent 0 7px,#d09a6b20 8px 10px)}.whole-coconut i{position:absolute;left:20px;top:18px;width:9px;height:9px;border-radius:50%;background:#1d0d06;box-shadow:18px -2px #1d0d06,9px 13px #1d0d06}.coconut-half{opacity:0;width:82px;height:72px;border-radius:50% 50% 34% 34%;background:radial-gradient(ellipse,#fff9df 0 55%,#6b3a20 57% 72%,#25130a 74%)}.coconut-half.left{animation:coconutLeft3d 1.7s .76s ease-out forwards}.coconut-half.right{animation:coconutRight3d 1.7s .76s ease-out forwards}.impact-ring{position:absolute;left:50%;bottom:40px;width:30px;height:12px;border:4px solid #f4c071;border-radius:50%;opacity:0;animation:impactRing3d 1s .73s ease-out}.coconut-shard{position:absolute;left:50%;bottom:54px;width:8px;height:13px;background:#c99a68;clip-path:polygon(50% 0,100% 100%,0 82%);opacity:0;animation:shardFly 1.2s .78s ease-out}@keyframes coconutFall3d{0%{transform:translate(-50%,-420px) rotate(-70deg) scale(.6)}72%{transform:translate(-50%,0) rotate(16deg) scale(1)}100%{transform:translate(-50%,8px) scale(.82,.65);opacity:0}}@keyframes coconutLeft3d{0%{opacity:1;transform:translate(-50%,0)}100%{opacity:0;transform:translate(-145px,-10px) rotate(-115deg) rotateY(55deg)}}@keyframes coconutRight3d{0%{opacity:1;transform:translate(-50%,0)}100%{opacity:0;transform:translate(65px,-10px) rotate(115deg) rotateY(-55deg)}}@keyframes impactRing3d{20%{opacity:1}100%{opacity:0;transform:translateX(-50%) scale(8,4)}}@keyframes shardFly{10%{opacity:1}100%{opacity:0;transform:translate(calc((var(--shard) - 5)*22px),-90px) rotate(460deg)}}
.aarti-fx{right:22%;top:38%;width:240px;height:190px;border:0;border-radius:0;background:none;box-shadow:none;animation:aartiPath3d 5.8s ease-in-out forwards}.aarti-thali-3d{position:absolute;left:50%;top:50%;width:145px;height:100px;transform-style:preserve-3d;transform:translate(-50%,-50%) rotateX(62deg);border-radius:50%;background:radial-gradient(ellipse at 50% 40%,#ffe597 0 12%,#d99c32 31%,#79410e 67%,#2a1607 72%);border:7px ridge #f6ca68;box-shadow:inset 0 0 16px #fff2a875,0 32px 24px #000b,0 0 45px #ff941f88}.thali-rim{position:absolute!important;inset:7px!important;border:2px solid #ffeda680!important;border-radius:50%!important;font-size:0!important}.aarti-thali-3d>b{position:absolute;inset:35px 0 auto;text-align:center;color:#6a350d;font:26px Georgia,serif}.aarti-thali-3d>em{position:absolute;right:20px;top:38px;font-style:normal;font-size:22px}.aarti-flame{position:absolute!important;top:2px!important;width:17px!important;height:38px!important;border-radius:80% 20% 65% 35%!important;background:radial-gradient(ellipse at 50% 70%,#fff 0 12%,#ffdf58 32%,#ff6d16 62%,transparent 70%)!important;filter:drop-shadow(0 0 13px #ff8b1f)!important;transform:rotateX(-62deg)!important;animation:flameDanceAarti .35s infinite alternate!important}.aarti-flame.f1{left:39px!important}.aarti-flame.f2{left:64px!important;top:-7px!important}.aarti-flame.f3{left:90px!important}@keyframes aartiPath3d{0%{transform:translate3d(-110px,45px,0) scale(.7);opacity:0}8%{opacity:1}20%{transform:translate3d(0,-45px,70px) scale(1)}42%{transform:translate3d(115px,5px,130px) scale(1.12)}63%{transform:translate3d(20px,70px,80px) scale(.94)}82%{transform:translate3d(-105px,0,30px) scale(.82)}100%{transform:translate3d(-30px,-35px,0) scale(.7);opacity:0}}@keyframes flameDanceAarti{to{height:34px;transform:rotateX(-62deg) rotate(7deg)}}
.jal-fx{right:24%;top:4%;width:190px;height:520px;text-align:left}.kalash-3d{position:absolute;left:35px;top:0;width:96px;height:98px;border-radius:38% 38% 48% 48%;background:radial-gradient(circle at 30% 25%,#fff1a1,#d59b34 25%,#71400e 66%,#2e1705 82%);border:3px solid #ebb857;box-shadow:inset -14px -12px 16px #351b06aa,inset 9px 7px 10px #fff2a74d,0 20px 25px #000b;transform-origin:80% 80%;animation:kalashPour3d 3.8s ease-in-out forwards}.kalash-3d:before{content:"";position:absolute;left:18px;right:18px;top:-11px;height:20px;border-radius:50%;background:radial-gradient(ellipse,#182730 0 44%,#e4ae4d 48% 68%,#6c3a0c 70%)}.kalash-3d i{position:absolute;left:12px;right:12px;top:38px;height:4px;border-block:2px solid #ffe39170}.kalash-3d b{position:absolute;left:50%;bottom:21px;width:18px;height:18px;transform:translateX(-50%);border:2px solid #ffe5937a;border-radius:50%}.jal-fx .water-stream{position:absolute;display:block;left:119px;top:73px;width:13px;height:0;margin:0;border-radius:50%;background:linear-gradient(90deg,#8ed8ff55,#e9fbff,#64bceec4);box-shadow:0 0 12px #81d7ff;transform:rotate(-12deg);transform-origin:top;animation:waterPour3d 3.8s .45s ease-in-out forwards}.water-splash{position:absolute;left:100px;bottom:8px;width:50px;height:25px;border-radius:50%;border:3px solid #c1edff;opacity:0;animation:splashBase 3.5s .8s}.water-splash i{position:absolute;left:50%;bottom:5px;width:7px;height:13px;border-radius:60% 40% 65% 35%;background:#b9ebff;transform:rotate(calc(var(--drop)*45deg)) translateY(-25px);animation:dropSplash .8s calc(.8s + var(--drop)*.06s) 3}@keyframes kalashPour3d{0%,12%{transform:none}32%,70%{transform:rotate(64deg) translate(18px,5px)}100%{transform:none;opacity:0}}@keyframes waterPour3d{0%{height:0;opacity:0}20%{height:360px;opacity:1}75%{height:360px;opacity:1}100%{height:0;opacity:0}}@keyframes splashBase{15%,80%{opacity:1;transform:scale(1.6,1)}100%{opacity:0;transform:scale(3,1)}}@keyframes dropSplash{50%{opacity:1}100%{opacity:0;transform:rotate(calc(var(--drop)*45deg)) translateY(-58px)}}
.prasad-fx{position:absolute;left:50%;bottom:0;display:flex;flex-direction:column;align-items:center;color:#ffe2a3;font:13px Georgia,serif;animation:prasadPresent 6.3s ease-in-out forwards}.prasad-plate{position:relative;width:190px;height:82px;transform:rotateX(58deg);border-radius:50%;background:radial-gradient(ellipse,#f7d87f,#a36319 57%,#3a1e08 70%);border:6px ridge #edbc57;box-shadow:inset 0 0 14px #fff5ba75,0 24px 22px #000c}.prasad-plate i{position:absolute;width:35px;height:35px;border-radius:50%;background:radial-gradient(circle at 32% 26%,#fff1a2,#d98924 38%,#8c4710 72%);box-shadow:inset -5px -7px 8px #63300c8a,0 4px 6px #0006}.prasad-plate i:nth-child(1){left:28px;top:20px}.prasad-plate i:nth-child(2){left:56px;top:8px}.prasad-plate i:nth-child(3){left:83px;top:20px}.prasad-plate i:nth-child(4){left:111px;top:7px}.prasad-plate i:nth-child(5){left:135px;top:23px}.prasad-plate i:nth-child(6){left:67px;top:38px}.prasad-plate i:nth-child(7){left:105px;top:39px}.prasad-plate b{position:absolute;left:75px;top:-3px;color:#3b7b31;font-size:11px}.prasad-fx>span{margin-top:25px;text-shadow:0 2px 10px #000}@keyframes prasadPresent{0%{transform:translate3d(-50%,180px,-150px) scale(.5);opacity:0}15%,80%{transform:translate3d(-50%,0,80px) scale(1);opacity:1}100%{transform:translate3d(-50%,90px,0) scale(.7);opacity:0}}
.ritual-dock{z-index:14;box-shadow:0 22px 60px #000c,inset 0 1px #fff1}.ritual-dock button{position:relative;transition:.25s}.ritual-dock button.active{border-color:#f3ba57;background:#6d401e85;box-shadow:inset 0 0 16px #ffad2730,0 0 18px #ffad2720}.ritual-dock button small{position:absolute;right:4px;top:4px;color:#f4c568;font-size:6px;letter-spacing:.08em;opacity:.7}.sound-toggle{z-index:15}
@media(max-width:900px){.altar-3d{right:9%;transform:scale(.82);transform-origin:bottom right}.incense-fx{right:18%}.jal-fx{right:12%}.aarti-fx{right:12%}.stone-pillar{opacity:.5}.chant-ribbon{top:145px}.ritual-fx{inset-inline:2%}}
@media(max-width:720px){.stone-beam{top:58px;height:55px}.stone-beam:before{font-size:13px}.stone-pillar{min-width:48px;width:12vw;top:92px;opacity:.42}.temple-bells{top:65px}.temple-bell,.temple-bell:nth-child(2n){width:38px;height:70px}.bell-metal{width:34px;height:35px;top:20px}.bell-clapper{top:50px}.chant-ribbon{top:118px;min-width:260px;font-size:11px}.altar-3d{right:-36px;bottom:115px;transform:scale(.58)}.ritual-fx{inset:102px 0 108px}.incense-fx{right:4%;bottom:3px;transform:scale(.65);transform-origin:bottom right}.incense-fx.active{transform:scale(.65)}.diya-fx{gap:4px;bottom:0;transform:translateX(-50%) scale(.65)}.aarti-fx{right:3%;top:34%;transform-origin:center}.jal-fx{right:-8%;top:2%;transform:scale(.74);transform-origin:top}.coconut-ritual{transform:translateX(-50%) scale(.8);transform-origin:bottom}.ritual-dock button small{display:none}}
.incense-fx{bottom:92px}.diya-fx{bottom:104px}.coconut-ritual{bottom:84px}.prasad-fx{bottom:180px}.jal-fx{top:35%}
.aarti-fx{z-index:20;filter:drop-shadow(0 0 28px #ff961f)}.aarti-thali-3d{width:172px;height:118px;transform:translate(-50%,-50%) rotateX(44deg);border-width:8px}.aarti-thali-3d:after{content:"";position:absolute;left:50%;bottom:-45px;width:24px;height:70px;transform:translateX(-50%) rotateX(-44deg);border-radius:12px;background:linear-gradient(90deg,#4b2808,#d99b34,#5b3009);box-shadow:0 12px 14px #0008}.aarti-flame{width:22px!important;height:48px!important;transform:rotateX(-44deg)!important}.aarti-flame.f1{left:46px!important}.aarti-flame.f2{left:74px!important}.aarti-flame.f3{left:103px!important}@keyframes flameDanceAarti{to{height:44px;transform:rotateX(-44deg) rotate(7deg)}}
@keyframes prasadPresent{0%{transform:translate3d(-50%,140px,-120px) scale(.55);opacity:0}9%,82%{transform:translate3d(-50%,0,90px) scale(1);opacity:1}100%{transform:translate3d(-50%,70px,0) scale(.75);opacity:0}}
@media(max-width:720px){.incense-fx{bottom:74px}.diya-fx{bottom:78px}.coconut-ritual{bottom:65px}.prasad-fx{bottom:128px}.jal-fx{top:28%}}

/* V3 tactile temple: supplied 3D bell, movable rituals and realistic jal dhara. */
.drag-ritual{--drag-x:0px;--drag-y:0px;translate:var(--drag-x) var(--drag-y);pointer-events:auto!important;touch-action:none;user-select:none;-webkit-user-drag:none;cursor:grab}.drag-ritual.dragging{cursor:grabbing;z-index:35!important;outline:1px solid #ffe09288;outline-offset:7px}
.temple-bell{width:clamp(46px,5.1vw,78px);height:clamp(76px,8vw,122px);padding:0;opacity:.94;background:none;border:0}.temple-bell:nth-child(2n){width:clamp(38px,4.2vw,63px);height:clamp(67px,7vw,105px)}.temple-bell img{width:100%;height:100%;object-fit:contain;pointer-events:none;filter:drop-shadow(0 9px 7px #000c) drop-shadow(0 0 8px #f5b84a38);transform-origin:50% 4%}.temple-bell:hover img{filter:drop-shadow(0 12px 10px #000e) drop-shadow(0 0 15px #ffca5a88)}.temple-bell.ringing{animation:none}.temple-bell.ringing img{animation:bellImageSwing 1.25s cubic-bezier(.25,.8,.35,1)}@keyframes bellImageSwing{0%,100%{transform:rotate(0) rotateY(0)}15%{transform:rotate(23deg) rotateY(14deg)}32%{transform:rotate(-20deg) rotateY(-12deg)}52%{transform:rotate(14deg) rotateY(8deg)}72%{transform:rotate(-8deg)}88%{transform:rotate(3deg)}}
.drag-hint{position:absolute;z-index:15;right:3vw;bottom:105px;max-width:320px;padding:9px 13px;border:1px solid #f4b74855;border-radius:999px;color:#ffe2a6;background:#0b0b0dcc;backdrop-filter:blur(12px);font-size:9px;letter-spacing:.03em;box-shadow:0 10px 35px #0009}.altar-3d.drag-ritual{pointer-events:auto}
.jal-fx{right:23%;top:15%;width:215px;height:525px}.jal-fx .kalash-3d{animation:kalashPourReal 5.25s ease-in-out forwards;z-index:3}.pouring-water{position:absolute;z-index:2;left:112px;top:70px;width:48px;height:405px;transform:rotate(-10deg);transform-origin:top;overflow:visible;filter:drop-shadow(0 0 7px #7ed8ffbb)}.water-ribbon{position:absolute;top:0;height:0;border-radius:50% 50% 45% 55%;transform-origin:top;opacity:0;animation:waterFlowReal 5s .35s ease-in-out forwards}.water-ribbon.main{left:7px;width:19px;background:linear-gradient(90deg,#57b8e980,#e9fcff 35%,#75d2f6 68%,#278ec3aa);box-shadow:inset 4px 0 5px #fff9,inset -4px 0 6px #2b8fc399,0 0 10px #8cddff}.water-ribbon.shine{left:12px;width:5px;background:linear-gradient(#fff,#d9f7ffcc);filter:blur(.4px);animation-delay:.42s}.water-ribbon.side{left:25px;width:7px;background:linear-gradient(#bceeff99,#58bce644);filter:blur(1px);animation-delay:.5s}.falling-drop{--drop:0;position:absolute;left:calc(5px + var(--drop)*2px);top:55px;width:5px;height:17px;border-radius:70% 30% 65% 35%;background:linear-gradient(#fff,#70cdf4);opacity:0;animation:fallingWaterDrop 1.1s calc(.45s + var(--drop)*.16s) linear 4}.water-pool{position:absolute;z-index:1;left:69px;top:452px;width:116px;height:30px;border-radius:50%;background:radial-gradient(ellipse,#e8fbffad 0 5%,#65c5ef75 25%,#177daf22 58%,transparent 72%);box-shadow:0 0 20px #75d5fb85;opacity:0;animation:waterPoolShow 5s .58s ease forwards}.water-pool>i{position:absolute;inset:4px 12px;border:2px solid #bcf0ffbf;border-radius:50%;animation:waterRipple 1.25s .8s ease-out 4}.water-pool>i:nth-child(2){animation-delay:1.14s}.water-pool>i:nth-child(3){animation-delay:1.48s}.water-pool>b{--drop:0;position:absolute;left:calc(18px + var(--drop)*7px);top:7px;width:7px;height:13px;border-radius:60% 40% 65% 35%;background:#c9f4ff;opacity:0;animation:waterSplashDrop .85s calc(.75s + var(--drop)*.1s) ease-out 4}@keyframes kalashPourReal{0%,10%{transform:none}24%,82%{transform:rotate(66deg) translate(18px,4px)}93%,100%{transform:none;opacity:0}}@keyframes waterFlowReal{0%,8%{height:0;opacity:0;transform:scaleX(.5)}18%{height:378px;opacity:.95;transform:scaleX(1)}30%{height:390px;transform:scaleX(.82)}44%{height:382px;transform:scaleX(1.15)}58%{height:394px;transform:scaleX(.9)}82%{height:388px;opacity:1;transform:scaleX(1)}100%{height:0;opacity:0;transform:scaleX(.35)}}@keyframes fallingWaterDrop{0%{opacity:0;transform:translate3d(0,0,0) scale(.5)}12%{opacity:.9}88%{opacity:.7}100%{opacity:0;transform:translate3d(calc((var(--drop) - 6)*1.1px),330px,0) scale(1.15)}}@keyframes waterPoolShow{0%,7%{opacity:0;transform:scale(.3)}18%,85%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1.45)}}@keyframes waterRipple{from{opacity:.9;transform:scale(.18)}to{opacity:0;transform:scale(1.65)}}@keyframes waterSplashDrop{0%{opacity:0;transform:translate(0,0) scale(.5)}22%{opacity:1}100%{opacity:0;transform:translate(calc((var(--drop) - 5)*5px),-48px) rotate(30deg)}}
@media(max-width:720px){.temple-bell{width:44px;height:72px}.temple-bell:nth-child(2n){display:none}.drag-hint{right:10px;left:10px;bottom:88px;max-width:none;text-align:center;font-size:8px}.jal-fx{right:-3%;top:25%;transform:scale(.7);transform-origin:top right}}
.jal-fx .water-ribbon{display:block;margin:0;font-size:0;animation-name:waterFlowReal}.jal-fx .falling-drop{display:block;margin:0;width:5px;height:17px;animation-name:fallingWaterDrop}.jal-fx .water-pool>i{display:block;margin:0;width:auto;height:auto;background:none;animation-name:waterRipple}
.jal-fx .water-ribbon{height:388px;opacity:1;animation:waterFlowVisible 5.2s linear forwards}.jal-fx .water-ribbon.shine{animation-delay:.06s}.jal-fx .water-ribbon.side{animation-delay:.12s}@keyframes waterFlowVisible{0%{height:365px;opacity:.85;transform:scaleX(.72)}12%{height:390px;opacity:1;transform:scaleX(1.05)}30%{height:378px;transform:scaleX(.82)}48%{height:394px;transform:scaleX(1.16)}66%{height:382px;transform:scaleX(.9)}88%{height:390px;opacity:1;transform:scaleX(1)}100%{height:0;opacity:0;transform:scaleX(.35)}}
