
/* ========================================
   F1 FANS - PAGINA DE PILOTOS
   ======================================== */

.pilotos-f1fans {
    background: #080808;
    color: #ffffff;
    min-height: 100vh;
    padding-bottom: 60px;
}

/* PORTADA */

.pilotos-portada {
    background: linear-gradient(135deg, #171717, #080808);
    border-bottom: 3px solid #e10600;
    padding: 75px 25px 55px;
    text-align: center;
}

.pilotos-etiqueta {
    color: #e10600;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
}

.pilotos-portada h1 {
    color: #ffffff;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    margin: 18px 0;
    text-transform: uppercase;
}

.pilotos-portada p {
    color: #bdbdbd;
    font-size: 16px;
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto;
}

/* RESUMEN */

.pilotos-resumen {
    display: flex;
    justify-content: center;
    gap: 65px;
    margin-top: 40px;
}

.pilotos-resumen div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pilotos-resumen strong {
    color: #e10600;
    font-size: 30px;
    font-weight: 900;
}

.pilotos-resumen span {
    color: #aaaaaa;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CONTENIDO */

.pilotos-contenido {
    max-width: 1250px;
    margin: 55px auto 0;
    padding: 0 25px;
}

.pilotos-titulo {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 30px;
    border-bottom: 1px solid #333333;
    padding-bottom: 20px;
}

.pilotos-titulo div > span {
    color: #e10600;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.pilotos-titulo h2 {
    color: #ffffff;
    font-size: 29px;
    margin: 8px 0 0;
    font-weight: 800;
}

.pilotos-total {
    background: #e10600;
    color: #ffffff;
    padding: 9px 15px;
    font-size: 12px;
    font-weight: 800;
}

/* CUADRICULA */

.pilotos-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 23px;
}

/* TARJETAS */

.piloto-tarjeta {
    background: #171717;
    border: 1px solid #303030;
    border-bottom: 3px solid #e10600;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.piloto-tarjeta:hover {
    transform: translateY(-6px);
    border-color: #e10600;
}

/* FOTOGRAFIAS */

.piloto-fotografia {
    height: 280px;
    background: linear-gradient(145deg, #292929, #111111);
    position: relative;
    overflow: hidden;
}

.piloto-fotografia img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 25%;
    transition: transform 0.35s ease;
}

.piloto-tarjeta:hover .piloto-fotografia img {
    transform: scale(1.05);
}

.piloto-dorsal {
    position: absolute;
    top: 12px;
    left: 14px;
    color: #ffffff;
    background: #e10600;
    padding: 7px 12px;
    font-size: 20px;
    font-weight: 900;
    z-index: 2;
}

/* INFORMACION */

.piloto-informacion {
    padding: 20px;
}

.piloto-equipo {
    color: #e10600;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.piloto-informacion h3 {
    color: #ffffff;
    font-size: 19px;
    font-weight: 800;
    margin: 10px 0;
}

.piloto-pais {
    color: #aaaaaa;
    font-size: 13px;
    margin: 0;
}

.piloto-pais span {
    font-size: 18px;
    margin-right: 5px;
}

/* TABLETS */

@media (max-width: 1000px) {
    .pilotos-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pilotos-resumen {
        gap: 40px;
    }
}

/* MOVILES */

@media (max-width: 650px) {
    .pilotos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .pilotos-portada {
        padding: 50px 18px 40px;
    }

    .pilotos-resumen {
        gap: 25px;
    }

    .pilotos-resumen strong {
        font-size: 24px;
    }

    .pilotos-contenido {
        padding: 0 14px;
        margin-top: 35px;
    }

    .pilotos-titulo h2 {
        font-size: 23px;
    }

    .piloto-fotografia {
        height: 210px;
    }

    .piloto-informacion {
        padding: 14px 11px;
    }

    .piloto-informacion h3 {
        font-size: 15px;
    }

    .piloto-equipo {
        font-size: 9px;
    }

    .piloto-pais {
        font-size: 11px;
    }
}

@media (max-width: 350px) {
    .pilotos-grid {
        grid-template-columns: 1fr;
    }
}
