/* === ESTILO GENERAL === */
body {
    background-color: #ffffff;
    color: #111;
    font-family: 'Segoe UI', 'Roboto', sans-serif;
}

/* === HEADER DEPORTIVO === */
header {
    background: linear-gradient(to right, #0d0d0d, #1a1a1a);
    padding: 1.2rem 2rem;
    font-family: 'Segoe UI', 'Roboto Condensed', sans-serif;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    /* border-bottom: 3px solid #ffffff; */ /* ❌ quitado */
    position: relative;
    z-index: 100;
}

/* eliminar barra */
header::after {
    content: none;
}


header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: #000000; /* Línea negra fija */
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -20%;
    height: 4px;
    width: 20%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255,255,255,0.9),
        transparent
    );
    filter: blur(2px); /* Difumina para efecto LED */
    animation: led-swipe 4s linear infinite;
}

@keyframes led-swipe {
    0%   { left: -20%; }
    100% { left: 100%; }
}

html, body {
    overflow-x: hidden;
}



/* === LOGO === */
.Logofdph {
    height: 48px;
    transition: transform 0.3s ease;
}

.Logofdph:hover {
    transform: scale(1.1);
}

/* === NAV BAR === */
nav {
    display: flex;
    gap: 1.5rem;
}

nav a.nav-btn {
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border: 2px solid transparent;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: #141414;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

nav a.nav-btn:hover {
    border-color: #ffffff;
    background: #1f1f1f;
    color: #ffffff;
    box-shadow: 0 0 8px #ffffffaa;
}

/* === BOTONES LOGIN/LOGOUT === */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-buttons button,
.auth-buttons a.btn-auth {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    color: #fff;
    font-weight: bold;
    padding: 0.5rem 1.2rem;
    border: 2px solid #333;
    border-radius: 6px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.auth-buttons button:hover,
.auth-buttons a.btn-auth:hover {
    background: #ffffff;
    color: #000;
    border-color: #ffffff;
    box-shadow: 0 0 10px #ffffffaa;
}

.auth-buttons small {
    color: #aaa;
    font-size: 0.75rem;
}

/* === MAIN === */
main {
    padding-top: 2rem;
}

/* === FOOTER === */
footer {
    background: #0d0d0d;
    color: #aaa;
    font-size: 0.9rem;
    margin-top: auto;
    padding: 1rem 0;
    text-align: center;
}

/* === SCROLLBAR PERSONALIZADA === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 4px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    .auth-buttons {
        flex-direction: column;
        align-items: flex-end;
    }
}

/* === PLACEHOLDER FIX PARA FONDOS OSCUROS === */
input.text-white::placeholder, textarea.text-white::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
}