
        :root {
            --bg: #030303;
            --accent: #9d4edd;
            --text-main: #ffffff;
            --text-dim: #888888;
            --glass: rgba(15, 15, 15, 0.9);
            --glass-border: rgba(255, 255, 255, 0.15);
            
            /* Cores individuais para as bordas */
            --color-linkedin: #0077b5;
            --color-github: #ffffff;
            --color-email: #9d4edd;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-font-smoothing: antialiased;
            touch-action: pan-y;
        }

        body {
            background-color: var(--bg);
            color: var(--text-main);
            font-family: 'Inter', sans-serif;
            overflow-x: hidden;
            background: #000;
        }

        #canvas-bg {
            position: fixed;
            top: 0;
            left: 0;
            z-index: -1;
        }

        .viewport-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            perspective: 2000px;
            pointer-events: none;
            z-index: 50;
        }

        /* --- CARD WRAPPER RESPONSIVO --- */
        .card-wrapper {
            position: relative;
            transform-style: preserve-3d;
            width: 90vw;
            max-width: 700px;
            height: 380px;
            pointer-events: all;
            will-change: transform, width;
            cursor: grab;
        }

        @media (min-width: 1024px) {
            .card-wrapper {
                height: 400px;
            }
        }

        .card-wrapper:active { cursor: grabbing; }

        .master-card-container {
            width: 100%;
            height: 100%;
            position: relative;
            transform-style: preserve-3d;
            will-change: transform;
            transition: transform 0.1s ease-out;
        }

        .card-face {
            position: absolute;
            width: 100%;
            height: 100%;
            backface-visibility: hidden; 
            -webkit-backface-visibility: hidden;
            background: var(--glass);
            backdrop-filter: blur(40px);
            -webkit-backdrop-filter: blur(40px);
            border: 1px solid var(--glass-border);
            border-radius: 30px;
            padding: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 40px 100px rgba(0,0,0,0.8);
        }

        @media (min-width: 768px) {
            .card-face { padding: 60px; }
        }

        .card-face.back {
            transform: rotateY(180deg);
        }

        .hero-title {
            font-family: 'Space Grotesk', sans-serif;
            font-size: clamp(2.5rem, 10vw, 5rem);
            font-weight: 700;
            letter-spacing: -4px;
            line-height: 0.85;
            text-align: center;
            background: linear-gradient(180deg, #fff 40%, rgba(255,255,255,0.4) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hint-swipe {
            position: absolute;
            bottom: -40px;
            left: 50%;
            transform: translateX(-50%);
            color: var(--accent);
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            opacity: 0.6;
            animation: bounceSide 2s infinite;
        }

        @keyframes bounceSide {
            0%, 100% { transform: translateX(-50%) translateX(-5px); }
            50% { transform: translateX(-50%) translateX(5px); }
        }

        /* --- ABOUT LAYOUT RESPONSIVO --- */
        .about-layout {
            display: flex;
            flex-direction: column;
            gap: 20px;
            text-align: center;
            align-items: center;
            width: 100%;
        }

        @media (min-width: 768px) {
            .about-layout {
                display: grid;
                grid-template-columns: 180px 1fr;
                gap: 40px;
                text-align: left;
            }
        }

        .profile-frame {
            width: 120px;
            height: 120px;
            border-radius: 20px;
            overflow: hidden;
            border: 1px solid var(--glass-border);
        }

        @media (min-width: 768px) {
            .profile-frame {
                width: 180px;
                height: 180px;
            }
        }

        .profile-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: grayscale(1);
        }

        /* --- PROJECTS WRAPPER RESPONSIVO --- */
        .projects-wrapper {
            opacity: 0;
            visibility: hidden;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 90%;
            max-width: 1200px;
            display: grid;
            grid-template-columns: 1fr;
            gap: 15px;
            z-index: 40;
            perspective: 2000px;
            transform-style: preserve-3d;
        }

        @media (min-width: 768px) {
            .projects-wrapper {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }
        }

        @media (min-width: 1024px) {
            .projects-wrapper {
                grid-template-columns: repeat(3, 1fr);
                gap: 25px;
            }
        }

        .project-item {
            background: rgba(255,255,255,0.03);
            padding: 30px;
            border-radius: 25px;
            border: 1px solid var(--glass-border);
            backdrop-filter: blur(15px);
            transition: border-color 0.4s ease, background 0.4s ease;
            cursor: pointer;
            position: relative;
            transform-style: preserve-3d;
            text-align: center;
        }

        @media (min-width: 768px) {
            .project-item { padding: 45px; border-radius: 30px; }
        }

        .project-item:hover {
            border-color: var(--accent);
            background: rgba(157, 78, 221, 0.08);
        }

        /* --- FOOTER RESPONSIVO --- */
        .footer-section {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            position: relative;
            z-index: 60;
            padding: 40px 20px;
        }

        .contact-container {
            text-align: center;
            max-width: 800px;
            width: 100%;
        }

        .contact-text {
            font-family: 'Space Grotesk', sans-serif;
            font-size: clamp(2rem, 8vw, 6vw);
            font-weight: 700;
            color: white;
            text-decoration: none;
            display: block;
            margin-bottom: 40px;
            opacity: 0;
            transform: translateY(50px);
            letter-spacing: -2px;
        }

        .social-links {
            display: flex;
            flex-direction: column;
            gap: 15px;
            justify-content: center;
            opacity: 0;
            transform: translateY(30px);
            width: 100%;
            max-width: 300px;
            margin: 0 auto;
        }

        @media (min-width: 640px) {
            .social-links {
                flex-direction: row;
                gap: 20px;
                max-width: none;
            }
        }

        /* --- BOTÃO NEON --- */
        .social-btn {
            position: relative;
            padding: 14px 28px;
            border-radius: 50px;
            color: white;
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 600;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        @media (min-width: 768px) {
            .social-btn { padding: 16px 36px; font-size: 0.95rem; }
        }

        .social-btn.linkedin { --btn-color: var(--color-linkedin); }
        .social-btn.github { --btn-color: var(--color-github); }
        .social-btn.email { --btn-color: var(--color-email); }

        .social-btn::before {
            content: '';
            position: absolute;
            width: 220%;
            height: 220%;
            background: conic-gradient(
                transparent, 
                transparent, 
                transparent, 
                var(--btn-color, var(--accent))
            );
            animation: rotateBorder 4s linear infinite;
        }

        .social-btn::after {
            content: '';
            position: absolute;
            inset: 2px;
            background: #080808;
            border-radius: 50px;
            z-index: 1;
        }

        .social-btn span {
            position: relative;
            z-index: 2;
            letter-spacing: 1px;
            transition: color 0.3s ease;
        }

        @keyframes rotateBorder {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .social-btn:hover, .social-btn:active {
            transform: scale(1.05);
        }

        .social-btn.linkedin:hover { box-shadow: 0 0 30px rgba(0, 119, 181, 0.4); }
        .social-btn.github:hover { box-shadow: 0 0 30px rgba(255, 255, 255, 0.2); }
        .social-btn.email:hover { box-shadow: 0 0 30px rgba(157, 78, 221, 0.4); }

        .scroll-container { height: 600vh; } 
  