        :root {
            --dark-bg: #0a0a0a;
            --dark-panel: #111111;
            --dark-text: #e0e0e0;
            --dark-accent: #ff0038;
            --dark-accent-glow: rgba(255, 0, 56, 0.3);
            --light-bg: #000000;
            --light-panel: #000000;
            --light-text: #00ff00;
            --light-accent: #00ff00;
            --light-accent-glow: rgba(0, 255, 0, 0.3);
        }

        [data-theme="dark"] {
            --bg: var(--dark-bg);
            --panel: var(--dark-panel);
            --text: var(--dark-text);
            --accent: var(--dark-accent);
            --accent-glow: var(--dark-accent-glow);
        }

        [data-theme="light"] {
            --bg: var(--light-bg);
            --panel: var(--light-panel);
            --text: var(--light-text);
            --accent: var(--light-accent);
            --accent-glow: var(--light-accent-glow);
        }

        body {
            font-family: 'Rajdhani', 'Courier New', monospace;
            background: var(--bg);
            color: var(--text);
            margin: 0;
            padding: 0;
            height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            transition: all 0.3s ease;
            overflow: hidden;
        }

		a {
		  color: white;
		}

        [data-theme="dark"] body {
            font-family: 'Courier New', monospace;
        }

        [data-theme="light"] body {
            font-family: 'Share Tech Mono', monospace;
        }

        .main-wrapper {
            width: 100%;
            max-width: 900px;
            height: 100%;
            position: relative;
            display: flex;
            flex-direction: column;
        }

        header {
            padding: 1.5rem;
            text-align: center;
            position: relative;
        }

        h1 {
            margin: 0;
            color: var(--accent);
            font-size: 2.2rem;
            font-weight: 700;
            letter-spacing: 0.2rem;
            text-transform: uppercase;
            text-shadow: 0 0 10px var(--accent-glow);
        }

        .tagline {
            font-size: 0.9rem;
            opacity: 0.8;
            letter-spacing: 0.1rem;
        }

        .chat-container {
            flex: 1;
            overflow-y: auto;
            padding: 1rem 2rem 100px;
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            scrollbar-width: thin;
            scrollbar-color: var(--accent) transparent;
        }

        .chat-container::-webkit-scrollbar {
            width: 4px;
            background-color: transparent;
        }

        .chat-container::-webkit-scrollbar-thumb {
            background-color: var(--accent);
            border-radius: 0;
        }

        .message {
            max-width: 65%;
            padding: 1.2rem 1.5rem;
            border-radius: 12px;
            line-height: 1.6;
            position: relative;
            font-weight: 500;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
            margin-bottom: 1.5rem;
        }

        .user-message {
            align-self: flex-end;
            background: var(--accent);
            color: white;
            border-bottom-right-radius: 0;
            clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 95% 100%, 0% 100%);
        }

        [data-theme="light"] .user-message {
            color: #000;
        }

        .ai-message {
            align-self: flex-start;
            background: var(--panel);
            border: 1px solid var(--accent);
            border-bottom-left-radius: 0;
            clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 5% 100%, 0% 75%);
        }

        .input-container {
            position: sticky;
            bottom: 0;
            padding: 20px 2rem;
            background: var(--bg);
            z-index: 10;
        }

        .input-area {
            display: flex;
            background: var(--panel);
            border-radius: 50px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3),
                        0 0 15px var(--accent-glow);
            border: 1px solid var(--accent);
            overflow: hidden;
        }

        #message-input {
            flex: 1;
            padding: 1rem 1.5rem;
            border: none;
            background: transparent;
            color: var(--text);
            font-family: inherit;
            font-size: 1rem;
            outline: none;
        }

        #send-button {
            padding: 0 1.8rem;
            background: var(--accent);
            color: white;
            border: none;
            cursor: pointer;
            font-weight: bold;
            font-size: 1.1rem;
            transition: all 0.2s;
        }

        [data-theme="light"] #send-button {
            color: #000;
        }

        .theme-toggle {
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            background: none;
            border: none;
            color: var(--text);
            cursor: pointer;
            font-size: 1.5rem;
            z-index: 100;
        }

        .typing-indicator {
            align-self: flex-start;
            color: var(--accent);
            font-style: italic;
            display: none;
            margin-left: 1rem;
            margin-bottom: 1.5rem;
        }

        .pulse {
            animation: pulse 1.5s infinite;
        }

        @keyframes pulse {
            0% { opacity: 0.6; }
            50% { opacity: 1; }
            100% { opacity: 0.6; }
        }

        .corner-decoration {
            position: absolute;
            width: 100px;
            height: 100px;
            border: 2px solid var(--accent);
            opacity: 0.3;
        }

        .corner-tl {
            top: 20px;
            left: 20px;
            border-right: none;
            border-bottom: none;
        }

        .corner-tr {
            top: 20px;
            right: 20px;
            border-left: none;
            border-bottom: none;
        }

        .corner-bl {
            bottom: 120px;
            left: 20px;
            border-right: none;
            border-top: none;
        }

        .corner-br {
            bottom: 120px;
            right: 20px;
            border-left: none;
            border-top: none;
        }

        /* Matrix rain effect */
        .matrix-rain {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            pointer-events: none;
            opacity: 0.15;
            display: none;
        }

        [data-theme="light"] .matrix-rain {
            display: block;
        }

        .matrix-flash {
            animation: matrixFlash 0.79s;
        }

        @keyframes matrixFlash {
            0% { filter: brightness(1); }
            25% { filter: brightness(2); }
            50% { filter: brightness(1); }
            75% { filter: brightness(2); }
            100% { filter: brightness(1); }
        }