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

        html, body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
                'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
                sans-serif;
            background-color: #1a1a1a;
            color: #e5e5e5;
            line-height: 1.6;
            min-height: 100vh;
        }

        .container {
            max-width: 896px;
            margin: 0 auto;
            padding: 40px 16px;
            min-height: 100vh;
            box-sizing: border-box;
        }

        .header {
            text-align: center;
            margin-bottom: 0;
        }

        .profile-image {
            width: 100%;
            max-width: 600px;
            height: auto;
            aspect-ratio: 600 / 435;
            border-radius: 24px;
            margin: 0 auto 40px;
            display: block;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .profile-image:hover {
            transform: scale(1.02);
            box-shadow: 0 12px 48px rgba(139, 154, 255, 0.4);
        }

        h1 {
            font-size: 64px;
            font-weight: 700;
            margin-bottom: 32px;
            color: #e5e5e5;
            position: relative;
        }

        h1 .verified-text {
            background-color: rgba(34, 197, 94, 0.3);
            color: #86efac;
            padding: 4px 8px;
            border-radius: 6px;
            font-weight: 700;
            transition: color 0.2s ease;
            cursor: pointer;
        }

        h1 .verified-text:hover {
            color: #22c55e;
        }

        .typing-cursor {
            display: inline;
            color: #8b9aff;
            font-weight: 400;
            animation: blink 1s step-end infinite;
        }

        .typing-cursor::after {
            content: '_';
        }

        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0; }
        }

        .james-wrapper {
            position: relative;
            display: inline-block;
        }

        .tooltip-demo {
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            margin-top: 16px;
            max-width: 400px;
            min-width: 300px;
            width: max-content;
            z-index: 10;
        }

        .tooltip-demo.hidden {
            opacity: 0;
            visibility: hidden;
        }

        .tooltip-demo.fade-in {
            animation: fadeIn 0.3s ease-in forwards;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateX(-50%) translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateX(-50%) translateY(0);
            }
        }

        .tooltip {
            background-color: #2a2a2a;
            border: 1px solid #3a3a3a;
            border-radius: 12px;
            padding: 12px 16px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .tooltip-header {
            display: flex;
            align-items: start;
            gap: 8px;
            margin-bottom: 0;
        }

        .tooltip-checkmark {
            color: #22c55e;
            font-size: 16px;
            line-height: 1;
        }

        .tooltip-title {
            font-weight: 700;
            font-size: 13px;
            color: #e5e5e5;
            margin: 0;
            line-height: 1;
        }

        .tooltip-quote {
            font-size: 13px;
            color: #b0b0b0;
            margin: 12px 0;
            line-height: 1.2;
            flex: 1;
            display: flex;
            align-items: center;
        }

        .tooltip-link {
            color: #8b9aff;
            font-size: 12px;
            text-decoration: none;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            margin: 0;
            line-height: 1;
            transition: color 0.2s;
        }

        .tooltip-link:hover {
            color: #9370db;
            text-decoration: underline;
        }

        .tooltip-arrow {
            position: absolute;
            top: -8px;
            left: 50%;
            transform: translateX(-50%) rotate(45deg);
            width: 16px;
            height: 16px;
            background-color: #2a2a2a;
            border-left: 1px solid #3a3a3a;
            border-top: 1px solid #3a3a3a;
        }

        /* Option 2: Gradient Hero Text */
        .fact-section {
            display: none;
            justify-content: space-between;
            align-items: flex-start;
            flex-wrap: nowrap;
            width: 100%;
            min-height: 100vh;
            padding: 16px;
            margin: 0;
            border: none;
            background: #ffffff;
            color: #000000;
            font-family: 'twk-everett', sans-serif;
            text-transform: uppercase;
            letter-spacing: 2px;
            text-decoration: none;
            cursor: pointer;
            opacity: 0;
            transition: opacity 0.8s ease, background 0.3s ease;
            box-sizing: border-box;
            position: relative;
            overflow: hidden;
        }

        .fact-section::after {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            height: 100vh;
            background: #ffffff;
            z-index: -1;
            transform: translateY(100%);
            pointer-events: none;
        }

        .fact-section:hover {
            background: #f5f5f5;
        }

        .fact-section.revealed {
            display: grid;
            grid-template-columns: 70% 30%;
            align-items: start;
            opacity: 1;
        }

        .fact-left {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 0;
            grid-column: 1;
        }

        .fact-title {
            font-size: clamp(60px, 12vw, 150px);
            font-weight: 700;
            line-height: 0.9;
            color: #000000;
        }

        .fact-desc {
            font-size: clamp(14px, 4.5vw, 56px);
            font-weight: 500;
            letter-spacing: 1px;
            color: #000000;
            line-height: 1.4;
        }

        .fact-right {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 0;
            text-align: right;
            grid-column: 2;
            padding-top: 24px;
            padding-right: 24px;
        }

        .fact-right span {
            font-size: clamp(14px, 2.5vw, 28px);
            font-weight: 700;
            letter-spacing: 2px;
            color: #000000;
            line-height: 1;
            margin-bottom: 1.4em;
        }

        .fact-right span:last-child {
            margin-bottom: 0;
        }

        /* Make fact-left link unstyled */
        a.fact-left {
            text-decoration: none;
            color: inherit;
        }

        a.fact-left:hover {
            opacity: 0.8;
        }

        /* Contact button in fact section */
        .contact-button-container {
            grid-column: 1 / -1;
            text-align: center;
            padding: 20px 0 40px 0;
            cursor: pointer;
            align-self: end;
        }

        .contact-button {
            display: inline-block;
            font-size: clamp(42px, 5vw, 64px);
            font-weight: 600;
            color: #000000;
            text-transform: uppercase;
            animation: bounce 2s ease-in-out infinite;
            transition: color 0.2s ease;
        }

        .contact-button-container:hover .contact-button {
            color: #333333;
        }

        /* Contact Section - reversed colors */
        .contact-section {
            display: none;
            grid-template-columns: 70% 30%;
            align-items: start;
            width: 100%;
            min-height: 100vh;
            padding: 16px;
            margin: 0;
            border: none;
            background: #000000;
            color: #ffffff;
            font-family: 'twk-everett', sans-serif;
            text-transform: uppercase;
            letter-spacing: 2px;
            box-sizing: border-box;
            position: relative;
            opacity: 0;
            transition: opacity 0.8s ease;
        }

        .contact-section.revealed {
            display: grid;
            opacity: 1;
        }

        .contact-left {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 0;
            grid-column: 1;
        }

        .contact-title {
            font-size: clamp(35px, 12vw, 150px);
            font-weight: 700;
            line-height: 0.9;
            color: #ffffff;
        }

        .contact-right {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 0;
            text-align: right;
            grid-column: 2;
            padding-top: 24px;
            padding-right: 24px;
        }

        .contact-right a {
            font-size: clamp(14px, 2.5vw, 28px);
            font-weight: 700;
            letter-spacing: 2px;
            color: #ffffff;
            line-height: 1;
            margin-bottom: 1.4em;
            text-decoration: none;
            transition: opacity 0.2s ease;
        }

        .contact-right a:hover {
            opacity: 0.7;
        }

        .contact-right a:last-child {
            margin-bottom: 0;
        }

        .footer {
            text-align: center;
            padding: 40px 0 20px;
            color: #808080;
            font-size: 14px;
            display: none;
            opacity: 0;
            transition: opacity 0.8s ease;
        }

        .footer.revealed {
            display: block;
            opacity: 1;
        }

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

            h1 {
                font-size: 40px;
                margin-bottom: 24px;
            }

        }

        @media (max-width: 360px) {
            .fact-section.revealed {
                grid-template-columns: 1fr;
                gap: 24px;
            }

            .fact-right {
                padding-top: 0;
                padding-right: 0;
                grid-column: 1;
            }

            .contact-section.revealed {
                grid-template-columns: 1fr;
                gap: 24px;
            }

            .contact-right {
                padding-top: 0;
                padding-right: 0;
                grid-column: 1;
            }
        }

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

            h1 {
                font-size: 32px;
                margin-bottom: 20px;
            }

            .profile-image {
                border-radius: 16px;
                margin-bottom: 24px;
            }

            .fact-section.revealed {
                grid-template-columns: 1fr;
                gap: 24px;
            }

            .fact-right {
                align-items: flex-end;
                text-align: right;
                grid-column: 1;
            }

            .tooltip-demo {
                max-width: 100%;
            }

            .tooltip {
                padding: 10px 12px;
            }

            .tooltip-title {
                font-size: 13px;
            }

            .tooltip-quote {
                font-size: 12px;
            }
        }

        @keyframes bounceUp {
            0% {
                opacity: 0;
                transform: translateY(80px);
            }
            60% {
                opacity: 1;
                transform: translateY(-10px);
            }
            80% {
                transform: translateY(5px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .slide-up {
            opacity: 0;
            transform: translateY(80px);
        }

        .slide-up.visible {
            animation: bounceUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
        }

        /* Projects Button */
        .projects-section {
            text-align: center;
            padding: 20px 0;
            cursor: pointer;
            opacity: 0;
            transition: opacity 0.6s ease;
        }

        .projects-section.visible {
            opacity: 1;
        }

        .projects-button {
            display: inline-block;
            font-size: clamp(42px, 5vw, 64px);
            font-weight: 600;
            color: #8b9aff;
            text-transform: uppercase;
            animation: bounce 2s ease-in-out infinite;
            transition: color 0.2s ease;
        }

        @keyframes bounce {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-10px);
            }
        }

        .projects-section:hover .projects-button {
            color: #9370db;
        }
        /* Intro Animation Overlay */
        .intro-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background-color: #000000;
            z-index: 9999;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
        }

        .intro-overlay.fade-out {
            animation: introFadeOut 0.5s ease-out forwards;
        }

        @keyframes introFadeOut {
            to {
                opacity: 0;
                visibility: hidden;
            }
        }

        #particle-canvas {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

        .terminal-text {
            font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
            font-size: 48px;
            font-weight: bold;
            color: #00ff00;
            text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00, 0 0 30px #00ff00;
            z-index: 2;
            position: relative;
            letter-spacing: 2px;
        }

        .terminal-text.fade-out {
            animation: terminalFadeOut 1.5s ease-out forwards;
        }

        @keyframes terminalFadeOut {
            0% {
                opacity: 1;
            }
            100% {
                opacity: 0;
            }
        }

        .terminal-cursor {
            animation: terminalBlink 0.7s step-end infinite;
        }

        @keyframes terminalBlink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0; }
        }

        .profile-convergence {
            position: absolute;
            top: 40px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 3;
            opacity: 0;
            pointer-events: none;
            display: none;
            width: calc(100% - 32px);
            max-width: 600px;
        }

        .profile-convergence.visible {
            display: block;
        }

        .convergence-image {
            width: 100%;
            max-width: 600px;
            height: auto;
            aspect-ratio: 600 / 435;
            border-radius: 24px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
        }

        @media (max-width: 768px) {
            .profile-convergence {
                top: 24px;
                width: calc(100% - 32px);
            }
        }

        @media (max-width: 480px) {
            .profile-convergence {
                top: 20px;
                width: calc(100% - 24px);
            }
        }

        /* Scanlines effect for terminal */
        .intro-overlay::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: repeating-linear-gradient(
                0deg,
                rgba(0, 0, 0, 0.1),
                rgba(0, 0, 0, 0.1) 1px,
                transparent 1px,
                transparent 2px
            );
            pointer-events: none;
            z-index: 10;
            opacity: 0.3;
        }
    </style>
