/* ================= RESET & VARIÁVEIS ================= */
:root {
    /* Paleta de Cores Roxa "Cyberpunk" */
    --bg-main: #0f0e17;       
    --bg-secondary: #1a1a2e;  
    --purple-primary: #7f5af0; 
    --purple-glow: rgba(127, 90, 240, 0.5); 
    --text-light: #fffffe;    
    --text-gray: #a7a9be;     
    
    --font-main: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-light);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Utilitários */
.purple-text { color: var(--purple-primary); }
.purple-icon { color: var(--purple-primary); font-size: 1.5rem; }
.purple-dot { color: var(--purple-primary); font-size: 3rem; line-height: 0;}

a { text-decoration: none; }

/* ================= NOVO SELETOR DE IDIOMAS (DROPDOWN) ================= */
.lang-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 100;
}

.lang-switcher label {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.lang-switcher label i {
    color: var(--purple-primary);
}

.custom-select-wrapper select {
    background-color: var(--bg-secondary);
    color: var(--text-light);
    border: 1px solid var(--purple-primary);
    padding: 6px 35px 6px 12px;
    border-radius: 6px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
    appearance: none; /* Remove a seta nativa feia */
    -webkit-appearance: none;
    -moz-appearance: none;
    /* Seta customizada em SVG usando a cor purple-primary */
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%237f5af0%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 10px auto;
}

.custom-select-wrapper select:hover,
.custom-select-wrapper select:focus {
    box-shadow: 0 0 10px var(--purple-glow);
    background-color: #21213b;
}

.custom-select-wrapper select option {
    background-color: var(--bg-main);
    color: var(--text-light);
}

/* ================= HERO SECTION ================= */
.hero {
    min-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 0;
    background: radial-gradient(circle at center, #1a1a2e 0%, var(--bg-main) 70%);
}

.hero-content {
    max-width: 800px;
}

/* A Foto Redonda com Glow */
.profile-image-container {
    margin-bottom: 2rem;
}

.profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--purple-primary);
    box-shadow: 0 0 30px var(--purple-glow), inset 0 0 20px var(--purple-glow);
    transition: var(--transition);
}

.profile-img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px var(--purple-primary);
}

/* Estilos do Novo Texto */
.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.bio {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
}

/* Botões */
.btn-cta, .btn-social {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    margin: 0.5rem;
}

.btn-cta {
    background-color: var(--purple-primary);
    color: var(--text-light);
    box-shadow: 0 4px 15px var(--purple-glow);
}

.btn-cta:hover {
    background-color: #6b44d6;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--purple-glow);
}

.btn-social {
    background-color: transparent;
    border: 2px solid var(--purple-primary);
    color: var(--purple-primary);
}

.btn-social:hover {
    background-color: var(--purple-primary);
    color: var(--text-light);
}

/* ================= PROJETOS SECTION ================= */
.projects-section {
    padding: 5rem 0;
    background-color: var(--bg-main);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

/* Subtítulos de Seção */
.sub-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    border-bottom: 1px solid rgba(127, 90, 240, 0.2);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.extension-title {
    margin-top: 4rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Cards dos Projetos (Padrão) */
.project-card {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(127, 90, 240, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--purple-primary);
    box-shadow: 0 10px 30px -10px var(--purple-glow);
}

.card-header {
    margin-bottom: 1rem;
}

.card-header h3 {
    margin-top: 1rem;
    font-size: 1.4rem;
}

.project-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.btn-project {
    color: var(--purple-primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-project:hover {
    color: var(--text-light);
    text-shadow: 0 0 10px var(--purple-primary);
}

.btn-project i {
    margin-left: 5px;
}

/* ================= EXTENSÕES, CARDS ESPECIAIS E "EM BREVE" ================= */

/* Cards das extensões com destaque */
.special-card {
    border: 2px solid var(--purple-primary); 
    background: linear-gradient(145deg, var(--bg-secondary) 0%, #110f18 100%);
    position: relative;
    overflow: hidden;
}

/* Lista de Funcionalidades */
.feature-list {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.feature-list li {
    margin-bottom: 0.8rem;
    font-size: 0.90rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list strong { color: var(--text-light); }

.special-footer { margin-top: auto; padding-top: 1rem; }

.btn-featured {
    background-color: var(--purple-primary);
    color: var(--text-light) !important;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    display: inline-block;
}

.btn-featured:hover {
    background-color: #6b44d6;
    box-shadow: 0 5px 15px var(--purple-glow);
    transform: translateY(-2px);
    text-shadow: none !important;
}

/* ================= SEÇÃO DO JOGO ================= */
.game-section {
    padding: 4rem 0;
    background-color: var(--bg-secondary); 
    text-align: center;
    border-top: 1px solid rgba(127, 90, 240, 0.1);
    border-bottom: 1px solid rgba(127, 90, 240, 0.1);
}

.game-container {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.game-container iframe {
    width: 100%;
    max-width: 800px;
    height: 480px; 
    border: 2px solid var(--purple-primary);
    border-radius: 12px;
    box-shadow: 0 0 20px var(--purple-glow);
    background-color: #fff;
}

/* ================= FOOTER ================= */
footer {
    padding: 2rem 0;
    text-align: center;
    background-color: var(--bg-main);
    color: var(--text-gray);
}

/* ================= BOTÃO WHATSAPP FLUTUANTE (ROXO) ================= */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--purple-primary); /* Usando o seu roxo! */
    color: var(--text-light);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 15px var(--purple-glow); /* Glow com o seu roxo */
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.whatsapp-btn i {
    font-size: 1.3rem;
}

.whatsapp-btn:hover {
    background-color: #6b44d6; /* O mesmo roxo escuro do botão principal */
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--purple-glow);
    color: var(--text-light);
}

/* ================= RESPONSIVO ================= */
@media (max-width: 768px) {
    .lang-switcher {
        top: 10px;
        right: 10px;
    }
    .hero h1 { font-size: 2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .profile-img { width: 150px; height: 150px; }
    .section-title { font-size: 2rem; }
    
    .game-container iframe { height: 450px; } 

    /* Ajuste do botão do WhatsApp no celular */
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* ================= SCROLLBAR CUSTOMIZADA ================= */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--purple-primary);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6b44d6;
}
