/* Aaj ka Parv — homepage plaque + panchang banner + animated cinematic art (v2.26.0) */

/* ---------- Homepage plaque ---------- */
.cine-plaque.cpq { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0; padding: 0; overflow: hidden; align-items: stretch; }
.cine-plaque.cpq span, .cine-plaque.cpq a { font-size: inherit; margin: 0; }
.cpq-main { padding: 22px 28px; border-right: 2px solid rgba(122, 74, 16, .3); min-width: 0; }
.cpq-top { margin: 0; display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; font-size: 13.5px; font-weight: 600; color: #6b3a10; }
.cine-plaque.cpq .cpq-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: #8A1A12; color: #FFE9A8; font-size: 11.5px; letter-spacing: .08em; font-weight: 700; }
.cpq-name { margin: 8px 0 2px; font: 400 34px/1.12 "Yeseva One", Georgia, serif; color: #3A0B07; overflow-wrap: anywhere; }
.cine-plaque.cpq .cpq-name a { padding: 0; background: none; color: #3A0B07 !important; font-weight: 400; border-radius: 0; text-decoration: none; }
.cpq-name small { font: 600 20px "Noto Sans Devanagari", system-ui, sans-serif; color: #7a3a12; margin-left: 8px; white-space: nowrap; }
.cpq-tithi { margin: 4px 0 0; font-size: 15px; font-weight: 600; color: #4a1a08; }
.cine-plaque.cpq .cpq-tithi span { display: block; margin-top: 2px; font-weight: 500; font-size: 13.5px; color: #6b4a22; }
.cine-plaque.cpq .cpq-puja { margin-top: 14px; display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; background: #3A0B07; color: #FFE9A8 !important; text-decoration: none; box-shadow: inset 0 1px 0 rgba(255, 233, 168, .25); font-weight: 400; }
.cpq-puja i { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #FFE9A8, #E8B54A 70%); color: #3A0B07; font-style: normal; font-size: 20px; }
.cine-plaque.cpq .cpq-puja span { font-weight: 400; min-width: 0; }
.cpq-puja b { display: block; font-size: 11.5px; letter-spacing: .08em; color: #F6D27A; font-weight: 700; }
.cpq-puja strong { display: block; font: 400 24px/1.25 "Yeseva One", Georgia, serif; color: #fff; }
.cpq-puja small { display: block; font-size: 12.5px; color: #F1D9BD; }
.cpq-links { margin: 12px 0 0; display: flex; gap: 6px 16px; flex-wrap: wrap; font-size: 14px; }
.cine-plaque.cpq .cpq-links a, .cine-plaque.cpq .cpq-next a { padding: 0; background: none; border-radius: 0; color: #8A1A12 !important; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cpq-side { padding: 22px 26px; display: flex; flex-direction: column; gap: 10px; background: rgba(255, 248, 230, .35); min-width: 0; }
.cpq-h { margin: 0; font-size: 12px; letter-spacing: .1em; font-weight: 700; color: #6b3a10; }
.cpq-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.cpq-list li { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 600; padding: 7px 12px; border-radius: 10px; background: rgba(255, 255, 255, .45); }
.cine-plaque.cpq .cpq-list li span { font-size: inherit; }
.cpq-list li b { white-space: nowrap; }
.cpq-list li.is-no { background: rgba(138, 26, 18, .08); color: #8A1A12; }
.cpq-next { margin: 2px 0 0; font-size: 13.5px; font-weight: 600; color: #6b3a10; }
.cine-plaque.cpq .cpq-btn { margin-top: 6px; align-self: flex-start; padding: 11px 18px; border-radius: 12px; background: #3A0B07; color: #F6D27A !important; font-weight: 600; text-decoration: none; }
@media (max-width: 900px) {
	.cine-plaque.cpq { grid-template-columns: minmax(0, 1fr); padding: 0; }
	.cpq-main { border-right: 0; border-bottom: 2px solid rgba(122, 74, 16, .3); padding: 18px 16px; }
	.cpq-name { font-size: 28px; }
	.cpq-name small { display: block; margin: 2px 0 0; font-size: 17px; }
	.cpq-puja strong { font-size: 20px; }
	.cpq-side { padding: 16px; }
	.cpq-list li { font-size: 14px; }
	.cine-plaque.cpq .cpq-btn { margin-top: 4px; }
}

/* ---------- Chandrodaya card ---------- */
.bdmr { margin-top: 12px; border-radius: 14px; background: linear-gradient(135deg, #142047, #0b1230); color: #e9efff; box-shadow: inset 0 1px 0 rgba(200, 215, 255, .2); overflow: hidden; }
.bdmr-main { display: flex; align-items: center; gap: 14px; padding: 12px 16px; }
.bdmr-main > i { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font-style: normal; font-size: 21px; background: radial-gradient(circle at 40% 35%, #fffdf2, #e6dcb8 75%); box-shadow: 0 0 18px rgba(255, 246, 210, .55); }
.bdmr-main b { display: block; font-size: 13px; letter-spacing: .02em; color: #c9d6ff; font-weight: 700; }
.bdmr-main strong { display: block; font: 400 24px/1.25 "Yeseva One", Georgia, serif; color: #fff; }
.bdmr-main small { display: block; font-size: 12.5px; color: #c9d6ff; }
.cine-plaque.cpq .bdmr span { font-size: inherit; font-weight: inherit; }
.bdmr-more { border-top: 1px solid rgba(200, 215, 255, .18); }
.bdmr-more summary { cursor: pointer; padding: 9px 16px; font-size: 13px; font-weight: 700; color: #ffe9a8; list-style-position: inside; }
.bdmr-form { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 16px 10px; }
.bdmr-form input { flex: 1 1 130px; min-width: 0; min-height: 40px; padding: 8px 12px; border-radius: 10px; border: 1px solid rgba(200, 215, 255, .35); background: rgba(255, 255, 255, .95); color: #1a1a2e; font-size: 14px; }
.bdmr-form select { flex: 0 1 140px; min-width: 0; min-height: 40px; padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(200, 215, 255, .35); background: rgba(255, 255, 255, .95); color: #1a1a2e; font-size: 14px; }
.bdmr-form button { min-height: 40px; padding: 8px 14px; border-radius: 10px; border: 0; font-weight: 700; font-size: 13.5px; cursor: pointer; background: #ffe9a8; color: #3A0B07; }
.bdmr-form .bdmr-geo { background: transparent; border: 1.5px solid #c9d6ff; color: #e9efff; }
.bdmr-form button:focus-visible, .bdmr-form input:focus-visible, .bdmr-more summary:focus-visible { outline: 3px solid #ffe9a8; outline-offset: 2px; }
.bdmr-msg { margin: 0; padding: 0 16px 10px; font-size: 12.5px; color: #c9d6ff; min-height: 0; }
.bdmr-msg:empty { display: none; }
.bdpb .bdmr { margin-top: 12px; }
@media (max-width: 860px) { .bdmr-main strong { font-size: 21px; } }
@media (max-width: 520px) { .bdmr-form select { flex: 1 1 100%; } .bdmr-form .bdmr-geo { flex: 1 1 100%; } }

/* ---------- Panchang banner ---------- */
.bdpb { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 22px; align-items: center; margin: 6px 0 18px; padding: 22px; border-radius: 24px; color: #fff;
	background: radial-gradient(120% 140% at 85% 20%, #4a1530 0%, #22070f 55%, #12030a 100%); box-shadow: 0 18px 40px rgba(60, 10, 5, .25); overflow: hidden; }
.bdpb-txt { padding: 8px 6px 8px 12px; min-width: 0; }
.bdpb-badge { display: inline-block; margin: 0; padding: 5px 12px; border-radius: 999px; background: #8A1A12; color: #FFE9A8; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.bdpb-name { margin: 12px 0 6px; font: 400 clamp(32px, 4vw, 46px)/1.08 "Yeseva One", Georgia, serif; color: #FFE9A8; overflow-wrap: anywhere; }
.bdpb-name small { display: inline-block; font: 600 .5em "Noto Sans Devanagari", system-ui, sans-serif; color: #F6D27A; margin-left: 8px; }
.bdpb-tithi { margin: 0; font-size: 17px; font-weight: 600; color: #F8E7CF; }
.bdpb-tithi span { font-weight: 400; color: #E8C9A0; }
.bdpb-puja { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 18px; padding: 14px 18px; border-radius: 16px; background: linear-gradient(180deg, #FFF0C8, #F2CF80 60%, #D9A440); color: #3A0B07; box-shadow: inset 0 2px 0 #fff, 0 6px 0 #7A4A10; }
.bdpb-puja b { display: block; font-size: 11.5px; letter-spacing: .1em; color: #6b3a10; }
.bdpb-puja strong { display: block; font: 400 26px/1.2 "Yeseva One", Georgia, serif; white-space: nowrap; }
.bdpb-puja small { font-size: 12.5px; font-weight: 600; color: #6b3a10; }
.bdpb-sep { width: 2px; align-self: stretch; background: rgba(122, 74, 16, .35); }
.bdpb-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.bdpb-btns a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 12px; background: #F6D27A; color: #3A0B07 !important; font-weight: 700; text-decoration: none; }
.bdpb-btns a.is-o { background: transparent; border: 1.5px solid #F6D27A; color: #FFE9A8 !important; }
.bdpb-btns a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-width: 860px) {
	.bdpb { grid-template-columns: minmax(0, 1fr); padding: 14px; gap: 6px; }
	.bdpb .bdpa { order: -1; }
	.bdpb-txt { padding: 8px 4px 6px; }
	.bdpb-name small { display: block; margin: 4px 0 0; }
	.bdpb-puja { flex-direction: column; }
	.bdpb-sep { width: auto; height: 2px; }
	.bdpb-puja strong { font-size: 22px; white-space: normal; }
}

/* ---------- Animated cinematic art panel ---------- */
.bdpa { container-type: inline-size; position: relative; margin: 0; aspect-ratio: 3 / 2; border-radius: 18px; overflow: hidden; background: #12030a; isolation: isolate;
	box-shadow: 0 0 0 1px rgba(232, 181, 74, .35), 0 20px 50px rgba(0, 0, 0, .5); }
.bdpa-media { position: absolute; inset: 0; animation: bdpaKen 28s ease-in-out infinite alternate; transform-origin: 60% 70%; }
.bdpa-svg, .bdpa-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* cinematic finish: vignette + light leak + grain */
.bdpa::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
	background: radial-gradient(120% 90% at 50% 60%, transparent 55%, rgba(0, 0, 0, .55) 100%), linear-gradient(180deg, rgba(10, 2, 6, .82) 0%, rgba(10, 2, 6, .35) 26%, transparent 42%); }
.bdpa::before { content: ""; position: absolute; inset: -20%; z-index: 2; pointer-events: none; mix-blend-mode: screen; opacity: .35;
	background: radial-gradient(40% 30% at 20% 20%, rgba(255, 170, 80, .45), transparent 70%); animation: bdpaLeak 14s ease-in-out infinite alternate; }
.bdpa-grain { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	animation: bdpaGrain .9s steps(4) infinite; }
/* "Happy <naam>" — upar ki khaali patti mein (art us patti mein kuch nahi rakhta) */
.bdpa-wish { position: absolute; z-index: 4; left: 0; right: 0; top: 0; padding: 14px 18px 0; padding: 3cqw 4cqw 0; text-align: center; color: #FFE9A8; text-shadow: 0 2px 14px rgba(0, 0, 0, .7); animation: bdpaRise 1.4s cubic-bezier(.2, .8, .2, 1) both .2s; }
.bdpa-wish small { display: block; font: italic 400 18px/1 "Yeseva One", Georgia, serif; font-size: calc(3.6cqw * var(--wl, 1)); letter-spacing: .04em; color: #F6D27A; }
.bdpa-wish b { display: block; margin-top: .4cqw; font: 400 34px/1.05 "Yeseva One", Georgia, serif; font-size: calc(7.6cqw * var(--wl, 1)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	background: linear-gradient(100deg, #c8922e 0%, #fff6d6 30%, #f6d27a 45%, #fff6d6 60%, #c8922e 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: bdpaShine 6s linear infinite; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .6)); }
.bdpa-wish em { display: block; margin-top: .6cqw; font: 600 14px "Noto Sans Devanagari", system-ui, sans-serif; font-size: 2.8cqw; font-style: normal; color: #F1D9BD; }
@container (max-width: 430px) { .bdpa-wish em { display: none; } .bdpa-wish b { font-size: calc(8.4cqw * var(--wl, 1)); } .bdpa-wish small { font-size: calc(4.2cqw * var(--wl, 1)); } }
/* photo-jaisa rendered backdrop + animation layer */
.bdpa-media .bdpa-ov { position: absolute; inset: 0; }
/* site ki apni artwork (text pehle se likha): poori dikhe, upar kuch na likhein */
.bdpa.has-text { aspect-ratio: 1 / 1; width: 100%; max-width: 520px; justify-self: center; }
.bdpa.has-text .bdpa-media { animation-name: bdpaKenSoft; animation-duration: 24s; }
.bdpa.has-text::after { background: radial-gradient(130% 100% at 50% 50%, transparent 62%, rgba(0, 0, 0, .45) 100%); }
@keyframes bdpaKenSoft { from { transform: scale(1); } to { transform: scale(1.04); } }
/* photo: chingariyan */
.bdpa-sparks i { position: absolute; z-index: 1; bottom: -6px; left: var(--l); width: 4px; height: 4px; border-radius: 50%; background: #ffd27a; box-shadow: 0 0 8px #ffb53a; opacity: 0; animation: bdpaSpark 6s linear infinite var(--d); }

/* SVG animations */
.bdpa-tw { animation: bdpaTw 3.6s ease-in-out infinite var(--d, 0s); }
.bdpa-fl { transform-box: fill-box; transform-origin: 50% 100%; animation: bdpaFl 1.3s ease-in-out infinite alternate var(--d, 0s); }
.bdpa-halo { animation: bdpaHalo 2.2s ease-in-out infinite alternate var(--d, 0s); transform-box: fill-box; transform-origin: center; }
.bdpa-pulse { transform-box: fill-box; transform-origin: center; animation: bdpaPulse 6s ease-in-out infinite; }
.bdpa-moon { animation: bdpaFloat 12s ease-in-out infinite alternate; }
.bdpa-em { opacity: 0; animation: bdpaEm 7s linear infinite var(--d, 0s); }
.bdpa-petal { opacity: 0; animation: bdpaPetal 8s linear infinite var(--d, 0s); }
.bdpa-bulb { animation: bdpaTw 1.8s ease-in-out infinite var(--d, 0s); }
.bdpa-wave rect { animation: bdpaWave 3s ease-in-out infinite alternate var(--d, 0s); transform-box: fill-box; transform-origin: center; }
.bdpa-rise { animation: bdpaSun 10s ease-in-out infinite alternate; }
.bdpa-rays { transform-box: view-box; transform-origin: 300px 300px; animation: bdpaSpin 60s linear infinite; }
.bdpa-birds { animation: bdpaBirds 16s linear infinite; }
.bdpa-sway { transform-box: view-box; transform-origin: 300px 120px; animation: bdpaSway 7s ease-in-out infinite alternate; }

@keyframes bdpaKen { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.12) translate(-2%, -2%); } }
@keyframes bdpaLeak { from { transform: translate(0, 0); opacity: .2; } to { transform: translate(30%, 10%); opacity: .45; } }
@keyframes bdpaGrain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-1%, 3%); } }
@keyframes bdpaRise { from { opacity: 0; transform: translateY(14px) scale(.96); letter-spacing: .02em; } to { opacity: 1; transform: none; } }
@keyframes bdpaShine { from { background-position: 150% 0; } to { background-position: -100% 0; } }
@keyframes bdpaTw { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes bdpaFl { 0% { transform: scale(1, 1) skewX(0deg); } 40% { transform: scale(.94, 1.08) skewX(3deg); } 100% { transform: scale(1.05, .93) skewX(-3deg); } }
@keyframes bdpaHalo { from { opacity: .65; transform: scale(.92); } to { opacity: 1; transform: scale(1.08); } }
@keyframes bdpaPulse { 0%, 100% { opacity: .8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes bdpaFloat { from { transform: translateY(4px); } to { transform: translateY(-6px); } }
@keyframes bdpaEm { 0% { opacity: 0; transform: translate(0, 0); } 15% { opacity: .9; } 100% { opacity: 0; transform: translate(var(--x, 10px), -210px); } }
@keyframes bdpaPetal { 0% { opacity: 0; transform: translate(0, 0) rotate(0); } 10% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x, 20px), 230px) rotate(320deg); } }
@keyframes bdpaWave { from { transform: scaleX(.8); opacity: .4; } to { transform: scaleX(1.1); opacity: .8; } }
@keyframes bdpaSun { from { transform: translateY(10px); } to { transform: translateY(-6px); } }
@keyframes bdpaSpin { to { transform: rotate(360deg); } }
@keyframes bdpaBirds { from { transform: translateX(-120px); } to { transform: translateX(640px); } }
@keyframes bdpaSway { from { transform: rotate(-.6deg); } to { transform: rotate(.6deg); } }
@keyframes bdpaSpark { 0% { opacity: 0; transform: translateY(0); } 10% { opacity: .9; } 100% { opacity: 0; transform: translateY(-320px) translateX(20px); } }

@media (prefers-reduced-motion: reduce) {
	.bdpa *, .bdpa::before, .bdpa-media, .bdpa-wish, .bdpa-wish b { animation: none !important; }
	.bdpa-em, .bdpa-petal, .bdpa-sparks i { display: none; }
}
