/*
 * Bangla Calendar — Premium Glassmorphism Core CSS
 * Designed with Apple, Stripe & Vercel aesthetics in mind.
 * High performance, fully responsive, semantic styling.
 */

:root {
    /* Typography — Bangla-first stack (browser picks glyphs per script; Latin uses Inter via fallback) */
    --font-en: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-bn: 'Noto Sans Bengali', 'Hind Siliguri', 'Kalpurush', 'Shruti', 'Nirmala UI', sans-serif;
    --font-ui: var(--font-bn), var(--font-en);

    /* Color Palette - Light Mode */
    --primary: #090d1a;
    --primary-raw: 9, 13, 26;
    --primary-dark: #020617;
    --accent: #2563eb;
    --accent-raw: 37, 99, 235;
    
    /* Warm seasons & Accent Highlights */
    --gold: #d97706;
    --gold-light: rgba(217, 119, 6, 0.08);
    --gold-border: rgba(217, 119, 6, 0.2);
    
    --blue-light: rgba(37, 99, 235, 0.08);
    --blue-border: rgba(37, 99, 235, 0.15);
    
    --green: #10b981;
    --green-light: rgba(16, 185, 129, 0.08);
    --green-border: rgba(16, 185, 129, 0.15);
    
    --pink: #ec4899;
    --pink-light: rgba(236, 72, 153, 0.08);
    
    --bg-main: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.75);
    --bg-glass: rgba(255, 255, 255, 0.8);
    --border-glass: rgba(226, 232, 240, 0.8);
    --border-input: #e2e8f0;
    
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    /* Elevation Shadows */
    --shadow-soft: 0 8px 24px -8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.01), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    --shadow-hover: 0 16px 32px -12px rgba(0, 0, 0, 0.08),  0 1px 3px rgba(0, 0, 0, 0.02), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.06);
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Structure sizing */
    --container-max: 1200px;
    --header-height: 64px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 6px;
}

[data-theme="dark"] {
    /* Color Palette - Dark Mode */
    --primary: #f8fafc;
    --primary-raw: 248, 250, 252;
    --primary-dark: #ffffff;
    --accent: #3b82f6;
    --accent-raw: 59, 130, 246;
    
    --bg-main: #08090f;
    --bg-card: rgba(13, 17, 28, 0.75);
    --bg-glass: rgba(8, 9, 15, 0.8);
    --border-glass: rgba(255, 255, 255, 0.06);
    --border-input: #1e293b;
    
    --text-main: #f3f4f6;
    --text-muted: #94a3b8;
    --text-light: #64748b;
    
    --gold: #fbbf24;
    --gold-light: rgba(251, 191, 36, 0.06);
    --gold-border: rgba(251, 191, 36, 0.15);
    
    --blue-light: rgba(59, 130, 246, 0.06);
    --blue-border: rgba(59, 130, 246, 0.15);
    
    --green: #34d399;
    --green-light: rgba(52, 211, 153, 0.06);
    --green-border: rgba(52, 211, 153, 0.15);
    
    --shadow-soft: 0 8px 24px -10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    --shadow-hover: 0 20px 40px -15px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.12);
}

/* Base resets & layouts */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

/* Avoid layout blowouts from oversized media / long BN-EN strings */
img, video {
    max-width: 100%;
    height: auto;
}

body {
    font-family: var(--font-ui);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    font-feature-settings: "kern" 1;
    font-optical-sizing: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    transition: background-color 0.6s ease;
    overflow-x: hidden;
    padding-bottom: 0px;
}

html[lang="bn-BD"] body {
    line-height: 1.72;
}

html[lang="bn-BD"],
html[lang="bn"] {
    font-size: clamp(15.875px, 0.375vw + 15.25px, 17px);
}

/* Typography pairings & enhancements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.022em;
    color: var(--text-main);
    line-height: 1.28;
}

html[lang="bn-BD"] h1,
html[lang="bn-BD"] h2,
html[lang="bn-BD"] h3,
html[lang="bn-BD"] h4,
html[lang="bn-BD"] h5,
html[lang="bn-BD"] h6 {
    letter-spacing: -0.012em;
    line-height: 1.38;
}

/* Font Localization classes */
.font-bangla {
    font-family: var(--font-bn);
}

html[lang="bn-BD"] .lang-bn {
    word-spacing: 0.035em;
}

html[lang="bn-BD"] .policy-content-block p,
html[lang="bn-BD"] .policy-content-block li,
html[lang="bn-BD"] .seo-content-text,
html[lang="bn-BD"] .today-context-body,
html[lang="bn-BD"] .today-rich-prose {
    font-size: 1.02em;
}

.weight-light {
    font-weight: 300;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-inline: clamp(12px, 4vw, 24px);
    width: 100%;
}

.page-container {
    position: relative;
    z-index: 10;
    padding-top: calc(var(--header-height) + 12px);
}

/* Sticky Header & Nav */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
    padding-inline: env(safe-area-inset-left, 0px) env(safe-area-inset-right, 0px);
}

.sticky-header.scrolled {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    height: 52px;
    border-bottom: 1px solid var(--border-glass);
    box-shadow: var(--shadow-soft);
}

nav.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-width: 0;
    gap: clamp(8px, 2vw, 14px);
}

.sticky-header .logo {
    min-width: 0;
    flex: 1 1 auto;
}

.brand-logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    text-decoration: none;
    transition: var(--transition-fast);
}

.brand-logo-container:hover {
    transform: translateY(-0.5px);
    opacity: 0.95;
}

.brand-logo-image {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-logo-image img {
    display: block;
    width: 200px;
    height: 60px;
    object-fit: contain;
    object-position: left center;
}

.brand-logo-image .brand-logo-dark {
    display: none;
}

html[data-theme="dark"] .brand-logo-image .brand-logo-light {
    display: none;
}

html[data-theme="dark"] .brand-logo-image .brand-logo-dark {
    display: block;
}

/* Same 10∶3 aspect ratio when header compacts on scroll */
.sticky-header.scrolled .brand-logo-image img {
    width: 120px;
    height: 36px;
}

.brand-text-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-title {
    font-size: 1.45rem;
    font-weight: 850;
    line-height: 1.05;
    letter-spacing: -0.015em;
    display: flex;
    align-items: center;
}

.brand-title .txt-bangla {
    color: var(--text-main);
}

.brand-title .txt-date {
    background: linear-gradient(135deg, #ff7b00 0%, #ff9d00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 1px 2px rgba(255, 123, 0, 0.1));
}

.brand-subtitle {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-top: 2px;
}

.brand-subtitle .line-deco {
    flex-grow: 1;
    height: 1px;
    background: var(--border-color);
    min-width: 4px;
    opacity: 0.35;
}

.brand-subtitle .sub-bn {
    font-family: var(--font-bn);
    white-space: nowrap;
}

/* --- Static legal / about subpages --- */
body.legal-subpage {
    min-height: 100vh;
    padding-top: 0;
}

body.legal-subpage .page-container {
    padding-top: 10px;
}

body.legal-subpage .glow-container {
    z-index: 0;
}

.legal-subpage-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    box-shadow: var(--shadow-soft);
    padding-inline: env(safe-area-inset-left, 0px) env(safe-area-inset-right, 0px);
}

.legal-subpage-header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.legal-subpage-header-inner .legal-back-link {
    justify-self: start;
}

.legal-subpage-header-inner .brand-logo-container {
    justify-self: center;
}

.legal-subpage-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.legal-subpage-header .brand-logo-image img {
    width: 160px;
    height: 48px;
}

.legal-back-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent);
    text-decoration: none;
    white-space: nowrap;
}

.legal-back-link:hover {
    text-decoration: underline;
}

.legal-page-main {
    position: relative;
    z-index: 10;
}

.legal-page-inner {
    max-width: 820px;
    margin: 0 auto;
    padding-bottom: 48px;
}

.legal-page-inner.main-layout-columns {
    max-width: min(1180px, calc(100% - 24px));
    width: 100%;
    gap: clamp(18px, 3vw, 24px);
    padding-bottom: 48px;
}

.legal-page-inner.main-layout-columns .prime-utilities {
    min-width: 0;
}

.legal-page-inner .policy-content-block {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-soft);
    overflow-wrap: break-word;
    word-break: break-word;
}

@media (max-width: 768px) {
    .legal-subpage-header .brand-logo-image img {
        width: min(160px, calc(100vw - 200px));
        height: auto;
        aspect-ratio: 200 / 60;
        max-height: 40px;
    }
}

.nav-links {
    display: flex;
    gap: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
    padding: 6px 16px;
    border-radius: 99px;
    transition: var(--transition);
}

.sticky-header.scrolled .nav-links {
    background: rgba(var(--primary-raw), 0.02);
    border-color: var(--border-glass);
}

.nav-links a {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 99px;
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-links > li {
    display: flex;
    align-items: center;
}

.nav-links > li > a {
    display: inline-flex;
    align-items: center;
}

.nav-links a.active {
    background: var(--accent);
    color: #ffffff !important;
}

/* Desktop: Calendar submenu — match sibling pills; tighter panel gap + ::before hover bridge */
.nav-item-has-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font: inherit;
    font-family: inherit;
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.35;
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 99px;
    border: none;
    background: transparent;
    cursor: pointer;
    white-space: nowrap;
    margin: 0;
    vertical-align: middle;
    appearance: none;
    -webkit-appearance: none;
    transition: var(--transition-fast);
}

.nav-dropdown-trigger:hover,
.nav-item-has-dropdown:hover .nav-dropdown-trigger {
    color: var(--text-main);
}

.nav-item-has-dropdown .nav-dropdown-trigger .caret {
    opacity: 0.65;
    font-size: 0.72em;
    line-height: 1;
}

.nav-dropdown-panel {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: var(--bg-glass);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-hover);
    z-index: 60;
}

/* Invisible hit area fills the hover “dead zone” between trigger and panel */
.nav-dropdown-panel::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    height: 12px;
}

.nav-dropdown-panel a {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
}

.nav-dropdown-panel a:hover {
    background: rgba(var(--accent-raw), 0.09);
    color: var(--accent);
}

.nav-dropdown-panel a.active {
    background: rgba(var(--accent-raw), 0.12);
    color: var(--accent);
}

.nav-dropdown-panel a[aria-current="page"] {
    box-shadow: inset 0 0 0 1px rgba(var(--accent-raw), 0.25);
}

[data-theme="dark"] .nav-dropdown-panel a.active {
    color: var(--accent);
}

.nav-item-has-dropdown:hover .nav-dropdown-panel,
.nav-item-has-dropdown:focus-within .nav-dropdown-panel {
    display: block;
}

@media (max-width: 768px) {
    .nav-item-has-dropdown .nav-dropdown-panel {
        display: none !important;
    }
}

.nav-item-has-dropdown:has([aria-current="page"]) .nav-dropdown-trigger {
    color: var(--accent);
    font-weight: 600;
}

/* Mobile bottom bar: tighter when five shortcuts */
.bottom-sticky-bar .bottom-nav-list.bottom-nav-extra li a {
    padding: 4px 2px;
    font-size: 0.605rem;
    gap: 2px;
}

.bottom-sticky-bar .bottom-nav-list.bottom-nav-extra li a svg {
    width: 17px;
    height: 17px;
}

/* Header Action buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.theme-toggle, .numeral-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-main);
    transition: var(--transition);
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.theme-toggle {
    width: 42px;
    height: 42px;
}

.numeral-toggle {
    padding: 0 14px;
    height: 42px;
}

.theme-toggle:hover, .numeral-toggle:hover {
    transform: translateY(-2px);
    background-color: var(--primary);
    color: var(--bg-main);
    border-color: var(--primary);
}

.theme-toggle .sun { display: block; }
.theme-toggle .moon { display: none; }

[data-theme="dark"] .theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: block; }

.numeral-toggle .numeral-en { display: none; }
[data-numeral="en"] .numeral-toggle .numeral-bn { display: none; }
[data-numeral="en"] .numeral-toggle .numeral-en { display: block; }

[data-numeral="bn"] .lang-en { display: none !important; }
[data-numeral="en"] .lang-bn { display: none !important; }

/* Mobile Menu Trigger */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 12px;
    transition: var(--transition);
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Floating background glow elements */
.glow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    opacity: 0.6;
}

.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    -webkit-filter: blur(120px);
    mix-blend-mode: multiply;
    animation: blobFloat 25s infinite alternate;
}

.glow-blue {
    top: -10%;
    right: 15%;
    width: 500px;
    height: 500px;
    background: rgba(37, 99, 235, 0.15);
}

.glow-gold {
    bottom: 10%;
    left: 5%;
    width: 600px;
    height: 600px;
    background: rgba(217, 119, 6, 0.1);
    animation-delay: 5s;
}

.glow-pink {
    top: 40%;
    right: 5%;
    width: 400px;
    height: 400px;
    background: rgba(236, 72, 153, 0.08);
    animation-delay: 10s;
}

[data-theme="dark"] .glow-container {
    opacity: 0.4;
}

[data-theme="dark"] .glow-blue { background: rgba(59, 130, 246, 0.15); }
[data-theme="dark"] .glow-gold { background: rgba(251, 191, 36, 0.1); }
[data-theme="dark"] .glow-pink { background: rgba(236, 72, 153, 0.05); }

@keyframes blobFloat {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
    100% { transform: translate(0, 0) scale(1); }
}

/* Premium Dashboard Hero grid styling */
.hero-section {
    padding: 10px 0 20px;
}

.clock-badge-container {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.clock-badge {
    position: relative;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(var(--accent-raw), 0.05) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    padding: 8px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 30px -10px rgba(var(--accent-raw), 0.08), var(--shadow-soft);
    transition: var(--transition);
}

.clock-badge:hover {
    transform: translateY(-2px) scale(1.02);
    border-color: rgba(var(--accent-raw), 0.3);
    box-shadow: 0 15px 35px -10px rgba(var(--accent-raw), 0.16), var(--shadow-hover);
}

/* Mini-analog watch face style */
.mini-analog-watch {
    width: 32px;
    height: 32px;
    position: relative;
    flex-shrink: 0;
}

.watch-dial {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(var(--primary-raw), 0.03);
    border: 1.5px solid rgba(var(--accent-raw), 0.25);
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .watch-dial {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(var(--accent-raw), 0.4);
}

.watch-center-pivot {
    width: 4px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.watch-hand {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform-origin: 50% 100%;
    border-radius: 3px;
    transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hour-hand {
    width: 2px;
    height: 7px;
    background-color: var(--text-main);
    z-index: 6;
}

.minute-hand {
    width: 1.5px;
    height: 11px;
    background-color: var(--accent);
    z-index: 7;
}

.second-hand {
    width: 0.8px;
    height: 12px;
    background-color: var(--pink);
    z-index: 8;
}

.tick {
    position: absolute;
    background: var(--text-muted);
    opacity: 0.4;
}

.tick-12 { width: 1px; height: 3px; top: 1px; left: calc(50% - 0.5px); }
.tick-3  { width: 3px; height: 1px; right: 1px; top: calc(50% - 0.5px); }
.tick-6  { width: 1px; height: 3px; bottom: 1px; left: calc(50% - 0.5px); }
.tick-9  { width: 3px; height: 1px; left: 1px; top: calc(50% - 0.5px); }

/* Glowing partitioned digital display */
.watch-digital-display {
    display: flex;
    align-items: center;
    gap: 3px;
    font-family: var(--font-en);
}

.time-block {
    font-size: 1.15rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--text-main);
    letter-spacing: 0.5px;
    min-width: 24px;
    text-align: center;
    transition: color 0.3s ease;
}

.time-block.seconds {
    color: var(--pink);
    font-size: 1rem;
    opacity: 0.95;
    font-weight: 700;
}

.time-colon {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.6;
    animation: colonBlink 1s infinite;
}

@keyframes colonBlink {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.8; }
}

.time-period {
    font-size: 0.72rem;
    font-weight: 800;
    background: rgba(var(--accent-raw), 0.08);
    color: var(--accent);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[data-theme="dark"] .time-period {
    background: rgba(var(--accent-raw), 0.15);
}

.watch-status-panel {
    display: flex;
    align-items: center;
    gap: 6px;
    border-left: 1px solid var(--border-glass);
    padding-left: 12px;
}

.zone-label-text {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.8px;
}

.live-dot {
    width: 6px;
    height: 6px;
    background-color: var(--pink);
    border-radius: 50%;
}

.pulse {
    animation: liveShadowPulse 2s infinite;
}

@keyframes liveShadowPulse {
    0% { box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(236, 72, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(236, 72, 153, 0); }
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.dashboard-grid.today-page-single-bangla {
    grid-template-columns: minmax(0, 1fr);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.today-bangla-narratives-stack {
    margin-top: 28px;
    display: grid;
    gap: 18px;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.today-bangla-context-block .today-context-body {
    margin-top: 14px;
    line-height: 1.72;
    color: var(--text-muted);
}

.today-bangla-context-block .today-context-body strong {
    color: var(--text-main);
}

/* Today Bangla Date — compact layout + AdSense-friendly regions */
body.today-bangla-page .hero-section {
    padding: 4px 0 18px;
}

body.today-bangla-page main.page-container {
    margin-top: 0;
}

.today-bc-wrap {
    margin-top: 10px;
}

.today-bc-wrap .container {
    padding-top: 8px;
    padding-bottom: 4px;
    /* keep horizontal padding-inline from .container so breadcrumb aligns with header logo row */
}

.today-bc-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.today-bc-list a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.today-bc-list a:hover {
    text-decoration: underline;
}

.today-bc-list li:last-child {
    font-weight: 600;
    color: var(--text-main);
}

.today-bangla-cols {
    display: grid;
    gap: 14px;
    align-items: start;
}

@media (min-width: 992px) {
    .today-bangla-cols {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 16px 20px;
    }

    .today-bangla-sidebar {
        position: sticky;
        top: 80px;
    }
}

.today-page-meta {
    margin-bottom: 8px;
    font-size: 0.75rem;
    line-height: 1.4;
}

.today-bangla-value-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 10px;
    padding: 0;
    list-style: none;
}

.today-bangla-value-strip li {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 99px;
    background: rgba(var(--accent-raw), 0.08);
    border: 1px solid rgba(var(--accent-raw), 0.15);
    color: var(--accent);
}

[data-theme="dark"] .today-bangla-value-strip li {
    background: rgba(var(--accent-raw), 0.12);
}

.today-bangla-quick-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 12px;
}

.today-bangla-quick-row a {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition-fast);
}

.today-bangla-quick-row a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.adsense-region {
    margin: 12px 0;
}

.adsense-slot {
    position: relative;
    min-height: 90px;
    max-width: 100%;
    border-radius: var(--radius-sm);
    border: 1px dashed rgba(var(--accent-raw), 0.25);
    background: rgba(var(--accent-raw), 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.adsense-slot--sidebar {
    min-height: 250px;
}

.adsense-slot-note {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-light);
    text-align: center;
    padding: 12px;
    line-height: 1.35;
}

[data-theme="dark"] .adsense-slot {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

.today-bangla-merged-card {
    margin-top: 10px;
    padding: 16px 18px !important;
}

.today-bangla-merged-card .policy-panel-heading {
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.today-bangla-subhd {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 14px 0 8px;
}

.today-bangla-subhd:first-of-type {
    margin-top: 8px;
}

.today-bangla-compact-article {
    margin-top: 12px !important;
    padding: 14px 18px !important;
}

.today-bangla-compact-article p {
    margin-top: 8px;
    font-size: 0.9rem;
    line-height: 1.62;
}

.today-bangla-faq-mini {
    margin-top: 12px;
    border-top: 1px solid var(--border-glass);
    padding-top: 12px;
}

.today-bangla-faq-mini dt {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-main);
    margin-top: 10px;
}

.today-bangla-faq-mini dt:first-child {
    margin-top: 0;
}

.today-bangla-faq-mini dd {
    margin: 4px 0 0;
    font-size: 0.8rem;
    line-height: 1.55;
    color: var(--text-muted);
    padding-left: 0;
}

.today-bangla-sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-soft);
}

.today-bangla-sidebar-card h3 {
    font-size: 0.85rem;
    font-weight: 800;
    margin: 0 0 10px;
    color: var(--text-main);
}

.today-bangla-sidebar-card ul {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.8rem;
    line-height: 1.55;
    color: var(--text-muted);
}

body.today-bangla-page .dashboard-grid.today-page-single-bangla {
    margin-bottom: 0;
    max-width: none;
}

body.today-bangla-page .dashboard-card.bangla {
    padding: 16px 18px;
}

body.today-bangla-page .today-bangla-narratives-stack {
    margin-top: 0;
    gap: 0;
    max-width: none;
}

/* Today page — streamlined professional layout */
body.today-bangla-page .today-bangla-section-pro .container {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

body.today-bangla-page .today-bangla-section-pro.today-bangla-has-sidebar .container {
    /* Match nav.container / site grid so logo, breadcrumb, and main column share the same left gutter */
    max-width: var(--container-max);
}

body.today-bangla-page .today-bangla-section-pro.today-bangla-has-sidebar .main-layout-columns {
    padding-top: 0;
    align-items: start;
}

body.today-bangla-page .today-bangla-section-pro.today-bangla-has-sidebar .main-layout-columns > .prime-utilities {
    min-width: 0;
}

/* Today page — rich explorer (today_bangla_date_rich.html inspired) */
.today-rich-wrap {
    display: flex;
    flex-direction: column;
    gap: clamp(14px, 3vw, 18px);
    margin-bottom: 8px;
}

.today-rich-sronly {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.today-rich-micro {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.today-rich-visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 1px, 1px);
    border: 0;
}

.today-rich-surface {
    overflow: hidden;
}

.today-rich-hero {
    padding: clamp(14px, 3vw, 20px);
    margin: 0;
    border-radius: var(--radius-lg) !important;
    position: relative;
}

.today-rich-hero-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ca8a04, #eab308, #ef4444);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    pointer-events: none;
}

.today-rich-hero-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: clamp(14px, 4vw, 22px);
    margin-top: 4px;
}

.today-rich-copy {
    position: absolute;
    top: clamp(14px, 3vw, 18px);
    right: clamp(14px, 3vw, 18px);
    padding: 7px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-glass);
    background: rgba(var(--accent-raw), 0.08);
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition-fast);
}

.today-rich-copy:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.today-rich-hero-date {
    flex: 1;
    min-width: 210px;
    position: relative;
    padding-right: 44px;
}

.today-rich-date-main {
    font-size: clamp(1.65rem, 5vw, 2.05rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 6px;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.today-rich-date-full {
    font-size: 0.87rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 4px;
}

.today-rich-date-greg {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.today-rich-hero-meta {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    min-width: 140px;
}

.today-rich-badge {
    font-size: 0.71rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 99px;
    border: 1px solid transparent;
}

.today-rich-badge--season {
    background: rgba(251, 191, 36, 0.12);
    border-color: rgba(234, 179, 8, 0.28);
    color: #92400e;
}

[data-theme="dark"] .today-rich-badge--season {
    color: #fde68a;
    border-color: rgba(251, 191, 36, 0.35);
}

.today-rich-badge--day {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.25);
    color: #047857;
}

[data-theme="dark"] .today-rich-badge--day {
    color: #86efac;
}

.today-rich-badge--era {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.25);
    color: #1d4ed8;
}

[data-theme="dark"] .today-rich-badge--era {
    color: #93c5fd;
}

.today-rich-hero-bottom {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-glass);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    gap: 10px;
}

.today-rich-mini {
    text-align: center;
}

.today-rich-mini-val {
    font-size: clamp(1rem, 3vw, 1.35rem);
    font-weight: 800;
    color: var(--text-main);
}

.today-rich-mini-lbl {
    margin-top: 4px;
    font-size: 0.61rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-light);
    line-height: 1.3;
}

.today-rich-sect-title {
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-glass);
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.today-rich-sect-icon {
    flex-shrink: 0;
    color: var(--accent);
}

.today-rich-month-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    min-width: 0;
}

.today-rich-month-head > div:last-child {
    min-width: 0;
    flex: 1;
}

.today-rich-month-emoji-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(234, 179, 8, 0.15);
    border: 1px solid rgba(234, 179, 8, 0.25);
    flex-shrink: 0;
    font-size: 1.5rem;
}

.today-rich-month-name {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
}

.today-rich-month-sub {
    margin: 2px 0 0;
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.today-rich-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.today-rich-info-card {
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: rgba(var(--accent-raw), 0.04);
    border: 1px solid var(--border-glass);
}

.today-rich-info-lbl {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 4px;
    line-height: 1.3;
}

.today-rich-info-stack .today-rich-info-card {
    margin-bottom: 8px;
}

.today-rich-info-stack .today-rich-info-card:last-child {
    margin-bottom: 0;
}

.today-rich-info-val {
    font-size: 0.83rem;
    font-weight: 600;
    line-height: 1.48;
}

.today-rich-prose {
    font-size: 0.895rem;
    line-height: 1.72;
    color: var(--text-muted);
    overflow-wrap: break-word;
    word-break: break-word;
}

.today-rich-tags {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.today-rich-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 99px;
    background: rgba(var(--accent-raw), 0.06);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
}

.today-rich-notable {
    margin: 0;
    padding: 0;
    list-style: none;
}

.today-rich-notable-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-glass);
    align-items: flex-start;
}

.today-rich-notable-item:last-child {
    border-bottom: none;
}

.today-rich-dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    margin-top: 6px;
}

.today-rich-dot--holiday {
    background: #ef4444;
}

.today-rich-dot--cultural {
    background: #8b5cf6;
}

.today-rich-dot--seasonal {
    background: #10b981;
}

.today-rich-notable-title {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text-main);
    line-height: 1.4;
}

.today-rich-notable-desc {
    margin-top: 4px;
    font-size: 0.805rem;
    color: var(--text-muted);
    line-height: 1.52;
}

.today-rich-twocol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(12px, 2.5vw, 16px);
}

@media (max-width: 700px) {
    .today-rich-twocol {
        grid-template-columns: 1fr;
    }

    .today-rich-hero-meta {
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.today-rich-season-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

@media (max-width: 500px) {
    .today-rich-season-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .today-rich-hero-top {
        flex-direction: column;
    }
}

.today-rich-season-cell {
    border-radius: var(--radius-sm);
    padding: 10px 8px;
    border: 1px solid var(--border-glass);
    text-align: center;
    background: rgba(var(--accent-raw), 0.03);
}

.today-rich-season-cell.is-active {
    border-color: rgba(245, 158, 11, 0.6);
    background: rgba(245, 158, 11, 0.1);
}

.today-rich-season-cell strong {
    display: block;
    font-size: 0.75rem;
    margin-top: 4px;
    line-height: 1.35;
}

.today-rich-season-cell small {
    display: block;
    margin-top: 4px;
    font-size: 0.648rem;
    color: var(--text-muted);
    line-height: 1.38;
}

.today-rich-moon {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--border-glass);
    background: rgba(var(--accent-raw), 0.04);
}

.today-rich-moon-icon {
    font-size: 1.75rem;
    line-height: 1;
}

.today-rich-moon-lbl {
    font-size: 0.638rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-light);
    line-height: 1.3;
}

.today-rich-moon-val {
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 2px;
}

.today-rich-highlight {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(37, 99, 235, 0.25);
    background: rgba(37, 99, 235, 0.08);
    font-size: 0.848rem;
    line-height: 1.62;
}

[data-theme="dark"] .today-rich-highlight {
    border-color: rgba(96, 165, 250, 0.35);
    background: rgba(37, 99, 235, 0.12);
}

.today-page-lead {
    margin: 0 0 14px;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.today-bangla-quick-row--single {
    margin: 0 0 18px;
    justify-content: flex-start;
}

body.today-bangla-page .today-bangla-merged-card {
    margin-top: 22px;
    max-width: 100%;
}

.today-bangla-subhd--h2 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.today-bangla-subhd--h2:first-of-type {
    margin-top: 0;
}

.today-bangla-reference {
    margin-top: 24px !important;
    padding: 16px 18px !important;
}

.today-bangla-ref-heading {
    font-size: 0.95rem !important;
    margin-bottom: 0.5rem !important;
}

.today-bangla-ref-p {
    margin: 0 0 12px;
    font-size: 0.875rem;
    line-height: 1.62;
    color: var(--text-muted);
}

.today-bangla-faq-mini--tight {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.today-bangla-faq-mini--tight dt {
    margin-top: 10px;
    font-size: 0.8rem;
}

.today-bangla-faq-mini--tight dt:first-child {
    margin-top: 0;
}

.today-bangla-faq-mini--tight dd {
    margin-top: 2px;
    font-size: 0.78rem;
}

body.today-bangla-page .adsense-slot-note {
    text-transform: none;
    letter-spacing: 0.02em;
    font-weight: 500;
}

body.today-bangla-page .glow-container {
    opacity: 0.55;
}

body.today-bangla-page .cyber-footer {
    margin-top: 36px;
    padding: 48px 0 28px;
}

@media (max-width: 991px) {
    .today-bangla-sidebar {
        order: 3;
    }

    .adsense-slot--sidebar {
        min-height: 120px;
    }
}
.dashboard-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.dashboard-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(var(--accent-raw), 0.05), transparent 60%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.dashboard-card:hover::before {
    opacity: 1;
}

.dashboard-card:hover {
    transform: translateY(-4px) scale(1.005);
    border-color: rgba(var(--accent-raw), 0.3);
    box-shadow: var(--shadow-hover);
}

/* Bento Hero card (Bangla calendar outstanding layout) */
.bento-hero {
    border: 1px solid var(--gold-border);
}

.bento-side {
    border: 1px solid var(--border-glass);
}

/* Premium Card Structural System */
.bento-premium {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    position: relative;
    padding: 24px !important;
    min-height: 220px !important;
}

.card-top-rail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    z-index: 5;
    position: relative;
    width: 100%;
}

.card-badge-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Floating custom era badge */
.premium-era-badge {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    border: 1px solid transparent;
}
.premium-era-badge.label-gold {
    background: rgba(217, 119, 6, 0.08);
    color: var(--gold);
    border-color: rgba(217, 119, 6, 0.2);
}
.premium-era-badge.label-blue {
    background: rgba(37, 99, 235, 0.08);
    color: var(--accent);
    border-color: rgba(37, 99, 235, 0.2);
}
.premium-era-badge.label-green {
    background: rgba(16, 185, 129, 0.08);
    color: var(--green);
    border-color: rgba(16, 185, 129, 0.2);
}

.bento-premium .copy-btn-modern {
    position: static !important;
    opacity: 0.5 !important;
    transform: none !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 6px !important;
    background: rgba(var(--primary-raw), 0.03) !important;
    display: flex !important;
}

.bento-premium:hover .copy-btn-modern {
    opacity: 1 !important;
    transform: scale(1.05) !important;
    background: var(--bg-main) !important;
}

.bento-premium .copy-btn-modern:hover {
    background: var(--accent) !important;
    color: #ffffff !important;
}

/* Middle body section */
.card-middle-content {
    margin: 10px 0 16px;
    z-index: 5;
    position: relative;
}

/* Bottom status panel */
.card-bottom-rail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    z-index: 5;
    position: relative;
    font-size: 0.75rem;
    border-top: 1px solid rgba(var(--primary-raw), 0.04);
    padding-top: 12px;
    flex-wrap: wrap;
    gap: 8px 12px;
}
[data-theme="dark"] .card-bottom-rail {
    border-top-color: rgba(255, 255, 255, 0.04);
}

.card-status-marker {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 4px;
}
.card-status-marker.text-gold { color: var(--gold); }
.card-status-marker.text-blue { color: var(--accent); }
.card-status-marker.text-green { color: var(--green); }

/* Elegant Card Patterns in Background */
.card-deco-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.025;
    pointer-events: none;
    z-index: 1;
    transition: var(--transition);
}
.dashboard-card:hover .card-deco-pattern {
    opacity: 0.055;
    transform: scale(1.04);
}
[data-theme="dark"] .card-deco-pattern {
    opacity: 0.04;
}
[data-theme="dark"] .dashboard-card:hover .card-deco-pattern {
    opacity: 0.085;
}

.bg-sun-rays {
    background-image: radial-gradient(circle at 80% 30%, transparent 40%, rgba(217, 119, 6, 0.15) 41%, transparent 42%),
                      repeating-radial-gradient(circle at 80% 30%, transparent 0, transparent 10px, rgba(217, 119, 6, 0.08) 11px, rgba(217, 119, 6, 0.08) 12px, transparent 13px);
}
.bg-grid-matrix {
    background-size: 14px 14px;
    background-image: linear-gradient(to right, rgba(37, 99, 235, 0.08) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(37, 99, 235, 0.08) 1px, transparent 1px);
}
.bg-crescent-moon {
    background-image: radial-gradient(circle at 85% 25%, transparent 35%, rgba(16, 185, 129, 0.12) 36%, rgba(16, 185, 129, 0.12) 48%, transparent 50%);
}

/* Floating Light Glow Orbs */
.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.4s ease;
    opacity: 0.65;
}
.dashboard-card:hover .card-glow {
    opacity: 1;
}
.card-glow.gold {
    background: radial-gradient(circle at top left, rgba(217, 119, 6, 0.12), transparent 55%);
}
.card-glow.blue {
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 55%);
}
.card-glow.green {
    background: radial-gradient(circle at top left, rgba(16, 185, 129, 0.12), transparent 55%);
}

/* Subtle Text Glow on Hover / Beautiful Gradients */
.text-glow-gold {
    background: linear-gradient(135deg, var(--gold) 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition-fast);
    filter: drop-shadow(0 2px 4px rgba(217, 119, 6, 0.1));
}
.text-glow-blue {
    background: linear-gradient(135deg, var(--accent) 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition-fast);
    filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.1));
}

.dashboard-card:hover .text-glow-gold {
    filter: drop-shadow(0 4px 15px rgba(217, 119, 6, 0.35)) brightness(1.12);
}
.dashboard-card:hover .text-glow-blue {
    filter: drop-shadow(0 4px 15px rgba(37, 99, 235, 0.35)) brightness(1.12);
}

/* Bento Card Elements */
.card-icon-container {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    position: relative;
    z-index: 5;
    transition: var(--transition-fast);
}

.dashboard-card:hover .card-icon-container {
    transform: translateY(-2px) scale(1.05);
}

.card-icon-container svg {
    width: 18px;
    height: 18px;
}

.bg-gold-light {
    background-color: var(--gold-light);
    border: 1px solid var(--gold-border);
}

.bg-blue-light {
    background-color: var(--blue-light);
    border: 1px solid var(--blue-border);
}

.bg-green-light {
    background-color: var(--green-light);
    border: 1px solid var(--green-border);
}

/* SVG Stroke Helpers */
.stroke-gold { stroke: var(--gold); }
.stroke-blue { stroke: var(--accent); }
.stroke-green { stroke: var(--green); }

.card-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: block;
    position: relative;
    z-index: 5;
}

.date-value {
    font-size: 2.35rem;
    font-weight: 850;
    color: var(--text-main);
    line-height: 1.25;
    position: relative;
    z-index: 5;
    letter-spacing: -0.035em;
    transition: var(--transition-fast);
}

.date-value.font-bangla {
    font-family: var(--font-bn);
}

/* Today's Bangla date — larger hero type + gold spotlight panel */
#todayBangla.date-value {
    display: block;
    width: 100%;
    text-align: center;
    font-size: clamp(2.85rem, 6.5vw, 4rem);
    font-weight: 800;
    line-height: 1.16;
    margin: 0.35rem 0 0;
    padding: 0.48em 0.6em 0.52em;
    border-radius: 22px;
    position: relative;
    isolation: isolate;
    letter-spacing: -0.02em;
}

#todayBangla.date-value::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        152deg,
        rgba(251, 191, 36, 0.28) 0%,
        rgba(245, 158, 11, 0.1) 38%,
        rgba(254, 252, 232, 0.32) 100%
    );
    border: 1px solid rgba(217, 119, 6, 0.42);
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 0.55),
        0 4px 28px rgba(217, 119, 6, 0.22),
        0 14px 44px rgba(245, 158, 11, 0.12);
    pointer-events: none;
}

#todayBangla.text-glow-gold {
    background: linear-gradient(135deg, #9a3412 0%, #b45309 18%, #d97706 45%, #f59e0b 78%, #fbbf24 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 1px 1px rgba(154, 52, 18, 0.28))
        drop-shadow(0 4px 18px rgba(217, 119, 6, 0.38));
}

.dashboard-card.bangla:hover #todayBangla.date-value::after {
    border-color: rgba(217, 119, 6, 0.58);
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 0.62),
        0 8px 36px rgba(217, 119, 6, 0.32),
        0 18px 52px rgba(245, 158, 11, 0.16);
}

.dashboard-card.bangla:hover #todayBangla.text-glow-gold {
    filter: drop-shadow(0 2px 3px rgba(154, 52, 18, 0.35))
        drop-shadow(0 6px 26px rgba(251, 191, 36, 0.42));
}

[data-theme="dark"] #todayBangla.date-value::after {
    background: linear-gradient(
        152deg,
        rgba(217, 119, 6, 0.18) 0%,
        rgba(180, 83, 9, 0.1) 40%,
        rgba(251, 191, 36, 0.08) 100%
    );
    border-color: rgba(251, 191, 36, 0.35);
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 0.08),
        0 4px 32px rgba(0, 0, 0, 0.35),
        0 0 40px rgba(217, 119, 6, 0.15);
}

/* Dark mode: gradient text + filter can paint blank in Chromium; use opaque color + text-shadow */
[data-theme="dark"] #todayBangla.text-glow-gold {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
    color: #fcd34d;
    filter: none;
    text-shadow:
        0 1px 0 rgba(0, 0, 0, 0.5),
        0 0 24px rgba(251, 191, 36, 0.45);
}

[data-theme="dark"] .dashboard-card.bangla:hover #todayBangla.text-glow-gold {
    filter: none;
    color: #fde68a;
    text-shadow:
        0 1px 0 rgba(0, 0, 0, 0.55),
        0 0 32px rgba(251, 191, 36, 0.55);
}

/* Today's English date — same hero layout as Bangla, cool blue spotlight */
#todayEnglish.date-value {
    display: block;
    width: 100%;
    text-align: center;
    font-size: clamp(2.85rem, 6.5vw, 4rem);
    font-weight: 800;
    line-height: 1.16;
    margin: 0.35rem 0 0;
    padding: 0.48em 0.6em 0.52em;
    border-radius: 22px;
    position: relative;
    isolation: isolate;
    letter-spacing: -0.02em;
    font-family: var(--font-en);
}

#todayEnglish.date-value::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        152deg,
        rgba(96, 165, 250, 0.24) 0%,
        rgba(59, 130, 246, 0.11) 40%,
        rgba(224, 242, 254, 0.32) 100%
    );
    border: 1px solid rgba(37, 99, 235, 0.4);
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 0.55),
        0 4px 28px rgba(37, 99, 235, 0.2),
        0 14px 44px rgba(56, 189, 248, 0.12);
    pointer-events: none;
}

#todayEnglish.text-glow-blue {
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 20%, #2563eb 48%, #3b82f6 75%, #0ea5e9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 1px 1px rgba(30, 58, 138, 0.28))
        drop-shadow(0 4px 18px rgba(37, 99, 235, 0.34));
}

.dashboard-card.english:hover #todayEnglish.date-value::after {
    border-color: rgba(37, 99, 235, 0.55);
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 0.62),
        0 8px 36px rgba(37, 99, 235, 0.28),
        0 18px 52px rgba(56, 189, 248, 0.16);
}

.dashboard-card.english:hover #todayEnglish.text-glow-blue {
    filter: drop-shadow(0 2px 3px rgba(30, 64, 175, 0.32))
        drop-shadow(0 6px 26px rgba(96, 165, 250, 0.4));
}

[data-theme="dark"] #todayEnglish.date-value::after {
    background: linear-gradient(
        152deg,
        rgba(37, 99, 235, 0.22) 0%,
        rgba(29, 78, 216, 0.14) 42%,
        rgba(56, 189, 248, 0.09) 100%
    );
    border-color: rgba(96, 165, 250, 0.38);
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 0.08),
        0 4px 32px rgba(0, 0, 0, 0.35),
        0 0 44px rgba(59, 130, 246, 0.22);
}

[data-theme="dark"] #todayEnglish.text-glow-blue {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
    color: #93c5fd;
    filter: none;
    text-shadow:
        0 1px 0 rgba(0, 0, 0, 0.5),
        0 0 28px rgba(59, 130, 246, 0.45);
}

[data-theme="dark"] .dashboard-card.english:hover #todayEnglish.text-glow-blue {
    filter: none;
    color: #bfdbfe;
    text-shadow:
        0 1px 0 rgba(0, 0, 0, 0.55),
        0 0 36px rgba(96, 165, 250, 0.5);
}

.date-value.small {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.season-badge {
    background: var(--gold-light);
    border: 1px solid var(--gold-border);
    color: var(--gold);
    display: inline-flex;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-top: 10px;
    width: fit-content;
    position: relative;
    z-index: 5;
}

.gregorian-badge {
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.16);
    color: var(--accent);
    display: inline-flex;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-top: 10px;
    width: fit-content;
    position: relative;
    z-index: 5;
}

/* Grisma (Summer) Card Highlights */
.bento-hero[data-season="গ্রীষ্ম"] { border-color: rgba(234, 88, 12, 0.45); }
.bento-hero[data-season="গ্রীষ্ম"] .card-glow { background: radial-gradient(circle at top left, rgba(234, 88, 12, 0.15), transparent 60%); }
.bento-hero[data-season="গ্রীষ্ম"] .season-badge { background: rgba(234, 88, 12, 0.1); border-color: rgba(234, 88, 12, 0.3); color: #ea580c; }

/* Barsha (Monsoon) Card Highlights */
.bento-hero[data-season="বর্ষা"] { border-color: rgba(14, 165, 233, 0.45); }
.bento-hero[data-season="বর্ষা"] .card-glow { background: radial-gradient(circle at top left, rgba(14, 165, 233, 0.15), transparent 60%); }
.bento-hero[data-season="বর্ষা"] .season-badge { background: rgba(14, 165, 233, 0.1); border-color: rgba(14, 165, 233, 0.3); color: #0ea5e9; }

/* Sarat (Autumn) */
.bento-hero[data-season="শরৎ"] { border-color: rgba(56, 189, 248, 0.45); }
.bento-hero[data-season="শরৎ"] .card-glow { background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.15), transparent 60%); }
.bento-hero[data-season="শরৎ"] .season-badge { background: rgba(56, 189, 248, 0.1); border-color: rgba(56, 189, 248, 0.3); color: #38bdf8; }

/* Hemanta (Late Autumn) */
.bento-hero[data-season="হেমন্ত"] { border-color: rgba(217, 119, 6, 0.45); }
.bento-hero[data-season="হেমন্ত"] .card-glow { background: radial-gradient(circle at top left, rgba(217, 119, 6, 0.15), transparent 60%); }
.bento-hero[data-season="হেমন্ত"] .season-badge { background: rgba(217, 119, 6, 0.1); border-color: rgba(217, 119, 6, 0.3); color: #d97706; }

/* Sheet (Winter) */
.bento-hero[data-season="শীত"] { border-color: rgba(148, 163, 184, 0.5); }
.bento-hero[data-season="শীত"] .card-glow { background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.15), transparent 60%); }
.bento-hero[data-season="শীত"] .season-badge { background: rgba(148, 163, 184, 0.1); border-color: rgba(148, 163, 184, 0.3); color: #64748b; }

/* Basanta (Spring) */
.bento-hero[data-season="বসন্ত"] { border-color: rgba(236, 72, 153, 0.45); }
.bento-hero[data-season="বসন্ত"] .card-glow { background: radial-gradient(circle at top left, rgba(236, 72, 153, 0.15), transparent 60%); }
.bento-hero[data-season="বসন্ত"] .season-badge { background: rgba(236, 72, 153, 0.1); border-color: rgba(236, 72, 153, 0.3); color: #ec4899; }


/* Bento card buttons */
.copy-btn-modern {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--bg-main);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.9);
    transition: var(--transition);
    z-index: 10;
}

.dashboard-card:hover .copy-btn-modern {
    opacity: 1;
    transform: scale(1);
}

.copy-btn-modern:hover {
    background-color: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

/* Elegant Countdown Pill Banner */
.countdown-banner-container {
    display: flex;
    justify-content: center;
    margin-top: 6px;
}

.countdown-banner-pill {
    background: linear-gradient(135deg, rgba(var(--accent-raw), 0.05) 0%, rgba(var(--accent-raw), 0.01) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(var(--accent-raw), 0.12);
    border-radius: 99px;
    padding: 6px 18px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-soft);
    max-width: 100%;
    transition: var(--transition);
}

.countdown-banner-pill:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--accent-raw), 0.25);
    box-shadow: var(--shadow-hover);
}

.banner-badge-icon {
    width: 28px;
    height: 28px;
    background-color: var(--accent);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.banner-pill-text-content {
    font-size: 0.9rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    font-weight: 500;
}

.banner-intro {
    color: var(--text-muted);
}

.holiday-pill-name {
    color: var(--text-main);
    font-weight: 700;
}

.countdown-highlight {
    background-color: var(--accent);
    color: #ffffff;
    padding: 1px 8px;
    border-radius: 99px;
    font-weight: 800;
    font-size: 0.8rem;
    font-family: monospace;
    display: inline-block;
    margin: 0 1px;
}

/* Two-column major layout layout splitter */
.main-layout-columns {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
    padding-top: 24px;
}

.prime-utilities {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Utility Cards & Sections */
.mega-card-wrap {
    width: 100%;
}

.utility-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-soft);
}

.icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bg-accent-light {
    background-color: rgba(var(--accent-raw), 0.08);
}

.stroke-accent {
    stroke: var(--accent);
}

.bg-pink-light {
    background-color: var(--pink-light);
}

.stroke-pink {
    stroke: var(--pink);
}

.utility-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 16px;
    flex-wrap: wrap;
}

.utility-title-group {
    display: flex;
    gap: 16px;
    align-items: center;
}

.utility-titles h3 {
    font-size: 1.45rem;
    margin-bottom: 4px;
    letter-spacing: -0.03em;
}

.utility-titles p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Responsive Date converter styling */
.converter-box {
    width: 100%;
}

/* Premium Vercel-style Tab container */
.premium-tab-container {
    background: rgba(var(--primary-raw), 0.03);
    border: 1px solid var(--border-glass);
    padding: 4px;
    border-radius: var(--radius-sm);
    display: flex;
    gap: 4px;
    margin-bottom: 30px;
    width: 100%;
}

.premium-tab {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: calc(var(--radius-sm) - 2px);
    cursor: pointer;
    transition: var(--transition-fast);
}

.premium-tab:hover {
    color: var(--text-main);
}

.premium-tab.active {
    background: var(--bg-main);
    color: var(--accent);
    box-shadow: var(--shadow-soft);
}

/* Conversion form inputs and buttons */
.converter-row {
    display: flex;
    gap: 14px;
    width: 100%;
}

.input-container-group {
    flex: 1;
}

.premium-input {
    width: 100%;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-input);
    background: var(--bg-main);
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
    outline: none;
    transition: var(--transition);
}

.premium-input:focus {
    border-color: var(--accent);
    background-color: var(--bg-card);
    box-shadow: 0 0 0 4px rgba(var(--accent-raw), 0.1);
}

/* Complete Select customization */
.premium-input.select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.input-flex-container {
    display: flex;
    gap: 10px;
    width: 100%;
}

.input-flex-container .premium-input {
    flex: 1;
}

.input-flex-container select.premium-input {
    flex: 2;
}

/* Premium UI Buttons */
.premium-btn {
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: var(--transition-fast);
}

.premium-btn.primary {
    background: var(--accent);
    color: #ffffff;
}

.premium-btn.primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(var(--accent-raw), 0.3);
}

.premium-btn.secondary-btn {
    background: var(--bg-main);
    border-color: var(--border-glass);
    color: var(--text-main);
}

.premium-btn.secondary-btn:hover {
    background-color: var(--primary);
    color: var(--bg-main);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.width-full {
    width: 100%;
}

/* Result box output style */
.beautiful-result-area {
    margin-top: 24px;
    border-top: 1px solid var(--border-glass);
    padding-top: 24px;
    min-height: 50px;
    display: flex;
    align-items: center;
}

.success-animation {
    animation: successPop 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.25);
    background: rgba(var(--accent-raw), 0.04);
    border: 1px solid rgba(var(--accent-raw), 0.1);
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    font-size: 1.2rem;
    font-weight: 700;
    width: 100%;
    color: var(--text-main);
}

@keyframes successPop {
    0% { transform: scale(0.95); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Premium Bangla Monthly Calendar Widget styling */
.max-width-default {
    max-width: 100%;
}

.calendar-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 24px;
    flex-wrap: wrap;
    gap: 20px;
}

.calendar-identity {
    display: flex;
    align-items: center;
    gap: 16px;
}

.widget-subtitle-text {
    font-size: 1.3rem;
    margin-bottom: 2px;
}

.widget-desc-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.calendar-controls {
    display: flex;
    align-items: center;
    background: rgba(var(--primary-raw), 0.03);
    border: 1px solid var(--border-glass);
    padding: 4px;
    border-radius: var(--radius-sm);
}

.cal-arrow-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: calc(var(--radius-sm) - 4px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-fast);
}

.cal-arrow-btn:hover {
    color: var(--text-main);
    background: var(--bg-main);
}

.month-indicator {
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0 16px;
    min-width: 110px;
    text-align: center;
    color: var(--text-main);
}

/* Calendar Grid Frames */
.calendar-outer-box {
    width: 100%;
}

.calendar-grid-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 14px;
}

.calendar-grid-header span {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.calendar-body-custom {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

/* Real responsive calendar day grids */
.calendar-day {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    background: rgba(var(--primary-raw), 0.02);
    position: relative;
    padding: 4px;
}

.calendar-day:hover {
    background: var(--bg-main);
    border-color: var(--border-glass);
    transform: scale(1.05);
}

/* Highlight today custom badge */
.calendar-day.today {
    background: var(--accent);
    color: #ffffff !important;
    border-color: var(--accent);
    box-shadow: 0 10px 15px -5px rgba(var(--accent-raw), 0.3);
}

.calendar-day.today .bangla-num {
    color: rgba(255, 255, 255, 0.75);
}

/* Highlight holiday calendar boxes */
.calendar-day.holiday {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.03);
    border-color: rgba(220, 38, 38, 0.1);
    font-weight: 700;
}

.calendar-day.holiday::after {
    content: '';
    position: absolute;
    bottom: 6px;
    width: 4px;
    height: 4px;
    background-color: #dc2626;
    border-radius: 50%;
}

.calendar-day.today.holiday::after {
    background-color: #ffffff;
}

.calendar-day .bangla-num {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Holidays Section responsive filter container layout */
.holiday-section-split {
    align-items: center;
    flex-wrap: wrap;
}

.holidays-filter-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 20px;
    flex-wrap: wrap;
}

.filter-tab {
    border: 1px solid var(--border-glass);
    background: var(--bg-card);
    color: var(--text-muted);
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 99px;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-fast);
}

.filter-tab:hover {
    color: var(--text-main);
    border-color: var(--text-muted);
}

.filter-tab.active {
    background: var(--primary);
    color: var(--bg-main);
    border-color: var(--primary);
}

/* Holiday items grid */
.holiday-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

/* Modern Minimalist Holiday list Cards */
.holiday-card {
    background: var(--bg-main);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 140px;
    transition: var(--transition);
}

.holiday-card:hover {
    transform: translateY(-4px);
    background-color: var(--bg-card);
    border-color: var(--accent);
    box-shadow: var(--shadow-hover);
}

.holiday-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: var(--accent);
}

.holiday-date {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--accent);
}

.holiday-name {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 10px 0 16px;
    color: var(--text-main);
}

.holiday-tag {
    display: inline-flex;
    padding: 4px 10px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    background: var(--border-glass);
    color: var(--text-muted);
}

/* Dynamic Holiday card categorization tints */
.holiday-card[data-type="religious"]::before { background-color: var(--green); }
.holiday-card[data-type="religious"] .holiday-date { color: var(--green); }
.holiday-card[data-type="religious"] .holiday-tag { background-color: var(--green-light); color: var(--green); }

.holiday-card[data-type="executive"]::before { background-color: var(--gold); }
.holiday-card[data-type="executive"] .holiday-date { color: var(--gold); }
.holiday-card[data-type="executive"] .holiday-tag { background-color: var(--gold-light); color: var(--gold); }

/* FAQ Premium Accordion Elements */
.faq-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.faq-card-header h3 {
    font-size: 1.35rem;
}

.accordion-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item-modern {
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    background-color: var(--bg-main);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item-modern:hover {
    border-color: var(--text-light);
}

.faq-trigger {
    width: 100%;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: none;
    border: none;
    font-size: 1.05rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    color: var(--text-main);
}

.faq-arrow {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--text-muted);
    flex-shrink: 0;
}

.faq-collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-collapsible-content p {
    padding: 0 24px 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-item-modern.active {
    background-color: var(--bg-card);
    border-color: var(--border-glass);
}

.faq-item-modern.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-item-modern.active .faq-collapsible-content {
    max-height: 250px;
}

/* Split layout Right Sidebar */
.right-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Premium mock ads slots */
.sidebar-ad-card {
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-soft);
}

.sidebar-ad-heading {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.dashboard-ad-frame {
    width: 100%;
    min-height: 250px;
    border: 1.5px dashed var(--border-glass);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    background: rgba(var(--primary-raw), 0.01);
}

.ad-pixel-alert {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
}

.ad-desc-disclaimer {
    font-size: 0.72rem;
    color: var(--text-light);
    margin-top: 8px;
}

.tall-ad-frame {
    min-height: 400px;
}

.sticky-sidebar-anchor {
    position: sticky;
    top: 100px;
}

/* Premium bento sidebar detail elements */
.sidebar-premium-widget {
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-soft);
}

.side-widget-title {
    font-size: 1.15rem;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stroke-icon {
    flex-shrink: 0;
}

.side-event-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.side-event-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border-glass);
    font-size: 0.9rem;
    gap: 10px;
}

.side-event-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.event-details-name {
    font-weight: 500;
    color: var(--text-main);
}

.event-details-date {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    background-color: var(--bg-main);
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid var(--border-glass);
    white-space: nowrap;
}

.event-details-date.gold-color {
    color: var(--gold);
    background-color: var(--gold-light);
    border-color: var(--gold-border);
}

/* Sidebar Navigation fastlinks lists */
.side-fast-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.side-fast-links li a {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    background: var(--bg-main);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-glass);
    font-weight: 600;
    font-size: 0.88rem;
    transition: var(--transition-fast);
}

.side-fast-links li a:hover {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    transform: translateX(4px);
}

/* Advanced responsive layout elements (SEO card grid) */
.seo-card-grid {
    width: 100%;
}

.seo-panel {
    border-radius: var(--radius-lg);
    background-color: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 40px;
}

.seo-panel h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.seo-panel h3:not(:first-child) {
    margin-top: 30px;
}

.seo-content-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.hot-topics {
    margin-top: 30px;
    border-top: 1px solid var(--border-glass);
    padding-top: 24px;
}

.hot-topics h4 {
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.trending-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.trend-tag {
    background-color: var(--bg-main);
    border: 1px solid var(--border-glass);
    padding: 6px 16px;
    border-radius: 99px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.trend-tag:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

/* Sticky bottom navigation for small/mobiles screens */
.bottom-sticky-bar {
    display: none;
    position: fixed;
    bottom: max(16px, calc(12px + env(safe-area-inset-bottom, 0px)));
    left: max(12px, env(safe-area-inset-left, 0px));
    right: max(12px, env(safe-area-inset-right, 0px));
    width: auto;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(226, 232, 240, 0.75);
    border-radius: 40px;
    padding: 10px 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    z-index: 999;
}

[data-theme="dark"] .bottom-sticky-bar {
    background: rgba(3, 7, 18, 0.75);
    border-color: rgba(55, 65, 81, 0.5);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.bottom-nav-list {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
}

.bottom-nav-list li {
    display: block;
}

.bottom-nav-list li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-muted);
    gap: 4px;
    padding: 4px 10px;
}

.bottom-nav-list li a svg {
    stroke-width: 2.5;
    transition: var(--transition-fast);
}

.bottom-nav-list li a:hover, .bottom-nav-list li a.active {
    color: var(--accent);
}

.bottom-nav-list li a.active svg {
    transform: scale(1.15);
}

/* Cyber minimalist dynamic footer */
.cyber-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-glass);
    padding: 80px 0 40px;
    margin-top: 100px;
    position: relative;
    z-index: 10;
}

.grid-footer-structure {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text-main);
    margin-bottom: 16px;
}

.footer-logo span {
    color: var(--accent);
}

.brand-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 450px;
}

.footer-column-heading {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-link-listing {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link-listing a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.footer-link-listing a:hover {
    color: var(--accent);
    transform: translateX(3px);
}

.contact-sentence {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-bookmark-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 10px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border-glass));
    border-radius: var(--radius-sm, 10px);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

.footer-bookmark-btn:hover {
    background: color-mix(in srgb, var(--accent) 20%, transparent);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 25%, transparent);
}

.footer-bookmark-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.footer-bookmark-btn-label .lang-bn,
.footer-bookmark-btn-label .lang-en {
    display: inline;
}

@media (max-width: 640px) {
    .footer-bookmark-btn {
        width: 100%;
        justify-content: center;
    }
}

.footer-legal-bar {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-glass);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-light);
}

/* Scroll-to-top custom micro-interaction */
.scroll-top-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: var(--bg-main);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-hover);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 999;
}

.scroll-top-button.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-button:hover {
    background: var(--accent);
    color: #ffffff;
    transform: scale(1.05);
}

/* Premium micro animations */
.animate-fade {
    animation: simpleFade 0.3s ease-out;
}

@keyframes simpleFade {
    0% { opacity: 0; transform: translateY(6px); }
    100% { opacity: 1; transform: translateY(0); }
}


/* Complex Responsive Breakpoints */
@media (max-width: 1100px) {
    .main-layout-columns {
        grid-template-columns: 1fr;
        gap: clamp(20px, 5vw, 32px);
    }
    
    .right-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .sticky-sidebar-anchor {
        position: static;
    }
}

@media (max-width: 880px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .bento-hero {
        grid-row: span 1;
        min-height: 280px;
    }
    
    .bento-side {
        min-height: 160px;
    }
}

@media (max-width: 768px) {
    :root {
        --radius-lg: 20px;
        --radius-md: 14px;
    }
    
    body.has-bottom-nav {
        padding-bottom: max(92px, calc(76px + env(safe-area-inset-bottom, 0px)));
    }
    
    .nav-links {
        display: none; /* Hide top header navigation */
    }
    
    .bottom-sticky-bar {
        display: block; /* Render smart bottom floating menu */
    }
    
    .mobile-menu-toggle {
        display: none; /* Hide drawer trigger if using bottom bar instead */
    }
    
    .sticky-header {
        height: 64px;
    }

    .brand-logo-image img {
        width: min(200px, calc(100vw - 168px));
        height: auto;
        aspect-ratio: 200 / 60;
        max-height: 52px;
    }

    .sticky-header.scrolled .brand-logo-image img {
        width: min(120px, calc(100vw - 168px));
        height: auto;
        aspect-ratio: 200 / 60;
        max-height: 32px;
    }
    
    .hero-section {
        padding: 5px 0 15px;
    }
    
    .dashboard-card {
        padding: 24px;
    }
    
    .date-value {
        font-size: 2rem;
    }

    #todayBangla.date-value {
        font-size: clamp(2.45rem, 9vw, 3.15rem);
        padding: 0.42em 0.5em 0.46em;
        border-radius: 18px;
    }

    #todayEnglish.date-value {
        font-size: clamp(2.45rem, 9vw, 3.15rem);
        padding: 0.42em 0.5em 0.46em;
        border-radius: 18px;
    }
    
    .bento-hero {
        min-height: 220px;
    }
    
    .card-icon-container {
        margin-bottom: 14px;
    }
    
    .clock-badge-container {
        margin-bottom: 16px;
    }
    
    .countdown-banner-pill {
        width: 100%;
        border-radius: 16px;
        padding: 12px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .banner-pill-text-content {
        flex-direction: column;
        align-items: center;
        font-size: 0.88rem;
    }
    
    .utility-card {
        padding: 24px;
    }
    
    .utility-titles h3 {
        font-size: 1.2rem;
    }
    
    .calendar-nav-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .calendar-controls {
        justify-content: space-between;
    }
    
    .calendar-grid-header span {
        font-size: 0.7rem;
    }
    
    .calendar-day .bangla-num {
        font-size: 0.65rem;
    }

    .calendar-day.selected-active {
        transform: scale(1.045);
    }

    .calendar-day.today.selected-active {
        transform: scale(1.06);
    }
    
    .holiday-card-grid {
        grid-template-columns: 1fr;
    }
    
    .right-sidebar {
        grid-template-columns: 1fr;
    }
    
    .grid-footer-structure {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .scroll-top-button {
        bottom: calc(92px + env(safe-area-inset-bottom, 0px));
        right: max(14px, env(safe-area-inset-right, 0px));
    }

    body.legal-subpage .scroll-top-button {
        bottom: max(22px, env(safe-area-inset-bottom, 0px));
    }

    .today-bc-wrap {
        margin-top: 56px;
    }

    .cyber-footer {
        padding: 48px 0 32px;
        margin-top: 56px;
    }

    .premium-input {
        font-size: 16px; /* Reduce iOS focus-zoom on field tap */
    }
}

@media (max-width: 480px) {
    .converter-row {
        flex-direction: column;
    }
    
    .premium-btn {
        width: 100%;
    }
    
    .input-flex-container {
        flex-direction: column;
    }
    
    .faq-trigger {
        padding: 18px;
        font-size: 0.95rem;
    }
    
    .faq-collapsible-content p {
        padding: 0 18px 18px;
        font-size: 0.88rem;
    }

    .clock-badge {
        max-width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        padding: 8px 16px;
        border-radius: 22px;
    }

    .legal-page-inner .policy-content-block {
        padding: 20px clamp(14px, 4vw, 22px);
    }

    .dashboard-card {
        padding: 18px;
    }

    .utility-card {
        padding: 18px;
    }

    .bento-premium {
        padding: 18px !important;
        min-height: 200px !important;
    }

    .today-rich-hero-bottom {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .today-rich-month-name {
        font-size: clamp(1.02rem, 4.2vw, 1.2rem);
        line-height: 1.25;
    }

    .today-rich-hero-date {
        min-width: 0;
    }

    .today-rich-hero-meta {
        min-width: 0;
        width: 100%;
        align-items: flex-start;
    }

    .premium-tab {
        padding-inline: 10px;
        font-size: 0.82rem;
    }

    .calendar-body-custom {
        gap: min(8px, 2vw);
    }
}

@media (max-width: 440px) {
    .legal-subpage-header-inner {
        gap: 8px;
    }

    .legal-subpage-actions {
        gap: 6px;
    }

    .legal-subpage-actions .theme-toggle {
        width: 38px;
        height: 38px;
    }

    .legal-subpage-actions .numeral-toggle {
        padding: 0 10px;
        height: 38px;
        font-size: 0.78rem;
    }

    .legal-subpage-header .brand-logo-image img {
        width: min(136px, 46vw);
    }

    .holiday-modal-backdrop,
    .policy-modal-backdrop {
        padding: clamp(10px, 4vw, 20px);
    }
}

@media (max-width: 390px) {
    .header-actions {
        gap: 6px;
    }

    .numeral-toggle {
        padding: 0 10px;
        height: 38px;
        font-size: 0.76rem;
    }

    .theme-toggle,
    .mobile-menu-toggle {
        width: 38px;
        height: 38px;
        padding: 10px;
    }
}

@media (max-width: 360px) {
    .premium-tab-container {
        flex-wrap: wrap;
    }

    .premium-tab {
        flex: 1 1 calc(50% - 4px);
        min-width: 0;
        text-align: center;
        padding: 10px 8px;
    }
}

/* Premium Glassmorphic Modal */
.holiday-modal-backdrop {
    position: fixed;
    inset: 0;
    width: auto;
    min-height: 100vh;
    min-height: 100dvh;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

[data-theme="dark"] .holiday-modal-backdrop {
    background-color: rgba(2, 6, 23, 0.65);
}

.holiday-modal-card {
    background: var(--bg-card);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--border-glass);
    border-radius: calc(var(--radius-lg) + 4px);
    width: 100%;
    max-width: 580px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), var(--shadow-glow);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

/* Scrollbar styling for modal container */
.holiday-modal-card::-webkit-scrollbar {
    width: 6px;
}
.holiday-modal-card::-webkit-scrollbar-track {
    background: transparent;
}
.holiday-modal-card::-webkit-scrollbar-thumb {
    background: var(--border-glass);
    border-radius: 4px;
}

.holiday-modal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--accent);
}

.holiday-modal-card[data-category="religious"]::before { background: var(--green); }
.holiday-modal-card[data-category="executive"]::before { background: var(--gold); }
.holiday-modal-card[data-category="general"]::before { background: var(--accent); }

/* Animations for backdrop & card */
.animate-fade-in {
    animation: modalBackdropFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-scale-up {
    animation: modalScaleUp 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes modalBackdropFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalScaleUp {
    from { opacity: 0; transform: scale(0.92) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Close action button */
.holiday-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 100;
}

.holiday-modal-close:hover {
    background-color: var(--primary);
    color: var(--bg-main);
    border-color: var(--primary);
    transform: rotate(90deg);
}

/* Modal header content styles */
.holiday-modal-header {
    margin-bottom: 28px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 20px;
}

.holiday-tag-large {
    display: inline-flex;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 6px;
    background: rgba(var(--accent-raw), 0.08);
    color: var(--accent);
    margin-bottom: 16px;
}

.holiday-modal-card[data-category="religious"] .holiday-tag-large {
    background: var(--green-light);
    color: var(--green);
}

.holiday-modal-card[data-category="executive"] .holiday-tag-large {
    background: var(--gold-light);
    color: var(--gold);
}

.holiday-modal-dates {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.holiday-modal-title {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--text-main);
}

/* Content details section styles */
.detail-group {
    margin-bottom: 24px;
}

.detail-label {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.detail-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main);
}

.detail-row {
    display: flex;
    gap: 32px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px dashed var(--border-glass);
}

.detail-col {
    flex: 1;
}

.detail-value-badge {
    display: inline-flex;
    padding: 6px 14px;
    background: var(--bg-main);
    border: 1px solid var(--border-glass);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 8px;
    color: var(--text-main);
}

.detail-value-badge.category {
    color: var(--accent);
    background-color: rgba(var(--accent-raw), 0.04);
}

.holiday-modal-card[data-category="religious"] .detail-value-badge.category {
    color: var(--green);
    background-color: var(--green-light);
}

.holiday-modal-card[data-category="executive"] .detail-value-badge.category {
    color: var(--gold);
    background-color: var(--gold-light);
}

@media (max-width: 600px) {
    .holiday-modal-card {
        padding: 24px;
        border-radius: var(--radius-lg);
    }
    .holiday-modal-title {
        font-size: 1.4rem;
    }
    .detail-row {
        flex-direction: column;
        gap: 16px;
    }
}

/* Layered Premium Glassmorphic Layouts & Spotlights */
.glass-premium {
    background: var(--bg-card);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-soft), inset 0 1px 0 0 rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .glass-premium {
    background: rgba(13, 17, 28, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4), inset 0 1px 0 0 rgba(255, 255, 255, 0.04);
}

/* Interactive Card & Button Glow States and Hover Elevations */
.utility-card, .dashboard-card, .sidebar-premium-widget, .holiday-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Premium micro-motion on hover for bento details */
.dashboard-card:hover .date-value {
    letter-spacing: -0.04em;
    transform: scale(1.01);
}

/* Smooth shadows & hover movements for list cards */
.holiday-card:hover {
    transform: translateY(-4px) scale(1.015);
    box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.12), var(--shadow-glow);
}

[data-theme="dark"] .holiday-card:hover {
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.7), var(--shadow-glow);
}

/* Float Animation improvements for ambient backdrop blobs */
@keyframes blobFloat {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(60px, -80px) scale(1.2) rotate(120deg); }
    66% { transform: translate(-40px, 40px) scale(0.85) rotate(240deg); }
    100% { transform: translate(0, 0) scale(1) rotate(360deg); }
}

.glow-blob {
    animation: blobFloat 30s infinite cubic-bezier(0.4, 0, 0.2, 1) alternate;
    will-change: transform;
}

/* Premium Social Share Panel Grid & Button Styling */
.share-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-glass);
    background: var(--bg-hover);
    color: var(--text-main);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    outline: none;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.share-btn:active {
    transform: translateY(0);
}

.share-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

.share-btn:hover .share-icon-wrap {
    transform: scale(1.1);
}

.share-label {
    font-family: var(--font-ui);
    font-size: 0.82rem;
}

/* Platform specific variations with color themes matching light and dark canvas */
.share-btn.fb .share-icon-wrap { color: #1877f2; }
.share-btn.fb:hover {
    border-color: #1a77f2;
    background: rgba(24, 119, 242, 0.08);
}

.share-btn.messenger .share-icon-wrap { color: #0084ff; }
.share-btn.messenger:hover {
    border-color: #0084ff;
    background: rgba(0, 132, 255, 0.08);
}

.share-btn.whatsapp .share-icon-wrap { color: #25d366; }
.share-btn.whatsapp:hover {
    border-color: #25d366;
    background: rgba(37, 211, 102, 0.08);
}

/* IMO has sky-blue brand identity */
.share-btn.imo .share-icon-wrap { color: #00a0e9; }
.share-btn.imo:hover {
    border-color: #00a0e9;
    background: rgba(0, 160, 233, 0.08);
}

/* Custom Premium Share Toast notification */
.premium-toast {
    position: fixed;
    bottom: 90px; /* High enough to clear modern mobile apple-style sticky bottom bar */
    left: 50%;
    transform: translate(-50%, 20px);
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 14px 24px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.premium-toast.visible {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.toast-icon {
    width: 20px;
    height: 20px;
    color: var(--green, #22c55e);
    flex-shrink: 0;
}

.toast-message {
    font-size: 0.88rem;
    color: var(--text-main);
    font-weight: 500;
    line-height: 1.4;
}

/* Responsive Split Calendar Layout */
.calendar-layout-split {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 16px;
}

@media (min-width: 900px) {
    .calendar-layout-split {
        display: grid;
        grid-template-columns: 2.2fr 1fr;
        gap: 24px;
        align-items: stretch;
    }
}

.calendar-main-sheet {
    flex: 1;
}

.calendar-side-details {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    min-height: 320px;
    transition: var(--transition-medium);
}

.calendar-side-details::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

/* Selected day — strong gold spotlight (মাসিক পঞ্জিকায় নির্বাচিত তারিখ) */
.calendar-day.selected-active {
    outline: none;
    z-index: 2;
    border-color: rgba(217, 119, 6, 0.55);
    color: var(--text-main);
    background: linear-gradient(
        160deg,
        rgba(251, 191, 36, 0.26) 0%,
        rgba(245, 158, 11, 0.12) 42%,
        rgba(254, 243, 199, 0.2) 100%
    );
    box-shadow:
        0 0 0 2px rgba(217, 119, 6, 0.5),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.4),
        0 8px 28px rgba(217, 119, 6, 0.24);
    transform: scale(1.07);
    font-weight: 800;
}

.calendar-day.selected-active > span:first-child {
    font-weight: 800;
    font-size: 1.05em;
}

.calendar-day.selected-active .bangla-num {
    color: #b45309;
    font-weight: 800;
}

.calendar-day.holiday.selected-active {
    color: var(--text-main);
    background: linear-gradient(
        160deg,
        rgba(251, 191, 36, 0.28) 0%,
        rgba(248, 113, 113, 0.08) 52%,
        rgba(254, 243, 199, 0.18) 100%
    );
    border-color: rgba(217, 119, 6, 0.55);
}

.calendar-day.special-cultural.selected-active {
    border-color: rgba(217, 119, 6, 0.55);
}

/* Weekend reds must not beat selected spotlight (except today) */
.calendar-day.friday-weekend.selected-active:not(.today),
.calendar-day.saturday-weekend.selected-active:not(.today) {
    color: var(--text-main) !important;
}

.calendar-day.friday-weekend.selected-active:not(.today) .bangla-num,
.calendar-day.saturday-weekend.selected-active:not(.today) .bangla-num {
    color: #b45309 !important;
}

/* Today + selected: keep blue “today” fill, add gold focus ring */
.calendar-day.today.selected-active {
    background: var(--accent) !important;
    color: #ffffff !important;
    border-color: rgba(251, 191, 36, 0.95);
    box-shadow:
        0 0 0 3px rgba(251, 191, 36, 0.98),
        0 0 26px rgba(59, 130, 246, 0.5),
        0 10px 28px rgba(217, 119, 6, 0.3);
    transform: scale(1.08);
}

.calendar-day.today.selected-active .bangla-num {
    color: rgba(255, 255, 255, 0.92) !important;
}

.calendar-day.today.holiday.selected-active::after {
    background-color: #fbbf24;
}

[data-theme="dark"] .calendar-day.selected-active:not(.today) {
    background: linear-gradient(
        160deg,
        rgba(217, 119, 6, 0.22) 0%,
        rgba(180, 83, 9, 0.14) 48%,
        rgba(251, 191, 36, 0.08) 100%
    );
    border-color: rgba(251, 191, 36, 0.5);
    box-shadow:
        0 0 0 2px rgba(251, 191, 36, 0.4),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.08),
        0 10px 32px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .calendar-day.selected-active:not(.today) .bangla-num {
    color: #fbbf24;
}

[data-theme="dark"] .calendar-day.today.selected-active {
    box-shadow:
        0 0 0 3px rgba(251, 191, 36, 0.9),
        0 0 32px rgba(37, 99, 235, 0.45),
        0 12px 28px rgba(0, 0, 0, 0.35);
}

/* Friday weekend styles */
.calendar-day.friday-weekend {
    color: #e11d48 !important; /* Soft rose red for high-end look */
}
.calendar-day.friday-weekend .bangla-num {
    color: rgba(225, 29, 72, 0.7);
}

/* Saturday weekend style */
.calendar-day.saturday-weekend {
    color: #f43f5e !important;
}
.calendar-day.saturday-weekend .bangla-num {
    color: rgba(244, 63, 94, 0.7);
}

/* Special cultural day highlight */
.calendar-day.special-cultural {
    background: rgba(245, 158, 11, 0.05); /* Warm amber tint */
    border-color: rgba(245, 158, 11, 0.25);
}

.calendar-day.special-cultural .bangla-num {
    color: #d97706; /* Solid amber colors */
    font-weight: 700;
}

.calendar-day.special-cultural::after {
    content: '✦';
    position: absolute;
    bottom: 2px;
    font-size: 0.55rem;
    color: #d97706;
}

/* Sidebar premium elements inside the day sheet */
.side-detail-header {
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.side-detail-tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.side-detail-tag.holiday-tag {
    background: rgba(220, 38, 38, 0.08);
    color: #ef4444;
    border: 1px solid rgba(220, 38, 38, 0.15);
}

.side-detail-tag.cultural-tag {
    background: rgba(245, 158, 11, 0.08);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.15);
}

.side-detail-tag.regular-tag {
    background: rgba(59, 130, 246, 0.08);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.side-detail-bndate {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.3;
}

.side-detail-egdate {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 4px;
}

.side-detail-hijridate {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

.side-detail-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: 16px;
}

.side-detail-season {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.season-badge {
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--bg-hover);
    border: 1px solid var(--border-glass);
    font-size: 0.75rem;
}

.side-detail-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.side-detail-desc strong {
    color: var(--text-main);
}

.side-detail-footer {
    border-top: 1px solid var(--border-glass);
    padding-top: 12px;
    margin-top: auto;
}

.side-detail-share-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--bg-hover);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.side-detail-share-btn:hover {
    background: var(--bg-main);
    border-color: rgba(var(--accent-raw), 0.3);
    color: var(--accent);
}

/* Premium Policies Modal & AdSense Compliance styles */
.policy-modal-backdrop {
    position: fixed;
    inset: 0;
    width: auto;
    min-height: 100vh;
    min-height: 100dvh;
    background-color: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: modalBackdropFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

[data-theme="dark"] .policy-modal-backdrop {
    background-color: rgba(2, 6, 23, 0.7);
}

.policy-modal-card {
    background: var(--bg-card);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 760px;
    padding: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2), var(--shadow-glow);
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    outline: none;
    animation: modalScaleUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.policy-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-hover);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.policy-modal-close:hover {
    color: var(--text-main);
    background: var(--bg-main);
    transform: rotate(90deg);
}

.policy-modal-header {
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 12px;
    text-align: left;
}

.policy-modal-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.policy-modal-subtitle {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 700;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.policy-modal-tabs {
    display: flex;
    gap: 6px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 6px;
    overflow-x: auto;
    scrollbar-width: none;
}

.policy-modal-tabs::-webkit-scrollbar {
    display: none;
}

.policy-tab-btn {
    padding: 6px 14px;
    border: 1px solid transparent;
    border-radius: 20px;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.policy-tab-btn:hover {
    color: var(--text-main);
    background: var(--bg-hover);
}

.policy-tab-btn.active {
    color: var(--accent);
    background: rgba(var(--accent-raw), 0.08);
    border-color: rgba(var(--accent-raw), 0.2);
}

.policy-modal-body {
    overflow-y: auto;
    flex: 1;
    min-height: 280px;
    text-align: left;
    padding-right: 4px;
}

.policy-modal-body::-webkit-scrollbar {
    width: 4px;
}

.policy-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.policy-modal-body::-webkit-scrollbar-thumb {
    background: var(--border-glass);
    border-radius: 2px;
}

.policy-content-block {
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.policy-panel-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}

.policy-sub-heading {
    margin-top: 14px;
    margin-bottom: 4px;
}

.policy-modal-panel {
    display: none;
}

.policy-modal-panel.active {
    display: block;
    animation: panelFadeIn 0.25s ease-out forwards;
}

@keyframes panelFadeIn {
    0% { opacity: 0; transform: translateY(4px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Contact Form Styling */
.policy-contact-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.form-row-half {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 580px) {
    .form-row-half {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    background: var(--bg-hover);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.85rem;
    color: var(--text-main);
    outline: none;
    font-family: inherit;
    transition: all 0.15s ease;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--accent);
    background: var(--bg-main);
    box-shadow: 0 0 0 3px rgba(var(--accent-raw), 0.15);
}

.form-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 4px;
    text-align: left;
}

.form-checkbox-row input[type="checkbox"] {
    width: 15px;
    height: 15px;
    border-radius: 4px;
    border: 1px solid var(--border-glass);
    accent-color: var(--accent);
    cursor: pointer;
    margin-top: 3px;
}

.form-checkbox-row label {
    color: var(--text-muted);
    line-height: 1.4;
    user-select: none;
    cursor: pointer;
}

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 160px;
    padding: 11px 20px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.contact-submit-btn:hover {
    background: rgba(var(--accent-raw), 0.85);
    transform: translateY(-1px);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

.contact-success-card {
    border: 1px dashed rgba(34, 197, 94, 0.4);
    background: rgba(34, 197, 94, 0.03);
    border-radius: var(--radius-md);
    margin-top: 10px;
}

/* Fix tab scrolling shadows */
@media (max-width: 600px) {
    .policy-modal-card {
        padding: 24px;
        max-height: 92vh;
    }
}




