/* 搜索和筛选区样式 */
.search-filter {
    background: #f8f9fa;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.search {
    display: flex;
    gap: 1rem;
}

.search input {
    padding: 0.8rem;
    width: 300px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.search button {
    padding: 0.8rem 2rem;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.search button:hover {
    background: #c0392b;
}

.filter select {
    padding: 0.8rem;
    margin-left: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
}

/* 赛事列表样式 */
.events-list {
    padding: 2rem 5%;
}

.event-item {
    display: flex;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    transition: transform 0.3s;
}

.event-item:hover {
    transform: translateY(-5px);
}

.event-item img {
    width: 300px;
    height: 200px;
    object-fit: cover;
}

.event-info {
    padding: 2rem;
    flex-grow: 1;
}

.event-info h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.event-info p {
    color: #7f8c8d;
    margin-bottom: 0.5rem;
}

.price-buy {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.price {
    color: #e74c3c;
    font-size: 1.2rem;
    font-weight: bold;
}

.price-buy button {
    padding: 0.8rem 2rem;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.price-buy button:hover {
    background: #c0392b;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 0;
}

.pagination a {
    display: inline-block;
    padding: 0.8rem 1.2rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.pagination a:hover,
.pagination a.active {
    background: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .search-filter {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search input {
        width: 100%;
    }
    
    .filter select {
        margin: 0.5rem 0;
        width: 100%;
    }
    
    .event-item {
        flex-direction: column;
    }
    
    .event-item img {
        width: 100%;
    }
} 