/**
 * ISKCON Kurukshetra - Devotional Engagement Platform
 * Premium Stylesheet v2.0 - Temple of Knowledge
 * @import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');
 */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ====================================
   CSS VARIABLES - PREMIUM PALETTE
   ==================================== */
:root {
    /* Primary devotional colors */
    --saffron-primary: #e8821a;
    --saffron-light: #f5a623;
    --saffron-dark: #c46d10;
    --saffron-glow: rgba(232, 130, 26, 0.4);

    /* Background tones */
    --cream-bg: #fdf6ec;
    --white-pure: #ffffff;
    --ivory: #fffef5;
    --sandalwood: #f5ead6;
    --dark-bg: #1a0e05;
    --dark-card: #2a1a0a;

    /* Accent colors */
    --lotus-pink: #e91e8c;
    --lotus-light: #f48fb1;
    --tulsi-green: #2e7d32;
    --tulsi-light: #4caf50;
    --peacock-blue: #1565c0;
    --holy-gold: #ffd700;
    --gold-gradient: linear-gradient(135deg, #f5a623 0%, #ffd700 50%, #f5a623 100%);

    /* Text colors */
    --text-primary: #1a0e05;
    --text-secondary: #4a2c0a;
    --text-muted: #8d6e63;
    --text-light: #c8a882;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.25);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);

    /* UI elements */
    --border-light: #e8d5c4;
    --shadow-soft: rgba(139, 69, 19, 0.08);
    --shadow-medium: rgba(139, 69, 19, 0.15);
    --devotional-gradient: linear-gradient(135deg, #e8821a 0%, #f5a623 50%, #ffd700 100%);
    --hero-gradient: linear-gradient(160deg, #1a0e05 0%, #3d1f08 40%, #7a3a10 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: 'Poppins', 'Segoe UI', 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(--saffron-light);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: 0.5px;
    text-shadow: 0 0 20px rgba(245, 166, 35, 0.5);
}

.site-logo:hover {
    color: var(--holy-gold);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    transition: var(--transition-smooth);
    letter-spacing: 0.3px;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(232, 130, 26, 0.25);
    color: var(--saffron-light);
    box-shadow: 0 0 15px rgba(232, 130, 26, 0.2);
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white-pure);
    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);
}

/* ====================================
   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;
}

/* ====================================
   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: var(--devotional-gradient);
    color: var(--white-pure);
    box-shadow: 0 4px 20px rgba(232, 130, 26, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(232, 130, 26, 0.5);
    color: var(--white-pure);
}

.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;
    right: 2rem;
    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;
    }

    .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;
    }

    .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: 1rem;
        right: 1rem;
    }

    .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, #1a0e05, transparent);
}

.grace-ticker::after {
    right: 0;
    background: linear-gradient(to left, #1a0e05, transparent);
}