/* ============================================================
   RCONECT WORLD — HEADER PREMIUM NEON 2025
   Desenvolvido por Djalma Junior | Barrinha-SP
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --cor-bg: #0d0d0f;
    --cor-neon: #9b59ff;
    --cor-texto: #ffffff;
    --cor-menu: #e8e8e8;
    --cor-menu-hover: #ffffff;
}

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* ===== HEADER ===== */
.main-header {
    width: 100%;
    background: var(--cor-bg);
    border-bottom: 3px solid var(--cor-neon);
    padding: 18px 0;
    position: relative;
    z-index: 999;
}

.header-container {
    width: 100%;
    max-width: 1300px;
    margin: auto;
    padding: 0 25px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===== LOGO ===== */
.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.header-logo .logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.header-logo .logo-text {
    color: var(--cor-texto);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(155, 89, 255, 0.5);
}

/* ===== NAV ===== */
.header-nav .nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-nav .nav-list li a {
    text-decoration: none;
    color: var(--cor-menu);
    font-size: 1.05rem;
    font-weight: 400;
    transition: 0.25s ease;
}

.header-nav .nav-list li a:hover {
    color: var(--cor-menu-hover);
    text-shadow: 0 0 8px rgba(155, 89, 255, 0.8);
}

/* ===== PERFIL ===== */
.perfil-menu {
    position: relative;
    margin-left: 15px;
}

.perfil-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--cor-neon);
    cursor: pointer;
    transition: 0.3s;
}

.perfil-img:hover {
    box-shadow: 0 0 10px var(--cor-neon);
}

.perfil-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 55px;
    background: #1a1a21;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    min-width: 200px;
    padding: 12px 0;
    box-shadow: 0 0 18px rgba(155, 89, 255, 0.3);
    z-index: 9999;
}

.perfil-dropdown.show {
    display: block;
}

.perfil-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: var(--cor-texto);
}

.perfil-dropdown-header img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--cor-neon);
}

.perfil-dropdown a {
    display: block;
    padding: 12px 18px;
    text-decoration: none;
    color: var(--cor-menu);
    transition: 0.25s;
}

.perfil-dropdown a:hover {
    background: rgba(155, 89, 255, 0.15);
    color: #fff;
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .header-nav .nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px;
    }

    .header-logo .logo-text {
        font-size: 1.25rem;
    }
}
