  @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;500;700&display=swap');
 
 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

      
        body {
            font-family: 'Rajdhani', sans-serif;
            min-height: 100vh;
            background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #2a1a3a 100%);
            color: #00d4ff;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
            overflow-x: hidden;
        }

    
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(138, 43, 226, 0.1) 0%, transparent 50%);
            animation: particles 10s ease-in-out infinite;
            pointer-events: none;
            z-index: 0;
        }

        @keyframes particles {
            0%, 100% { opacity: 0.3; transform: scale(1); }
            50% { opacity: 0.6; transform: scale(1.1); }
        }

        /* Main container */
        .container {
            position: relative;
            z-index: 1;
            max-width: 800px;
            width: 100%;
            background: rgba(10, 14, 39, 0.8);
            border: 2px solid #00d4ff;
            border-radius: 20px;
            padding: 40px;
            box-shadow: 
                0 0 30px rgba(0, 212, 255, 0.3),
                inset 0 0 30px rgba(0, 212, 255, 0.1);
            backdrop-filter: blur(10px);
        }

        /* Header styling */
        .header {
            text-align: center;
            margin-bottom: 40px;
        }

        .header h1 {
            font-family: 'Orbitron', sans-serif;
            font-size: 3.5rem;
            font-weight: 900;
            color: #00d4ff;
            text-shadow: 
                0 0 10px #00d4ff,
                0 0 20px #00d4ff,
                0 0 30px #00d4ff;
            letter-spacing: 8px;
            animation: glow 2s ease-in-out infinite;
        }

        @keyframes glow {
            0%, 100% { text-shadow: 0 0 10px #00d4ff, 0 0 20px #00d4ff, 0 0 30px #00d4ff; }
            50% { text-shadow: 0 0 20px #00d4ff, 0 0 30px #00d4ff, 0 0 40px #00d4ff, 0 0 50px #00d4ff; }
        }

        .header p {
            font-size: 1.2rem;
            color: #8a2be2;
            margin-top: 10px;
            font-weight: 300;
        }

        /* Status indicator */
        .status {
            text-align: center;
            margin: 30px 0;
            font-size: 1.1rem;
            padding: 15px;
            background: rgba(0, 212, 255, 0.1);
            border-radius: 10px;
            border: 1px solid rgba(0, 212, 255, 0.3);
            min-height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .status.listening {
            background: rgba(0, 212, 255, 0.2);
            border-color: #00d4ff;
            animation: pulse 1.5s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { box-shadow: 0 0 10px rgba(0, 212, 255, 0.5); }
            50% { box-shadow: 0 0 25px rgba(0, 212, 255, 0.8); }
        }

        /* Microphone button container */
        .mic-container {
            display: flex;
            justify-content: center;
            margin: 40px 0;
        }

        /* Microphone button styling */
        .mic-button {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            background: linear-gradient(135deg, #00d4ff 0%, #8a2be2 100%);
            border: none;
            cursor: pointer;
            position: relative;
            transition: all 0.3s ease;
            box-shadow: 
                0 0 30px rgba(0, 212, 255, 0.5),
                0 0 50px rgba(138, 43, 226, 0.3);
        }

        .mic-button:hover {
            transform: scale(1.1);
            box-shadow: 
                0 0 40px rgba(0, 212, 255, 0.8),
                0 0 60px rgba(138, 43, 226, 0.5);
        }

        .mic-button:active {
            transform: scale(0.95);
        }

        .mic-button.active {
            animation: micActive 1s ease-in-out infinite;
        }

        @keyframes micActive {
            0%, 100% { 
                transform: scale(1);
                box-shadow: 0 0 30px rgba(0, 212, 255, 0.5), 0 0 50px rgba(138, 43, 226, 0.3);
            }
            50% { 
                transform: scale(1.15);
                box-shadow: 0 0 50px rgba(0, 212, 255, 1), 0 0 80px rgba(138, 43, 226, 0.8);
            }
        }

        /* Microphone icon */
        .mic-icon {
            font-size: 3rem;
            color: white;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
        }

        /* Output display area */
        .output {
            margin-top: 30px;
            padding: 20px;
            background: rgba(0, 0, 0, 0.4);
            border-radius: 15px;
            border: 1px solid rgba(0, 212, 255, 0.3);
            min-height: 150px;
            max-height: 300px;
            overflow-y: auto;
        }

        /* Individual message styling */
        .message {
            margin: 15px 0;
            padding: 12px 18px;
            border-radius: 10px;
            animation: fadeIn 0.5s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* User command styling */
        .user-message {
            background: rgba(0, 212, 255, 0.2);
            border-left: 4px solid #00d4ff;
            color: #00d4ff;
        }

        /* JARVIS response styling */
        .jarvis-message {
            background: rgba(138, 43, 226, 0.2);
            border-left: 4px solid #8a2be2;
            color: #c77dff;
        }

        .message-label {
            font-size: 0.85rem;
            font-weight: 700;
            margin-bottom: 5px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .message-text {
            font-size: 1.1rem;
            font-weight: 500;
        }

        /* Commands list */
        .commands {
            margin-top: 30px;
            padding: 20px;
            background: rgba(0, 0, 0, 0.3);
            border-radius: 10px;
            border: 1px solid rgba(138, 43, 226, 0.3);
        }

        .commands h3 {
            font-family: 'Orbitron', sans-serif;
            color: #8a2be2;
            margin-bottom: 15px;
            font-size: 1.3rem;
        }

        .commands ul {
            list-style: none;
            padding-left: 0;
        }

        .commands li {
            padding: 8px 0;
            color: #00d4ff;
            font-size: 0.95rem;
            border-bottom: 1px solid rgba(0, 212, 255, 0.1);
        }

        .commands li:last-child {
            border-bottom: none;
        }

        .commands li::before {
            content: '▹ ';
            color: #8a2be2;
            font-weight: bold;
            margin-right: 10px;
        }

        /* Custom scrollbar */
        .output::-webkit-scrollbar {
            width: 8px;
        }

        .output::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.3);
            border-radius: 10px;
        }

        .output::-webkit-scrollbar-thumb {
            background: linear-gradient(135deg, #00d4ff, #8a2be2);
            border-radius: 10px;
        }

        /* Mobile responsive design */
        @media (max-width: 768px) {
            .container {
                padding: 25px;
            }

            .header h1 {
                font-size: 2.5rem;
                letter-spacing: 4px;
            }

            .header p {
                font-size: 1rem;
            }

            .mic-button {
                width: 100px;
                height: 100px;
            }

            .mic-icon {
                font-size: 2.5rem;
            }

            .message-text {
                font-size: 1rem;
            }

            .commands li {
                font-size: 0.85rem;
            }
        }

        @media (max-width: 480px) {
            .header h1 {
                font-size: 2rem;
                letter-spacing: 2px;
            }

            .mic-button {
                width: 80px;
                height: 80px;
            }

            .mic-icon {
                font-size: 2rem;
            }
        }