/* --- 1. GLOBAL VARIABLES & RESET --- */
:root {
    --gold: #ffd700;
    --deep-blue: #0a192f;
    --card-bg: rgba(255, 255, 255, 0.05);
    --accent: #4facfe;
    --text: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--deep-blue);
    color: var(--text);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    padding-top: 100px; /* Space for the fixed header */
    cursor: none; /* Required for the custom Chakra cursor */
    overflow-x: hidden;
}

/* --- 2. THE NAVIGATION MENU (HEADER) --- */
header {
    width: 100%;
    background: rgba(10, 25, 47, 0.95); 
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10001;
    padding: 15px 0;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    color: var(--gold);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.nav-links li a:hover {
    color: var(--gold);
    opacity: 1;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

/* Highlight "Donate" as a Button */
.nav-links li a[href="donation.html"] {
    border: 1px solid var(--gold);
    padding: 8px 18px;
    border-radius: 20px;
    background: rgba(255, 215, 0, 0.05);
}

.nav-links li a[href="donation.html"]:hover {
    background: var(--gold);
    color: var(--deep-blue);
}

/* --- 3. CHAKRA CURSOR --- */
#chakra-ptr {
    width: 40px;
    height: 40px;
    position: fixed;
    pointer-events: none;
    z-index: 10002;
    background: url('Chakra.png') no-repeat center/contain;
    transform: translate(-50%, -50%);
    animation: spin 4s linear infinite;
}

@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* --- 4. GITA OS GRID (Life Solutions) --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.gita-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.chapter-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.chapter-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    background: rgba(255, 215, 0, 0.03);
}

.chapter-title {
    color: var(--gold);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.problem-tag {
    color: #ff6b6b;
    font-weight: bold;
    display: block;
}

/* --- 5. RESPONSIVENESS --- */
@media (max-width: 992px) {
    .nav-links { display: none; } /* Consider adding a hamburger menu later */
    .logo { font-size: 1.2rem; }
    body { cursor: auto; } /* Disable custom cursor on mobile for better UX */
    #chakra-ptr { display: none; }
}

        :root {
            --gold: #ffd700;
            --deep-blue: #0a192f;
            --peacock-blue: #0077be;
            --aura: rgba(255, 215, 0, 0.3);
            --krishna-blue: #4facfe;
            --glass: rgba(255, 255, 255, 0.05);
        }

        /* Global Styles */
        body, html {
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: var(--deep-blue);
            color: white;
            overflow-x: hidden;
            scroll-behavior: smooth;
            cursor: none; 
        }

        /* Navigation Menu */
        header {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(10, 25, 47, 0.9);
            backdrop-filter: blur(10px);
            z-index: 10000;
            border-bottom: 1px solid rgba(255, 215, 0, 0.1);
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 50px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .logo {
            font-weight: bold;
            font-size: 1.5rem;
            color: var(--gold);
            letter-spacing: 2px;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 25px;
            margin: 0;
            padding: 0;
        }

        .nav-links li { position: relative; }

        .nav-links a {
            color: white;
            text-decoration: none;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: 0.3s;
            cursor: none;
        }

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

        /* Dropdown Submenu */
        .dropdown:hover .submenu {
            display: block;
            opacity: 1;
            transform: translateY(0);
        }

        .submenu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background: #112240;
            min-width: 180px;
            border: 1px solid var(--gold);
            padding: 10px 0;
            border-radius: 5px;
            margin-top: 10px;
            list-style: none;
        }

        .submenu li a {
            padding: 10px 20px;
            display: block;
            text-transform: capitalize;
        }

        .submenu li a:hover { background: rgba(255, 215, 0, 0.1); }

        /* Sudarshana Chakra Cursor */
        #chakra {
            width: 50px;
            height: 50px;
            position: fixed;
            top: 0;
            left: 0;
            pointer-events: none;
            z-index: 99999;
            background-image: url('Chakra.png');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            transform: translate(-50%, -50%);
            animation: rotateChakra 2s linear infinite;
            filter: drop-shadow(0 0 10px var(--gold));
            transition: width 0.3s ease, height 0.3s ease, filter 0.3s ease;
        }

        @keyframes rotateChakra {
            from { transform: translate(-50%, -50%) rotate(0deg); }
            to { transform: translate(-50%, -50%) rotate(360deg); }
        }

        .chakra-active {
            width: 80px !important;
            height: 80px !important;
            filter: drop-shadow(0 0 25px var(--gold)) brightness(1.2) !important;
        }

        /* Hero Section */
        .hero {
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            background: radial-gradient(circle, #1a3a5f 0%, #0a192f 100%);
            position: relative;
            text-align: center;
            padding-top: 60px;
        }

        .hero h1 {
            font-size: 4rem;
            margin: 0;
            background: linear-gradient(to bottom, #fff, var(--gold));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: fadeInDown 2s ease-out;
            letter-spacing: 5px;
            text-transform: uppercase;
        }

        .hero p {
            font-size: 1.5rem;
            color: var(--gold);
            opacity: 0;
            animation: fadeIn 3s ease-out forwards;
            animation-delay: 1s;
            font-style: italic;
        }

        .main-image-container {
            margin-top: 30px;
            width: 320px;
            height: 320px;
            border-radius: 50%;
            overflow: hidden;
            border: 4px solid var(--gold);
            box-shadow: 0 0 30px var(--gold), inset 0 0 20px var(--gold);
            animation: float 6s ease-in-out infinite;
        }

        .main-image-container img { width: 100%; height: 100%; object-fit: cover; }

        .mantra-container {
            padding: 60px 20px;
            text-align: center;
            background: rgba(0, 0, 0, 0.3);
        }

        .mantra-text {
            font-size: 1.8rem;
            line-height: 1.6;
            color: var(--gold);
            text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
            max-width: 700px;
            margin: 0 auto;
            border-left: 3px solid var(--gold);
            border-right: 3px solid var(--gold);
            padding: 20px;
        }

        .content-section {
            padding: 100px 20px;
            max-width: 900px;
            margin: 0 auto;
        }

        .card {
            background: rgba(255, 255, 255, 0.03);
            padding: 40px;
            border-radius: 20px;
            border: 1px solid rgba(255, 215, 0, 0.1);
            margin-bottom: 50px;
            transform: translateY(50px);
            opacity: 0;
            transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            backdrop-filter: blur(10px);
        }

        .card.reveal { transform: translateY(0); opacity: 1; border-color: var(--gold); }

        .music-control {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 999;
            background: var(--gold);
            color: var(--deep-blue);
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
            transition: all 0.3s ease;
        }

        .music-control.playing { animation: pulse 2s infinite; }

        @keyframes float { 0%, 100% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-20px) rotate(2deg); } }
        @keyframes fadeInDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
        @keyframes fadeIn { to { opacity: 1; } }
        @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); } 70% { box-shadow: 0 0 0 20px rgba(255, 215, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); } }

        .scroll-down {
            position: absolute;
            bottom: 30px;
            border: 2px solid var(--gold);
            width: 30px;
            height: 50px;
            border-radius: 20px;
        }

        .scroll-down::before {
            content: '';
            position: absolute;
            top: 10px; left: 50%;
            width: 6px; height: 6px;
            background: var(--gold);
            margin-left: -3px;
            border-radius: 50%;
            animation: scroll-anim 2s infinite;
        }

        @keyframes scroll-anim { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(20px); } }
