/* Venixa Spiritual Innovations - Features 2, 3, 4 Stylesheet */

/* SACRED TOP NAVIGATION BAR */
.sacred-nav-bar {
    background: rgba(15, 8, 4, 0.95);
    border-bottom: 1px solid var(--border-gold);
    padding: 0.5rem 1.5rem;
    position: sticky;
    top: 73px;
    z-index: 990;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

[data-theme="light"] .sacred-nav-bar {
    background: rgba(250, 245, 235, 0.96);
    border-bottom: 1px solid rgba(180, 130, 40, 0.25);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.nav-container::-webkit-scrollbar {
    display: none;
}

.nav-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.1rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--text-muted);
    font-family: var(--font-base);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-tab:hover {
    background: rgba(245, 158, 11, 0.12);
    border-color: var(--gold-primary);
    color: var(--gold-light);
    transform: translateY(-1px);
}

.nav-tab.active {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(234, 88, 12, 0.25));
    border-color: var(--gold-primary);
    color: #fff;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
    font-weight: 600;
}

[data-theme="light"] .nav-tab {
    background: #FFFFFF;
    border: 1px solid rgba(180, 130, 40, 0.22);
    color: #6B5548;
}

[data-theme="light"] .nav-tab.active {
    background: #5C1524 !important;
    color: #FEF3C7 !important;
    border-color: #5C1524 !important;
    box-shadow: 0 2px 10px rgba(92, 21, 36, 0.25);
}

.tab-badge {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: #000;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.15rem 0.45rem;
    border-radius: 9999px;
    letter-spacing: 0.5px;
}

/* VIEW PANELS */
.venixa-view {
    display: none;
    animation: fadeInView 0.35s ease forwards;
}

.venixa-view.active {
    display: block;
}

@keyframes fadeInView {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.feature-container {
    max-width: 1300px;
    margin: 1.5rem auto 3rem;
    padding: 0 1.5rem;
}

/* ========================================================= */
/* IDEA 2: VENIXA VANI (AI CHANTING COACH & KARAOKE PLAYER) */
/* ========================================================= */
.vani-hero-card {
    background: linear-gradient(145deg, rgba(28, 14, 8, 0.95), rgba(15, 7, 3, 0.95));
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.vani-hero-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.vani-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.vani-title-block h2 {
    font-size: 1.8rem;
    color: var(--gold-light);
    margin-bottom: 0.3rem;
    font-family: var(--font-base);
}

.vani-title-block p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.vani-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.35);
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    color: var(--gold-light);
}

.vani-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

/* KARAOKE STAGE */
.karaoke-stage {
    background: rgba(10, 5, 2, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8);
}

.karaoke-verse-number {
    font-size: 0.9rem;
    color: var(--gold-primary);
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.karaoke-verse-text {
    font-size: 1.7rem;
    line-height: 1.8;
    color: #fff;
    font-family: 'Times New Roman', Georgia, serif;
    transition: all 0.3s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    width: 100%;
    max-width: 900px;
}

.karaoke-line {
    padding: 0.5rem 1.2rem;
    margin: 0.4rem 0;
    border-radius: 10px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.65;
    display: block;
    width: 100%;
}

.karaoke-line.active-speaking-line {
    opacity: 1;
    color: #fef08a;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.25), rgba(234, 88, 12, 0.15));
    border-left: 4px solid var(--gold-primary);
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.9), 0 0 35px rgba(234, 88, 12, 0.5);
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.2);
}

.karaoke-meaning-box {
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--text-muted);
    font-style: italic;
    max-width: 800px;
}

/* WAVEFORM CANVAS */
.waveform-container {
    width: 100%;
    height: 90px;
    background: rgba(12, 6, 3, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
}

#vaniWaveformCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* PLAYER CONTROLS */
.vani-controls-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(20, 10, 5, 0.7);
    padding: 1.25rem 1.5rem;
    border-radius: 14px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.vani-playback-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.vani-btn {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--gold-light);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.vani-btn:hover {
    background: rgba(245, 158, 11, 0.3);
    transform: scale(1.08);
}

.vani-btn-play {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: #000;
    font-size: 1.4rem;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}

.vani-btn-play:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.6);
}

.vani-toggles-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.vani-select-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.vani-select {
    background: rgba(12, 6, 3, 0.9);
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    outline: none;
}

.vani-voice-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: var(--gold-primary);
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 9999px;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.15);
}


/* ========================================================= */
/* IDEA 3: SRI YANTRA & 108 JAPA MEDITATION SUITE            */
/* ========================================================= */
.mandala-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 900px) {
    .mandala-layout {
        grid-template-columns: 1fr;
    }
}

.mandala-visual-card {
    background: radial-gradient(circle at center, rgba(35, 15, 8, 0.95), rgba(10, 4, 2, 0.98));
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.sri-yantra-svg {
    width: 320px;
    height: 320px;
    filter: drop-shadow(0 0 25px rgba(245, 158, 11, 0.5));
    animation: rotateMandala 120s linear infinite;
    cursor: pointer;
    transition: transform 0.5s ease;
}

.sri-yantra-svg:hover {
    filter: drop-shadow(0 0 35px rgba(245, 158, 11, 0.8));
    transform: scale(1.05);
}

@keyframes rotateMandala {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.mandala-mantra-caption {
    margin-top: 1.5rem;
    color: var(--gold-light);
    font-size: 1.3rem;
    font-family: 'Times New Roman', serif;
    letter-spacing: 1px;
}

.mandala-subcaption {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

/* MEDITATION TOOLBOX ON RIGHT */
.meditation-toolbox {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tool-card {
    background: rgba(22, 11, 6, 0.85);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.tool-card-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
    color: var(--gold-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* 108 JAPA MALA COUNTER */
.japa-counter-row {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 1rem;
}

.japa-number-display {
    text-align: center;
}

.japa-big-number {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fef08a;
    line-height: 1;
    font-family: var(--font-base);
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

.japa-total-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

.japa-tap-btn {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: #000;
    font-size: 1.3rem;
    font-weight: 700;
    border: none;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    cursor: pointer;
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.4);
    transition: all 0.15s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.japa-tap-btn:active {
    transform: scale(0.92);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.7);
}

.japa-tap-btn span {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.japa-reset-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-muted);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.japa-reset-btn:hover {
    color: #ef4444;
    border-color: #ef4444;
}

/* PRANAYAMA BREATHING GUIDE */
.breathing-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.breath-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.4), transparent);
    border: 2px solid var(--gold-primary);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
    animation: breatheAnim 12s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

@keyframes breatheAnim {
    0%, 100% { transform: scale(0.85); box-shadow: 0 0 10px rgba(245, 158, 11, 0.2); }
    33% { transform: scale(1.25); box-shadow: 0 0 30px rgba(245, 158, 11, 0.6); }
    66% { transform: scale(1.25); box-shadow: 0 0 30px rgba(245, 158, 11, 0.6); }
}

.breath-instructions {
    flex: 1;
}

.breath-phase-text {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.breath-count-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    overflow: hidden;
}

.breath-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #ea580c);
    width: 60%;
    transition: width 1s linear;
}

/* CHAKRA FREQUENCY TUNER */
.chakra-pills-row {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.chakra-pill {
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.chakra-pill:hover, .chakra-pill.active {
    color: #fff;
    border-color: var(--gold-primary);
    background: rgba(245, 158, 11, 0.2);
}

.binaural-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.binaural-btn {
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.binaural-btn.playing {
    background: #10b981;
    color: #000;
    border-color: #10b981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

/* ========================================================= */
/* IDEA 4: VEDIC PANCHANGAM & DAILY SADHANA PORTAL           */
/* ========================================================= */
.panchang-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.panchang-card {
    background: rgba(22, 11, 6, 0.85);
    border: 1px solid var(--border-gold);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.panchang-card-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.panchang-card-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.panchang-card-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.3rem;
}

.panchang-card-sub {
    font-size: 0.85rem;
    color: var(--gold-light);
}

/* RECOMMENDED SADHANA BANNER */
.sadhana-banner {
    background: linear-gradient(135deg, rgba(35, 15, 8, 0.95), rgba(20, 8, 3, 0.95));
    border: 1px solid var(--gold-primary);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.15);
}

.sadhana-banner-content h3 {
    font-size: 1.6rem;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
}

.sadhana-banner-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 650px;
    line-height: 1.6;
}

.sadhana-btn-action {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: #000;
    padding: 0.85rem 1.8rem;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.sadhana-btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.6);
}

/* ========================================================= */
/* SARVAM AI BULBUL V3 - DEVOTIONAL AUDIO PLAYER CONTROLS    */
/* ========================================================= */
.vani-progress-container {
    width: 100%;
    margin: 1.2rem 0 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.vani-scrub-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.vani-time-badge {
    font-size: 0.78rem;
    font-family: monospace;
    color: var(--gold-light);
    min-width: 40px;
}

.vani-progress-bar {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 9999px;
    background: rgba(245, 158, 11, 0.2);
    outline: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.vani-progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gold-primary);
    box-shadow: 0 0 10px #f59e0b;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.vani-progress-bar::-webkit-slider-thumb:hover {
    transform: scale(1.3);
}

.vani-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.vani-volume-box {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
}

.vani-volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 75px;
    height: 4px;
    border-radius: 9999px;
    background: rgba(245, 158, 11, 0.3);
    outline: none;
    cursor: pointer;
}

.vani-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold-light);
    cursor: pointer;
}

/* ========================================================= */
/* TELUGU DEVOTIONAL TESTING SUITE                           */
/* ========================================================= */
.telugu-test-lab-card {
    background: linear-gradient(145deg, rgba(25, 12, 6, 0.95), rgba(12, 5, 2, 0.98));
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 18px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.test-lab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(245, 158, 11, 0.2);
    padding-bottom: 1rem;
}

.test-lab-title h3 {
    font-size: 1.4rem;
    color: var(--gold-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.test-lab-title p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.test-sentences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.test-sentence-card {
    background: rgba(15, 8, 4, 0.7);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 12px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.85rem;
    transition: all 0.25s ease;
}

.test-sentence-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.15);
}

.test-telugu-text {
    font-size: 1.35rem;
    line-height: 1.6;
    color: #fff;
    font-family: 'Times New Roman', Georgia, 'Gautami', serif;
}

.test-sanskrit-tag {
    font-size: 0.72rem;
    letter-spacing: 0.5px;
    color: var(--gold-primary);
    text-transform: uppercase;
    font-weight: 600;
}

.test-btn-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.test-btn {
    flex: 1;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: var(--gold-light);
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    font-size: 0.82rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.test-btn:hover {
    background: rgba(245, 158, 11, 0.3);
    color: #fff;
}

.test-btn.active-testing {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: #000;
    border-color: #f59e0b;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
}

.custom-tester-box {
    background: rgba(10, 5, 2, 0.8);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    padding: 1.25rem;
}

.custom-tester-box textarea {
    width: 100%;
    background: rgba(18, 9, 4, 0.9);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #fff;
    font-size: 1.15rem;
    resize: vertical;
    outline: none;
    font-family: inherit;
    margin-bottom: 0.75rem;
}

.custom-tester-box textarea:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

/* =============================================================================
   VEDAVANI DEVOTIONAL HOME PORTAL (INSPIRED BY SACRED REFERENCE DESIGN)
   ============================================================================= */

.vedavani-portal-wrapper {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 1rem 24px 3.5rem 24px;
    box-sizing: border-box;
}

/* 1. DIVINE HERO BANNER */
.vedavani-hero-banner {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(107, 23, 36, 0.1);
    margin-bottom: 0.75rem;
    border: 1px solid rgba(180, 130, 40, 0.3);
    min-height: 110px;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.vedavani-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 30%;
    filter: brightness(0.98) saturate(1.1);
    transform: scale(1.02);
}

.vedavani-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(253, 248, 240, 0.96) 0%, rgba(253, 248, 240, 0.9) 45%, rgba(253, 248, 240, 0.4) 80%, rgba(253, 248, 240, 0.15) 100%);
}

[data-theme="dark"] .vedavani-hero-overlay {
    background: linear-gradient(90deg, rgba(18, 9, 4, 0.96) 0%, rgba(18, 9, 4, 0.88) 50%, rgba(18, 9, 4, 0.4) 85%, rgba(18, 9, 4, 0.2) 100%);
}

.vedavani-hero-content {
    position: relative;
    z-index: 2;
    padding: 1.1rem 1.8rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.vedavani-lotus-emblem {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFF1D6, #FFE2A8);
    border: 2px solid #D97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 0 20px rgba(217, 119, 6, 0.35);
    flex-shrink: 0;
}

[data-theme="dark"] .vedavani-lotus-emblem {
    background: linear-gradient(135deg, #3D1C06, #5B2B0A);
    border-color: #F59E0B;
}

.vedavani-title {
    font-size: 2.1rem;
    font-weight: 700;
    color: #5C1524;
    letter-spacing: -0.3px;
    font-family: 'Times New Roman', Georgia, serif;
    line-height: 1.2;
}

[data-theme="dark"] .vedavani-title {
    color: #FDE68A;
    text-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
}

.vedavani-subtitle {
    font-size: 0.95rem;
    color: #78350F;
    margin-top: 0.22rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

[data-theme="dark"] .vedavani-subtitle {
    color: #D1B89D;
}

/* 2. SEARCH & SCRIPT QUICK-SWITCHER BAR */
.vedavani-search-container {
    margin-bottom: 0.65rem;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.vedavani-search-bar {
    background: var(--bg-card);
    border: 1.5px solid rgba(180, 130, 40, 0.32);
    border-radius: 9999px;
    padding: 0.32rem 0.5rem 0.32rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    box-shadow: 0 3px 12px rgba(107, 23, 36, 0.05);
    transition: all 0.25s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.vedavani-search-bar:focus-within {
    border-color: #D97706;
    box-shadow: 0 4px 18px rgba(217, 119, 6, 0.18);
}

.vedavani-search-icon {
    font-size: 1rem;
    color: #B45309;
    flex-shrink: 0;
}

.vedavani-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.92rem;
    color: var(--text-main);
    background: transparent;
    font-family: inherit;
}

.vedavani-search-input::placeholder {
    color: var(--text-muted);
    opacity: 0.8;
}

.vedavani-search-clear {
    background: none;
    border: none;
    font-size: 1rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0 0.5rem;
    display: none;
}

.home-lang-dropdown-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    background: var(--bg-deep);
    border: 1px solid rgba(180, 130, 40, 0.35);
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.home-lang-dropdown-wrapper:hover,
.home-lang-dropdown-wrapper:focus-within {
    border-color: #D97706;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.15);
}

.home-lang-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-dark);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    white-space: nowrap;
}

.home-lang-dropdown {
    background: transparent;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    outline: none;
    font-family: inherit;
    padding: 0.15rem 0.25rem;
}

[data-theme="dark"] .home-lang-dropdown-wrapper {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(245, 158, 11, 0.4);
}

[data-theme="dark"] .home-lang-dropdown {
    color: #fef08a;
    background: #1c150e;
}

.vedavani-script-pills {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: nowrap;
}

.script-pill {
    padding: 0.42rem 0.95rem;
    border-radius: 9999px;
    border: 1px solid rgba(107, 23, 36, 0.2);
    background: var(--bg-deep);
    color: #5C1524;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

[data-theme="dark"] .script-pill {
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: #FDE68A;
}

.script-pill:hover {
    border-color: #D97706;
    color: #D97706;
}

.script-pill.active {
    background: #5C1524 !important;
    color: #FEF3C7 !important;
    border-color: #5C1524 !important;
    box-shadow: 0 2px 8px rgba(92, 21, 36, 0.35);
}

[data-theme="dark"] .script-pill.active {
    background: linear-gradient(135deg, #D97706, #EA580C) !important;
    color: #000 !important;
    border-color: #D97706 !important;
}

/* Home search auto-complete dropdown */
.home-search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.4rem;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    max-height: 280px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.home-search-suggestions.visible {
    display: block;
}

.search-sugg-item {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid rgba(180, 130, 40, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.15s ease;
}

.search-sugg-item:hover {
    background: rgba(217, 119, 6, 0.08);
}

.search-sugg-title {
    font-weight: 600;
    color: var(--text-main);
}

.search-sugg-deity {
    font-size: 0.8rem;
    color: var(--gold-primary);
}

/* 3. TWO COLUMN LAYOUT */
.vedavani-two-col-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "header ."
        "main   sidebar";
    column-gap: 28px;
    row-gap: 0;
    align-items: start;
    margin-bottom: 2.75rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.vedavani-main-col {
    display: contents;
}

.vedavani-section-header {
    grid-area: header;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.15rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.vedavani-section-header h2 {
    font-size: 1.55rem;
    font-weight: 700;
    color: #5C1524;
    font-family: 'Times New Roman', Georgia, serif;
    letter-spacing: -0.3px;
    margin: 0;
}

[data-theme="dark"] .vedavani-section-header h2 {
    color: #FDE68A;
}

.vedavani-header-lotus {
    font-size: 1.2rem;
    opacity: 0.75;
}

/* CATEGORIES 2-COLUMN GRID (10 CARDS) */
.vedavani-categories-grid {
    grid-area: main;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.85rem !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.vedavani-cat-card {
    background: var(--bg-card);
    border: 1px solid rgba(180, 130, 40, 0.22);
    border-radius: 14px;
    padding: 0.95rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(107, 23, 36, 0.04);
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.vedavani-cat-card:hover {
    transform: translateY(-3px);
    border-color: #D97706;
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.16);
}

[data-theme="dark"] .vedavani-cat-card {
    background: rgba(26, 13, 8, 0.85);
    border-color: rgba(212, 175, 55, 0.2);
}

[data-theme="dark"] .vedavani-cat-card:hover {
    background: rgba(38, 19, 11, 0.95);
    border-color: #F59E0B;
}

.cat-icon-badge {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* Category Soft Pastel Accents */
.cat-color-amber { background: #FEF3C7; color: #B45309; }
.cat-color-rose { background: #FFE4E6; color: #BE123C; }
.cat-color-purple { background: #F3E8FF; color: #7E22CE; }
.cat-color-emerald { background: #D1FAE5; color: #047857; }
.cat-color-orange { background: #FFEDD5; color: #C2410C; }
.cat-color-crimson { background: #FCE7F3; color: #9D174D; }
.cat-color-blue { background: #E0F2FE; color: #0369A1; }
.cat-color-gold { background: #FEF9C3; color: #A16207; }
.cat-color-indigo { background: #E0E7FF; color: #4338CA; }
.cat-color-teal { background: #CCFBF1; color: #0F766E; }

[data-theme="dark"] .cat-icon-badge {
    opacity: 0.9;
}

.cat-text-group {
    flex: 1;
    min-width: 0;
}

.cat-text-group h3 {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
    white-space: normal;
    word-break: break-word;
    line-height: 1.35;
}

.cat-text-group p {
    font-size: 0.77rem;
    color: var(--text-muted);
    line-height: 1.35;
    white-space: normal;
    word-break: break-word;
}

.cat-arrow {
    font-size: 1.35rem;
    color: #B45309;
    font-weight: 600;
    opacity: 0.65;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.vedavani-cat-card:hover .cat-arrow {
    transform: translateX(4px);
    opacity: 1;
    color: #D97706;
}

/* RIGHT COLUMN: PANCHANGAM & FEATURED */
.vedavani-side-col {
    grid-area: sidebar;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* =============================================================================
   STANDALONE AI CHANT PLAYER SIDEBAR COMPONENT (SPOTIFY-INSPIRED SACRED DESIGN)
   ============================================================================= */
.vedavani-side-player {
    background: var(--bg-card);
    border: 1px solid rgba(180, 130, 40, 0.28);
    border-radius: 18px;
    padding: 1.25rem;
    box-shadow: 0 4px 20px rgba(107, 23, 36, 0.05);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
    position: relative;
}

[data-theme="dark"] .vedavani-side-player {
    background: rgba(26, 13, 8, 0.88);
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.side-player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(180, 130, 40, 0.16);
}

.side-player-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.side-player-icon {
    font-size: 1.15rem;
}

.side-player-title {
    font-weight: 700;
    color: #5C1524;
    font-size: 1.05rem;
    font-family: 'Times New Roman', Georgia, serif;
    letter-spacing: -0.2px;
}

[data-theme="dark"] .side-player-title {
    color: #FDE68A;
}

.side-player-ai-badge {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #10B981;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

[data-theme="dark"] .side-player-ai-badge {
    background: rgba(16, 185, 129, 0.2);
    color: #34D399;
}

/* ARTWORK FRAME */
.side-player-art-frame {
    position: relative;
    width: 100%;
    height: 145px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0.85rem;
    border: 1px solid rgba(180, 130, 40, 0.22);
    background: #2a1208;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.35);
}

.side-player-art-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    transition: transform 0.4s ease;
}

.vedavani-side-player:hover .side-player-art-img {
    transform: scale(1.03);
}

.side-player-art-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(16, 8, 4, 0.65) 0%, transparent 60%);
    pointer-events: none;
}

/* AMBIENT AUDIO EQUALIZER BARS (ACTIVE WHEN PLAYING) */
.side-player-eq-badge {
    position: absolute;
    bottom: 8px;
    right: 10px;
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 16px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    padding: 3px 6px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.side-eq-bar {
    width: 3px;
    height: 4px;
    background: #F59E0B;
    border-radius: 1px;
    transition: height 0.15s ease;
}

.vedavani-side-player.is-playing .side-eq-bar:nth-child(1) {
    animation: sideEqPulse 0.6s infinite ease-in-out alternate;
}
.vedavani-side-player.is-playing .side-eq-bar:nth-child(2) {
    animation: sideEqPulse 0.8s 0.2s infinite ease-in-out alternate;
}
.vedavani-side-player.is-playing .side-eq-bar:nth-child(3) {
    animation: sideEqPulse 0.5s 0.4s infinite ease-in-out alternate;
}
.vedavani-side-player.is-playing .side-eq-bar:nth-child(4) {
    animation: sideEqPulse 0.7s 0.1s infinite ease-in-out alternate;
}

@keyframes sideEqPulse {
    0% { height: 3px; }
    100% { height: 14px; }
}

/* CHANT METADATA */
.side-player-info {
    margin-bottom: 0.75rem;
    min-width: 0;
}

.side-player-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #5C1524;
    margin: 0;
    white-space: normal;
    word-break: break-word;
    line-height: 1.35;
    font-family: 'Times New Roman', Georgia, serif;
    cursor: pointer;
    display: inline-block;
    transition: color 0.2s ease, transform 0.2s ease;
}

.side-player-name:hover {
    color: #b91c1c;
    text-decoration: underline;
    text-underline-offset: 3px;
}

[data-theme="dark"] .side-player-name {
    color: #FDE68A;
}

[data-theme="dark"] .side-player-name:hover {
    color: #fef08a;
}

.side-player-artist {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0;
    white-space: normal;
    word-break: break-word;
    line-height: 1.35;
}

/* PROGRESS BAR */
.side-player-progress-wrap {
    margin-bottom: 0.85rem;
    width: 100%;
}

.side-player-progress-bar {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 5px;
    border-radius: 3px;
    background: rgba(180, 130, 40, 0.2);
    outline: none;
    cursor: pointer;
    margin: 0 0 4px 0;
    transition: all 0.2s ease;
}

[data-theme="dark"] .side-player-progress-bar {
    background: rgba(212, 175, 55, 0.2);
}

.side-player-progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #D97706;
    border: 2px solid #FFF8E7;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    transition: transform 0.15s ease;
}

.side-player-progress-bar:hover::-webkit-slider-thumb {
    transform: scale(1.25);
    background: #B45309;
}

.side-player-time-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: var(--text-muted);
    font-family: inherit;
    font-variant-numeric: tabular-nums;
}

/* PLAYBACK CONTROLS ROW */
.side-player-controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.side-ctrl-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(180, 130, 40, 0.25);
    background: rgba(180, 130, 40, 0.08);
    color: #5C1524;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

[data-theme="dark"] .side-ctrl-btn {
    color: #FDE68A;
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(212, 175, 55, 0.25);
}

.side-ctrl-btn:hover {
    background: rgba(180, 130, 40, 0.2);
    transform: scale(1.06);
    border-color: #D97706;
}

/* MAIN PLAY / PAUSE BUTTON */
.side-ctrl-play-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #F59E0B, #B45309);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.side-ctrl-play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(217, 119, 6, 0.45);
}

.side-ctrl-play-btn:active {
    transform: scale(0.96);
}

/* VOLUME WRAPPER */
.side-player-volume-wrap {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    position: relative;
}

.side-player-vol-slider {
    width: 52px;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 2px;
    background: rgba(180, 130, 40, 0.25);
    outline: none;
    cursor: pointer;
}

.side-player-vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #D97706;
    cursor: pointer;
}

/* TODAY'S PANCHANGAM CARD (CLASSIC FALLBACK) */
.vedavani-panchang-box {
    background: var(--bg-card);
    border: 1px solid rgba(180, 130, 40, 0.28);
    border-radius: 18px;
    padding: 1.2rem;
    box-shadow: 0 4px 18px rgba(107, 23, 36, 0.05);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

[data-theme="dark"] .vedavani-panchang-box {
    background: rgba(26, 13, 8, 0.85);
    border-color: rgba(212, 175, 55, 0.25);
}

.panchang-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(180, 130, 40, 0.15);
    padding-bottom: 0.65rem;
}

.panchang-title {
    font-weight: 700;
    color: #5C1524;
    font-size: 1.05rem;
    font-family: 'Times New Roman', Georgia, serif;
}

[data-theme="dark"] .panchang-title {
    color: #FDE68A;
}

.panchang-compact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 0.85rem 0;
    width: 100%;
    box-sizing: border-box;
}

.panchang-item {
    background: var(--bg-deep);
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(180, 130, 40, 0.14);
    display: flex;
    flex-direction: column;
    min-width: 0;
    box-sizing: border-box;
}

.panchang-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.panchang-val {
    font-size: 0.92rem;
    color: var(--text-main);
    font-weight: 700;
    margin-top: 2px;
}

.panchang-view-btn {
    width: 100%;
    padding: 0.55rem;
    border-radius: 9px;
    background: rgba(180, 130, 40, 0.12);
    border: 1px solid rgba(180, 130, 40, 0.32);
    color: #5C1524;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

[data-theme="dark"] .panchang-view-btn {
    color: #FDE68A;
    background: rgba(245, 158, 11, 0.15);
}

.panchang-view-btn:hover {
    background: #5C1524;
    color: #FEF3C7;
}

[data-theme="dark"] .panchang-view-btn:hover {
    background: #D97706;
    color: #000;
}

/* FEATURED CARD: SRI LALITHA SAHASRANAMAM */
.vedavani-featured-card {
    background: var(--bg-card);
    border: 1px solid rgba(180, 130, 40, 0.3);
    border-radius: 18px;
    padding: 1.25rem;
    box-shadow: 0 6px 22px rgba(107, 23, 36, 0.08);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

[data-theme="dark"] .vedavani-featured-card {
    background: rgba(26, 13, 8, 0.85);
    border-color: rgba(212, 175, 55, 0.25);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    left: 1.25rem;
    background: #5C1524;
    color: #FEF3C7;
    padding: 0.28rem 0.8rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

[data-theme="dark"] .featured-badge {
    background: #D97706;
    color: #000;
}

.featured-header-row {
    margin-top: 1.85rem;
    margin-bottom: 0.85rem;
}

.featured-title-group h3 {
    font-size: 1.25rem;
    color: #5C1524;
    font-weight: 700;
    font-family: 'Times New Roman', Georgia, serif;
    line-height: 1.25;
}

[data-theme="dark"] .featured-title-group h3 {
    color: #FDE68A;
}

.featured-title-group p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.featured-art-frame {
    width: 100%;
    height: 195px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.05rem;
    border: 1px solid rgba(180, 130, 40, 0.3);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s ease;
}

.vedavani-featured-card:hover .featured-img {
    transform: scale(1.04);
}

.featured-action-btns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    width: 100%;
    box-sizing: border-box;
}

.feat-btn {
    padding: 0.58rem 0.25rem;
    border-radius: 8px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-width: 0;
    white-space: nowrap;
    box-sizing: border-box;
}

.feat-btn-read {
    background: #5C1524;
    color: #FFF;
}

.feat-btn-read:hover {
    background: #7E1C31;
    box-shadow: 0 4px 12px rgba(92, 21, 36, 0.3);
}

.feat-btn-listen {
    background: linear-gradient(135deg, #D97706, #EA580C);
    color: #FFF;
}

.feat-btn-listen:hover {
    box-shadow: 0 0 15px rgba(217, 119, 6, 0.45);
    transform: translateY(-1px);
}

.feat-btn-meaning {
    background: var(--bg-deep);
    border-color: rgba(180, 130, 40, 0.3);
    color: #5C1524;
}

[data-theme="dark"] .feat-btn-meaning {
    color: #FDE68A;
}

.feat-btn-meaning:hover {
    background: var(--bg-card);
    border-color: #5C1524;
}

/* DAILY SACRED SADHANA WIDGET (NON-COMMERCIAL) */
.vedavani-sadhana-widget {
    background: linear-gradient(135deg, rgba(254, 243, 199, 0.35), rgba(255, 237, 213, 0.35));
    border: 1px dashed rgba(180, 130, 40, 0.4);
    border-radius: 16px;
    padding: 1.05rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

[data-theme="dark"] .vedavani-sadhana-widget {
    background: rgba(35, 18, 10, 0.6);
    border-color: rgba(245, 158, 11, 0.3);
}

.sadhana-widget-title {
    font-weight: 700;
    color: #B45309;
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

[data-theme="dark"] .sadhana-widget-title {
    color: #F59E0B;
}

.sadhana-widget-quote {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.45;
    margin-bottom: 0.85rem;
}

.sadhana-quick-actions {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    box-sizing: border-box;
}

.sadhana-action-btn {
    flex: 1;
    min-width: 0;
    padding: 0.5rem 0.5rem;
    border-radius: 8px;
    border: 1px solid rgba(180, 130, 40, 0.28);
    background: var(--bg-card);
    color: #5C1524;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    box-sizing: border-box;
}

[data-theme="dark"] .sadhana-action-btn {
    color: #FDE68A;
    background: rgba(255, 255, 255, 0.06);
}

.sadhana-action-btn:hover {
    border-color: #D97706;
    background: #5C1524;
    color: #FEF3C7;
}

/* 4. BOTTOM SECTION: EXPLORE MORE SHOWCASE */
.vedavani-explore-more-section {
    margin-top: 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.vedavani-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.vedavani-showcase-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(180, 130, 40, 0.25);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(107, 23, 36, 0.05);
}

[data-theme="dark"] .vedavani-showcase-card {
    background: rgba(26, 13, 8, 0.85);
    border-color: rgba(212, 175, 55, 0.25);
}

.vedavani-showcase-card:hover {
    transform: translateY(-4px);
    border-color: #D97706;
    box-shadow: 0 10px 28px rgba(217, 119, 6, 0.18);
}

.showcase-img-wrap {
    width: 100%;
    height: 165px;
    overflow: hidden;
}

.showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.vedavani-showcase-card:hover .showcase-img {
    transform: scale(1.05);
}

.showcase-content {
    padding: 1rem 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.showcase-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}

.showcase-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.showcase-arrow-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-deep);
    border: 1px solid rgba(180, 130, 40, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #B45309;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.vedavani-showcase-card:hover .showcase-arrow-btn {
    background: #5C1524;
    color: #FEF3C7;
    border-color: #5C1524;
    transform: translateX(3px);
}

/* RESPONSIVE DESIGN FOR 1440px, 1366px, 1280px, 1024px, TABLET, MOBILE */
@media (max-width: 1280px) {
    .vedavani-two-col-layout {
        grid-template-columns: minmax(0, 1fr) 350px;
        column-gap: 24px;
        row-gap: 0;
    }
}

@media (max-width: 1024px) {
    .vedavani-two-col-layout {
        grid-template-columns: minmax(0, 1fr) 340px;
        column-gap: 20px;
        row-gap: 0;
    }
}

@media (max-width: 980px) {
    .vedavani-two-col-layout {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    .vedavani-main-col {
        display: block;
    }
    .vedavani-side-col {
        max-width: 100%;
    }
    .vedavani-showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .vedavani-search-bar {
        flex-wrap: wrap;
        border-radius: 18px;
    }
    .vedavani-script-pills {
        width: 100%;
        overflow-x: auto;
        padding-top: 0.4rem;
        border-top: 1px solid rgba(180, 130, 40, 0.15);
    }
    .vedavani-hero-banner {
        min-height: 160px;
    }
    .vedavani-title {
        font-size: 2rem;
    }
}

@media (max-width: 680px) {
    .feature-container {
        padding: 0 0.65rem;
        margin: 0.85rem auto 2rem;
    }
    .section-return-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.6rem 0.85rem;
        margin-bottom: 1rem;
    }
    .return-cover-btn {
        font-size: 0.82rem;
        padding: 0.4rem 0.9rem;
    }
    .section-breadcrumb-badge {
        font-size: 0.76rem;
    }
    .vedavani-portal-wrapper {
        padding-left: 12px;
        padding-right: 12px;
    }
    .vedavani-hero-banner {
        min-height: 85px;
        border-radius: 12px;
        margin-bottom: 0.5rem;
    }
    .vedavani-hero-content {
        padding: 0.65rem 0.85rem;
        gap: 0.75rem;
    }
    .vedavani-lotus-emblem {
        width: 42px;
        height: 42px;
        font-size: 1.3rem;
    }
    .vedavani-title {
        font-size: 1.3rem;
        line-height: 1.2;
    }
    .vedavani-subtitle {
        font-size: 0.78rem;
    }
    .vedavani-search-container {
        margin-bottom: 0.5rem;
    }
    .vedavani-search-bar {
        padding: 0.28rem 0.5rem 0.28rem 0.85rem;
        border-radius: 14px;
    }
    .vedavani-search-input {
        font-size: 0.86rem;
    }
    .home-search-suggestions {
        max-height: 240px;
    }
    .search-sugg-item {
        padding: 0.6rem 0.85rem;
    }
    .search-sugg-title {
        font-size: 0.85rem;
    }
    .search-sugg-deity {
        font-size: 0.74rem;
    }
    .vedavani-categories-grid {
        grid-template-columns: 1fr !important;
    }
    .vedavani-showcase-grid {
        grid-template-columns: 1fr;
    }
    .panchang-compact-grid {
        grid-template-columns: 1fr;
    }
    .featured-action-btns {
        grid-template-columns: 1fr;
    }
    .sadhana-quick-actions {
        flex-direction: column;
    }

    /* VANI AI COACH RESPONSIVE */
    .vani-hero-card {
        padding: 1rem 0.75rem;
        border-radius: 16px;
        margin-bottom: 1.25rem;
    }
    .vani-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .vani-title-block h2 {
        font-size: 1.25rem;
        line-height: 1.3;
    }
    .vani-title-block p {
        font-size: 0.8rem;
    }
    .vani-voice-badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }
    .karaoke-stage {
        padding: 1.2rem 0.65rem;
        min-height: 130px;
        border-radius: 12px;
        margin-bottom: 1rem;
    }
    .karaoke-verse-number {
        font-size: 0.8rem;
        letter-spacing: 1px;
        margin-bottom: 0.5rem;
    }
    .karaoke-verse-text {
        font-size: 1.2rem !important;
        line-height: 1.6 !important;
        overflow-wrap: break-word;
        word-break: break-word;
    }
    .karaoke-line {
        padding: 0.35rem 0.5rem;
        margin: 0.2rem 0;
    }
    .karaoke-meaning-box {
        font-size: 0.82rem;
        padding: 0.55rem 0.75rem;
        margin-top: 0.75rem;
    }
    .waveform-container {
        height: 55px;
        margin-bottom: 1rem;
    }
    .vani-controls-grid {
        padding: 0.85rem 0.65rem;
        gap: 0.75rem;
        border-radius: 12px;
    }
    .vani-playback-buttons {
        width: 100%;
        justify-content: center;
        gap: 0.35rem;
    }
    .vani-btn {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }
    .vani-btn-play {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    .vani-toggles-row {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
    }
    .vani-select-wrapper {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.82rem;
    }
    .vani-select {
        max-width: 58%;
        font-size: 0.82rem;
        padding: 0.35rem 0.6rem;
    }
    #vaniMicBtn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    /* SRI YANTRA & MANDALA RESPONSIVE */
    .mandala-layout {
        gap: 1.25rem;
    }
    .mandala-visual-card {
        padding: 1.5rem 0.75rem;
        border-radius: 16px;
    }
    .sri-yantra-svg {
        width: 100% !important;
        max-width: 250px !important;
        height: auto !important;
        aspect-ratio: 1 / 1;
    }
    .mandala-mantra-caption {
        font-size: 1.05rem;
        margin-top: 1rem;
    }
    .mandala-subcaption {
        font-size: 0.78rem;
    }
    .meditation-toolbox {
        gap: 1rem;
    }
    .tool-card {
        padding: 1rem 0.85rem;
        border-radius: 14px;
    }
    .japa-big-number {
        font-size: 2.5rem;
    }
    .japa-tap-btn {
        width: 72px;
        height: 72px;
        font-size: 1.15rem;
    }
    .chakra-pills-row {
        gap: 0.3rem;
    }
    .chakra-pill {
        font-size: 0.72rem;
        padding: 0.3rem 0.55rem;
    }

    /* PANCHANGAM RESPONSIVE */
    .panchang-grid {
        grid-template-columns: 1fr !important;
        gap: 0.85rem;
    }
    .panchang-card {
        padding: 1rem 1.1rem;
        border-radius: 14px;
    }
    .panchang-card-value {
        font-size: 1.2rem;
    }
    .sadhana-banner {
        padding: 1.25rem 1rem;
        border-radius: 16px;
        gap: 1rem;
    }
    .sadhana-banner-content h3 {
        font-size: 1.25rem;
    }
    .sadhana-btn-action {
        width: 100%;
        justify-content: center;
        font-size: 0.92rem;
        padding: 0.75rem 1.2rem;
    }
}

/* ========================================================= */
/* SACRED COVER PAGE & DYNAMIC CATEGORY NAVIGATION SYSTEM    */
/* ========================================================= */

/* Featured Innovation Highlight Cards in Explore Categories */
.cat-card-featured-innovation {
    background: linear-gradient(135deg, rgba(254, 243, 199, 0.55), var(--bg-card)) !important;
    border: 1.5px solid rgba(217, 119, 6, 0.45) !important;
    box-shadow: 0 4px 16px rgba(217, 119, 6, 0.1) !important;
}

.cat-card-featured-innovation:hover {
    border-color: #D97706 !important;
    box-shadow: 0 8px 28px rgba(217, 119, 6, 0.22) !important;
}

[data-theme="dark"] .cat-card-featured-innovation {
    background: linear-gradient(135deg, rgba(45, 23, 13, 0.95), rgba(26, 13, 8, 0.9)) !important;
    border-color: rgba(245, 158, 11, 0.45) !important;
    box-shadow: 0 4px 18px rgba(245, 158, 11, 0.12) !important;
}

[data-theme="dark"] .cat-card-featured-innovation:hover {
    border-color: #F59E0B !important;
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.25) !important;
}

/* AI Glowing Badge on Card */
.cat-badge-ai {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 1px 7px;
    border-radius: 9999px;
    margin-left: 6px;
    letter-spacing: 0.6px;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.45);
    display: inline-block;
    vertical-align: middle;
}

/* Navigation Bar Dynamic Breadcrumb */
.nav-active-crumb {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-left: 0.75rem;
    padding: 0.35rem 0.95rem;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 9999px;
    font-size: 0.86rem;
    color: var(--gold-light);
    animation: fadeInView 0.25s ease;
}

.crumb-arrow {
    color: #D97706;
    font-weight: 800;
    font-size: 1rem;
}

.crumb-text {
    font-weight: 600;
    color: var(--text-main);
}

.crumb-back-btn {
    background: rgba(92, 21, 36, 0.8);
    color: #FEF3C7;
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 9999px;
    padding: 0.22rem 0.75rem;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.crumb-back-btn:hover {
    background: #DC2626;
    color: #fff;
    transform: scale(1.03);
}

/* Return to Cover Page Banner (In each View) */
.section-return-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(92, 21, 36, 0.08), rgba(217, 119, 6, 0.12));
    border: 1px solid rgba(217, 119, 6, 0.28);
    border-radius: 14px;
    padding: 0.65rem 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .section-return-banner {
    background: linear-gradient(135deg, rgba(45, 23, 13, 0.8), rgba(26, 13, 8, 0.8));
    border-color: rgba(245, 158, 11, 0.3);
}

.return-cover-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #781d2f, #5C1524);
    color: #FEF3C7;
    border: 1px solid rgba(245, 158, 11, 0.4);
    padding: 0.5rem 1.2rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(92, 21, 36, 0.25);
}

.return-cover-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #991b1b, #781d2f);
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.35);
}

.section-breadcrumb-badge {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Category Focus Banner in Stotram Library */
.category-focus-banner {
    background: linear-gradient(145deg, rgba(254, 243, 199, 0.7), rgba(254, 252, 232, 0.95));
    border: 1.5px solid #D97706;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.75rem;
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.12);
    animation: fadeInView 0.3s ease;
}

[data-theme="dark"] .category-focus-banner {
    background: linear-gradient(145deg, rgba(38, 19, 11, 0.95), rgba(26, 13, 8, 0.95));
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.cat-focus-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.cat-focus-tag {
    display: inline-block;
    background: #5C1524;
    color: #FEF3C7;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 0.35rem;
}

[data-theme="dark"] .cat-focus-tag {
    background: #D97706;
    color: #000;
}

.cat-focus-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #5C1524;
    margin: 0 0 0.25rem 0;
    font-family: 'Times New Roman', Georgia, serif;
}

[data-theme="dark"] .cat-focus-title {
    color: #FDE68A;
}

.cat-focus-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
}

.cat-close-banner-btn {
    background: rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-main);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.cat-close-banner-btn:hover {
    background: rgba(239, 68, 68, 0.18);
    color: #DC2626;
    transform: rotate(90deg);
}

.cat-focus-chips-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    max-height: 190px;
    overflow-y: auto;
    padding-right: 0.4rem;
    padding-top: 0.25rem;
}

.cat-hymn-chip {
    background: var(--bg-card);
    border: 1px solid rgba(180, 130, 40, 0.3);
    border-radius: 9999px;
    padding: 0.42rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.18s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
}

.cat-hymn-chip:hover {
    background: #5C1524;
    color: #FEF3C7;
    border-color: #5C1524;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(92, 21, 36, 0.2);
}

[data-theme="dark"] .cat-hymn-chip:hover {
    background: #D97706;
    color: #000;
    border-color: #D97706;
}

.cat-hymn-chip.active {
    background: #D97706 !important;
    color: #000 !important;
    border-color: #D97706 !important;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35) !important;
}




/* ========================================================= */
/* FULL-WIDTH TODAY'S PANCHANGAM SECTION ON HOME PORTAL      */
/* ========================================================= */
.vedavani-panchang-full-section {
    background: var(--bg-card);
    border: 1px solid rgba(180, 130, 40, 0.28);
    border-radius: 20px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 2.25rem;
    box-shadow: 0 6px 24px rgba(107, 23, 36, 0.06);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .vedavani-panchang-full-section {
    background: rgba(26, 13, 8, 0.92);
    border-color: rgba(212, 175, 55, 0.28);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.panchang-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(180, 130, 40, 0.16);
}

.panchang-header-left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.panchang-header-icon {
    font-size: 1.8rem;
}

.panchang-main-heading {
    font-size: 1.45rem;
    font-weight: 700;
    color: #5C1524;
    font-family: 'Times New Roman', Georgia, serif;
    line-height: 1.2;
}

[data-theme="dark"] .panchang-main-heading {
    color: #FDE68A;
}

.panchang-sub-heading {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.panchang-details-pill-btn {
    background: rgba(217, 119, 6, 0.1);
    border: 1px solid rgba(217, 119, 6, 0.35);
    color: #B45309;
    padding: 0.45rem 1.1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.panchang-details-pill-btn:hover {
    background: #D97706;
    color: #fff;
    transform: translateY(-1px);
}

[data-theme="dark"] .panchang-details-pill-btn {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.4);
    color: #FDE68A;
}

[data-theme="dark"] .panchang-details-pill-btn:hover {
    background: #F59E0B;
    color: #000;
}

.panchang-full-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

@media (max-width: 1200px) {
    .panchang-full-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 680px) {
    .panchang-full-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .panchang-full-grid {
        grid-template-columns: 1fr;
    }
}

.panchang-stat-card {
    background: var(--bg-deep);
    border: 1px solid rgba(180, 130, 40, 0.15);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    transition: all 0.2s ease;
}

.panchang-stat-card:hover {
    border-color: #D97706;
    transform: translateY(-2px);
}

.panchang-stat-top {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.4rem;
}

.stat-icon {
    font-size: 1.15rem;
}

.stat-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    font-weight: 600;
}

.stat-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[data-theme="dark"] .stat-value {
    color: #FFF;
}

.stat-sub {
    font-size: 0.72rem;
    color: #B45309;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[data-theme="dark"] .stat-sub {
    color: #F59E0B;
}

.panchang-stat-card.card-caution .stat-sub {
    color: #DC2626;
}

[data-theme="dark"] .panchang-stat-card.card-caution .stat-sub {
    color: #F87171;
}

/* EXPLORE CATEGORIES FULL WIDTH SECTION */
.vedavani-explore-full-section {
    margin-bottom: 2.75rem;
}

/* Categories grid responsive rules */
.vedavani-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.85rem !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 680px) {
    .vedavani-categories-grid {
        grid-template-columns: 1fr !important;
    }
}

/* SPOTLIGHT ROW: FEATURED HYMN & DAILY SADHANA */
.vedavani-spotlight-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.75rem;
}

@media (max-width: 860px) {
    .vedavani-spotlight-row {
        grid-template-columns: 1fr;
    }
}

/* SACRED TEMPLE BELL CHIME RINGING ANIMATION */
@keyframes bellSwingAnimation {
    0% { transform: rotate(0); }
    15% { transform: rotate(24deg) scale(1.15); }
    30% { transform: rotate(-20deg) scale(1.15); }
    45% { transform: rotate(14deg) scale(1.1); }
    60% { transform: rotate(-10deg) scale(1.05); }
    75% { transform: rotate(6deg); }
    100% { transform: rotate(0); }
}

.icon-btn.bell-ringing {
    animation: bellSwingAnimation 0.85s ease-in-out !important;
    color: #F59E0B !important;
    text-shadow: 0 0 16px rgba(245, 158, 11, 0.8) !important;
}


/* ============================================================
   EMBEDDED STOTRAM LIBRARY: FIXED TOP & INNER SCROLLER (DESKTOP)
   ============================================================ */
.vedavani-portal-wrapper .main-layout {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

@media (min-width: 1025px) {
    html, body {
        height: 100vh;
        overflow: hidden;
    }

    #view-home.active {
        height: calc(100vh - 60px);
        overflow: hidden;
    }

    .vedavani-portal-wrapper {
        height: 100%;
        max-height: 100%;
        display: flex;
        flex-direction: column;
        padding: 0.5rem 24px 0.5rem 24px;
        box-sizing: border-box;
        overflow: hidden;
    }

    .vedavani-hero-banner {
        flex-shrink: 0;
        margin-bottom: 0.5rem;
    }

    .vedavani-search-container {
        flex-shrink: 0;
        margin-bottom: 0.6rem;
    }

    .vedavani-portal-wrapper .main-layout {
        flex: 1;
        min-height: 0;
        height: 100%;
        max-height: 100%;
        display: grid;
        grid-template-columns: 320px 1fr;
        gap: 1.25rem;
        align-items: stretch;
        overflow: hidden;
        margin: 0;
        padding: 0;
    }

    .sidebar-panel {
        height: 100% !important;
        max-height: 100% !important;
        position: static !important;
        overflow-y: auto !important;
        scrollbar-width: thin;
        scrollbar-color: var(--gold-primary) transparent;
        padding: 0.9rem 1rem !important;
    }

    .content-panel {
        height: 100% !important;
        max-height: 100% !important;
        overflow-y: auto !important;
        scrollbar-width: thin;
        scrollbar-color: var(--gold-primary) transparent;
        scroll-behavior: smooth;
        padding: 1rem 1.4rem !important;
    }

    .content-panel .section-return-banner {
        padding: 0.35rem 0.85rem;
        margin-bottom: 0.6rem;
    }

    .content-panel .return-cover-btn {
        padding: 0.28rem 0.8rem;
        font-size: 0.8rem;
    }

    .content-panel .section-breadcrumb-badge {
        font-size: 0.78rem;
    }
}

.ml-library-entry-section {
    padding: 1.25rem 1.25rem 2rem;
    max-width: 820px;
    margin: 0 auto;
    width: 100%;
}
.ml-open-library-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    background: linear-gradient(135deg, rgba(245,158,11,0.18), rgba(234,88,12,0.12));
    border: 1.5px solid rgba(245,158,11,0.45);
    border-radius: 16px;
    padding: 1.1rem 1.4rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
    text-align: left;
    color: var(--text-primary, #fff);
    font-family: var(--font-base, 'Plus Jakarta Sans', sans-serif);
    margin-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(245,158,11,0.12);
}
.ml-open-library-btn:hover {
    background: linear-gradient(135deg, rgba(245,158,11,0.30), rgba(234,88,12,0.22));
    border-color: var(--gold-primary, #F59E0B);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245,158,11,0.25);
}
.ml-lib-icon { font-size: 2.2rem; flex-shrink: 0; filter: drop-shadow(0 0 8px rgba(245,158,11,0.5)); }
.ml-lib-text { display: flex; flex-direction: column; gap: 0.2rem; flex: 1; }
.ml-lib-title { font-size: 1.15rem; font-weight: 700; color: var(--gold-light, #FDE68A); letter-spacing: 0.01em; }
.ml-lib-sub { font-size: 0.83rem; color: var(--text-muted, rgba(255,255,255,0.6)); }
.ml-lib-arrow { font-size: 1.8rem; color: var(--gold-primary, #F59E0B); font-weight: 300; flex-shrink: 0; opacity: 0.8; transition: transform 0.2s; }
.ml-open-library-btn:hover .ml-lib-arrow { transform: translateX(4px); opacity: 1; }
[data-theme="light"] .ml-open-library-btn { background: linear-gradient(135deg,rgba(92,21,36,0.07),rgba(180,60,20,0.06)); border-color: rgba(92,21,36,0.28); color: #3A1F10; }
[data-theme="light"] .ml-lib-title { color: #5C1524; }
[data-theme="light"] .ml-lib-sub { color: #7A5540; }
[data-theme="light"] .ml-lib-arrow { color: #5C1524; }
[data-theme="light"] .ml-open-library-btn:hover { background: linear-gradient(135deg,rgba(92,21,36,0.14),rgba(180,60,20,0.10)); border-color: #5C1524; }
.ml-quick-cats { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ml-cat-pill { background: rgba(255,255,255,0.05); border: 1px solid rgba(245,158,11,0.25); border-radius: 9999px; padding: 0.42rem 0.95rem; font-size: 0.82rem; font-family: var(--font-base,'Plus Jakarta Sans',sans-serif); color: var(--text-muted,rgba(255,255,255,0.7)); cursor: pointer; transition: all 0.2s ease; white-space: nowrap; }
.ml-cat-pill:hover { background: rgba(245,158,11,0.18); border-color: var(--gold-primary,#F59E0B); color: var(--gold-light,#FDE68A); transform: translateY(-1px); }
[data-theme="light"] .ml-cat-pill { background: #FFFFFF; border-color: rgba(92,21,36,0.22); color: #6B5548; }
[data-theme="light"] .ml-cat-pill:hover { background: #5C1524; border-color: #5C1524; color: #FEF3C7; }

/* 3-DOT FAB */
.ml-features-fab { position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 1200; width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(135deg,#F59E0B,#EA580C); border: none; box-shadow: 0 4px 20px rgba(245,158,11,0.45),0 2px 8px rgba(0,0,0,0.35); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; transition: all 0.25s cubic-bezier(0.4,0,0.2,1); outline: none; }
.ml-features-fab:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 8px 30px rgba(245,158,11,0.55),0 4px 12px rgba(0,0,0,0.4); }
.ml-features-fab:active { transform: scale(0.96); }
.ml-fab-dot { display: block; width: 5px; height: 5px; border-radius: 50%; background: #fff; opacity: 0.95; }

/* OVERLAY DRAWER */
.ml-features-overlay { position: fixed; inset: 0; z-index: 1100; background: rgba(0,0,0,0.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); display: flex; align-items: flex-end; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.ml-features-overlay.ml-overlay-open { opacity: 1; pointer-events: all; }
.ml-features-drawer { width: 100%; max-width: 680px; max-height: 88vh; border-radius: 22px 22px 0 0; background: var(--bg-primary,#120A02); border: 1px solid rgba(245,158,11,0.25); border-bottom: none; display: flex; flex-direction: column; transform: translateY(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1); overflow: hidden; }
.ml-features-overlay.ml-overlay-open .ml-features-drawer { transform: translateY(0); }
[data-theme="light"] .ml-features-drawer { background: #FEFBF3; border-color: rgba(92,21,36,0.2); }
.ml-drawer-handle { width: 40px; height: 4px; background: rgba(245,158,11,0.4); border-radius: 9999px; margin: 0.75rem auto 0; flex-shrink: 0; }
.ml-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 1.25rem 0.65rem; border-bottom: 1px solid rgba(245,158,11,0.15); flex-shrink: 0; }
.ml-drawer-title { font-size: 1.05rem; font-weight: 700; color: var(--gold-light,#FDE68A); font-family: var(--font-base,'Plus Jakarta Sans',sans-serif); }
[data-theme="light"] .ml-drawer-title { color: #5C1524; }
.ml-drawer-close { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: 50%; width: 32px; height: 32px; font-size: 1.2rem; cursor: pointer; color: var(--text-muted,rgba(255,255,255,0.7)); display: flex; align-items: center; justify-content: center; transition: all 0.2s; line-height: 1; }
.ml-drawer-close:hover { background: rgba(245,158,11,0.2); border-color: var(--gold-primary,#F59E0B); color: #fff; }
[data-theme="light"] .ml-drawer-close { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.12); color: #5C1524; }
.ml-drawer-body { overflow-y: auto; flex: 1; padding: 1.25rem; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: rgba(245,158,11,0.3) transparent; }
.ml-drawer-body::-webkit-scrollbar { width: 4px; }
.ml-drawer-body::-webkit-scrollbar-track { background: transparent; }
.ml-drawer-body::-webkit-scrollbar-thumb { background: rgba(245,158,11,0.3); border-radius: 9999px; }
.ml-drawer-body .vedavani-side-player,
.ml-drawer-body .vedavani-featured-card { width: 100%; max-width: 100%; }
.ml-drawer-body .vedavani-categories-grid { grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); }
@media (max-width:480px) {
    .ml-features-drawer { max-height: 85vh; max-height: 85dvh; }
    .ml-drawer-body { padding: 1rem 0.85rem; }
    .ml-drawer-body .vedavani-categories-grid { grid-template-columns: 1fr; }
    .ml-features-fab { bottom: 1.25rem; right: 1.25rem; width: 48px; height: 48px; }
    .ml-library-entry-section { padding: 1rem 1rem 1.5rem; }
    .side-player-vol-slider { width: 44px; }
    .side-player-controls-row { gap: 0.35rem; }
    .side-ctrl-btn { width: 32px; height: 32px; font-size: 0.82rem; }
    .side-ctrl-play-btn { width: 40px; height: 40px; font-size: 1rem; }
}

/* QUICK GAYATRI CHANT SIDEBAR CARD */
.quick-gayatri-sidebar-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.75rem 0.85rem;
    margin-bottom: 0.85rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.14) 0%, rgba(217, 119, 6, 0.06) 100%);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.08);
}

.quick-gayatri-sidebar-card:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(217, 119, 6, 0.12) 100%);
    border-color: rgba(245, 158, 11, 0.65);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.2);
}

[data-theme="light"] .quick-gayatri-sidebar-card {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-color: rgba(217, 119, 6, 0.3);
    box-shadow: 0 2px 8px rgba(180, 83, 9, 0.06);
}

[data-theme="light"] .quick-gayatri-sidebar-card:hover {
    background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
    border-color: rgba(217, 119, 6, 0.55);
    box-shadow: 0 4px 14px rgba(180, 83, 9, 0.14);
}

.quick-gayatri-left {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.quick-gayatri-icon {
    font-size: 1.35rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.3));
    animation: gentle-bloom 3s ease-in-out infinite alternate;
}

@keyframes gentle-bloom {
    0% { transform: scale(1); }
    100% { transform: scale(1.12); }
}

.quick-gayatri-texts {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.quick-gayatri-label {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--gold-primary, #b45309);
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[data-theme="light"] .quick-gayatri-label {
    color: #9a3412;
}

.quick-gayatri-sub {
    font-size: 0.7rem;
    opacity: 0.8;
    color: var(--text-muted, #78350f);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[data-theme="light"] .quick-gayatri-sub {
    color: #7c2d12;
    opacity: 0.85;
}

.quick-gayatri-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.quick-gayatri-listen-btn {
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 8px;
    padding: 0.28rem 0.48rem;
    font-size: 0.82rem;
    cursor: pointer;
    color: inherit;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-gayatri-listen-btn:hover {
    background: var(--gold-primary, #f59e0b);
    color: #fff;
    transform: scale(1.08);
}

.quick-gayatri-arrow {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold-primary, #d97706);
    line-height: 1;
}

