﻿/* === 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 #ff0000;
    position: relative;
    z-index: 100;
}

    header::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        height: 4px;
        width: 100%;
        background: linear-gradient(to right, #ff0000, #ff9900, #ff0000);
        background-size: 200% auto;
        animation: moving-line 4s linear infinite;
    }

@keyframes moving-line {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

/* === 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;
    }

        nav a.nav-btn:hover {
            border-color: #ff0000;
            background: #1f1f1f;
            color: #ff0000;
            box-shadow: 0 0 8px #ff0000aa;
        }

/* === 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: #ff0000;
            color: #fff;
            border-color: #ff0000;
            box-shadow: 0 0 10px #ff0000aa;
        }

    .auth-buttons small {
        color: #aaa;
        font-size: 0.75rem;
    }

/* === MAIN === */
main {
    padding-top: 2rem;
}

/* === FOOTER === */
footer {
    background: #0d0d0d;
    border-top: 3px solid #ff0000;
    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;
    }
}
