        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background: #0a0a0a;
            color: #ffffff;
            line-height: 1.6;
            transition: background 0.3s ease, color 0.3s ease;
        }

        body.light-mode {
            background: #f5f5f5;
            color: #1a1a1a;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 80px 40px;
        }

        header {
            margin-bottom: 80px;
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
        }

        .header-icons {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .discord-link {
            background: #5865F2;
            color: white;
            padding: 12px;
            border-radius: 12px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
        }

        .discord-link:hover {
            background: #4752C4;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(88, 101, 242, 0.4);
        }

        h1 {
            font-size: 72px;
            font-weight: 700;
            margin-bottom: 20px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .subtitle {
            font-size: 24px;
            color: #888;
        }

        .theme-toggle {
            background: #222;
            color: white;
            padding: 12px;
            border-radius: 12px;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
        }

        .theme-toggle:hover {
            background: #333;
            transform: translateY(-2px);
        }

        body.light-mode .theme-toggle {
            background: #e0e0e0;
            color: #1a1a1a;
        }

        body.light-mode .theme-toggle:hover {
            background: #d0d0d0;
        }

        .projects {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 40px;
        }

        .project {
            background: #111;
            border-radius: 20px;
            padding: 40px;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid #222;
            position: relative;
            overflow: hidden;
            cursor: pointer;
        }

        body.light-mode .project {
            background: #fff;
            border-color: #e0e0e0;
        }

        .project:hover {
            transform: translateY(-8px);
            border-color: #667eea;
            box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
        }

        .project h2 {
            font-size: 28px;
            margin-bottom: 16px;
            color: #fff;
        }

        body.light-mode .project h2 {
            color: #1a1a1a;
        }

        .project p {
            color: #aaa;
            margin-bottom: 24px;
            font-size: 16px;
        }

        body.light-mode .project p {
            color: #666;
        }

        .tech {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
        }

        .tech-tag {
            background: rgba(102, 126, 234, 0.1);
            color: #667eea;
            padding: 8px 16px;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 500;
            border: 1px solid rgba(102, 126, 234, 0.2);
        }

        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            z-index: 1000;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        body.light-mode .modal {
            background: rgba(0, 0, 0, 0.7);
        }

        .modal.active {
            display: flex;
        }

        .modal-content {
            background: #111;
            border-radius: 20px;
            padding: 50px;
            max-width: 800px;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            border: 1px solid #667eea;
            animation: modalSlide 0.3s ease;
        }

        body.light-mode .modal-content {
            background: #fff;
        }

        @keyframes modalSlide {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .close-modal {
            position: absolute;
            top: 20px;
            right: 20px;
            background: transparent;
            border: none;
            color: #888;
            font-size: 32px;
            cursor: pointer;
            transition: color 0.3s;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .close-modal:hover {
            color: #fff;
        }

        .modal-content h2 {
            font-size: 36px;
            margin-bottom: 20px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .modal-content .description {
            color: #aaa;
            font-size: 18px;
            line-height: 1.8;
            margin-bottom: 30px;
        }

        .modal-content .details {
            margin-top: 30px;
        }

        .modal-content .details h3 {
            color: #fff;
            font-size: 20px;
            margin-bottom: 15px;
        }

        body.light-mode .modal-content .details h3 {
            color: #1a1a1a;
        }

        .modal-content .details p {
            color: #aaa;
            line-height: 1.6;
            margin-bottom: 15px;
        }

        body.light-mode .modal-content .details p {
            color: #666;
        }

        @media (max-width: 768px) {
            .container {
                padding: 40px 20px;
            }

            header {
                flex-direction: column;
                gap: 20px;
            }

            h1 {
                font-size: 48px;
            }

            .subtitle {
                font-size: 18px;
            }

            .projects {
                grid-template-columns: 1fr;
            }
        }
