﻿:root {
    --clr-1: #00c2ff;
    --clr-2: #33ff8c;
    --clr-3: #ffc640;
    --clr-4: #e54cff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: #0a0e1a;
    color: #ffffff;
}

/* Vídeo de fundo — escurecido, mas sem cobrir o conteúdo */
#bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: cover;
    filter: brightness(0.35) hue-rotate(200deg) saturate(1.2);
}

/* Layout central */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

/* ===== EFEITO MODERNO NA FOTO ===== */
.profile-photo {
    width: 200px;
    height: 200px;
    margin: 0 auto 50px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 6px solid transparent;
    background: linear-gradient(45deg, #00d4ff, #8a2be2, #ff00ff, #00ffff) border-box;
    background-size: 300% 300%;
    animation: gradientRotate 8s ease infinite;
    box-shadow: 0 0 60px rgba(0, 150, 255, 0.4);
    transition: all 0.5s ease;
}

/* Bordas com gradiente animado contínuo */
@keyframes gradientRotate {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Efeito de hover: foto cresce + brilho intenso + borda neon mais forte */
.profile-photo:hover {
    transform: scale(1.12);
    box-shadow: 0 0 90px rgba(0, 212, 255, 0.8), 0 0 120px rgba(138, 43, 226, 0.6);
    border: 6px solid transparent;
    background: linear-gradient(45deg, #00ffff, #ff00ff, #8a2be2, #00d4ff) border-box;
    animation: gradientRotate 2s ease infinite; /* acelera no hover */
}

/* Imagem interna (garante que não distorça) */
.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.profile-photo:hover img {
    transform: scale(1.08);
}

.name {
    font-size: clamp(3.2rem, 8vw, 8.5rem);
    font-weight: 900;
    letter-spacing: -2.5px;
    margin-bottom: 32px;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: #ffffff; /* texto branco puro */
    position: relative;
    z-index: 2;
}

/* Bio — texto 100% branco */
.bio {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.8;
    color: #ffffff;
}

/* Botões brancos com texto preto e ícones */
.buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    z-index: 2;
}

.btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: #ffffff;
    color: #000000;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    transition: all 0.35s ease;
}

    .btn:hover {
        background: #f5f5f5;
        transform: translateY(-6px);
        boxlava: 0 15px;
    }

/* ===== TYPEWRITER CORRETO – 100% OCULTO ATÉ COMEÇAR ===== */
.typewriter-text {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    line-height: 2;
    overflow: hidden;
    position: relative;
    height: auto;
    min-height: 3em;
}

.typewriter {
    display: inline-block;
    white-space: nowrap; /* desktop: tudo em uma linha (efeito original) */
    width: 0;
    color: transparent;
    border-right: 3px solid #00d4ff;
    overflow: hidden;
    animation: typing 7s steps(80, end) 1s forwards, reveal 0.1s 1s forwards, blink-caret 1s step-end infinite 1s;
}

/* ===== ATIVA QUEBRA DE LINHA SÓ EM TELAS MENORES QUE 640px ===== */
@media (max-width: 640px) {
    .typewriter {
        white-space: normal; /* agora quebra linha no celular */
        width: 100% !important; /* força largura total para não cortar */
        animation: typing-mobile 7s steps(80, end) 1s forwards, reveal 0.1s 1s forwards, blink-caret 1s step-end infinite 1s;
    }

    @keyframes typing-mobile {
        from {
            width: 0;
        }

        to {
            width: 100%;
        }
    }
}

/* Digitação lenta e elegante */
@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* Revela o texto branco no momento certo */
@keyframes reveal {
    to {
        color: #ffffff;
    }
}

/* Cursor piscando */
@keyframes blink-caret {
    from, to {
        border-color: transparent;
    }

    50% {
        border-color: #00d4ff;
    }
}

/* Remove cursor ao final */
.typewriter-text.finished .typewriter {
    border-right: none;
    animation: none;
}

/* ===== EFEITO THE BEAUTIFUL AURORA – APENAS O EFEITO ===== */
.title {
    font-size: clamp(3.2rem, 5.5vw, 7.5rem);
    font-weight: 900;
    letter-spacing: -2.5px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
    background: #0a0e1a;
    cor do seu fundo z-index: 2;
    letter-spacing: 2px;
    /* === BORDA GRADIENTE ANIMADA IGUAL À FOTO === */
    padding: 10px 20px; /* espaço interno para a borda aparecer */
    border-radius: 20px;
    border: 10px solid transparent;
    animation: gradientRotate 8s ease infinite;
    box-shadow: 0 0 60px rgba(0, 150, 255, 0.4);
    display: inline-block;
    transition: all 0.5s ease;
}

.aurora {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    mix-blend-mode: darken;
    pointer-events: none;
}

.aurora__item {
    overflow: hidden;
    position: absolute;
    width: 60vw;
    height: 60vw;
    background-color: var(--clr-1);
    border-radius: 37% 29% 27% 27% / 28% 25% 41% 37%;
    filter: blur(1rem);
    mix-blend-mode: overlay;
}

    .aurora__item:nth-of-type(1) {
        top: -50%;
        animation: aurora-border 6s ease-in-out infinite, aurora-1 12s ease-in-out infinite alternate;
    }

    .aurora__item:nth-of-type(2) {
        background-color: var(--clr-3);
        right: 0;
        top: 0;
        animation: aurora-border 6s ease-in-out infinite, aurora-2 12s ease-in-out infinite alternate;
    }

    .aurora__item:nth-of-type(3) {
        background-color: var(--clr-2);
        left: 0;
        bottom: 0;
        animation: aurora-border 6s ease-in-out infinite, aurora-3 8s ease-in-out infinite alternate;
    }

    .aurora__item:nth-of-type(4) {
        background-color: var(--clr-4);
        right: 0;
        bottom: -50%;
        animation: aurora-border 6s ease-in-out infinite, aurora-4 24s ease-in-out infinite alternate;
    }

@keyframes aurora-1 {
    0% {
        top: 0;
        right: 0;
    }

    50% {
        top: 100%;
        right: 75%;
    }

    75% {
        top: 100%;
        right: 25%;
    }

    100% {
        top: 0;
        right: 0;
    }
}

@keyframes aurora-2 {
    0% {
        top: -50%;
        left: 0%;
    }

    60% {
        top: 100%;
        left: 75%;
    }

    85% {
        top: 100%;
        left: 25%;
    }

    100% {
        top: -50%;
        left: 0%;
    }
}

@keyframes aurora-3 {
    0% {
        bottom: 0;
        left: 0;
    }

    40% {
        bottom: 100%;
        left: 75%;
    }

    65% {
        bottom: 40%;
        left: 50%;
    }

    100% {
        bottom: 0;
        left: 0;
    }
}

@keyframes aurora-4 {
    0% {
        bottom: -50%;
        right: 0;
    }

    50% {
        bottom: 0%;
        right: 40%;
    }

    90% {
        bottom: 50%;
        right: 25%;
    }

    100% {
        bottom: -50%;
        right: 0;
    }
}

@keyframes aurora-border {
    0% {
        border-radius: 37% 29% 27% 27% / 28% 25% 41% 37%;
    }

    25% {
        border-radius: 47% 29% 39% 49% / 61% 19% 66% 26%;
    }

    50% {
        border-radius: 57% 23% 47% 72% / 63% 17% 66% 33%;
    }

    75% {
        border-radius: 28% 49% 29% 100% / 93% 20% 64% 25%;
    }

    100% {
        border-radius: 37% 29% 27% 27% / 28% 25% 41% 37%;
    }
}

