/* 页面banner */
.page-banner {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/players-banner.png');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    color: #fff;
    margin-bottom: 40px;
}

.page-banner h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.breadcrumb {
    font-size: 14px;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #ffd700;
}

/* 搜索和筛选区 */
.filter-section {
    margin-bottom: 40px;
}

.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.search-box input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
}

.btn-search {
    padding: 0 20px;
    background: #c00;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.filter-tags {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.tag {
    padding: 8px 20px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tag:hover {
    border-color: #c00;
    color: #c00;
}

.tag.active {
    background: #c00;
    color: #fff;
    border-color: #c00;
}

/* 运动员列表 */
.players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.player-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.player-card:hover {
    transform: translateY(-5px);
}

.player-header {
    position: relative;
}

.player-avatar {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.player-badges {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
}

.badge {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    color: #fff;
}

.badge.national {
    background: #c00;
}

.badge.active {
    background: #52c41a;
}

.badge.retired {
    background: #666;
}

.player-info {
    padding: 20px;
}

.player-info h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 5px;
}

.player-title {
    color: #666;
    margin-bottom: 15px;
}

.player-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.stat-item {
    text-align: center;
}

.stat-item .label {
    display: block;
    color: #999;
    font-size: 12px;
    margin-bottom: 5px;
}

.stat-item .value {
    color: #333;
    font-weight: bold;
}

.player-achievements {
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.player-achievements h4 {
    color: #333;
    margin-bottom: 10px;
}

.player-achievements ul {
    list-style: none;
    color: #666;
}

.player-achievements li {
    margin-bottom: 5px;
    position: relative;
    padding-left: 15px;
}

.player-achievements li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: #c00;
    border-radius: 50%;
}

.player-actions {
    padding: 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-detail {
    padding: 8px 20px;
    background: #c00;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-detail:hover {
    background: #a00;
}

.action-icons {
    display: flex;
    gap: 15px;
}

.btn-like,
.btn-collect {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-like.active,
.btn-collect.active {
    color: #c00;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.page-numbers {
    display: flex;
    gap: 5px;
}

.pagination button {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination button.active {
    background: #c00;
    color: #fff;
    border-color: #c00;
}

.pagination button:hover:not(:disabled) {
    border-color: #c00;
    color: #c00;
}

.pagination button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

/* 详情弹窗 */
.player-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.player-modal.active {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: 10px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.btn-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #666;
    font-size: 24px;
    cursor: pointer;
    z-index: 1;
}

.modal-body {
    padding: 40px;
}

.profile-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.profile-avatar {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.profile-info h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.profile-title {
    color: #666;
    margin-bottom: 30px;
}

.profile-stats {
    display: grid;
    gap: 30px;
}

.stat-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.profile-section {
    margin-bottom: 40px;
}

.profile-section h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.profile-section h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #c00;
}

.profile-section p {
    color: #666;
    line-height: 1.8;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.achievement-card {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    gap: 15px;
}

.achievement-icon {
    width: 50px;
    height: 50px;
}

.achievement-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.achievement-text h4 {
    color: #333;
    margin-bottom: 10px;
}

.achievement-text p {
    color: #666;
    margin-bottom: 5px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.video-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.video-thumbnail {
    position: relative;
    padding-top: 56.25%;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0,0,0,0.6);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-play:hover {
    background: rgba(204,0,0,0.8);
}

.video-card h4 {
    padding: 15px;
    color: #333;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .profile-header {
        grid-template-columns: 1fr;
    }

    .profile-avatar {
        height: 300px;
    }

    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .modal-body {
        padding: 20px;
    }
} 