/* ===== Clubs页面专用样式 ===== */

/* 俱乐部容器 */
.clubs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 俱乐部头部 */
.clubs-header {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    border-radius: 15px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.clubs-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.clubs-header h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.clubs-header p {
    font-size: 1.3em;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* 俱乐部分类 */
.clubs-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.category-btn {
    background: white;
    color: #333;
    border: 2px solid #ddd;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.category-btn:hover,
.category-btn.active {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    border-color: #4facfe;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 172, 254, 0.3);
}

/* 俱乐部网格 */
.clubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.club-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
}

.club-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.club-image {
    height: 220px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4em;
    color: white;
}

.club-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.club-card:hover .club-image img {
    transform: scale(1.1);
}

.club-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.95);
    color: #333;
    padding: 8px 15px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: bold;
}

.club-badge.premium {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
}

.club-badge.featured {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
}

.club-content {
    padding: 25px;
}

.club-title {
    font-size: 1.4em;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.club-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95em;
}

.club-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 0.9em;
}

.meta-item i {
    color: #4facfe;
    margin-right: 10px;
    width: 16px;
}

.club-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.3em;
    font-weight: bold;
    color: #4facfe;
    display: block;
}

.stat-label {
    font-size: 0.8em;
    color: #666;
    margin-top: 2px;
}

.club-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.club-price {
    font-size: 1.2em;
    font-weight: bold;
    color: #4facfe;
}

.club-btn {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.club-btn:hover {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 172, 254, 0.3);
}

/* 推荐俱乐部区域 */
.featured-clubs {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 40px;
    border-radius: 15px;
    margin-bottom: 60px;
    color: white;
}

.featured-clubs .section-title {
    color: white;
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.featured-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-5px);
}

.featured-icon {
    font-size: 3em;
    margin-bottom: 20px;
    display: block;
}

.featured-card h3 {
    font-size: 1.3em;
    margin-bottom: 15px;
    font-weight: 600;
}

.featured-card p {
    opacity: 0.9;
    line-height: 1.6;
}

/* 俱乐部优势 */
.clubs-benefits {
    background: #f8f9fa;
    padding: 60px 40px;
    border-radius: 15px;
    margin-bottom: 60px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 3em;
    color: #4facfe;
    margin-bottom: 20px;
    display: block;
}

.benefit-item h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95em;
}

/* 会员等级 */
.membership-levels {
    margin-bottom: 60px;
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.level-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.level-card:hover {
    transform: translateY(-5px);
}

.level-card.popular {
    border: 3px solid #4facfe;
    transform: scale(1.05);
}

.level-card.popular::before {
    content: '推荐';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #4facfe;
    color: white;
    padding: 5px 20px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
}

.level-name {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.level-price {
    font-size: 2em;
    font-weight: bold;
    color: #4facfe;
    margin-bottom: 20px;
}

.level-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.level-features li {
    padding: 8px 0;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
}

.level-features li:last-child {
    border-bottom: none;
}

.level-btn {
    width: 100%;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.level-btn:hover {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 172, 254, 0.3);
}

/* 空状态 */
.empty-clubs {
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

.empty-icon {
    font-size: 5em;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-clubs h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #999;
}

.empty-clubs p {
    font-size: 1.1em;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .clubs-container {
        padding: 10px;
    }
    
    .clubs-header {
        padding: 50px 20px;
    }
    
    .clubs-header h1 {
        font-size: 2.5em;
    }
    
    .clubs-categories {
        gap: 10px;
    }
    
    .category-btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    
    .clubs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .featured-clubs,
    .clubs-benefits {
        padding: 40px 20px;
    }
    
    .featured-grid,
    .benefits-grid,
    .levels-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .level-card.popular {
        transform: none;
    }
}

@media (max-width: 480px) {
    .clubs-header h1 {
        font-size: 2em;
    }
    
    .clubs-header p {
        font-size: 1.1em;
    }
    
    .club-content {
        padding: 20px;
    }
    
    .club-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .club-btn {
        text-align: center;
    }
    
    .club-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .level-price {
        font-size: 1.5em;
    }
}