/* Festival looks — an overlay on top of any of the 12 themes.
   Colours come from --fx1 / --fx2 (set per festival on <body>). */
.fx-top{position:absolute;left:0;right:0;top:0;height:34px;z-index:45;pointer-events:none}
.fx-top i{position:absolute;inset:0}

/* Greeting strip */
.fx-strip{position:relative;z-index:3;max-width:var(--max,1180px);margin:14px auto 0;border-radius:16px;width:calc(100% - 28px);display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;padding:11px 46px 11px 16px;
  text-align:center;font-weight:700;font-size:14.5px;line-height:1.35;color:#fff;background:linear-gradient(90deg,var(--fx1),var(--fx2));box-shadow:0 6px 18px -8px rgba(0,0,0,.35)}
.fx-ico{font-size:20px;line-height:1;filter:drop-shadow(0 2px 4px rgba(0,0,0,.25))}
.fx-txt{text-shadow:0 1px 2px rgba(0,0,0,.25)}
.fx-cta{padding:5px 12px;border-radius:999px;background:rgba(255,255,255,.22);border:1px solid rgba(255,255,255,.45);color:#fff;font-size:12.5px;white-space:nowrap}
.fx-cta:hover{background:rgba(255,255,255,.35)}
.fx-x{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:30px;height:30px;border-radius:50%;border:0;background:rgba(0,0,0,.18);color:#fff;font-size:18px;line-height:1;cursor:pointer}

/* ── Top decorations ───────────────────────────────── */
/* tricolor: saffron-white-green ribbon with an Ashoka chakra dot */
.fx-top.fx-tricolor{height:12px}
.fx-top.fx-tricolor i{background:linear-gradient(#FF9933 0 33.3%,#fff 33.3% 66.6%,#138808 66.6%)}
.fx-top.fx-tricolor i::after{content:"";position:absolute;left:50%;top:50%;width:10px;height:10px;margin:-5px;border-radius:50%;border:2px solid #000080;background:repeating-conic-gradient(#000080 0 6deg,transparent 6deg 15deg)}
.fx-strip.fx-tricolor{background:linear-gradient(90deg,#FF9933,#FFFFFF 50%,#138808);color:#0B2545}
.fx-strip.fx-tricolor .fx-txt{text-shadow:none}
.fx-strip.fx-tricolor .fx-cta{background:#000080;border-color:#000080}
.fx-strip.fx-tricolor .fx-x{background:rgba(0,0,0,.12);color:#0B2545}

/* lights: a string of glowing bulbs that twinkle */
.fx-top.fx-lights i{background:
  radial-gradient(circle at 50% 70%,#FFE08A 0 4px,rgba(255,200,60,.55) 5px,transparent 9px) 0 6px/28px 26px repeat-x,
  radial-gradient(circle at 50% 70%,var(--fx2) 0 4px,transparent 9px) 14px 2px/28px 26px repeat-x,
  linear-gradient(#5B3A00,#5B3A00) 0 8px/100% 1.5px no-repeat;animation:fxTwinkle 1.6s steps(2) infinite}
@keyframes fxTwinkle{50%{filter:brightness(1.5) saturate(1.3)}}

/* colors: gulal splashes */
.fx-top.fx-colors{height:46px}
.fx-top.fx-colors i{background:
  radial-gradient(28px 20px at 6% 10%,#E11D48cc,transparent 70%),radial-gradient(34px 24px at 18% 0,#F59E0Bcc,transparent 70%),
  radial-gradient(30px 22px at 31% 15%,#16A34Acc,transparent 70%),radial-gradient(36px 26px at 46% 0,#2563EBcc,transparent 70%),
  radial-gradient(28px 20px at 60% 12%,#9333EAcc,transparent 70%),radial-gradient(34px 24px at 74% 0,#EC4899cc,transparent 70%),
  radial-gradient(30px 22px at 88% 14%,#F59E0Bcc,transparent 70%),radial-gradient(28px 20px at 98% 0,#16A34Acc,transparent 70%)}

/* kites: blue sky line with small kites */
.fx-top.fx-kites i{background:linear-gradient(#7DD3FC66,transparent)}
.fx-top.fx-kites i::before,.fx-top.fx-kites i::after{content:"";position:absolute;top:6px;width:16px;height:16px;transform:rotate(45deg);background:linear-gradient(135deg,var(--fx1) 50%,var(--fx2) 50%)}
.fx-top.fx-kites i::before{left:12%}.fx-top.fx-kites i::after{right:14%;background:linear-gradient(135deg,#FACC15 50%,#DC2626 50%)}

/* flowers: marigold toran with mango leaves */
.fx-top.fx-flowers i{background:
  radial-gradient(circle,#FFD23F 5px,#E58A00 6px,transparent 7px) 9px 15px/22px 22px repeat-x,
  radial-gradient(circle,#FF9F1C 6px,#D96C00 7px,transparent 8px) 0 4px/22px 22px repeat-x,
  conic-gradient(from 135deg at 50% 0,#15803D 0 90deg,transparent 0) 0 3px/44px 18px repeat-x}

/* moon: night band with a crescent and stars */
.fx-top.fx-moon{height:40px}
.fx-top.fx-moon i{background:radial-gradient(1.5px 1.5px at 10% 40%,#fff,transparent),radial-gradient(1.5px 1.5px at 30% 70%,#fff,transparent),
  radial-gradient(2px 2px at 55% 30%,#FDE68A,transparent),radial-gradient(1.5px 1.5px at 75% 60%,#fff,transparent),radial-gradient(2px 2px at 92% 35%,#FDE68A,transparent),
  linear-gradient(#0B3D2E,transparent)}
.fx-top.fx-moon i::after{content:"";position:absolute;right:6%;top:6px;width:22px;height:22px;border-radius:50%;box-shadow:-6px 3px 0 0 #FDE68A}

/* snow: soft snow drift */
.fx-top.fx-snow i{background:radial-gradient(18px 12px at 50% 0,#fff 60%,transparent 62%) 0 0/36px 14px repeat-x;filter:drop-shadow(0 2px 2px rgba(0,0,0,.12))}

/* confetti strip */
.fx-top.fx-confetti{height:14px}
.fx-top.fx-confetti i{background:repeating-linear-gradient(90deg,#F59E0B 0 14px,#EF4444 14px 28px,#3B82F6 28px 42px,#10B981 42px 56px,#A855F7 56px 70px)}

/* calm: a thin respectful line */
.fx-top.fx-calm{height:4px}
.fx-top.fx-calm i{background:linear-gradient(90deg,var(--fx1),var(--fx2))}

/* ── Falling decorations (stop after a few rounds) ─── */
.fx-fall{position:fixed;inset:0;z-index:44;pointer-events:none;overflow:hidden}
.fx-fall i{position:absolute;top:-30px;left:var(--x);width:9px;height:14px;border-radius:2px;background:var(--c);opacity:.85;font-style:normal;
  transform:rotate(var(--r)) scale(var(--z));animation:fxFall var(--d) linear var(--s) 3 forwards}
@keyframes fxFall{0%{transform:translate(0,-30px) rotate(var(--r)) scale(var(--z))}100%{transform:translate(40px,110vh) rotate(calc(var(--r) + 540deg)) scale(var(--z));opacity:.7}}
.fx-fall.fx-flowers i{width:12px;height:8px;border-radius:50% 0}
.fx-fall.fx-colors i{width:10px;height:10px;border-radius:50%;opacity:.7}
.fx-fall.fx-tricolor i{width:8px;height:12px}
.fx-fall.fx-kites i{width:18px;height:18px;border-radius:2px;transform:rotate(45deg);background:linear-gradient(135deg,var(--c) 50%,#fff 50%);animation-name:fxKite}
@keyframes fxKite{0%{transform:translate(0,110vh) rotate(45deg)}100%{transform:translate(60px,-60px) rotate(45deg)}}
.fx-fall.fx-lights i,.fx-fall.fx-moon i,.fx-fall.fx-snow i{width:auto;height:auto;background:none;color:var(--c);font-size:16px;text-shadow:0 0 8px var(--c)}
.fx-fall.fx-lights i{color:#FFD54A}
.fx-fall.fx-snow i{color:#fff;text-shadow:0 0 3px rgba(0,0,0,.35)}
.fx-fall.fx-moon i{top:auto;bottom:auto;color:#FDE68A;animation:fxStar 3s ease-in-out var(--s) infinite;top:calc(var(--x) * .6 + 8%)}
@keyframes fxStar{50%{opacity:.15}}
@media(prefers-reduced-motion:reduce){.fx-fall{display:none}.fx-top.fx-lights i{animation:none}}
@media print{.fx-top,.fx-strip,.fx-fall{display:none}}
.fx-anchor{position:relative;height:0;z-index:45}
