        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', sans-serif;
        }

        body {
            background: linear-gradient(270deg, #f0f4ff, #e0e7ff, #f5f3ff);
            background-size: 400% 400%;
            animation: gradientAnim 15s ease infinite;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 2rem;
            overflow-x: hidden;
        }

        @keyframes gradientAnim {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        /* CHUVA DE CÓDIGO */
        .code-rain {
            position: fixed;
            inset: 0;
            pointer-events: none;
            z-index: 0;
            overflow: hidden;
        }

        .code {
            position: absolute;
            top: -40px;
            font-family: monospace;
            font-size: 14px;
            color: rgba(79, 70, 229, 0.3);
            animation: fall linear forwards;
            white-space: nowrap;
        }

        @keyframes fall {
            to {
                transform: translateY(110vh);
                opacity: 0;
            }
        }

        header, .glass-card, .cards-grid, .lab-section, .portfolio-cta {
            position: relative;
            z-index: 2;
        }

        /* Glassmorphism */
        .glass-card {
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
            border-radius: 1.5rem;
            padding: 2rem;
            width: 100%;
            max-width: 900px;
            margin-bottom: 1.5rem;
        }

        /* Modal */
        #welcome-modal {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.6);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 100;
            padding: 1rem;
        }

        .modal-content {
            background: white;
            padding: 2.5rem;
            border-radius: 1.5rem;
            text-align: center;
            max-width: 400px;
            width: 100%;
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
        }

        input {
            width: 100%;
            padding: 0.8rem;
            margin-bottom: 1rem;
            border: 1px solid #ddd;
            border-radius: 0.5rem;
            font-size: 1rem;
            outline-color: #4f46e5;
        }

        header {
            text-align: center;
            margin-bottom: 2rem;
        }

        header h1 {
            font-size: 2.5rem;
            color: #4f46e5;
            margin-bottom: 0.5rem;
        }

        .main-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            align-items: center;
        }

        @media (max-width: 768px) {
            .main-content {
                grid-template-columns: 1fr;
                text-align: center;
            }
        }

        .btn {
            background-color: #4f46e5;
            color: white;
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: 2rem;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }

        .btn:hover {
            background-color: #3730a3;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
        }

        /* Seção e Botão do Portfólio */
        .portfolio-cta {
            width: 100%;
            max-width: 900px;
            text-align: center;
            margin-bottom: 2rem;
        }

        .btn-portfolio {
            background: linear-gradient(135deg, #4f46e5, #3730a3);
            color: white;
            padding: 1.2rem 2.5rem;
            font-size: 1.1rem;
            border-radius: 3rem;
            box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.4);
            width: 100%;
            max-width: 500px;
            transition: all 0.3s ease;
        }

        .btn-portfolio:hover {
            background: linear-gradient(135deg, #3730a3, #312e81);
            transform: scale(1.03) translateY(-3px);
            box-shadow: 0 15px 25px -5px rgba(79, 70, 229, 0.5);
        }

        .img-container {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .img-container img {
            max-width: 100%;
            height: auto;
            border-radius: 1rem;
            filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
        }

        #info {
            display: none;
            margin-top: 1.5rem;
            border-left: 4px solid #4f46e5;
            padding-left: 1rem;
            text-align: left;
            animation: fadeIn 0.4s ease;
        }

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

        /* Cards Flip */
        .cards-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
            width: 100%;
            max-width: 900px;
            margin-bottom: 2rem;
        }

        @media (max-width: 600px) {
            .cards-grid { grid-template-columns: 1fr; }
        }

        .card {
            height: 120px;
            perspective: 1000px;
        }

        .card-inner {
            position: relative;
            width: 100%;
            height: 100%;
            transition: transform 0.6s;
            transform-style: preserve-3d;
            cursor: pointer;
        }

        .card:hover .card-inner {
            transform: rotateY(180deg);
        }

        .card-front, .card-back {
            position: absolute;
            width: 100%;
            height: 100%;
            backface-visibility: hidden;
            border-radius: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.2rem;
        }

        .card-front {
            background: rgba(238, 242, 255, 0.9);
            color: #4f46e5;
            border: 2px solid #e0e7ff;
        }

        .card-back {
            background: #4f46e5;
            color: white;
            transform: rotateY(180deg);
        }

        .lab-section {
            text-align: center;
            width: 100%;
            max-width: 900px;
        }

        #js-demo-text {
            font-size: 1.2rem;
            margin: 1.5rem 0;
            min-height: 1.5rem;
            transition: color 0.3s;
        }