/* ============================================================
   SPIRITUAL SECRETS — Sanathana Dharma Theme
   ============================================================ */

:root {
    --saffron:        #FF6B35;
    --saffron-dark:   #E05520;
    --saffron-light:  #FFF0E8;
    --gold:           #D4A017;
    --gold-light:     #FFF8E1;
    --deep-maroon:    #6B1A1A;
    --sacred-red:     #8B2020;
    --deep-blue:      #1A237E;
    --teal-divine:    #00695C;
    --cream:          #FDF8F0;
    --parchment:      #F5EDD8;
    --text-dark:      #2C1810;
    --text-medium:    #5D4037;
    --text-light:     #8D6E63;
    --border-sacred:  #E8D5B7;
    --shadow-sm:      0 2px 8px rgba(180,120,60,0.12);
    --shadow-md:      0 4px 20px rgba(180,120,60,0.18);
    --shadow-lg:      0 8px 40px rgba(180,120,60,0.22);
    --radius:         12px;
    --radius-lg:      20px;
}

* { box-sizing: border-box; }

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--cream);
    color: var(--text-dark);
    line-height: 1.7;
}

/* ---- Top Banner ---- */
.top-banner {
    background: linear-gradient(135deg, var(--deep-maroon) 0%, var(--sacred-red) 100%);
    color: #FFE082;
    text-align: center;
    padding: 6px 16px;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    font-family: 'Lora', serif;
}

/* ---- Navbar ---- */
.spiritual-navbar {
    background: linear-gradient(135deg, #1A0A00 0%, var(--deep-maroon) 60%, #3D0C0C 100%);
    padding: 0.8rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.spiritual-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-om {
    font-size: 2rem;
    filter: drop-shadow(0 0 8px rgba(255,165,0,0.6));
    animation: glowOm 3s ease-in-out infinite;
}

@keyframes glowOm {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(255,165,0,0.6)); }
    50% { filter: drop-shadow(0 0 18px rgba(255,200,0,0.9)); }
}

.brand-text {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #FFE082;
    letter-spacing: 1px;
}

.spiritual-nav-link {
    font-family: 'Cinzel', serif;
    font-size: 0.88rem;
    color: #FFCC80 !important;
    letter-spacing: 0.5px;
    padding: 0.5rem 1.1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.spiritual-nav-link:hover, .spiritual-nav-link.active {
    color: #FFE082 !important;
}

.spiritual-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; right: 50%;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
}

.spiritual-nav-link:hover::after, .spiritual-nav-link.active::after {
    left: 15%; right: 15%;
}

.nav-user-greeting {
    color: #FFE082;
    font-size: 0.88rem;
    font-family: 'Lora', serif;
}

/* ---- Buttons ---- */
.btn-spiritual {
    background: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-dark) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'Cinzel', serif;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 1.4rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(255,107,53,0.35);
}

.btn-spiritual:hover {
    background: linear-gradient(135deg, var(--saffron-dark) 0%, #C04010 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(255,107,53,0.45);
}

.btn-spiritual-outline {
    background: transparent;
    color: var(--saffron);
    border: 2px solid var(--saffron);
    border-radius: 8px;
    font-family: 'Cinzel', serif;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 1.4rem;
    transition: all 0.3s ease;
}

.btn-spiritual-outline:hover {
    background: var(--saffron);
    color: white;
    transform: translateY(-2px);
}

/* ---- Hero Section ---- */
.hero-section {
    position: relative;
    min-height: 88vh;
    background: linear-gradient(160deg, #0D0500 0%, #2C0A0A 30%, #1A0D2E 70%, #0D1A2E 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Ccircle cx='200' cy='200' r='180' fill='none' stroke='rgba(212,160,23,0.06)' stroke-width='1'/%3E%3Ccircle cx='200' cy='200' r='130' fill='none' stroke='rgba(212,160,23,0.04)' stroke-width='1'/%3E%3Ccircle cx='200' cy='200' r='80' fill='none' stroke='rgba(212,160,23,0.08)' stroke-width='1'/%3E%3C/svg%3E") center/60% no-repeat;
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(212,160,23,0.05) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 1rem;
}

.hero-om {
    font-size: 5rem;
    animation: floatOm 4s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(255,165,0,0.5));
    margin-bottom: 1rem;
}

@keyframes floatOm {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 700;
    color: #FFE082;
    text-shadow: 0 0 40px rgba(212,160,23,0.4);
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-family: 'Lora', serif;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: #FFCC80;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.hero-desc {
    color: rgba(255,230,180,0.85);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.hero-verse {
    background: rgba(212,160,23,0.1);
    border: 1px solid rgba(212,160,23,0.3);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.hero-verse em {
    display: block;
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    color: #FFE082;
    margin-bottom: 0.25rem;
}

.hero-verse span {
    font-size: 0.85rem;
    color: rgba(255,220,150,0.75);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,200,100,0.6);
    font-size: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ---- Access Banner ---- */
.access-banner {
    background: var(--parchment);
    border-top: 1px solid var(--border-sacred);
    border-bottom: 3px solid var(--border-sacred);
}

.access-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.8rem 1.5rem;
    border: 1px solid var(--border-sacred);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.access-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.access-card i {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.access-card h5 {
    font-family: 'Cinzel', serif;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.access-free i { color: var(--teal-divine); }
.access-registered i { color: var(--saffron); }
.access-paid i { color: var(--gold); }

/* ---- Section Styling ---- */
.section-tag {
    display: inline-block;
    background: var(--saffron-light);
    color: var(--saffron-dark);
    font-size: 0.78rem;
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255,107,53,0.2);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--deep-maroon);
    margin-bottom: 0.75rem;
}

.section-desc {
    color: var(--text-medium);
    font-family: 'Lora', serif;
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto;
}

.bg-sacred-light { background: var(--parchment); }

/* ---- Levels Section ---- */
.levels-section { background: white; }

.level-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.8rem 1.2rem;
    text-align: center;
    border: 1px solid var(--border-sacred);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.level-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.level-num {
    position: absolute;
    top: -10px; right: 10px;
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    font-weight: 700;
    opacity: 0.05;
    color: var(--text-dark);
    line-height: 1;
}

.level-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }

.level-card h5 {
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.level-card p {
    font-size: 0.83rem;
    color: var(--text-medium);
    margin-bottom: 0.75rem;
}

.level-tag {
    display: inline-block;
    font-size: 0.72rem;
    padding: 3px 10px;
    border-radius: 12px;
    font-style: italic;
    color: var(--text-light);
    border: 1px solid var(--border-sacred);
}

.level-1 { border-top: 4px solid #6c757d; }
.level-2 { border-top: 4px solid #fd7e14; }
.level-3 { border-top: 4px solid #ffc107; }
.level-4 { border-top: 4px solid #20c997; }
.level-5 { border-top: 4px solid #ff9f43; }

/* ---- Menu Cards ---- */
.menu-card-link { text-decoration: none; display: block; }

.menu-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--border-sacred);
    transition: all 0.35s ease;
    height: 100%;
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--saffron);
}

.menu-card-icon { font-size: 3rem; margin-bottom: 1rem; }

.menu-card h3 {
    font-family: 'Cinzel', serif;
    color: var(--deep-maroon);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.menu-card p {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
}

.menu-card-cta {
    color: var(--saffron);
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ---- Content Cards ---- */
.content-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-sacred);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.content-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.content-card-thumb { position: relative; overflow: hidden; height: 200px; }
.content-card-thumb img { width: 100%; height: 100%; object-fit: cover; }

.content-card-placeholder {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.blog-placeholder { background: linear-gradient(135deg, #FFF3E0, #FFE0B2); color: var(--saffron); }
.video-placeholder { background: linear-gradient(135deg, #E8EAF6, #C5CAE9); color: var(--deep-blue); }
.podcast-placeholder { background: linear-gradient(135deg, #E0F2F1, #B2DFDB); color: var(--teal-divine); }

.content-type-badge {
    position: absolute;
    top: 10px; left: 10px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.content-type-badge.blog    { background: var(--saffron); }
.content-type-badge.video   { background: var(--deep-blue); }
.content-type-badge.podcast { background: var(--teal-divine); }

.content-card-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }

.content-section-badge {
    font-size: 0.72rem;
    color: var(--saffron-dark);
    font-family: 'Cinzel', serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.content-card-title {
    font-family: 'Lora', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.content-card-summary {
    color: var(--text-medium);
    font-size: 0.85rem;
    flex: 1;
    margin-bottom: 1rem;
}

.content-card-meta { margin-top: auto; }

.content-tags { display: flex; flex-wrap: wrap; gap: 4px; }

.content-tag {
    background: var(--gold-light);
    color: var(--deep-maroon);
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid var(--border-sacred);
}

/* ---- Blog Cards ---- */
.blog-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.8rem;
    border-left: 4px solid var(--saffron);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.blog-card-date {
    font-size: 0.78rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-family: 'Cinzel', serif;
}

.blog-card-title {
    font-family: 'Lora', serif;
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.blog-card-summary { color: var(--text-medium); font-size: 0.88rem; margin-bottom: 1rem; }

.blog-read-more {
    color: var(--saffron);
    font-family: 'Cinzel', serif;
    font-size: 0.82rem;
    text-decoration: none;
    font-weight: 600;
}

.blog-read-more:hover { color: var(--saffron-dark); }

/* ---- CTA Section ---- */
.cta-section { background: linear-gradient(135deg, var(--deep-maroon) 0%, #3D0C0C 100%); }

.cta-box { max-width: 600px; margin: 0 auto; }
.cta-om { font-size: 3rem; margin-bottom: 1rem; }

.cta-box h2 {
    font-family: 'Cinzel', serif;
    color: #FFE082;
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.cta-box p { color: rgba(255,220,150,0.85); font-size: 1rem; }

/* ---- Page Hero ---- */
.page-hero {
    background: linear-gradient(135deg, var(--deep-maroon) 0%, #3D0C0C 100%);
    padding: 4rem 0;
}

.page-hero-icon { margin-bottom: 1rem; }

.page-hero-title {
    font-family: 'Cinzel', serif;
    color: #FFE082;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 0.75rem;
}

.page-hero-desc {
    color: rgba(255,220,150,0.85);
    font-family: 'Lora', serif;
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ---- Filters ---- */
.filter-btn {
    background: white;
    border: 1px solid var(--border-sacred);
    border-radius: 20px;
    padding: 0.4rem 1.1rem;
    font-size: 0.85rem;
    cursor: pointer;
    color: var(--text-medium);
    transition: all 0.2s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--saffron);
    color: white;
    border-color: var(--saffron);
}

/* ---- Content Detail ---- */
.spiritual-breadcrumb { background: transparent; padding: 0; }
.spiritual-breadcrumb a { color: var(--saffron); }

.content-detail-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--deep-maroon);
    line-height: 1.3;
}

.content-detail-summary {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    color: var(--text-medium);
    font-style: italic;
}

.content-body {
    font-family: 'Lora', serif;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-dark);
}

.content-body p { margin-top: 0; margin-bottom: 0.6rem; }
.content-body div { margin-top: 0; margin-bottom: 0.4rem; }
.content-body p:empty,
.content-body div:empty,
.content-body p:has(> br:only-child),
.content-body div:has(> br:only-child) { display: none; margin: 0; }
.content-body h2, .content-body h3 { font-family: 'Cinzel', serif; color: var(--deep-maroon); }
.content-body blockquote {
    border-left: 4px solid var(--gold);
    background: var(--gold-light);
    padding: 1rem 1.5rem;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    margin: 1.5rem 0;
}

.content-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}
.content-badge.blog    { background: var(--saffron); }
.content-badge.video   { background: var(--deep-blue); }
.content-badge.podcast { background: var(--teal-divine); }

.section-badge-sm {
    background: var(--parchment);
    color: var(--deep-maroon);
    border: 1px solid var(--border-sacred);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-family: 'Cinzel', serif;
}

.duration-badge {
    background: var(--gold-light);
    color: var(--deep-maroon);
    border: 1px solid var(--border-sacred);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.8rem;
}

.video-container { border-radius: 12px; overflow: hidden; }

.podcast-player {
    background: linear-gradient(135deg, var(--parchment), white);
    border: 1px solid var(--border-sacred);
    border-radius: 12px;
}

.podcast-icon {
    width: 50px; height: 50px;
    background: var(--teal-divine);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* ---- Sidebar ---- */
.sidebar-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--border-sacred);
    box-shadow: var(--shadow-sm);
}

.quiz-promo-card {
    background: linear-gradient(135deg, var(--deep-maroon), #3D0C0C);
    color: white;
    border: none;
    text-align: center;
}

.quiz-promo-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.quiz-promo-card h5 { color: #FFE082; font-family: 'Cinzel', serif; }
.quiz-promo-card p { color: rgba(255,220,150,0.85); font-size: 0.88rem; }

.register-promo-card { border-left: 4px solid var(--saffron); }
.register-promo-card h5 { color: var(--saffron-dark); font-family: 'Cinzel', serif; }

.quote-card {
    background: var(--gold-light);
    border: 1px solid var(--border-sacred);
    position: relative;
}

.quote-mark {
    font-size: 4rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: -1rem;
    font-family: Georgia, serif;
}

.quote-text {
    font-family: 'Lora', serif;
    font-style: italic;
    color: var(--text-dark);
    font-size: 0.92rem;
}

.quote-source {
    font-family: 'Cinzel', serif;
    font-size: 0.78rem;
    color: var(--deep-maroon);
    font-weight: 600;
}

/* ---- Locked Content ---- */
.locked-content-notice {
    background: var(--parchment);
    border-radius: var(--radius);
    border: 2px dashed var(--border-sacred);
}

.empty-section h3 { font-family: 'Cinzel', serif; color: var(--deep-maroon); }

/* ---- Auth Pages ---- */
.auth-page {
    min-height: 80vh;
    background: var(--parchment);
    display: flex;
    align-items: center;
}

.auth-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-sacred);
}

.auth-header {
    background: linear-gradient(135deg, var(--deep-maroon) 0%, #3D0C0C 100%);
    padding: 2.5rem 2rem;
}

.auth-om { font-size: 3rem; margin-bottom: 0.5rem; }

.auth-header h2 {
    font-family: 'Cinzel', serif;
    color: #FFE082;
    font-size: 1.6rem;
    margin-bottom: 0.25rem;
}

.auth-header p { color: rgba(255,220,150,0.85); margin: 0; }

.auth-body { padding: 2.5rem 2rem; }

.sacred-label {
    font-weight: 600;
    color: var(--deep-maroon);
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    margin-bottom: 0.5rem;
}

.sacred-input {
    border: 1.5px solid var(--border-sacred);
    border-radius: 8px;
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    background: var(--cream);
    transition: all 0.3s ease;
}

.sacred-input:focus {
    border-color: var(--saffron);
    box-shadow: 0 0 0 3px rgba(255,107,53,0.15);
    background: white;
    outline: none;
}

.auth-divider {
    text-align: center;
    position: relative;
    color: var(--text-light);
    font-size: 0.85rem;
}

.auth-divider::before, .auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--border-sacred);
}

.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

/* ---- Quiz Page ---- */
.quiz-page { background: var(--parchment); }

.quiz-hero {
    background: linear-gradient(135deg, #1A0A00 0%, var(--deep-maroon) 100%);
}

.quiz-hero-icon { font-size: 4rem; margin-bottom: 1rem; }

.quiz-hero-title {
    font-family: 'Cinzel', serif;
    color: #FFE082;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin-bottom: 0.75rem;
}

.quiz-hero-desc {
    color: rgba(255,220,150,0.85);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 1rem;
}

.quiz-meta {
    color: rgba(255,200,100,0.7);
    font-size: 0.88rem;
}

.quiz-progress-wrap { max-width: 700px; margin: 0 auto; }

.quiz-progress {
    height: 6px;
    background: var(--border-sacred);
    border-radius: 3px;
}

.quiz-progress .progress-bar {
    background: linear-gradient(90deg, var(--saffron), var(--gold));
    border-radius: 3px;
    transition: width 0.5s ease;
}

.quiz-question-card {
    display: none;
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-sacred);
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInCard 0.4s ease;
}

.quiz-question-card.active { display: block; }

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

.question-number {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    color: var(--saffron);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.question-text {
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    color: var(--deep-maroon);
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.question-hint {
    color: var(--text-light);
    font-style: italic;
    font-size: 0.88rem;
}

.options-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.option-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border: 2px solid var(--border-sacred);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

.option-label:hover {
    border-color: var(--saffron);
    background: var(--saffron-light);
}

.option-label.selected {
    border-color: var(--saffron);
    background: var(--saffron-light);
}

.option-radio { display: none; }

.option-letter {
    min-width: 32px; height: 32px;
    background: var(--border-sacred);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-medium);
    transition: all 0.25s ease;
}

.option-label.selected .option-letter,
.option-label:hover .option-letter {
    background: var(--saffron);
    color: white;
}

.option-text {
    flex: 1;
    font-family: 'Lora', serif;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.option-check {
    color: var(--saffron);
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.option-label.selected .option-check { opacity: 1; }

/* ---- Quiz Result ---- */
.result-page { background: var(--parchment); }

.result-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-sacred);
}

.result-celebration { position: relative; }
.result-icon { display: block; }

.result-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 20px;
    border: 2px solid;
    font-family: 'Cinzel', serif;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.result-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--deep-maroon);
    margin-bottom: 1rem;
}

.score-bar-wrap {
    background: var(--border-sacred);
    height: 8px;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.score-bar { height: 100%; border-radius: 4px; transition: width 1.5s ease; }

.result-description {
    font-family: 'Lora', serif;
    font-size: 1.05rem;
    color: var(--text-medium);
    font-style: italic;
    max-width: 550px;
    margin: 0 auto;
}

.result-guidance {
    background: var(--gold-light);
    border-radius: 12px;
    border: 1px solid var(--border-sacred);
    text-align: left;
}

.result-guidance h5 {
    font-family: 'Cinzel', serif;
    color: var(--deep-maroon);
    margin-bottom: 0.75rem;
}

.result-guidance p {
    font-family: 'Lora', serif;
    color: var(--text-dark);
    font-style: italic;
    margin: 0;
}

/* ---- Levels Progress Map ---- */
.levels-progress-map {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: nowrap;
}

.level-dot {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 3px solid var(--border-sacred);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.9rem;
    position: relative;
    flex-shrink: 0;
    color: var(--text-light);
}

.level-dot.current { color: white; box-shadow: 0 0 0 4px rgba(255,107,53,0.2); }
.level-dot.passed { background: #e0e0e0; border-color: #aaa; }

.level-dot-label {
    position: absolute;
    top: 52px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    color: var(--saffron);
    font-family: 'Cinzel', serif;
    white-space: nowrap;
    font-weight: 700;
}

.level-connector {
    flex: 1;
    height: 3px;
    background: var(--border-sacred);
    max-width: 60px;
}

.level-connector.passed { background: #aaa; }

/* ---- Level Guide Card ---- */
.level-guide-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-sacred);
}

.level-guide-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    border-left: 4px solid transparent;
}

.level-guide-item.highlighted { background: var(--saffron-light); }

.level-guide-num {
    min-width: 28px; height: 28px;
    background: var(--border-sacred);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

/* ---- Footer ---- */
.spiritual-footer {
    background: linear-gradient(135deg, #0D0500 0%, var(--deep-maroon) 100%);
    color: rgba(255,220,150,0.8);
    padding: 3rem 0 1rem;
}

.footer-brand {
    font-family: 'Cinzel', serif;
    color: #FFE082;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.footer-text { font-size: 0.88rem; color: rgba(255,220,150,0.7); }

.footer-sanskrit {
    font-family: 'Lora', serif;
    font-style: italic;
    color: var(--gold);
    font-size: 0.9rem;
}

.footer-heading {
    font-family: 'Cinzel', serif;
    color: #FFE082;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: rgba(255,220,150,0.7); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-links a:hover { color: #FFE082; }

.footer-levels { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.level-badge {
    background: rgba(255,220,150,0.1);
    border: 1px solid rgba(255,220,150,0.2);
    color: rgba(255,220,150,0.7);
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Cinzel', serif;
}

.footer-divider { border-color: rgba(255,220,150,0.15); margin: 2rem 0 1rem; }

.footer-bottom { color: rgba(255,220,150,0.5); font-size: 0.82rem; }

/* ---- Admin Pages ---- */
.admin-page { background: var(--cream); min-height: 80vh; }

.admin-header h1 {
    font-family: 'Cinzel', serif;
    color: var(--deep-maroon);
}

.stat-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-sacred);
}

.stat-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.stat-num { font-family: 'Cinzel', serif; font-size: 2.5rem; font-weight: 700; }
.stat-label { font-size: 0.85rem; color: var(--text-light); }

.stat-users .stat-icon { color: var(--deep-blue); }
.stat-paid .stat-icon { color: var(--gold); }
.stat-content .stat-icon { color: var(--saffron); }
.stat-published .stat-icon { color: var(--teal-divine); }

.admin-action-card, .admin-table-card, .admin-form-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-sacred);
}

.admin-action-card h5 {
    font-family: 'Cinzel', serif;
    color: var(--deep-maroon);
    margin-bottom: 0.5rem;
}

/* Access badges */
.access-badge-free       { background: var(--teal-divine) !important; }
.access-badge-registered { background: var(--saffron) !important; }
.access-badge-paid       { background: var(--gold) !important; color: var(--text-dark) !important; }
.access-badge-admin      { background: var(--deep-maroon) !important; }

.content-type-blog    { background: var(--saffron) !important; }
.content-type-video   { background: var(--deep-blue) !important; }
.content-type-podcast { background: var(--teal-divine) !important; }

/* ---- Alerts ---- */
.sacred-alert { background: #F0FFF4; border-color: #68D391; }
.sacred-alert-warning { background: #FFFBEB; border-color: var(--gold); }

/* ---- Native HTML Rich Text Editor ---- */
.native-editor-wrap {
    border: 1.5px solid var(--border-sacred);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.native-editor-wrap:focus-within {
    border-color: var(--saffron);
    box-shadow: 0 0 0 3px rgba(255,107,53,0.12);
}

.ned-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
    padding: 6px 8px;
    background: var(--parchment);
    border-bottom: 1px solid var(--border-sacred);
}

.ned-group {
    display: flex;
    align-items: center;
    gap: 1px;
    padding-right: 6px;
    margin-right: 4px;
    border-right: 1px solid var(--border-sacred);
}

.ned-group:last-child { border-right: none; padding-right: 0; margin-right: 0; }

.ned-btn {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 3px 7px;
    font-size: 0.82rem;
    color: var(--text-medium);
    cursor: pointer;
    line-height: 1.4;
    transition: all 0.15s;
    white-space: nowrap;
}

.ned-btn:hover  { background: white; border-color: var(--border-sacred); color: var(--saffron); }
.ned-btn.active { background: var(--saffron-light); border-color: var(--saffron); color: var(--saffron-dark); }

.ned-select {
    background: white;
    border: 1px solid var(--border-sacred);
    border-radius: 4px;
    padding: 3px 6px;
    font-size: 0.8rem;
    color: var(--text-medium);
    cursor: pointer;
}

.ned-source-btn { font-size: 0.78rem; }

.ned-canvas {
    min-height: 420px;
    padding: 1.2rem 1.5rem;
    background: white;
    outline: none;
    font-family: 'Lora', Georgia, serif;
    font-size: 15px;
    line-height: 1.85;
    color: var(--text-dark);
    overflow-y: auto;
}

.ned-canvas:empty::before {
    content: 'Start writing your content here...';
    color: #bbb;
    font-style: italic;
    pointer-events: none;
}

.ned-canvas h1, .ned-canvas h2, .ned-canvas h3, .ned-canvas h4 {
    font-family: 'Cinzel', Georgia, serif;
    color: var(--deep-maroon);
    margin: 1.2rem 0 0.5rem;
}

.ned-canvas blockquote {
    border-left: 4px solid var(--gold);
    background: var(--gold-light);
    padding: 0.8rem 1.2rem;
    margin: 1rem 0;
    font-style: italic;
    border-radius: 0 6px 6px 0;
}

.ned-canvas pre {
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.8rem 1rem;
    font-family: monospace;
    font-size: 0.88rem;
    overflow-x: auto;
}

.ned-canvas a   { color: var(--saffron); }
.ned-canvas img { max-width: 100%; border-radius: 6px; }
.ned-canvas hr  { border-color: var(--border-sacred); margin: 1.2rem 0; }
.ned-canvas ul, .ned-canvas ol { padding-left: 1.5rem; }

.ned-source-view {
    width: 100%;
    min-height: 420px;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    background: #1e1e1e;
    color: #d4d4d4;
    border: none;
    resize: vertical;
    outline: none;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .hero-section { min-height: 70vh; }
    .quiz-question-card { padding: 1.5rem; }
    .result-card { padding: 2rem 1rem; }
    .levels-progress-map { gap: 0; }
    .level-connector { max-width: 30px; }
}

/* ---- Animations ---- */
.content-card, .level-card, .menu-card, .blog-card, .access-card {
    animation: fadeInUp 0.5s ease both;
}

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

/* ============================================================
   TWO-COLUMN SPLIT LAYOUT
   ============================================================ */

.split-layout {
    display: flex;
    gap: 0;
    height: calc(100vh - 160px);
    min-height: 600px;
    border: 1px solid var(--border-sacred);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-md);
}

/* ---- LEFT PANEL ---- */
.split-left {
    width: 360px;
    min-width: 280px;
    flex-shrink: 0;
    background: var(--parchment);
    border-right: 1px solid var(--border-sacred);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.split-filters {
    padding: 0.9rem 1rem 0;
    border-bottom: 1px solid var(--border-sacred);
    background: white;
}

.content-list-items {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 0;
}

.content-list-items::-webkit-scrollbar { width: 4px; }
.content-list-items::-webkit-scrollbar-track { background: transparent; }
.content-list-items::-webkit-scrollbar-thumb { background: var(--border-sacred); border-radius: 2px; }

/* ---- List Item ---- */
.content-list-item {
    display: flex;
    align-items: stretch;
    cursor: pointer;
    border-bottom: 1px solid var(--border-sacred);
    transition: background 0.2s ease;
    position: relative;
    background: white;
}

.content-list-item:hover { background: var(--saffron-light); }

.content-list-item.active {
    background: linear-gradient(90deg, var(--saffron-light), white);
    border-right: 3px solid var(--saffron);
}

.content-list-item.active .cli-title { color: var(--saffron-dark); }

.cli-type-bar {
    width: 4px;
    flex-shrink: 0;
    border-radius: 0;
}

.blog-bar    { background: var(--saffron); }
.video-bar   { background: var(--deep-blue); }
.podcast-bar { background: var(--teal-divine); }

.cli-body {
    flex: 1;
    padding: 0.45rem 0.6rem;
    min-width: 0;
}

.cli-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.15rem;
}

.cli-type-icon {
    font-size: 0.68rem;
    padding: 1px 6px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
}

.blog-icon    { background: var(--saffron); }
.video-icon   { background: var(--deep-blue); }
.podcast-icon-badge { background: var(--teal-divine); }

.cli-duration {
    font-size: 0.68rem;
    color: var(--text-light);
}

.cli-featured {
    font-size: 0.68rem;
    color: var(--gold);
}

.cli-title {
    font-family: 'Lora', serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.1rem;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cli-summary {
    font-size: 0.72rem;
    color: var(--text-medium);
    margin-bottom: 0.15rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.cli-footer { margin-top: 0.1rem; }

.cli-arrow {
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
    color: var(--border-sacred);
    font-size: 0.75rem;
    flex-shrink: 0;
    transition: color 0.2s;
}

.content-list-item.active .cli-arrow,
.content-list-item:hover .cli-arrow { color: var(--saffron); }

/* ---- Locked Notice ---- */
.locked-notice {
    background: var(--gold-light);
    border-top: 1px solid var(--border-sacred);
    font-size: 0.82rem;
}

/* ---- RIGHT PANEL ---- */
.split-right {
    flex: 1;
    overflow-y: auto;
    background: white;
    position: relative;
}

.split-right::-webkit-scrollbar { width: 5px; }
.split-right::-webkit-scrollbar-track { background: transparent; }
.split-right::-webkit-scrollbar-thumb { background: var(--border-sacred); border-radius: 3px; }

/* ---- Placeholder ---- */
.split-right-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cream) 0%, var(--parchment) 100%);
}

.placeholder-inner { padding: 2rem; }

.placeholder-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.placeholder-dots span {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--border-sacred);
    display: inline-block;
    animation: dotPulse 1.4s ease-in-out infinite;
}

.placeholder-dots span:nth-child(2) { animation-delay: 0.2s; }
.placeholder-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

/* ---- Loading ---- */
.split-right-loading {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sacred-spinner {
    width: 48px; height: 48px;
    border: 3px solid var(--border-sacred);
    border-top-color: var(--saffron);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
    margin: 0 auto;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Content Panel (right panel content) ---- */
.split-right-content { padding: 2rem 2.5rem; }

.panel-detail-header { margin-bottom: 1rem; }

.panel-detail-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: var(--deep-maroon);
    line-height: 1.3;
    margin-bottom: 0.6rem;
}

.panel-detail-summary {
    font-family: 'Lora', serif;
    font-style: italic;
    color: var(--text-medium);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.panel-meta small { color: var(--text-light); font-size: 0.82rem; }

.panel-divider {
    border-color: var(--border-sacred);
    margin: 1rem 0 1.5rem;
}

.panel-video { border-radius: 10px; overflow: hidden; }

.panel-thumbnail img { border-radius: 10px; max-height: 300px; object-fit: cover; width: 100%; }

.panel-body {
    font-family: 'Lora', serif;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-dark);
}

.panel-body p { margin-top: 0; margin-bottom: 0.6rem; }
.panel-body div { margin-top: 0; margin-bottom: 0.4rem; }
.panel-body p:empty,
.panel-body div:empty,
.panel-body p:has(> br:only-child),
.panel-body div:has(> br:only-child) { display: none; margin: 0; }
.panel-body h2, .panel-body h3 { font-family: 'Cinzel', serif; color: var(--deep-maroon); margin: 1.5rem 0 0.75rem; }
.panel-body blockquote {
    border-left: 4px solid var(--gold);
    background: var(--gold-light);
    padding: 1rem 1.5rem;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    margin: 1.5rem 0;
}

.panel-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }

.featured-badge {
    background: var(--gold-light);
    color: var(--deep-maroon);
    border: 1px solid var(--gold);
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 0.78rem;
    font-family: 'Cinzel', serif;
}

.panel-access-denied {
    padding: 3rem;
    background: var(--parchment);
    border-radius: var(--radius);
    margin: 2rem;
}

/* ---- Responsive: stack on mobile ---- */
@media (max-width: 768px) {
    .split-layout {
        flex-direction: column;
        height: auto;
        min-height: unset;
    }

    .split-left {
        width: 100%;
        min-width: unset;
        border-right: none;
        border-bottom: 2px solid var(--border-sacred);
        max-height: 350px;
    }

    .split-right { min-height: 400px; }
    .split-right-content { padding: 1.2rem; }
    .cli-title { white-space: normal; }
}
