/* RESET DE NAVEGACION */
.main-navbar {
    background: #070707 !important;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    border-bottom: 2px solid #ff0055;
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 9999;
    box-sizing: border-box;
}

/* IZQUIERDA: Logo y Links */
.nav-left { display: flex; align-items: center; gap: 25px; min-width: 300px; }
.nav-logo { color: #ff0055 !important; font-weight: 800; font-size: 1.6rem; text-decoration: none; text-transform: uppercase; }
.nav-main-links { display: flex; gap: 15px; }
.nav-main-links a { color: #eee !important; text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: 0.3s; }
.nav-main-links a:hover { color: #ff0055 !important; }

/* CENTRO: Buscador */
.nav-search-container {
    position: absolute; left: 50%; transform: translateX(-50%);
    width: 40%; max-width: 500px;
}
.nav-search-container input {
    width: 100%; background: #1a1a1a; border: 1px solid #333;
    padding: 10px 20px; border-radius: 25px; color: white;
    outline: none; font-size: 0.9rem; transition: 0.3s;
}
.nav-search-container input:focus { border-color: #ff0055; background: #222; }

/* DERECHA: Botones */
.nav-auth-area { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 300px; }
.btn-login { background: #ff0055; color: white !important; border: none; padding: 10px 20px; border-radius: 20px; font-weight: bold; cursor: pointer; font-size: 0.9rem; }
.btn-register { background: #333; color: white !important; border: none; padding: 10px 20px; border-radius: 20px; font-weight: bold; cursor: pointer; font-size: 0.9rem; }

/* MODAL */
.auth-modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.9);
    display: none; align-items: center; justify-content: center; z-index: 10000;
}
.auth-modal {
    background: #111; width: 90%; max-width: 400px; padding: 40px;
    border-radius: 20px; border: 1px solid #ff0055; text-align: center; position: relative;
}
.auth-input-group { margin-bottom: 15px; text-align: left; }
.auth-input-group input { 
    width: 100%; background: #000; border: 1px solid #333; padding: 12px; 
    border-radius: 8px; color: white; margin-top: 5px; 
}
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 1.5rem; cursor: pointer; color: #555; }

/* PERFIL LOGUEADO */
.user-capsule { display: flex; align-items: center; gap: 10px; background: #1a1a1a; padding: 5px 15px; border-radius: 30px; border: 1px solid #333; }
.user-capsule img { 
    width: 32px; 
    height: 32px; 
    border-radius: 50%; 
    border: 2px solid #ff0055; 
    /* AJUSTE PARA EVITAR DEFORMACIÓN */
    object-fit: cover; 
}

.auth-divider {
    margin: 20px 0;
    position: relative;
    border-bottom: 1px solid #333;
    height: 1px;
}
.auth-divider span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #111;
    padding: 0 15px;
    color: #555;
    font-size: 0.75rem;
}
