.clubs-page {
    padding: 40px 0;
    background: #f8f9fa;
}

.page-header {
    margin-bottom: 50px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #334D6C;
    margin-top: 120px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #5a5a5c;
}

/* Clubs Grid */
.clubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.club-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
}

.club-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.club-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #F97316, #334D6C);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.club-card:hover::before {
    transform: scaleX(1);
}

/* Club Header */
.club-header {
    background: linear-gradient(135deg, #334D6C 0%, #2c3e50 100%);
    color: white;
    padding: 25px;
    position: relative;
    overflow: hidden;
}

.club-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.8s ease;
}

.club-card:hover .club-header::before {
    animation: shine 1.5s ease;
}

@keyframes shine {
    0% { transform: rotate(45deg) translateX(-100%); }
    100% { transform: rotate(45deg) translateX(100%); }
}

.club-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.club-badge-social { background: #28a745; color: white; }
.club-badge-debat { background: #007bff; color: white; }
.club-badge-culturel { background: #6f42c1; color: white; }
.club-badge-artistique { background: #e83e8c; color: white; }
.club-badge-environnement { background: #20c997; color: white; }
.club-badge-economique { background: #fd7e14; color: white; }
.club-badge-entrepreneuriat { background: #dc3545; color: white; }
.club-badge-sport { background: #6610f2; color: white; }

.club-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

/* Club Body */
.club-body {
    padding: 25px;
}

.club-info {
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.info-item i {
    width: 20px;
    text-align: center;
    color: #F97316;
    font-size: 1.1rem;
}

.info-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.info-label {
    font-size: 0.85rem;
    color: #8a8a8a;
    font-weight: 600;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1rem;
    color: #334D6C;
    font-weight: 600;
}

/* Members Section */
.members-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #F97316;
}

.members-title {
    font-size: 1rem;
    font-weight: 700;
    color: #334D6C;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.members-title::before {
    content: '👥';
    font-size: 1.1rem;
}

.members-list {
    font-size: 0.9rem;
    color: #5a5a5c;
    line-height: 1.5;
    max-height: 120px;
    overflow-y: auto;
    padding-right: 10px;
}

.members-list::-webkit-scrollbar {
    width: 4px;
}

.members-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.members-list::-webkit-scrollbar-thumb {
    background: #F97316;
    border-radius: 2px;
}

.members-list::-webkit-scrollbar-thumb:hover {
    background: #fd7e14;
}

/* Pagination */
.pagination-container {
    text-align: center;
    padding: 20px 0;
}

.pagination-info {
    color: #5a5a5c;
    font-size: 1rem;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .clubs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .club-header {
        padding: 20px;
    }
    
    .club-body {
        padding: 20px;
    }
    
    .page-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .clubs-page {
        padding: 20px 0;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .club-header {
        padding: 15px;
    }
    
    .club-body {
        padding: 15px;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .info-item i {
        align-self: flex-start;
    }
}