/* Configurações Globais */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Segoe UI', sans-serif; 
}

body {
    margin: 0;
    padding: 0;
    background-color: #050505; /* Fundo base preto profundo */
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    position: relative;
    cursor: none !important;
}

/* Efeito extra: Adicionar um leve brilho atrás das seções principais */
.bio, .testimonials {
    position: relative;
    z-index: 1;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Criamos dois focos de luz com gradientes radiais */
    background: 
        radial-gradient(circle at var(--x1, 10%) var(--y1, 10%), rgba(168, 85, 247, 0.12) 0%, transparent 50%),
        radial-gradient(circle at var(--x2, 90%) var(--y2, 90%), rgba(168, 85, 247, 0.1) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
    transition: all 0.5s ease; /* Suaviza a mudança de posição se for usar o mouse */
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://www.transparenttextures.com/patterns/carbon-fibre.png");
    opacity: 0.2; /* Textura bem sutil */
    z-index: -1;
    pointer-events: none;
}

/* Força o cursor padrão em elementos que o Swiper.js altera */
.swiper-button-next, .swiper-button-prev, .testimonial-card, a, button {
    cursor: none !important;
}

/* Container principal para o rastro de partículas */
#music-trail-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none; /* Não interfere nos cliques */
    z-index: 10000; /* Fica acima de tudo, inclusive do Swiper e da Bio */
    overflow: hidden;
}

/* O Cursor (a pequena bolha roxa que segue o mouse) */
.music-trail-cursor {
    position: fixed;
    width: 20px; /* Tamanho da bolha central */
    height: 20px;
    background: rgba(168, 85, 247, 0.4); /* Roxo translúcido */
    border: 2px solid #a855f7; /* Borda roxa sólida */
    border-radius: 50%;
    transform: translate(-50%, -50%); /* Centraliza */
    pointer-events: none;
    transition: width 0.3s ease, height 0.3s ease, background 0.3s ease;
    box-shadow: 0 0 15px #a855f7; /* Brilho neon */
}

/* Estilo para quando o cursor passa sobre links/botões (ele expande) */
.music-trail-cursor.active {
    width: 40px;
    height: 40px;
    background: rgba(168, 85, 247, 0.1);
}

/* A Partícula Individual do Rastro (onda musical) */
.trail-particle {
    position: absolute;
    border-radius: 50%;
    background: #a855f7; /* Cor roxa padrão */
    pointer-events: none;
    animation: particle-fade 1.2s ease-out forwards; /* Animação de sumir */
    box-shadow: 0 0 5px #a855f7;
}

/* Animação que faz a partícula sumir e subir levemente (efeito de fumaça musical) */
@keyframes particle-fade {
    0% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0) translateY(-20px);
    }
}

html { 
    scroll-behavior: smooth; 
}

.container { 
    width: 90%; 
    max-width: 1200px; 
    margin: 80px auto; 
}

h2 { 
    color: #a855f7; 
    text-align: center; 
    margin-bottom: 40px; 
    font-size: 2.5rem; 
}

/* --- ANIMAÇÕES --- */
.fade-in-load { 
    animation: fadeIn 1.5s ease; 
}

@keyframes fadeIn { 
    from { opacity: 0; } 
    to { opacity: 1; } 
}

.scroll-reveal { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: 0.8s ease-out; 
}

.scroll-reveal.active { 
    opacity: 1; 
    transform: translateY(0); 
}

/* --- SEÇÃO INTRO --- */
.intro { 
    display: flex; 
    align-items: center; 
    gap: 40px; 
    min-height: 50vh; 
}

.profile-pic img { 
    width: 280px; 
    height: 280px; 
    border-radius: 50%; 
    border: 4px solid #a855f7; 
    transition: 0.3s; 
    object-fit: cover;
}

.profile-pic img:hover { 
    transform: scale(1.05) rotate(2deg); 
    box-shadow: 0 0 25px #a855f7; 
}

.bio { 
    flex: 1; 
    font-size: 1.2rem; 
}


/* Estilo do novo título de boas-vindas */
.welcome-title {
    color: #a855f7; /* Roxo padrão do seu site */
    font-size: 2.8rem; /* Fonte maior */
    margin-bottom: 20px;
    font-weight: bold;
}

#typing-bio {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ffffff;
    display: inline-block; /* Altera para inline-block para aceitar min-height */
    width: 100%; /* Ocupa a largura total para evitar quebras precoces */
    min-height: 120px; /* RESERVA O ESPAÇO: Ajuste este valor para a altura total que o seu texto ocupa */
    white-space: pre-wrap; /* Mantém os espaços e quebras de linha exatamente como no código */
    word-break: break-word; /* Evita que palavras longas "empurrem" o layout */
    vertical-align: top;
}

/* O cursor piscante roxo */
#typing-bio::after {
    content: "|";
    color: #a855f7;
    font-weight: bold;
    display: inline-block;
    margin-left: 5px;
    animation: blink 0.8s infinite;
}

.highlight {
    color: #a855f7; /* Roxo padrão do portfólio */
    font-weight: 700; /* Define um peso fixo para evitar variações durante a digitação */
    display: inline;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Pequeno ajuste na bio para garantir que o texto em branco continue legível */
.bio p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ffffff;
}

/* --- SKILLS E MODAL --- */
/* Centraliza as logos do FL Studio e Reaper */
.software-pics {
    display: flex;             /* Ativa o modo flexível */
    justify-content: center;   /* Centraliza horizontalmente */
    align-items: center;       /* Alinha verticalmente */
    gap: 30px;                 /* Dá um espaço entre as duas imagens */
    margin-top: 30px;          /* Afasta um pouco dos botões de cima */
}

/* Ajusta o tamanho das logos para que fiquem harmônicas */
.software-pics img {
    height: 60px;              /* Define uma altura padrão para ambas */
    width: auto;               /* Mantém a proporção da largura */
    object-fit: contain;
    filter: grayscale(1) brightness(1.5); 
    transition: 0.3s;
}

.software-pics img:hover {
    filter: grayscale(0) brightness(1); 
    transform: scale(1.1);
}

.skill-list { 
    display: flex; 
    justify-content: center; 
    gap: 15px; 
    list-style: none; 
    flex-wrap: wrap; 
}

.skill-button { 
    background: #1a1a1a; 
    padding: 12px 25px; 
    border-radius: 25px; 
    border: 1px solid #a855f7;
    cursor: pointer; 
    transition: 0.3s; 
    font-weight: bold;
}

.skill-button:hover { 
    background: #a855f7; 
    transform: translateY(-5px); 
    box-shadow: 0 5px 15px rgba(168,85,247,0.4); 
}

.modal { 
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.9); 
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #151515;
    padding: 30px;
    border: 2px solid #a855f7;
    width: 90%; /* Aumentamos um pouco para aproveitar melhor o espaço */
    max-width: 800px; /* Largura ideal para caber foto + texto lado a lado */
    border-radius: 15px;
    position: fixed; /* Mudamos de relative para fixed */
    top: 50%; /* Centraliza verticalmente */
    left: 50%; /* Centraliza horizontalmente */
    transform: translate(-50%, -50%); /* O "pulo do gato" para centralizar perfeito */
    max-height: 90vh; /* Impede que a janela fique maior que a tela */
    overflow-y: auto; /* Cria scroll se o texto for muito grande */
    animation: modalOpen 0.4s;
}

@keyframes modalOpen {
    from {
        opacity: 0;
        /* Começa no centro (50%), mas um pouco mais abaixo (60%) e menor (0.8) */
        transform: translate(-50%, -40%) scale(0.8);
    }
    to {
        opacity: 1;
        /* Termina no centro exato (50%) com tamanho normal */
        transform: translate(-50%, -50%) scale(1);
    }
}

.close-button { 
    position: absolute; 
    right: 20px; 
    top: 10px; 
    color: #fff; 
    font-size: 35px; 
    cursor: pointer; 
}

.modal-body { 
    display: flex; 
    gap: 25px; 
    align-items: center; 
}

.modal-img img { 
    width: 250px; 
    border-radius: 10px; 
    border: 1px solid #a855f7; 
}

.modal-text h3 { 
    color: #a855f7; 
    margin-bottom: 15px; 
    font-size: 1.8rem; 
}

/* --- GRADE DE ARTISTAS (CORRIGIDO) --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 25px;
    width: 100%;
}

.artist-card {
    background: #151515;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid transparent; 
}

.artist-card:hover {
    transform: translateY(-10px);
    border-color: #a855f7;
    box-shadow: 0 10px 20px rgba(168, 85, 247, 0.2);
}

/* Cor roxa para o @ do artista */
.artist-card .username {
    color: #a855f7;    /* O roxo padrão que estamos usando */
    font-weight: bold; /* Deixa um pouco mais grosso para destacar */
    display: block;    /* Garante que ele fique em uma linha própria */
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.artist-card img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #333; 
}

/* --- NOVO: ESTILO DOS ÍCONES DENTRO DO CARD DE ARTISTA --- */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;       
    margin-top: 15px; 
}

.social-icons a {
    color: #ffffff;
    font-size: 2.2rem; /* Tamanho aumentado aqui */
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.social-icons a:hover {
    color: #a855f7;
    transform: scale(1.2); /* Aumenta um pouco no hover */
}

/* --- GRADE DE PROJETOS (3x2) --- */
.grid-projects { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 25px; 
}

.project-card { 
    background: #151515; 
    padding: 20px; 
    border-radius: 10px; 
    text-align: center; 
    transition: 0.3s; 
    text-decoration: none; 
    color: #fff; 
}

.project-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 10px 20px rgba(168,85,247,0.2); 
}

.project-card img { 
    width: 100%; 
    height: 200px; 
    object-fit: contain; 
    border-radius: 5px; 
    margin-bottom: 10px; 
}


/* --- CONQUISTAS E CONTATO --- */
.counter-box { 
    text-align: center; 
    background: #1a1a1a; 
    padding: 40px; 
    border-radius: 15px; 
    border: 1px solid #a855f7; 
}

#streams-counter { 
    font-size: 3.5rem; 
    font-weight: bold; 
    color: #a855f7; 
}

.social-links { 
    display: flex; 
    justify-content: center; 
    gap: 20px; 
    margin-bottom: 20px; 
}

.social-links a { 
    color: #fff; 
    font-size: 2.2rem; 
    transition: 0.3s; 
}

.social-links a:hover { 
    color: #a855f7; 
    transform: scale(1.1); 
}

.email-box { 
    text-align: center; 
    font-size: 1.3rem;
    background: #1a1a1a; 
    padding: 10px 20px; 
    border-radius: 5px; 
    width: fit-content; 
    margin: 0 auto; 
    border: 1px solid #333; 
}

/* --- SEÇÃO DE DEPOIMENTOS --- */
.testimonials {
    padding: 100px 0; /* Aumente o primeiro valor (100px) para afastar o título do que vem antes */
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.testimonials h2 {
    margin-bottom: 80px; /* Aumentei de 40px para 80px para dar o respiro que você quer */
    font-size: 2.5rem;
    color: #a855f7;
}

/* Garanta que o Swiper tenha um padding superior para o card central não encostar no título */
.mySwiper {
    width: 100%;
    max-width: 1100px;
    padding-top: 40px; /* Espaço extra para o zoom do card central não "bater" no título */
    padding-bottom: 60px;
    margin: 0 auto;
    overflow: visible !important;
}

.mySwiper .swiper-slide {
    width: 320px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* SUAVIZAÇÃO: Adicionando uma curva de transição mais "orgânica" */
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.testimonial-card {
    background: rgba(21, 21, 21, 0.8) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(168, 85, 247, 0.2) !important;
    border-radius: 20px;
    padding: 40px 30px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Garante que a sombra e borda também suavizem */
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Esconde os cards distantes para manter o foco em apenas 3 */
.mySwiper .swiper-slide:not(.swiper-slide-active):not(.swiper-slide-prev):not(.swiper-slide-next) {
    opacity: 0;
    visibility: hidden;
}

/* --- DESTAQUE DO SLIDE CENTRAL (MAIOR E ROXO) --- */
/* O Swiper adiciona automaticamente a classe .swiper-slide-active ao slide central */
.swiper-slide-active .testimonial-card {
    transform: scale(1.1) !important; /* Aumenta o tamanho em 10% (mais visível) */
    border-color: #a855f7; /* Muda a borda para roxo */
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.4); /* Adiciona um brilho roxo */
}

/* Foto do Artista (Circular e com Borda) */
.testimonial-card img {
    width: 120px; /* Tamanho da foto */
    height: 120px; /* Tamanho da foto */
    border-radius: 50%; /* Faz a imagem ficar circular */
    border: 3px solid #333; /* Borda neutra padrão */
    object-fit: cover; /* Garante que a imagem preencha o círculo sem distorcer */
    margin-bottom: 20px; /* Espaço abaixo da imagem */
    transition: border-color 0.4s ease;
}

/* Muda a borda da foto para roxo no card ativo */
.swiper-slide-active .testimonial-card img {
    border-color: #a855f7;
}

/* Textos e Comentários */
.testimonial-card h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.testimonial-card .username {
    color: #a855f7; /* Roxo para o @ */
    font-weight: bold;
    display: block;
    margin-bottom: 20px;
}

.testimonial-card .comment {
    font-style: italic;
    color: #ccc;
    line-height: 1.6;
}

/* SETAS ROXAS (CORRIGIDAS) */
.swiper-button-next, .swiper-button-prev {
    color: #a855f7 !important; /* Força a cor roxa */
    transition: 0.3s;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    transform: scale(1.2);
    text-shadow: 0 0 10px #a855f7;
}

/* Pontinhos de paginação */
.swiper-pagination {
    bottom: 20px !important; /* Ajusta a posição vertical dos pontinhos */
}

.swiper-pagination-bullet {
    background: #444;
}

.swiper-pagination-bullet-active {
    background: #a855f7 !important; /* Roxo para o pontinho ativo */
}

/* --- RESPONSIVIDADE (PARA CELULAR) --- */
@media (max-width: 900px) { 
    .grid-projects, .grid-3 { 
        grid-template-columns: repeat(2, 1fr); 
    } 
}

@media (max-width: 600px) { 
    .grid-projects, .grid-3 { 
        grid-template-columns: 1fr; 
    } 
    .intro {
        flex-direction: column;
        text-align: center;
    }
    .modal-body { 
        flex-direction: column; 
    } 
}



@media (max-width: 600px) {
    .testimonial-card {
        width: 280px; /* Reduz a largura em telas muito pequenas */
        height: 450px; /* Reduz a altura mantendo a verticalidade */
        padding: 30px 20px;
    }
    
    .swiper-slide-active .testimonial-card {
        transform: scale(1.05) !important; /* Reduz o zoom no celular */
    }

    
    .testimonial-card img {
        width: 100px;
        height: 100px;
    }

}