/**
 * ISKCON Kurukshetra - Devotional Engagement Platform
 * Premium Stylesheet v3.0 - Redesigned Temple of Knowledge
 * @import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800&family=Manrope:wght@300;400;500;600;700;800&display=swap');
 */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800&family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* ====================================
   CSS VARIABLES - PREMIUM PALETTE
   ==================================== */
:root {
    /* Primary devotional colors */
    --saffron-primary: #E8A321;
    --saffron-light: #F6C15C;
    --saffron-dark: #4A2412;
    --saffron-glow: rgba(232, 163, 33, 0.3);

    /* Background tones */
    --cream-bg: #FFF8EE;
    --white-pure: #FFFFFF;
    --ivory: #FFFBF5;
    --sandalwood: #F5EAD6;
    --dark-bg: #2E1406;
    --dark-card: #4A2412;

    /* Accent colors */
    --lotus-pink: #D05E7A;
    --lotus-light: #F48FB1;
    --tulsi-green: #3D6F41;
    --tulsi-light: #529A57;
    --peacock-blue: #1C548C;
    --holy-gold: #E8A321;
    --gold-gradient: linear-gradient(135deg, #E8A321 0%, #ffd700 50%, #E8A321 100%);

    /* Text colors */
    --text-primary: #4B3728;
    --text-secondary: #2E1406;
    --text-muted: rgba(75, 55, 40, 0.65);
    --text-light: #E8A321;

    /* Glassmorphism */
    --glass-bg: rgba(255, 248, 238, 0.7);
    --glass-border: rgba(74, 36, 18, 0.1);
    --glass-shadow: 0 8px 32px rgba(46, 20, 6, 0.08);

    /* UI elements */
    --border-light: rgba(74, 36, 18, 0.12);
    --shadow-soft: rgba(46, 20, 6, 0.04);
    --shadow-medium: rgba(46, 20, 6, 0.08);
    --devotional-gradient: linear-gradient(135deg, #E8A321 0%, #C38612 100%);
    --hero-gradient: radial-gradient(circle at center, #4A2412 0%, #2E1406 100%);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 5rem;

    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 50px;

    /* Transitions */
    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ====================================
   RESET & BASE STYLES
   ==================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--cream-bg);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Decorative background patterns and particles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(232, 130, 26, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(232, 130, 26, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Scroll progress bar */
#scrollProgress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--devotional-gradient);
    z-index: 9999;
}

/* ====================================
   TYPOGRAPHY
   ==================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.6rem;
}

h4 {
    font-size: 1.3rem;
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
    font-weight: 400;
}

a {
    color: var(--saffron-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--saffron-dark);
}

/* ====================================
   CONTAINER & LAYOUT
   ==================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xxl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.section-title h2 {
    background: var(--devotional-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--devotional-gradient);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* ====================================
   HEADER & NAVIGATION
   ==================================== */
.site-header {
    background: var(--hero-gradient);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(232, 130, 26, 0.3);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.site-logo {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.site-logo:hover {
    color: var(--saffron-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.5rem 0.8rem;
    border-radius: var(--radius-full);
    transition: var(--transition-smooth);
    letter-spacing: 0.3px;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(232, 163, 33, 0.08);
    color: var(--text-secondary);
}

.menu-toggle {
    display: none;
    background: none;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #FFFFFF;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

/* ====================================
   HERO SECTION
   ==================================== */
.hero-section {
    background: var(--hero-gradient);
    color: var(--white-pure);
    text-align: center;
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(232, 130, 26, 0.15) 0%, transparent 60%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, var(--cream-bg), transparent);
}

@keyframes heroGlow {
    from {
        transform: scale(1) rotate(0deg);
        opacity: 0.5;
    }

    to {
        transform: scale(1.1) rotate(5deg);
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(232, 130, 26, 0.2);
    border: 1px solid rgba(232, 130, 26, 0.5);
    color: var(--saffron-light);
    padding: 0.4rem 1.2rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: 4.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #ffffff;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.title-highlight {
    background: linear-gradient(135deg, #ffd700 0%, #f5a623 50%, #ff8c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.4));
    position: relative;
}

.title-sub {
    font-size: 2.5rem;
    display: block;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 8px;
    margin-top: 0.5rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .title-sub {
        font-size: 1.5rem;
        letter-spacing: 4px;
    }
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.mantra {
    font-size: 1rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.5px;
    line-height: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.5rem;
    margin-top: 1rem;
}

.mobile-btn-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 1.5rem;
}

.mobile-btn-wrapper button {
    width: 250px;
    max-width: 90%;
}

/* ====================================
   ANIMATIONS
   ==================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

@keyframes scrollMouse {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 0;
    }

    100% {
        transform: translateY(12px);
        opacity: 0;
    }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    opacity: 0.6;
}

.hero-scroll-indicator .mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--white-pure);
    border-radius: 12px;
    position: relative;
}

.hero-scroll-indicator .mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--white-pure);
    border-radius: 50%;
    animation: scrollMouse 2s infinite;
}

/* Hero Particles Overlay */
.hero-bg-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(1px 1px at 20% 30%, white, transparent),
        radial-gradient(1.5px 1.5px at 40% 70%, white, transparent),
        radial-gradient(1px 1px at 80% 40%, white, transparent),
        radial-gradient(2px 2px at 90% 80%, white, transparent),
        radial-gradient(1.5px 1.5px at 10% 90%, white, transparent);
    opacity: 0.2;
    z-index: 0;
}

/* ====================================
   BUTTONS
   ==================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.8rem;
    border-radius: var(--radius-full);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition-bounce);
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn:hover::after {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #E8A321 0%, #ffd700 50%, #C38612 100%);
    background-size: 200% auto;
    color: var(--white-pure);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 18px rgba(232, 130, 26, 0.35);
    position: relative;
    overflow: hidden;
    transition: background-position 0.6s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.45) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    z-index: 2;
    pointer-events: none;
    animation: btnShimmer 5s infinite ease-in-out;
}

.btn-primary:hover {
    background-position: right center;
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 25px rgba(232, 130, 26, 0.55);
    transform: scale(1.04) !important;
}

.btn-primary:active {
    transform: scale(0.96) !important;
    transition: transform 0.1s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Shimmer Animation */
@keyframes btnShimmer {
    0% {
        left: -150%;
    }

    25% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

/* Luxurious Ripple Container */
.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: rippleEffect 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    pointer-events: none;
    z-index: 3;
}

@keyframes rippleEffect {
    to {
        transform: scale(5);
        opacity: 0;
    }
}

/* Floating Icon Spans */
.btn-icon-wrapper {
    display: inline-block;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover .btn-icon-wrapper {
    transform: translateX(8px);
}

.btn-icon {
    display: inline-block;
    animation: iconFloat 2.5s ease-in-out infinite alternate;
}

@keyframes iconFloat {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-2.5px);
    }
}

/* Golden Sparkle Particles on Hover */
.btn-hover-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffd700;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10;
    opacity: 1;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-secondary {
    background: transparent;
    color: var(--saffron-primary);
    border: 2px solid var(--saffron-primary);
}

.btn-secondary:hover {
    background: var(--saffron-primary);
    color: var(--white-pure);
    transform: translateY(-2px);
}

.btn-white {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white-pure);
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.btn-white:hover {
    background: rgba(255, 255, 255, 0.25);
    color: var(--white-pure);
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, #2e7d32, #4caf50);
    color: var(--white-pure);
    box-shadow: 0 4px 20px rgba(46, 125, 50, 0.3);
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.4);
    color: var(--white-pure);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
}

/* ====================================
   CARDS
   ==================================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.card {
    background: var(--white-pure);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-soft);
    transition: var(--transition-smooth);
    border: 1px solid rgba(232, 130, 26, 0.1);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--devotional-gradient);
    opacity: 0;
    transition: var(--transition-smooth);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px var(--shadow-medium);
}

.card:hover::before {
    opacity: 1;
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f5ead6 0%, #ffe0b2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.card-content {
    padding: 1.5rem;
}

.card-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(232, 130, 26, 0.12), rgba(245, 166, 35, 0.12));
    color: var(--saffron-dark);
    border: 1px solid rgba(232, 130, 26, 0.25);
    padding: 0.25rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.card-title {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.card-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    font-size: 0.85rem;
    color: var(--text-muted);
    gap: 0.5rem;
    flex-wrap: wrap;
}

.card-meta-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* ====================================
   FORMS
   ==================================== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    letter-spacing: 0.3px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition-smooth);
    background-color: var(--white-pure);
    color: var(--text-primary);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--saffron-primary);
    box-shadow: 0 0 0 4px rgba(232, 130, 26, 0.12);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.devotional-note {
    background: linear-gradient(135deg, #fffdf8, #fef5e7);
    border: 1px solid rgba(232, 130, 26, 0.25);
    border-left: 4px solid var(--saffron-primary);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    margin-bottom: 2rem;
}

.devotional-note p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
}

.required {
    color: var(--saffron-primary);
}

/* Input with icon */
.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    pointer-events: none;
}

.input-wrapper .form-input {
    padding-left: 2.8rem;
}

/* ====================================
   QUIZ SPECIFIC STYLES
   ==================================== */
.quiz-container {
    max-width: 860px;
    margin: 2rem auto;
    background: var(--white-pure);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: 0 12px 50px var(--shadow-soft);
    border: 1px solid rgba(232, 130, 26, 0.1);
}

.quiz-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-light);
    position: relative;
}

.quiz-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--devotional-gradient);
}

/* Progress bar */
.quiz-progress {
    margin-bottom: 2rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--border-light);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--devotional-gradient);
    border-radius: var(--radius-full);
    transition: width 0.5s ease;
}

/* Question card */
.question-card {
    background: linear-gradient(135deg, #fffdf8 0%, #fef5e7 100%);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(232, 130, 26, 0.15);
    border-left: 4px solid var(--saffron-primary);
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.question-number {
    color: var(--saffron-primary);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.question-text {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 500;
    line-height: 1.7;
}

.question-image {
    width: 100%;
    max-width: 450px;
    margin: 1rem auto 1.5rem;
    display: block;
    border-radius: var(--radius-md);
    box-shadow: 0 6px 20px var(--shadow-soft);
    border: 3px solid var(--border-light);
}

/* Hint button */
.hint-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(245, 166, 35, 0.15));
    border: 1px solid rgba(245, 166, 35, 0.4);
    color: #b8860b;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.hint-btn:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.25), rgba(245, 166, 35, 0.25));
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3);
}

/* Options */
.options-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.option-item {
    position: relative;
}

.option-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.option-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: var(--white-pure);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    overflow: hidden;
}

.option-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--devotional-gradient);
    opacity: 0;
    transition: var(--transition-smooth);
}

.option-label:hover {
    border-color: var(--saffron-primary);
    background: rgba(232, 130, 26, 0.04);
    transform: translateX(4px);
}

.option-label:hover::before {
    opacity: 1;
}

.option-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--border-light);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.option-input:checked+.option-label {
    border-color: var(--saffron-primary);
    background: linear-gradient(135deg, rgba(232, 130, 26, 0.08), rgba(245, 166, 35, 0.08));
    font-weight: 600;
    color: var(--text-primary);
}

.option-input:checked+.option-label::before {
    opacity: 1;
}

.option-input:checked+.option-label .option-letter {
    background: var(--devotional-gradient);
    color: white;
}

/* Short answer */
.short-answer-input {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition-smooth);
    background: var(--white-pure);
    color: var(--text-primary);
    resize: vertical;
    min-height: 80px;
}

.short-answer-input:focus {
    outline: none;
    border-color: var(--saffron-primary);
    box-shadow: 0 0 0 4px rgba(232, 130, 26, 0.1);
}

/* Navigation buttons for single question mode */
.quiz-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    gap: 1rem;
}

/* ====================================
   HINT MODAL
   ==================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: var(--white-pure);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    max-width: 480px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: var(--transition-bounce);
    border-top: 4px solid var(--saffron-primary);
}

.modal-overlay.active .modal-box {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    background: var(--border-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    color: var(--text-muted);
}

.modal-close:hover {
    background: var(--saffron-primary);
    color: white;
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.hint-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 10px rgba(245, 166, 35, 0.3));
}

.modal-title {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--saffron-primary);
    margin: 0;
}

.modal-content {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
    text-align: center;
    background: linear-gradient(135deg, #fffdf8, #fef5e7);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(232, 130, 26, 0.2);
    font-style: italic;
    margin-bottom: 2rem;
}

.modal-footer {
    display: flex;
    justify-content: center;
}

/* ====================================
   MUSIC CONTROLS
   ==================================== */
.music-controls {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: auto;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.music-btn {
    width: 52px;
    height: 52px;
    background: var(--devotional-gradient);
    border: none;
    border-radius: 50%;
    color: var(--white-pure);
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition-bounce);
    box-shadow: 0 4px 20px rgba(232, 130, 26, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(232, 130, 26, 0.6);
}

.music-label {
    font-size: 0.7rem;
    color: var(--saffron-primary);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ====================================
   RESULT PAGE
   ==================================== */
.result-container {
    max-width: 720px;
    margin: 2rem auto;
    text-align: center;
}

/* Result Page Professional Upgrade */
.professional-upgrade {
    position: relative;
    padding-top: 3.5rem !important;
}

.result-badge-top {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 2rem;
    border-radius: 0 0 20px 20px;
    color: white;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.result-icon-main {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.result-quiz-title {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.result-score-highlight {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.score-main {
    font-size: 5rem;
    font-weight: 800;
    font-family: 'Cinzel', serif;
    background: var(--devotional-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.score-sep {
    font-size: 2.5rem;
    color: var(--text-light);
    font-weight: 300;
}

.score-total {
    font-size: 2.5rem;
    color: var(--text-light);
    font-weight: 600;
}

.result-percentage-tag {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    font-family: 'Cinzel', serif;
}

.email-alert-box {
    background: rgba(46, 125, 50, 0.08);
    color: var(--tulsi-green);
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(46, 125, 50, 0.15);
}

.devotional-wisdom-box {
    background: var(--white-pure);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    position: relative;
    margin-bottom: 2rem;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.02);
}

.devotional-wisdom-box::before {
    content: '“';
    position: absolute;
    top: 5px;
    left: 20px;
    font-family: 'Cinzel', serif;
    font-size: 5rem;
    color: rgba(232, 130, 26, 0.08);
    line-height: 1;
}

.devotional-wisdom-box p {
    margin: 0;
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
}

.result-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* ====================================
   PUZZLE STYLES
   ==================================== */
.puzzle-container {
    max-width: 700px;
    margin: 2rem auto;
}

.puzzle-board {
    display: grid;
    gap: 3px;
    background: var(--saffron-dark);
    border-radius: var(--radius-md);
    padding: 3px;
    box-shadow: 0 8px 30px var(--shadow-medium);
    margin: 1.5rem auto;
    width: fit-content;
}

.puzzle-piece {
    width: 150px;
    height: 150px;
    background-size: cover;
    cursor: grab;
    border-radius: 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.puzzle-piece:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.puzzle-piece.dragging {
    cursor: grabbing;
    opacity: 0.7;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.puzzle-piece.drag-over {
    border: 3px solid var(--saffron-primary);
    box-shadow: 0 0 20px rgba(232, 130, 26, 0.5);
}

.puzzle-piece.correct {
    border: 3px solid var(--tulsi-light);
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.5);
}

.puzzle-reference {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 3px solid var(--saffron-primary);
    box-shadow: 0 6px 20px var(--shadow-soft);
}

.puzzle-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.puzzle-stat {
    text-align: center;
    background: var(--white-pure);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px var(--shadow-soft);
    min-width: 100px;
}

.puzzle-stat-value {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--saffron-primary);
    display: block;
}

.puzzle-stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ====================================
   CATEGORY PAGE - MUSIC BANNER
   ==================================== */
.music-banner {
    background: linear-gradient(135deg, #1a0e05, #3d1f08);
    border-radius: var(--radius-lg);
    padding: 1.2rem 1.8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(232, 130, 26, 0.3);
}

.music-banner-icon {
    font-size: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.music-banner-text {
    flex: 1;
}

.music-banner-text h4 {
    color: var(--saffron-light);
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    font-family: 'Poppins', sans-serif;
}

.music-banner-text p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin: 0;
}

/* Category Path Card */
.category-path-card {
    background: var(--white-pure);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 20px var(--shadow-soft);
    transition: var(--transition-bounce);
    border: 1px solid rgba(232, 130, 26, 0.05);
    display: flex;
    flex-direction: column;
}

.category-path-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow-medium);
    border-color: rgba(232, 130, 26, 0.2);
}

.path-image-container {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.path-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-path-card:hover .path-img {
    transform: scale(1.1);
}

.path-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.path-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    backdrop-filter: blur(2px);
}

.category-path-card:hover .path-overlay {
    opacity: 1;
}

.btn-path {
    background: var(--white-pure);
    color: var(--saffron-primary);
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.path-info {
    padding: 1.5rem;
}

.path-meta-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.path-badge {
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.path-badge.music {
    background: rgba(56, 142, 60, 0.1);
    color: var(--tulsi-green);
}

.path-badge.puzzle {
    background: rgba(25, 118, 210, 0.1);
    color: var(--peacock-blue);
}

.path-title {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.path-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.path-stats {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.path-stat-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.stat-ico {
    font-size: 1.1rem;
}

/* Music Visualizer */
.music-visualizer {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 30px;
    padding-right: 1rem;
}

.music-visualizer span {
    width: 4px;
    background: var(--saffron-light);
    border-radius: 2px;
    animation: visualize 1s ease-in-out infinite;
}

.music-visualizer span:nth-child(1) {
    height: 40%;
    animation-delay: 0.1s;
}

.music-visualizer span:nth-child(2) {
    height: 80%;
    animation-delay: 0.3s;
}

.music-visualizer span:nth-child(3) {
    height: 60%;
    animation-delay: 0.2s;
}

.music-visualizer span:nth-child(4) {
    height: 100%;
    animation-delay: 0.4s;
}

@keyframes visualize {

    0%,
    100% {
        height: 40%;
    }

    50% {
        height: 100%;
    }
}

.music-banner.muted .music-visualizer span {
    animation: none;
    height: 10%;
    background: var(--text-muted);
}

/* Quiz Level Card Refinement */
.quiz-level-card {
    background: var(--white-pure);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    border: 1px solid rgba(232, 130, 26, 0.1);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px var(--shadow-soft);
}

.quiz-level-badge {
    align-self: flex-start;
    background: var(--devotional-gradient);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
    box-shadow: 0 4px 15px rgba(232, 130, 26, 0.3);
}

.quiz-stats-row {
    display: flex;
    gap: 1.2rem;
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px dashed var(--border-light);
    border-bottom: 1px dashed var(--border-light);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Puzzle Separation */
.puzzle-separation-divider {
    position: relative;
    text-align: center;
    margin: 5rem 0 4rem;
}

.puzzle-separation-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
    z-index: 0;
}

.puzzle-separation-divider span {
    position: relative;
    background: var(--cream-bg);
    padding: 0 2rem;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--saffron-dark);
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 1;
}

/* ====================================
   FOOTER
   ==================================== */
.site-footer {
    background: var(--hero-gradient);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(232, 130, 26, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-family: 'Cinzel', serif;
    color: var(--saffron-light);
    font-size: 1rem;
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 0.4rem;
    display: block;
}

.footer-section a:hover {
    color: var(--saffron-light);
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
    letter-spacing: 0.5px;
}

.footer-bottom p {
    color: inherit;
    margin-bottom: 0.4rem;
}

.footer-mantra {
    color: var(--saffron-light);
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    opacity: 0.9;
}

/* ====================================
   ALERTS & MESSAGES
   ==================================== */
.alert {
    padding: 1rem 1.3rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.alert-info {
    background: linear-gradient(135deg, #fff8e1, #ffe0b2);
    border: 1px solid rgba(232, 130, 26, 0.3);
    color: var(--saffron-dark);
}

/* ====================================
   EMPTY STATE
   ==================================== */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

/* ====================================
   UTILITY CLASSES
   ==================================== */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.text-gradient {
    background: var(--devotional-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

.hidden {
    display: none !important;
}

/* Spinner */
.spinner {
    border: 3px solid var(--border-light);
    border-top: 3px solid var(--saffron-primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Divider */
.divider {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 2rem 0;
}

.divider-gold {
    border-top: 2px solid;
    border-image: var(--devotional-gradient) 1;
}

/* ====================================
   QUIZ START PAGE
   ==================================== */
.start-card {
    background: var(--white-pure);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: 0 12px 50px var(--shadow-soft);
    border: 1px solid rgba(232, 130, 26, 0.1);
    max-width: 580px;
    margin: 2rem auto;
}

.start-card-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-light);
}

.quiz-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.quiz-info-item {
    text-align: center;
    background: linear-gradient(135deg, #fffdf8, #fef5e7);
    border: 1px solid rgba(232, 130, 26, 0.2);
    border-radius: var(--radius-md);
    padding: 1rem;
}

.quiz-info-icon {
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
}

.quiz-info-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quiz-info-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--saffron-primary);
    margin-top: 0.2rem;
}

/* User Profile Badge */
.user-nav-item {
    margin-left: 1rem;
    padding-left: 1.2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
}

.user-badge {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.45rem 1.2rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition-bounce);
    cursor: default;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
}

.user-badge:hover {
    background: rgba(232, 130, 26, 0.18);
    border-color: rgba(232, 130, 26, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.user-badge .u-icon {
    font-size: 1.1rem;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

.user-badge .u-name {
    color: var(--white-pure);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.logout-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white-pure);
    font-size: 0.8rem;
    margin-left: 0.4rem;
    transition: var(--transition-bounce);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logout-link:hover {
    background: rgba(255, 71, 87, 0.2);
    border-color: #ff4757;
    color: #ff4757;
    transform: scale(1.1);
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-section {
        padding: 4rem 0 3rem;
    }

}

@media (max-width: 1150px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 14, 5, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        gap: 0;
        padding: 0;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
        display: none;
        border-top: 3px solid var(--saffron-primary);
        align-items: stretch;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        padding: 1.25rem 2rem;
        border-radius: 0 !important;
        width: 100%;
        font-size: 1.1rem;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        display: flex;
        justify-content: center;
        align-items: center;
        letter-spacing: 1px;
        transition: var(--transition-smooth);
        box-shadow: none !important;
        background: transparent;
    }

    .nav-menu a:last-child {
        border-bottom: none;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        background: rgba(232, 130, 26, 0.15) !important;
        color: var(--saffron-light) !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        font-weight: 700;
    }

    .nav-menu a.active::before {
        content: '🪷';
        font-size: 0.9rem;
        margin-right: 12px;
        filter: drop-shadow(0 0 5px var(--saffron-primary));
    }

    .user-nav-item {
        margin-left: 0;
        padding: 1.5rem 2rem;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: none;
        display: flex;
        justify-content: center;
        margin-top: 0.5rem;
    }

    .user-badge {
        width: 100%;
        justify-content: center;
        background: rgba(232, 130, 26, 0.1);
        border: 1px solid rgba(232, 130, 26, 0.2);
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr;
    }

    .quiz-container {
        padding: 1.5rem;
    }

    .result-card {
        padding: 2rem 1.5rem;
    }

    .result-actions {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .music-controls {
        bottom: 1.5rem;
        left: 1.5rem;
        right: auto;
    }

    .puzzle-piece {
        width: 100px;
        height: 100px;
    }

    .start-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .result-score {
        font-size: 3rem;
    }

    .result-icon {
        font-size: 3.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .puzzle-piece {
        width: 80px;
        height: 80px;
    }
}

/* ====================================
   CHANTING BANNER
   ==================================== */
.chanting-banner {
    background: linear-gradient(135deg, #fffcf5 0%, #fff3e0 100%);
    padding: 1.5rem 0;
    border-bottom: 2px solid rgba(232, 130, 26, 0.1);
    position: relative;
    overflow: hidden;
}

.chanting-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.chanting-icon {
    font-size: 2.2rem;
    animation: rotate 10s linear infinite;
    filter: drop-shadow(0 0 10px rgba(232, 130, 26, 0.3));
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.chanting-text-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.chanting-prefix {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.chanting-main-text {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    margin-bottom: 0 !important;
    background: var(--devotional-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.chanting-cursor {
    font-size: 1.6rem;
    color: var(--saffron-primary);
    animation: blink 1s step-end infinite;
    font-weight: 300;
}

@keyframes blink {

    from,
    to {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .chanting-wrapper {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .chanting-main-text {
        font-size: 1.2rem;
    }

    .chanting-text-container {
        flex-direction: row;
        gap: 0.1rem;
    }
}

/* ====================================
   INFINITE GRACE TICKER
   ==================================== */
.grace-ticker {
    background: #1a0e05;
    padding: 1.2rem 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(232, 130, 26, 0.4);
    border-bottom: 1px solid rgba(232, 130, 26, 0.4);
}

.grace-ticker-content {
    display: flex;
    white-space: nowrap;
}

.grace-scroll {
    display: flex;
    gap: 3rem;
    padding-right: 3rem;
    animation: scrollGrace 30s linear infinite;
}

.grace-scroll span {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--saffron-light);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    letter-spacing: 2px;
}

@keyframes scrollGrace {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.grace-ticker::before,
.grace-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.grace-ticker::before {
    left: 0;
    background: linear-gradient(to right, var(--dark-bg), transparent);
}

.grace-ticker::after {
    right: 0;
    background: linear-gradient(to left, var(--dark-bg), transparent);
}

/* ==========================================================================
   PREMIUM REDESIGN ADDITIONS - V3.0 (TEMPLE LUXURY EDITORIAL STYLE)
   ========================================================================== */

/* Typography Overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

body,
p,
span,
a,
button,
input,
select,
textarea {
    font-family: 'Manrope', sans-serif;
    color: var(--text-primary);
}

.btn {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: var(--radius-full);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
    pointer-events: none;
}

.btn:active::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    transition: 0s;
}

/* Sticky Premium Navbar */
.site-header {
    background: rgba(46, 20, 6, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(232, 163, 33, 0.15);
    transition: var(--transition-smooth);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.site-header .container {
    max-width: 1400px;
}

.site-header.scrolled {
    background: rgba(46, 20, 6, 0.92);
    border-bottom: 1px solid rgba(232, 163, 33, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.site-header .site-logo {
    color: #FFFFFF !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.site-header .nav-menu a {
    color: rgba(255, 248, 238, 0.9) !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.site-header .nav-menu a:hover,
.site-header .nav-menu a.active {
    background: rgba(232, 163, 33, 0.12) !important;
    color: #FFFFFF !important;
    border: 1.5px solid rgba(232, 163, 33, 0.35);
    box-shadow: 0 0 15px rgba(232, 163, 33, 0.2);
}

/* Navbar active line indicator hover effect */
.nav-menu a {
    position: relative;
    overflow: visible;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--saffron-primary);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    width: 40%;
}

/* Custom Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, rgba(46, 20, 6, 0.45) 0%, rgba(46, 20, 6, 0.85) 100%), url('../images/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 9rem 0 7rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 40%, rgba(232, 163, 33, 0.22) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.hero-bg-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 50% 30%, rgba(232, 163, 33, 0.15) 0%, transparent 60%);
    z-index: 0;
}

.hero-content {
    z-index: 2;
    position: relative;
}

.hero-badge {
    background: rgba(46, 20, 6, 0.4);
    border: 1.5px solid rgba(232, 163, 33, 0.45);
    color: var(--saffron-light);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.55rem 1.8rem;
    border-radius: var(--radius-full);
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: inline-block;
    margin-bottom: 2rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.hero-title {
    color: #FFFFFF;
    font-size: 4.8rem;
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.25rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.title-sub {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 10px;
    font-weight: 500;
    text-transform: uppercase;
    display: block;
    margin-top: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    color: #FFFBF5;
    opacity: 0.9;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4.5rem;
}

.hero-actions .btn {
    padding: 1rem 2.8rem;
    font-size: 1rem;
    border-radius: var(--radius-full);
}

.hero-actions .btn-primary {
    background: linear-gradient(135deg, #C38612 0%, #E8A321 100%);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 8px 24px rgba(232, 163, 33, 0.45);
}

.hero-actions .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(232, 163, 33, 0.6);
}

.hero-actions .btn-white {
    background: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
    border: 1.5px solid rgba(232, 163, 33, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hero-actions .btn-white:hover {
    transform: translateY(-3px);
    background: rgba(232, 163, 33, 0.15);
    border-color: var(--saffron-primary);
}

.hero-trust-badges {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 1.5rem 2.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    color: rgba(255, 255, 255, 0.85);
}

.trust-badge-item .badge-icon {
    font-size: 2rem;
    color: var(--saffron-primary);
}

.trust-badge-item .badge-text-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #FFFFFF;
}

.trust-badge-item .badge-text-sub {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Elegant Hero Divider */
.hero-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 3;
}

.hero-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 40px;
    fill: var(--cream-bg);
}

.stats-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-card-premium {
    background: var(--white-pure);
    border: 1px solid rgba(74, 36, 18, 0.08);
    border-radius: var(--radius-md);
    padding: 2.5rem 1.5rem;
    box-shadow: 0 10px 30px rgba(46, 20, 6, 0.02);
    transition: var(--transition-bounce);
}

.stat-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(46, 20, 6, 0.06);
    border-color: rgba(232, 163, 33, 0.3);
}

.stat-card-premium .stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    filter: drop-shadow(0 4px 10px rgba(232, 163, 33, 0.2));
    transition: transform 0.5s ease;
}

.stat-card-premium:hover .stat-icon {
    transform: scale(1.18) rotate(5deg);
}

.stat-card-premium .stat-number {
    font-family: 'Cinzel', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.stat-card-premium .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Connected Process Timeline */
.timeline-process {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4.5rem;
    margin-top: 5rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.timeline-svg {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 8px;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

.timeline-line-inactive,
.timeline-line-active {
    stroke-width: 4;
    fill: none;
    stroke-linecap: round;
}

.timeline-line-inactive {
    stroke: #E8DDD0;
}

.timeline-line-active {
    stroke: #E8A321;
    filter: drop-shadow(0 0 5px rgba(232, 163, 33, 0.6));
}

.timeline-step-wrapper {
    display: flex;
    width: 100%;
    position: relative;
    z-index: 1;
}

.left-step {
    justify-content: flex-start;
}

.right-step {
    justify-content: flex-end;
}

.timeline-step {
    display: flex;
    width: 45%;
    position: relative;
}

.left-step .timeline-step {
    justify-content: flex-end;
}

.right-step .timeline-step {
    justify-content: flex-start;
}

.timeline-card {
    background: var(--white-pure);
    border-radius: var(--radius-md);
    padding: 2.2rem 2rem;
    box-shadow: 0 8px 30px var(--shadow-soft);
    border: 1px solid rgba(74, 36, 18, 0.06);
    width: 100%;
    max-width: 450px;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    position: relative;
}

.left-step .timeline-card {
    text-align: right;
}

.right-step .timeline-card {
    text-align: left;
}

.timeline-step.revealed .timeline-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.timeline-step-number {
    width: 36px;
    height: 36px;
    background: #4A2412;
    border: 3px solid var(--white-pure);
    color: var(--white-pure);
    font-weight: 700;
    font-size: 0.9rem;
    animation: cardGlowPop 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardGlowPop {
    0% {
        box-shadow: 0 0 0 rgba(232, 163, 33, 0);
        border-color: rgba(74, 36, 18, 0.06);
    }

    50% {
        box-shadow: 0 0 25px rgba(232, 163, 33, 0.35);
        border-color: rgba(232, 163, 33, 0.4);
    }

    100% {
        box-shadow: 0 8px 30px var(--shadow-soft);
        border-color: rgba(74, 36, 18, 0.06);
    }
}

.timeline-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(46, 20, 6, 0.08) !important;
    border-color: rgba(232, 163, 33, 0.25) !important;
}

.timeline-step-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-card:hover .timeline-step-icon {
    transform: scale(1.05);
}

.timeline-card h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.timeline-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.timeline-node {
    position: absolute;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #E8DDD0;
    border: 3px solid var(--white-pure);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.4s ease, border-color 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.left-step .timeline-node {
    left: auto;
    right: -50px;
    top: 50%;
    transform: translate(50%, -50%);
}

.right-step .timeline-node {
    left: -50px;
    top: 50%;
    transform: translate(-50%, -50%);
}

.timeline-node .node-number {
    font-weight: 700;
    font-size: 0.9rem;
    color: #4B3728;
    z-index: 2;
    transition: color 0.4s ease;
}

.timeline-step.revealed .timeline-node {
    background: #E8A321 !important;
    border-color: var(--white-pure) !important;
    box-shadow: 0 0 15px rgba(232, 163, 33, 0.6) !important;
}

.left-step.timeline-step.revealed .timeline-node {
    transform: translate(50%, -50%) scale(1.1) !important;
}

.right-step.timeline-step.revealed .timeline-node {
    transform: translate(-50%, -50%) scale(1.1) !important;
}

.timeline-step.revealed .timeline-node .node-number {
    color: var(--white-pure);
}

.node-ripple {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #E8A321;
    opacity: 0;
    pointer-events: none;
    transform: scale(1);
}

.timeline-step.revealed .node-ripple {
    animation: rippleExpand 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes rippleExpand {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

@media (max-width: 991px) {
    .timeline-svg {
        display: none;
    }

    .timeline-process {
        display: block;
    }
}

/* Premium Card Designs - Categories & Quizzes */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.premium-card {
    background: var(--white-pure);
    border-radius: var(--radius-md);
    border: 1px solid rgba(74, 36, 18, 0.08);
    overflow: hidden;
    box-shadow: 0 12px 35px var(--shadow-soft);
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
}

.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 48px rgba(46, 20, 6, 0.08);
    border-color: rgba(232, 163, 33, 0.3);
}

.premium-card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.premium-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.premium-card:hover .premium-card-img {
    transform: scale(1.08);
}

.premium-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(46, 20, 6, 0.85) 0%, rgba(46, 20, 6, 0.3) 50%, transparent 100%);
    opacity: 0.9;
}

.premium-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(232, 163, 33, 0.9);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: var(--white-pure);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.premium-card-info-badges {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    font-weight: 600;
}

.premium-card-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.premium-card-title {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.premium-card-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.premium-card-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 0.85rem 1.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1.5px solid var(--saffron-primary);
    background: transparent;
    color: var(--saffron-primary);
    transition: var(--transition-smooth);
}

.premium-card:hover .premium-card-btn {
    background: var(--devotional-gradient);
    color: var(--white-pure);
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(232, 163, 33, 0.3);
}

/* Premium Scripture Quote Section */
.scripture-quote-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 3rem;
    background: var(--white-pure);
    border-radius: var(--radius-lg);
    border: 2px solid rgba(232, 163, 33, 0.15);
    box-shadow: 0 15px 45px var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.scripture-quote-card::before {
    content: '“';
    position: absolute;
    top: 20px;
    left: 40px;
    font-family: 'Cinzel', serif;
    font-size: 12rem;
    color: var(--saffron-primary);
    opacity: 0.08;
    line-height: 1;
}

.scripture-quote-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 160px;
    height: 160px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="%23E8A321" fill-opacity="0.05"><path d="M50 15 C45 35, 15 45, 50 85 C85 45, 55 35, 50 15 Z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}

.quote-lotus {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 3px 8px rgba(232, 163, 33, 0.25));
}

.quote-text {
    font-family: 'Cinzel', serif;
    font-size: 1.35rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.quote-source-badge {
    display: inline-block;
    background: rgba(74, 36, 18, 0.05);
    border: 1px solid rgba(232, 163, 33, 0.3);
    color: var(--saffron-dark);
    padding: 0.3rem 1.2rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Redesigned Premium Footer */
.site-footer {
    background: #2E1406;
    color: rgba(255, 248, 238, 0.8);
    padding: 5rem 0 2rem;
    border-top: 3px solid var(--saffron-primary);
}

.site-footer h3 {
    font-family: 'Cinzel', serif;
    color: var(--white-pure);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.site-footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--saffron-primary);
}

.site-footer p {
    color: rgba(255, 248, 238, 0.75);
    font-size: 0.92rem;
    line-height: 1.7;
}

.site-footer a {
    color: rgba(255, 248, 238, 0.8);
    transition: var(--transition-smooth);
    display: inline-block;
    margin-bottom: 0.6rem;
    font-size: 0.92rem;
}

.site-footer a:hover {
    color: var(--saffron-primary);
    transform: translateX(5px);
}

.footer-social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.site-footer .social-icon-btn {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: var(--white-pure) !important;
    font-size: 1.15rem;
    margin-bottom: 0 !important;
    line-height: 1 !important;
    transition: var(--transition-bounce) !important;
}

.site-footer .social-icon-btn:hover {
    background: var(--saffron-primary);
    transform: scale(1.15) translateY(-3px) !important;
    color: var(--white-pure) !important;
}

.footer-divider-premium {
    height: 1px;
    background: rgba(255, 248, 238, 0.1);
    margin: 3rem 0 2rem;
}

.footer-mantra-highlight {
    font-family: 'Cinzel', serif;
    color: var(--saffron-light);
    font-size: 1.15rem;
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Micro-interactions & animations */
.animate-fade-up {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, opacity;
}

.animate-fade-up.appeared {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate3d(-50%, -50%, 0);
    will-change: transform;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* ==========================================================================
   MOBILE FIRST & RESPONSIVENESS ENHANCEMENTS - V3.0
   ========================================================================== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .title-sub {
        font-size: 1.8rem;
        letter-spacing: 6px;
    }

    .hero-trust-badges {
        padding: 1.5rem;
        gap: 1.5rem;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 8rem 0 5rem;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.3rem;
        /* Scaled down to fit smaller viewports */
    }

    .title-sub {
        font-size: 1.15rem;
        /* Scaled down */
        letter-spacing: 5px;
    }

    .hero-subtitle {
        font-family: 'Manrope', sans-serif !important;
        font-weight: 500;
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        color: rgba(255, 255, 255, 0.85) !important;
        letter-spacing: 0.2px;
        margin-bottom: 2rem;
        max-width: 92%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 3rem;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .hero-trust-badges {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.5rem !important;
        padding: 1.2rem 0.5rem !important;
    }

    .trust-badge-item {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 0.35rem !important;
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }

    .trust-badge-item .badge-icon {
        font-size: 1.5rem !important;
    }

    .trust-badge-item .badge-text-title {
        font-size: 0.8rem !important;
        line-height: 1.2 !important;
    }

    .trust-badge-item .badge-text-sub {
        font-size: 0.65rem !important;
        line-height: 1.2 !important;
    }

    .trust-badge-item:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }

    /* Mobile Menu styles override */
    .menu-toggle {
        display: block !important;
        z-index: 1001;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        left: auto !important;
        width: 280px;
        height: 100vh;
        background: rgba(46, 20, 6, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 6rem 2rem 2rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        align-items: stretch !important;
        gap: 1rem !important;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 1.5rem !important;
        border-radius: var(--radius-md) !important;
        border: 1px solid rgba(255, 255, 255, 0.05);
        color: #FFFFFF !important;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        background: rgba(232, 163, 33, 0.15) !important;
        border-color: rgba(232, 163, 33, 0.4) !important;
    }

    .stats-grid-container {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 0.4rem !important;
    }

    .stat-card-premium {
        padding: 0.8rem 0.2rem !important;
        border-radius: var(--radius-sm) !important;
    }

    .stat-card-premium .stat-icon {
        font-size: 1.35rem !important;
        margin-bottom: 0.25rem !important;
    }

    .stat-card-premium .stat-number {
        font-size: 1rem !important;
        margin-bottom: 0.15rem !important;
    }

    .stat-card-premium .stat-label {
        font-size: 0.52rem !important;
        letter-spacing: 0.2px !important;
        line-height: 1.2 !important;
    }

    h1 {
        font-size: 1.3rem !important;
    }

    h2 {
        font-size: 1.2rem !important;
    }

    h3 {
        font-size: 1.1rem !important;
    }

    h4 {
        font-size: 1.1rem !important;
    }

    h5 {
        font-size: 0.95rem !important;
    }

    h6 {
        font-size: 0.85rem !important;
    }

    p {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
    }

    .timeline-process {
        display: flex !important;
        flex-direction: column !important;
        gap: 3.5rem !important;
        padding-left: 0 !important;
        margin-top: 4rem !important;
        position: relative !important;
    }

    .timeline-svg {
        display: block !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        top: 0 !important;
        bottom: 0 !important;
        width: 8px !important;
        height: 100% !important;
    }

    .timeline-step-wrapper {
        justify-content: center !important;
        width: 100% !important;
        padding: 0 1rem !important;
    }

    .timeline-step {
        width: 100% !important;
        max-width: 450px !important;
        justify-content: center !important;
    }

    .timeline-card {
        text-align: center !important;
        padding: 2.2rem 1.5rem 1.8rem !important;
    }

    .timeline-node {
        left: 50% !important;
        right: auto !important;
        top: 0 !important;
        transform: translate(-50%, -50%) !important;
    }

    .left-step.timeline-step.revealed .timeline-node,
    .right-step.timeline-step.revealed .timeline-node {
        transform: translate(-50%, -50%) scale(1.1) !important;
    }

    .timeline-step-icon {
        font-size: 2.4rem !important;
        margin-bottom: 0.75rem !important;
    }

    .timeline-card h4 {
        font-size: 1.1rem !important;
        text-align: center !important;
        margin-bottom: 0.5rem !important;
    }

    .timeline-card p {
        font-size: 0.85rem !important;
        text-align: center !important;
        line-height: 1.5 !important;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 7rem 0 4rem;
    }

    .hero-badge {
        font-size: 0.78rem;
        padding: 0.45rem 1.2rem;
        margin-bottom: 1.5rem;
    }

    .hero-title {
        font-size: 1.85rem;
        /* Extra scaling down for small mobile viewports */
    }

    .title-sub {
        font-size: 0.95rem;
        letter-spacing: 4px;
    }

    .hero-subtitle {
        font-size: 0.88rem !important;
        margin-bottom: 1.5rem;
    }
}

/* Mobile transparent navbar initially */
@media (max-width: 1150px) {
    .site-header:not(.scrolled):not(.menu-open) {
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-bottom: 1px solid transparent !important;
        box-shadow: none !important;
    }

    /* Keep background if the mobile menu is expanded */
    .site-header.menu-open,
    .site-header:has(.nav-menu.active) {
        background: rgba(46, 20, 6, 0.98) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        border-bottom: 1px solid rgba(232, 163, 33, 0.25) !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    }

    /* Prevent hero section text overlapping with the fixed navbar on mobile */
    .hero-section {
        padding-top: 6.5rem !important;
    }
}