/* Divine Dwarka home page touches (see fx.js) */

/* 1. feather trail */
.fx-trail { position: fixed; inset: 0; pointer-events: none; z-index: 70; overflow: hidden; }
.fx-spark { position: absolute; border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 8px 1px rgba(233, 201, 138, .8); animation: fxSpark .9s ease-out forwards; }
@keyframes fxSpark { from { opacity: 1; transform: translate(-50%, -50%) scale(1); } to { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(.2); } }
.fx-feather { position: absolute; width: 22px; height: 44px; margin: -22px 0 0 -11px; animation: fxFeather 2.3s cubic-bezier(.25,.6,.4,1) forwards; filter: drop-shadow(0 2px 3px rgba(0,0,0,.18)); }
.fx-feather svg { width: 100%; height: 100%; }
@keyframes fxFeather {
  0% { opacity: 0; transform: rotate(var(--r)) scale(.4); }
  12% { opacity: 1; transform: rotate(var(--r)) scale(1); }
  100% { opacity: 0; transform: translate(var(--dx), 120px) rotate(calc(var(--r) + 120deg)) scale(.85); }
}

/* 2. yatra boat on the header line */
.fx-yatra { position: absolute; left: 0; right: 0; bottom: -1px; height: 0; pointer-events: none; --p: 0; }
.fx-boat { position: absolute; bottom: -2px; left: calc(18px + var(--p) * (100% - 36px)); width: 30px; height: 21px; margin-left: -15px; opacity: 0; transition: opacity .4s; }
.fx-yatra.moving .fx-boat { opacity: 1; animation: fxBob 1.8s ease-in-out infinite; }
.fx-boat svg { width: 100%; height: 100%; display: block; }
@keyframes fxBob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-2px) rotate(2deg); } }
.fx-from, .fx-to { position: absolute; top: 5px; font: 700 .64rem var(--body); letter-spacing: .04em; color: var(--ink-soft); background: color-mix(in srgb, var(--bg) 92%, transparent); border: 1px solid var(--line); padding: 2px 8px; border-radius: 999px; opacity: 0; transition: opacity .4s; white-space: nowrap; }
.fx-from { left: 10px; } .fx-to { right: 10px; }
.fx-yatra.moving .fx-from, .fx-yatra.moving .fx-to { opacity: .9; }
.fx-arrive { position: absolute; right: 12px; top: 22px; font: 600 .85rem var(--body); color: var(--maroon); background: var(--surface); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; box-shadow: var(--shadow); opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .4s; }
.fx-yatra.arrived .fx-arrive { opacity: 1; transform: none; }
html.app .fx-yatra { display: none; }

/* 3. Gomti waves at the foot of the hero photo */
.fx-waves { position: absolute; left: 0; right: 0; bottom: 0; height: 90px; overflow: hidden; z-index: 2; pointer-events: none; }
.fx-wv { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; display: flex; }
.fx-wv svg { width: 50%; height: 100%; flex-shrink: 0; }
.fx-wv.w1 { height: 80px; animation: fxWave 14s linear infinite; } .fx-wv.w1 path { fill: #1B8C8A; opacity: .18; }
.fx-wv.w2 { height: 64px; animation: fxWave 9s linear infinite reverse; } .fx-wv.w2 path { fill: #2F6FA8; opacity: .15; }
.fx-wv.w3 { height: 46px; animation: fxWave 6s linear infinite; } .fx-wv.w3 path { fill: var(--bg); opacity: .9; }
@keyframes fxWave { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 700px) { .fx-waves { height: 64px; } .fx-wv.w1 { height: 58px; } .fx-wv.w2 { height: 46px; } .fx-wv.w3 { height: 32px; } }
