/* ===== SECCIÓN DE CLUBES ===== */

.clubs-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.clubs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(163, 134, 177, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(144, 212, 189, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.clubs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.clubs-header {
    text-align: center;
    margin-bottom: 4rem;
}

.clubs-title {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-family: 'Quicksand', sans-serif;
    position: relative;
}

.clubs-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #a386b1, #90d4bd);
    border-radius: 2px;
}

.clubs-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.clubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.club-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.club-card:hover {
    transform: translateY(-12px);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.15),
        0 10px 30px rgba(0, 0, 0, 0.08);
}

.club-image {
    height: 320px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

/* Fallback gradient solo si no hay imagen */
.club-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #a386b1, #90d4bd);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

/* Solo mostrar el gradiente si no hay imagen de fondo */
.club-image.no-image::before {
    opacity: 1;
}

.club-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.3) 70%,
        rgba(0, 0, 0, 0.5) 100%
    );
    transition: all 0.3s ease;
    z-index: 2;
}

.club-card:hover .club-overlay {
    background: linear-gradient(
        to bottom,
        rgba(163, 134, 177, 0.1) 0%,
        rgba(144, 212, 189, 0.2) 70%,
        rgba(163, 134, 177, 0.4) 100%
    );
}

.club-content {
    padding: 2rem;
}

.club-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-family: 'Quicksand', sans-serif;
}

.club-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.club-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.club-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #a386b1;
    font-weight: 500;
    font-size: 0.9rem;
}

.club-stat svg {
    color: #90d4bd;
}

.club-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #a386b1, #90d4bd);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Quicksand', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(163, 134, 177, 0.3);
}

.club-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(163, 134, 177, 0.4);
}

.club-btn svg {
    transition: transform 0.3s ease;
}

.club-btn:hover svg {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 1024px) {
    .clubs-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .clubs-section {
        padding: 4rem 0;
    }
    
    .clubs-container {
        padding: 0 1.5rem;
    }
    
    .clubs-title {
        font-size: 2.5rem;
    }
    
    .clubs-subtitle {
        font-size: 1.1rem;
    }
    
    .clubs-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 3rem;
    }
    
    .club-content {
        padding: 1.5rem;
    }
    
    .club-stats {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .clubs-section {
        padding: 3rem 0;
    }
    
    .clubs-container {
        padding: 0 1rem;
    }
    
    .clubs-title {
        font-size: 2rem;
    }
    
    .clubs-header {
        margin-bottom: 3rem;
    }
    
    .club-image {
        height: 160px;
    }
    
    .club-content {
        padding: 1.2rem;
    }
    
    .club-name {
        font-size: 1.3rem;
    }
    
    .club-description {
        font-size: 0.95rem;
    }
    
    .club-stats {
        flex-direction: column;
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .club-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }
}