/* 页面特定样式 */
/* 全局尺寸规范 - 与style.css保持一致 */
:root {
    --site-width: 1920px;
    --site-height: 1080px;
    --content-width: 1200px;
    --navbar-height-min: 60px;
    --navbar-height-max: 100px;
    --banner-height-min: 300px;
    --banner-height-max: 800px;
    --primary-color: #ff69b4;
    --secondary-color: #00ffff;
    --dark-bg: rgba(26, 26, 26, 0.85);
    --darker-bg: rgba(10, 10, 10, 0.9);
    --card-bg: rgba(26, 26, 26, 0.65);
}

/* 切换按钮容器 */
.toggle-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
    padding: 15px;
    background: var(--dark-bg);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.toggle-container .btn {
    padding: 10px 24px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.toggle-container .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #ff85c0);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 105, 180, 0.3);
}

.toggle-container .btn-secondary {
    background: linear-gradient(135deg, #2d2d2d, #3d3d3d);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.toggle-container .btn:disabled {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    cursor: not-allowed;
    opacity: 0.6;
}

.toggle-container .btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 105, 180, 0.4);
}

/* 比赛列表容器样式 */
.matches-list-container {
    background: var(--dark-bg);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 日期标题样式 */
.matches-date-header {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255, 105, 180, 0.3);
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.2);
}

/* 日期比赛列表样式 */
.matches-date-list {
    margin-bottom: 35px;
}

/* 比赛列表项样式 */
.match-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px;
    margin-bottom: 12px;
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.match-list-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), transparent);
}

.match-list-item:hover {
    background: rgba(36, 36, 36, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 105, 180, 0.3);
}

/* 比赛时间 */
.match-list-time {
    font-size: 14px;
    color: #cccccc;
    width: 80px;
    text-align: center;
    font-weight: 500;
}

/* 比赛队伍信息 */
.match-list-teams {
    display: flex;
    align-items: center;
    flex: 1;
    margin: 0 20px;
}

.match-list-teams .team {
    display: flex;
    align-items: center;
    flex: 1;
}

.match-list-teams .team:first-child {
    justify-content: flex-end;
}

/* 小尺寸队伍logo */
.team-logo-small {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: bold;
    margin: 0 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.match-list-item:hover .team-logo-small {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* 小尺寸队伍名称 */
.team-name-small {
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
}

/* 比赛列表比分 */
.match-list-score {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0 15px;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.3);
}

/* 比赛信息 */
.match-list-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 20px;
    width: 200px;
}

.match-stage {
    font-size: 12px;
    color: #cccccc;
    margin-bottom: 5px;
}

.match-status {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: bold;
    padding: 2px 8px;
    background-color: rgba(255, 105, 180, 0.1);
    border-radius: 10px;
}

/* 查看详情按钮 */
.view-detail-btn {
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary-color), #ff85c0);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 105, 180, 0.2);
}

.view-detail-btn:hover {
    background: linear-gradient(135deg, #ff85c0, #ff9ed3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 105, 180, 0.4);
}

/* 顶部比分展示 */
.match-score-summary {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85), rgba(45, 45, 45, 0.85));
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.summary-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 20px;
}

.team-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.team-logo-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff69b4, #ff85c0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    color: white;
    box-shadow: 0 4px 12px rgba(255, 105, 180, 0.3);
}

.team-name-large {
    font-size: 20px;
    font-weight: 500;
    color: #ffffff;
}

.final-score {
    display: flex;
    align-items: center;
    gap: 20px;
}

.team-score {
    font-size: 48px;
    font-weight: bold;
    color: #ff69b4;
    text-shadow: 0 0 20px rgba(255, 105, 180, 0.5);
}

.score-separator {
    font-size: 36px;
    color: #888888;
}

.match-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 16px;
    color: #cccccc;
}

.match-status {
    padding: 4px 12px;
    background-color: rgba(255, 105, 180, 0.2);
    border-radius: 12px;
    color: #ff69b4;
    font-weight: 500;
}

/* 比赛详情容器 */
.match-detail-container {
    width: 100%;
}

/* 小场比赛容器 */
.match-game {
    margin-bottom: 50px;
    position: relative;
}

.match-game::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff69b4, #00ffff);
    border-radius: 2px;
}

/* 小场比赛头部 */
.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px 20px;
    background: rgba(26, 26, 26, 0.65);
    border-radius: 10px 10px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
}

.game-header h2 {
    font-size: 24px;
    color: #ffffff;
    margin: 0;
}

.game-score {
    font-size: 18px;
    font-weight: 500;
    color: #ff69b4;
}

/* 比赛精彩回顾 */
.review-highlight {
    background-color: rgba(26, 26, 26, 0.65);
    backdrop-filter: blur(8px);
    border-radius: 0 0 10px 10px;
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
}

.review-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff69b4, #ff4757);
}

.review-highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.highlight-video {
    flex: 1;
    min-width: 300px;
    height: 300px;
    background-color: rgba(45, 45, 45, 0.7);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888888;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.highlight-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.highlight-video::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transition: all 0.3s ease;
}

.highlight-video:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.highlight-info {
    flex: 1;
    min-width: 300px;
}

.highlight-info h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #ff69b4;
    line-height: 1.3;
}

.highlight-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #ff69b4;
    line-height: 1.3;
}

.highlight-info p {
    margin-bottom: 20px;
    color: #cccccc;
    font-size: 1rem;
    line-height: 1.6;
}

/* 比赛数据统计 */
.match-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.stat-label {
    font-size: 14px;
    color: #888888;
}

.stat-value {
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
}

.review-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
    background: rgba(26, 26, 26, 0.65);
    backdrop-filter: blur(8px);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.review-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.review-tab {
    padding: 10px 20px;
    background: linear-gradient(135deg, #2d2d2d, #3d3d3d);
    border: none;
    color: #ffffff;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.review-tab.active {
    background: linear-gradient(135deg, #ff69b4, #ff85c0);
    box-shadow: 0 4px 12px rgba(255, 105, 180, 0.4);
}

.review-tab:hover:not(.active) {
    background: linear-gradient(135deg, #3d3d3d, #4d4d4d);
    transform: translateY(-2px);
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-item {
    background-color: rgba(26, 26, 26, 0.65);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.review-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff69b4, #00ffff);
}

.review-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 105, 180, 0.3);
}

.review-thumbnail {
    width: 200px;
    height: 120px;
    background-color: #2d2d2d;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888888;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.review-thumbnail video,
.review-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.review-thumbnail::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transition: all 0.3s ease;
}

.review-item:hover .review-thumbnail::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.review-details {
    flex: 1;
}

.review-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #ffffff;
    transition: all 0.3s ease;
    line-height: 1.4;
}

.review-item:hover .review-title {
    color: #ff69b4;
}

.review-meta {
    color: #888888;
    font-size: 14px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.review-meta span {
    background-color: #2d2d2d;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.review-item:hover .review-meta span {
    background-color: rgba(255, 105, 180, 0.1);
    color: #ff69b4;
}

/* 相关比赛部分 */
.related-matches {
    margin-top: 50px;
}

.related-matches h2 {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 105, 180, 0.3);
}

.related-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.date-selector {
    padding: 10px;
    background: rgba(45, 45, 45, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.date-selector:hover {
    border-color: #ff69b4;
}

.date-selector:focus {
    outline: none;
    border-color: #ff85c0;
    box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.1);
}

/* 加载更多按钮样式 */
.load-more-container {
    text-align: center;
    margin-top: 40px;
}

.btn-load-more {
    background: linear-gradient(135deg, #2d2d2d, #3d3d3d);
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 16px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-load-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.btn-load-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.btn-load-more:hover::before {
    left: 100%;
}

/* 空状态样式 */
.review-empty {
    text-align: center;
    padding: 60px 20px;
    color: #888888;
}

.review-empty h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #cccccc;
}

.review-empty p {
    font-size: 16px;
    line-height: 1.6;
}

/* 加载动画 */
@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.review-loading {
    text-align: center;
    padding: 40px;
    color: #888888;
    animation: pulse 2s infinite;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .review-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .review-tabs {
        justify-content: center;
    }
    
    .date-filter {
        justify-content: center;
    }
    
    .summary-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .team-logo-large {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .team-score {
        font-size: 36px;
    }
    
    .match-info {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    /* 顶部比分展示响应式 */
    .summary-container {
        flex-direction: column;
    }
    
    .team-info {
        margin-bottom: 15px;
    }
    
    .final-score {
        margin: 15px 0;
    }
    
    .team-logo-large {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
    
    .team-name-large {
        font-size: 16px;
    }
    
    /* 比赛列表响应式 */
    .match-list-item {
        flex-direction: column;
        align-items: center;
    }
    
    .match-list-time {
        width: auto;
        margin-bottom: 10px;
    }
    
    .match-list-teams {
        margin: 10px 0;
        width: 100%;
        justify-content: center;
    }
    
    .match-list-info {
        margin: 10px 0;
        width: auto;
        align-items: center;
    }
    
    .team-logo-small {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .team-name-small {
        font-size: 12px;
    }
    
    /* 比赛回顾响应式 */
    .review-highlight {
        flex-direction: column;
    }
    
    .highlight-video {
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
    }
    
    .highlight-info {
        width: 100%;
    }
    
    /* 相关比赛响应式 */
    .related-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .review-item {
        padding: 15px;
    }
    
    .review-thumbnail {
        height: 150px;
    }
    
    .review-title {
        font-size: 14px;
    }
    
    .review-meta {
        font-size: 12px;
        gap: 10px;
    }
    
    .highlight-info h2 {
        font-size: 24px;
    }
    
    .highlight-info p {
        font-size: 14px;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 焦点样式 */
*:focus {
    outline: 2px solid #ff69b4;
    outline-offset: 2px;
}
