        :root {
            --primary: #0d6efd;
            --secondary: #6610f2;
            --success: #198754;
            --info: #0dcaf0;
            --warning: #ffc107;
            --danger: #dc3545;
            --light: #f8f9fa;
            --dark: #212529;
            --gold: #ffd700;
            --silver: #c0c0c0;
            --diamond: #b9f2ff;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #e4e7f1 100%);
            color: #333;
            overflow-x: hidden;
        }

        h1, h2, h3, h4, h5, .display-1, .display-2 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 800;
        }

        .navbar-brand {
            font-family: 'Montserrat', sans-serif;
            font-weight: 900;
            font-size: 1.8rem;
            color: var(--primary) !important;
        }

        .hero-section {
            background: linear-gradient(rgba(13, 110, 253, 0.9), rgba(102, 16, 242, 0.8)), url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 120px 0;
            border-radius: 0 0 50px 50px;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border: none;
            padding: 12px 30px;
            border-radius: 30px;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(13, 110, 253, 0.4);
        }

        .section-title {
            position: relative;
            margin-bottom: 45px;
            text-align: center;
        }

        .section-title:after {
            content: '';
            position: absolute;
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 2px;
        }

        .card {
            border: none;
            border-radius: 15px;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            margin-bottom: 25px;
        }

        .card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }

        .card-img-top {
            height: 180px;
            object-fit: cover;
        }

        .course-category {
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 10px;
        }

        .course-title {
            font-weight: 700;
            font-size: 1.2rem;
            margin-bottom: 10px;
        }

        .reward-card {
            border-radius: 15px;
            padding: 25px;
            text-align: center;
            height: 100%;
            transition: all 0.3s ease;
        }

        .reward-card:hover {
            transform: scale(1.03);
        }

        .silver-card {
            background: linear-gradient(135deg, #e6e6e6, #c0c0c0);
            color: #333;
        }

        .gold-card {
            background: linear-gradient(135deg, #faf0e6, #ffd700);
            color: #333;
        }

        .diamond-card {
            background: linear-gradient(135deg, #e6f7ff, #b9f2ff);
            color: #333;
        }

        .crown-card {
            background: linear-gradient(135deg, #e0e0e0, #a9a9a9);
            color: #333;
        }

        .royal-card {
            background: linear-gradient(135deg, #d4af37, #c5a000);
            color: #fff;
        }

        .legend-card {
            background: linear-gradient(135deg, #ff8c00, #ff4500);
            color: #fff;
        }

        .reward-icon {
            font-size: 3rem;
            margin-bottom: 15px;
        }

        .testimonial-card {
            border-left: 4px solid var(--primary);
        }

        .footer {
            background: linear-gradient(135deg, #1a1a2e, #16213e);
            color: white;
            padding: 60px 0 30px;
        }

        .footer a {
            color: #ddd;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer a:hover {
            color: white;
        }

        .social-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            margin-right: 10px;
            transition: all 0.3s ease;
        }

        .social-icon:hover {
            background: var(--primary);
            transform: translateY(-3px);
        }

        /* Dashboard Styles */
        #dashboardPanel {
            display: none;
        }

        .sidebar {
            background: linear-gradient(180deg, #1a1a2e, #16213e);
            color: white;
            min-height: 100vh;
            padding-top: 20px;
            box-shadow: 3px 0 10px rgba(0, 0, 0, 0.1);
        }

        .sidebar .nav-link {
            color: rgba(255, 255, 255, 0.8);
            padding: 12px 20px;
            margin: 5px 0;
            border-radius: 5px;
            transition: all 0.3s ease;
        }

        .sidebar .nav-link:hover, .sidebar .nav-link.active {
            background: rgba(255, 255, 255, 0.1);
            color: white;
        }

        .sidebar .nav-link i {
            margin-right: 10px;
            width: 20px;
            text-align: center;
        }

        .main-content {
            padding: 20px;
            background-color: #f8f9fa;
        }

        .dashboard-card {
            border-radius: 15px;
            overflow: hidden;
            margin-bottom: 20px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        .dashboard-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        }

        .card-header {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            font-weight: 600;
            padding: 15px 20px;
        }

        .stats-card {
            text-align: center;
            padding: 20px;
        }

        .stats-number {
            font-size: 2.5rem;
            font-weight: 700;
            margin: 10px 0;
        }

        .stats-label {
            color: #6c757d;
            font-size: 0.9rem;
        }

        .tree-node {
            background: white;
            border: 1px solid #dee2e6;
            border-radius: 8px;
            padding: 15px;
            text-align: center;
            margin: 10px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        }

        .tree-node.active {
            border-color: var(--primary);
            background-color: rgba(13, 110, 253, 0.05);
        }

        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .animate-fadeIn {
            animation: fadeIn 0.8s ease forwards;
        }

        .delay-1 { animation-delay: 0.1s; }
        .delay-2 { animation-delay: 0.2s; }
        .delay-3 { animation-delay: 0.3s; }
        .delay-4 { animation-delay: 0.4s; }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .hero-section {
                padding: 80px 0;
            }

            .display-3 {
                font-size: 2.5rem;
            }
        }
