:root {
            --bg-color: #1a1a2e;
            --terminal-color: #0f0f1a;
            --text-color: #e0e0e0;
            --primary-color: #6e45e2;
            --secondary-color: #88d3ce;
            --ai-color: #a0a0ff;
            --user-color: #72f1b8;
            --error-color: #ff6b6b;
            --success-color: #4caf50;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background-color: var(--bg-color);
            color: var(--text-color);
            font-family: 'IBM Plex Mono', monospace;
            line-height: 1.6;
            padding: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
        }

        .terminal {
            width: 100%;
            max-width: 900px;
            height: 700px;
            background-color: var(--terminal-color);
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            display: flex;
            flex-direction: column;
        }

        .terminal-header {
            background-color: #252540;
            padding: 10px 15px;
            display: flex;
            align-items: center;
            border-bottom: 1px solid #333;
        }

        .terminal-buttons {
            display: flex;
            gap: 8px;
        }

        .terminal-buttons span {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            display: inline-block;
        }

        .terminal-buttons .close {
            background-color: #ff5f56;
        }

        .terminal-buttons .minimize {
            background-color: #ffbd2e;
        }

        .terminal-buttons .maximize {
            background-color: #27c93f;
        }

        .terminal-title {
            margin-left: 15px;
            font-size: 14px;
            opacity: 0.8;
        }

        .terminal-body {
            flex: 1;
            padding: 20px;
            overflow-y: auto;
            scrollbar-width: thin;
            scrollbar-color: var(--primary-color) var(--terminal-color);
        }

        .terminal-body::-webkit-scrollbar {
            width: 6px;
        }

        .terminal-body::-webkit-scrollbar-track {
            background: var(--terminal-color);
        }

        .terminal-body::-webkit-scrollbar-thumb {
            background-color: var(--primary-color);
            border-radius: 3px;
        }

        .terminal-input {
            display: flex;
            align-items: center;
            padding: 15px;
            background-color: #252540;
            border-top: 1px solid #333;
        }

        .prompt {
            color: var(--primary-color);
            margin-right: 10px;
            font-weight: bold;
        }

        #command-input {
            flex: 1;
            background: transparent;
            border: none;
            color: var(--text-color);
            font-family: 'IBM Plex Mono', monospace;
            font-size: 16px;
            outline: none;
        }

        .message {
            margin-bottom: 20px;
            animation: fadeIn 0.3s ease-out;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .message-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 5px;
            font-size: 14px;
        }

        .message-sender {
            font-weight: 500;
        }

        .message-time {
            opacity: 0.6;
        }

        .message-content {
            line-height: 1.6;
        }

        .ai-message .message-sender {
            color: var(--ai-color);
        }

        .user-message .message-sender {
            color: var(--user-color);
        }

        .command {
            color: var(--primary-color);
            font-weight: 500;
            cursor: pointer;
        }

        .command:hover {
            text-decoration: underline;
        }

        .project {
            background-color: #252540;
            border-radius: 6px;
            padding: 15px;
            margin: 15px 0;
            border-left: 3px solid var(--primary-color);
        }

        .project-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
        }

        .project-title {
            color: var(--secondary-color);
            font-size: 18px;
        }

        .project-year {
            color: var(--ai-color);
            opacity: 0.7;
        }

        .project-description {
            margin-bottom: 10px;
        }

        .project-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 15px;
        }

        .project-tags span {
            background-color: #1a1a2e;
            color: var(--secondary-color);
            padding: 3px 8px;
            border-radius: 4px;
            font-size: 12px;
        }

        .project-link {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 500;
            display: inline-block;
            transition: opacity 0.2s;
        }

        .project-link:hover {
            opacity: 0.8;
        }

        .skills-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 15px;
            margin-top: 15px;
        }

        .skill-category {
        
            background-color: #252540;
            padding: 15px;
            border-radius: 6px;
        }

        .skill-category h4 {
            color: var(--secondary-color);
            margin-bottom: 10px;
            border-bottom: 1px solid #333;
            padding-bottom: 5px;
        }

        .skill-category ul {
            list-style-type: none;
        }

        .skill-category li {
            margin-bottom: 5px;
            position: relative;
            padding-left: 15px;
        }

        .skill-category li:before {
            content: "▹";
            position: absolute;
            left: 0;
            color: var(--primary-color);
        }

        .contact-info {
            margin-top: 15px;
        }

        .contact-item {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }

        .contact-item svg {
            width: 20px;
            height: 20px;
            margin-right: 10px;
            fill: var(--primary-color);
        }

        .contact-item a {
            color: var(--text-color);
            text-decoration: none;
            transition: color 0.2s;
        }

        .contact-item a:hover {
            color: var(--secondary-color);
        }

        .typing {
            display: inline-block;
        }

        .typing-dot {
            display: inline-block;
            width: 8px;
            height: 8px;
            background-color: var(--ai-color);
            border-radius: 50%;
            margin-right: 4px;
            opacity: 0.4;
            animation: typingAnimation 1.4s infinite ease-in-out;
        }

        .typing-dot:nth-child(1) {
            animation-delay: 0s;
        }

        .typing-dot:nth-child(2) {
            animation-delay: 0.2s;
        }

        .typing-dot:nth-child(3) {
            animation-delay: 0.4s;
            margin-right: 0;
        }

        @keyframes typingAnimation {
            0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
            30% { transform: translateY(-5px); opacity: 1; }
        }

        .error {
            color: var(--error-color);
        }

        .success {
            color: var(--success-color);
        }

        @media (max-width: 768px) {
            body {
                padding: 10px;
            }
            
            .terminal {
                height: 90vh;
            }
            
            .skills-container {
                grid-template-columns: 1fr;
            }
        }