        :root {
            --primary-color: #ff0055;
            --secondary-color: #00ff88;
            --background-color: #121212;
            --text-color: #ffffff;
            --card-color: #1e1e1e;
            --hover-glow: rgba(255, 0, 85, 0.2);
            --secondary-glow: rgba(0, 255, 136, 0.15);
            --gradient-primary: linear-gradient(135deg, var(--primary-color), #ff3377);
            --gradient-secondary: linear-gradient(135deg, var(--secondary-color), #33ffaa);
            --dark-glass: rgba(30, 30, 30, 0.8);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Arial', sans-serif;
            background: var(--background-color);
            color: var(--text-color);
            overflow-x: hidden;
            background-image: 
                radial-gradient(circle at 20% 80%, var(--hover-glow) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, var(--secondary-glow) 0%, transparent 50%);
            min-height: 100vh;
        }

        .animated-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            opacity: 0.1;
        }

        .bg-particle {
            position: absolute;
            width: 2px;
            height: 2px;
            background: var(--primary-color);
            border-radius: 50%;
            animation: float 6s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(180deg); }
        }

        .header {
            text-align: center;
            padding: 3rem 2rem;
            background: var(--dark-glass);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .header h1 {
            font-size: 3.5rem;
            font-weight: 800;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 1rem;
            animation: glow 2s ease-in-out infinite alternate;
        }

        @keyframes glow {
            from { filter: drop-shadow(0 0 20px var(--primary-color)); }
            to { filter: drop-shadow(0 0 30px var(--primary-color)); }
        }

        .stats-bar {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin: 2rem 0;
            flex-wrap: wrap;
        }

        .stat-item {
            background: var(--card-color);
            padding: 1rem 2rem;
            border-radius: 15px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .stat-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px var(--hover-glow);
        }

        .stat-value {
            font-size: 2rem;
            font-weight: bold;
            color: var(--secondary-color);
            display: block;
        }

        .xp-bar {
            width: 300px;
            height: 8px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 4px;
            overflow: hidden;
            margin: 0.5rem auto;
        }

        .xp-fill {
            height: 100%;
            background: var(--gradient-secondary);
            width: 65%;
            transition: width 0.5s ease;
            animation: pulse-xp 2s ease-in-out infinite;
        }

        @keyframes pulse-xp {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.8; }
        }

        .container {
            max-width: 100%;
            margin: 0 auto;
            padding: 2rem;
        }

        .modules-container {
            position: relative;
            width: 100%;
        }

        .modules-grid {
            display: flex;
            overflow-x: auto;
            gap: 2rem;
            margin-top: 2rem;
            padding: 1rem 0;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none; /* Hide scrollbar for a cleaner look */
        }

        .modules-grid::-webkit-scrollbar {
            display: none; /* Hide scrollbar for Chrome, Safari, and Opera */
        }

        .scroll-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            z-index: 10;
            background: var(--dark-glass);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--text-color);
            border-radius: 50%;
            width: 45px;
            height: 45px;
            font-size: 1.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
            backdrop-filter: blur(5px);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .scroll-btn:hover {
            background: var(--primary-color);
            border-color: var(--primary-color);
        }

        .scroll-btn:disabled {
            opacity: 0.2;
            cursor: not-allowed;
        }

        #scroll-left-btn {
            left: -20px;
        }

        #scroll-right-btn {
            right: -20px;
        }

        .module-card {
            background: var(--card-color);
            border-radius: 20px;
            padding: 2rem;
            border: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            flex: 0 0 380px;
            width: 380px;
        }

        .module-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
            transition: left 0.5s ease;
            pointer-events: none;
        }

        .module-card:hover::before {
            left: 100%;
        }

        .module-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 20px 40px var(--hover-glow);
            border-color: var(--primary-color);
        }

        .module-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 1.5rem;
        }

        .module-number {
            width: 50px;
            height: 50px;
            border-radius: 15px;
            background: var(--gradient-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.2rem;
        }

        .module-status {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
        }

        .status-badge {
            background: var(--gradient-secondary);
            color: var(--background-color);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
        }

        .progress-circle {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: conic-gradient(var(--secondary-color) 0deg, var(--secondary-color) var(--progress, 0deg), rgba(255, 255, 255, 0.1) var(--progress, 0deg));
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--secondary-color);
            font-weight: bold;
            position: relative;
        }

        .progress-circle::before {
            content: '';
            position: absolute;
            width: 80%;
            height: 80%;
            background: var(--card-color);
            border-radius: 50%;
        }

        .progress-text {
            position: relative;
            z-index: 1;
            font-size: 0.9rem;
        }

        .module-title {
            font-size: 1.5rem;
            font-weight: bold;
            margin-bottom: 1rem;
            color: var(--text-color);
        }

        .module-description {
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }

        .subtopics-container {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease, opacity 0.3s ease;
            opacity: 0;
        }

        .subtopics-container.expanded {
            max-height: 3000px;
            opacity: 1;
        }

        .subtopics-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin-top: 1rem;
        }

        .subtopic {
            background: rgba(255, 255, 255, 0.05);
            padding: 1rem;
            border-radius: 10px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
        }

        .subtopic:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 0, 85, 0.1);
        }

        .subtopic-title {
            font-weight: bold;
            color: var(--secondary-color);
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
        }

        .subtopic-description {
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.7);
            line-height: 1.4;
        }

        .subtopic.completed {
            border-color: var(--secondary-color);
            background: var(--secondary-glow);
        }

        .subtopic.completed::after {
            content: '✓';
            position: absolute;
            top: 5px;
            right: 8px;
            color: var(--secondary-color);
            font-weight: bold;
        }

        .expand-btn {
            background: var(--gradient-primary);
            border: none;
            padding: 0.8rem 2rem;
            border-radius: 25px;
            color: white;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .expand-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 5px 20px var(--hover-glow);
        }

        .expand-btn::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.3s ease, height 0.3s ease;
        }

        .expand-btn:active::after {
            width: 300px;
            height: 300px;
        }

        .achievement-popup {
            position: fixed;
            top: 20px;
            right: 20px;
            background: var(--gradient-secondary);
            color: var(--background-color);
            padding: 1rem 2rem;
            border-radius: 15px;
            font-weight: bold;
            transform: translateX(400px);
            transition: transform 0.5s ease;
            z-index: 1000;
            box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
        }

        .achievement-popup.show {
            transform: translateX(0);
        }

        .floating-elements {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -1;
        }

        .floating-icon {
            position: absolute;
            font-size: 2rem;
            opacity: 0.1;
            animation: float-random 8s ease-in-out infinite;
        }

        @keyframes float-random {
            0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.1; }
            25% { transform: translate(20px, -30px) rotate(90deg); opacity: 0.2; }
            50% { transform: translate(-15px, -60px) rotate(180deg); opacity: 0.1; }
            75% { transform: translate(30px, -30px) rotate(270deg); opacity: 0.15; }
        }

        .level-badge {
            position: fixed;
            top: 20px;
            left: 20px;
            background: var(--gradient-primary);
            padding: 1rem 2rem;
            border-radius: 25px;
            font-weight: bold;
            z-index: 100;
            animation: pulse 2s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        .module-expanded {
            background: linear-gradient(135deg, var(--card-color), rgba(255, 0, 85, 0.05));
        }

        .topic-category {
            background: rgba(255, 255, 255, 0.03);
            margin: 1rem 0;
            padding: 1.5rem;
            border-radius: 15px;
            border-left: 4px solid var(--primary-color);
        }

        .category-title {
            font-size: 1.1rem;
            font-weight: bold;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }

        .start-btn {
            background: var(--gradient-secondary);
            border: none;
            padding: 1rem 2rem;
            border-radius: 25px;
            color: var(--background-color);
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 1rem;
        }

        .start-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 5px 20px var(--secondary-glow);
        }

        @media (max-width: 768px) {
            .header h1 {
                font-size: 2.5rem;
            }
            
            .stats-bar {
                flex-direction: column;
                align-items: center;
            }

            .scroll-btn {
                display: none; /* Hide scroll buttons on mobile */
            }
        }

        .skill-tree {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: var(--dark-glass);
            backdrop-filter: blur(10px);
            padding: 1rem;
            border-radius: 15px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            z-index: 100;
        }

        .skill-node {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: var(--card-color);
            border: 2px solid rgba(255, 255, 255, 0.2);
            margin: 5px;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .skill-node.unlocked {
            background: var(--gradient-secondary);
            border-color: var(--secondary-color);
            animation: unlock 0.5s ease;
        }

        @keyframes unlock {
            0% { transform: scale(1); }
            50% { transform: scale(1.2); }
            100% { transform: scale(1); }
        }

        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 1000;
            backdrop-filter: blur(5px);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .modal-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: var(--card-color);
            padding: 2rem;
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            max-width: 600px;
            width: 90%;
            max-height: 80%;
            overflow-y: auto;
        }

        .close-btn {
            position: absolute;
            top: 15px;
            right: 20px;
            background: none;
            border: none;
            color: var(--text-color);
            font-size: 2rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .close-btn:hover {
            color: var(--primary-color);
            transform: rotate(90deg);
        }

/* Hero Carousel */
.hero-carousel {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
}

.carousel-slide video {
    width: 100%;
    display: block;
}

.carousel-prev,
.carousel-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
}

.carousel-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.carousel-prev:hover,
.carousel-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-dots {
    text-align: center;
    padding: 1rem;
    position: absolute;
    bottom: 10px;
    width: 100%;
}

.carousel-dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.carousel-dot.active {
    background-color: var(--primary-color);
}
    