/* =========================
   Deportes (cards + fondo con overlay) - CSS COMPLETO ACTUALIZADO
   ========================= */

.about.sports {
    position: relative;
    background-image: url("https://res.cloudinary.com/dn7blge7d/image/upload/v1770927054/cover_tlbdpc.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.about.sports::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
            rgba(0, 0, 0, 0.78) 0%,
            rgba(14, 15, 21, 0.72) 45%,
            rgba(94, 23, 235, 0.35) 100%);
    z-index: 0;
}

.about.sports .max-width {
    position: relative;
    z-index: 1;
}

/* Asegura buena lectura del título en fondo */
.about.sports .title {
    color: var(--c-text);
}

.about.sports .title::before {
    background: rgba(254, 254, 255, 0.75);
}

.about.sports .title::after {
    background: transparent;
    color: var(--c-primary);
}

/* Layout */
.sports-content {
    display: block;
}

.sports-intro {
    max-width: 760px;
    margin: 0 auto 22px auto;
    text-align: center;
    background: rgba(34, 34, 34, 0.55);
    border: 1px solid rgba(254, 254, 255, 0.10);
    border-radius: 12px;
    padding: 18px 18px;
    backdrop-filter: blur(6px);
}

.about.sports .text {
    color: var(--c-text);
    font-size: 1.5rem;
    font-weight: 600;
}

.about.sports .text span {
    color: var(--c-primary);
}

.sports-intro p {
    color: rgba(254, 254, 255, 0.9);
    margin-top: 10px;
    line-height: 1.55;
}

/* FLEX grid */
.sports-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 16px;
}

/* Base: 2 columnas (pequeñas) */
.sport-card {
    flex: 0 0 calc(50% - 14px);
    max-width: calc(50% - 14px);
    background: rgba(34, 34, 34, 0.72);
    border: 1px solid rgba(254, 254, 255, 0.10);
    border-radius: 12px;
    padding: 16px 14px;
    text-align: center;
    backdrop-filter: blur(6px);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* 4 columnas (medianas) */
@media (min-width: 768px) {
    .sport-card {
        flex: 0 0 calc(25% - 14px);
        max-width: calc(25% - 14px);
    }
}

/* 5 columnas (grandes) */
@media (min-width: 1105px) {
    .sport-card {
        flex: 0 0 calc(20% - 14px);
        max-width: calc(20% - 14px);
    }
}

/* Icono y textos */
.sport-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px auto;
    background: var(--c-primary);
    color: var(--c-text);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
}

.sport-icon i {
    font-size: 22px;
}

.sport-name {
    font-weight: 800;
    color: var(--c-text);
    letter-spacing: 0.2px;
    font-size: 14px;
}

.sport-card:hover {
    transform: translateY(-4px);
    border-color: rgba(94, 23, 235, 0.45);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.40);
}

/* Variación sutil por tarjeta */
.sports-grid .sport-card:nth-child(2) .sport-icon {
    background: var(--c-tertiary);
}

.sports-grid .sport-card:nth-child(4) .sport-icon {
    background: var(--c-secondary);
    color: #000;
}

.sports-grid .sport-card:nth-child(6) .sport-icon {
    background: rgba(254, 254, 255, 0.16);
    border: 2px solid rgba(254, 254, 255, 0.16);
}

.sports-grid .sport-card:nth-child(6) .sport-icon i {
    color: var(--c-text);
}

.sports-grid .sport-card:nth-child(8) .sport-icon {
    background: var(--c-primary);
}