/* 赛程预告页面特定样式 */

/* 全局尺寸规范 - 与style.css保持一致 */
:root {
    /* 网站标准尺寸 */
    --site-width: 1920px;
    --site-height: 1080px;
    
    /* 主体内容区域宽度 */
    --content-width: 1200px;
    
    /* 导航栏高度范围 */
    --navbar-height-min: 60px;
    --navbar-height-max: 100px;
    
    /* Banner高度范围 */
    --banner-height-min: 300px;
    --banner-height-max: 800px;
}

/* 主内容区域样式 - 与网站其他部分保持一致的宽度 */
.main-content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 40px 20px;
    width: 100%;
    box-sizing: border-box;
}



/* 加载更多按钮样式 */
.btn-load-more {
    background: linear-gradient(135deg, #ff69b4, #00ffff);
    color: white;
    border: none;
    padding: 12px 40px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.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 16px rgba(255, 105, 180, 0.4);
}

.btn-load-more:hover::before {
    left: 100%;
}

/* 赛程内容区域样式 */
.schedule-content {
    width: 100%;
}

/* 轮次分页样式 */
.round-pagination {
    background: rgba(25, 25, 45, 0.8);
    border: 1px solid rgba(100, 100, 255, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.round-pagination h3 {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

.round-pagination .round-btns-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.round-btn {
    background: linear-gradient(135deg, rgba(60, 60, 120, 0.8) 0%, rgba(40, 40, 80, 0.8) 100%);
    border: 1px solid rgba(100, 100, 255, 0.3);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 80px;
}

.round-btn:hover {
    background: linear-gradient(135deg, rgba(80, 80, 160, 0.9) 0%, rgba(60, 60, 120, 0.9) 100%);
    border-color: rgba(140, 140, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(100, 100, 255, 0.3);
}

.round-btn.active {
    background: linear-gradient(135deg, rgba(120, 120, 255, 0.9) 0%, rgba(80, 80, 220, 0.9) 100%);
    border-color: rgba(180, 180, 255, 0.8);
    box-shadow: 0 4px 12px rgba(120, 120, 255, 0.4);
}

.round-btn.show-all {
    background: linear-gradient(135deg, rgba(220, 100, 100, 0.8) 0%, rgba(180, 80, 80, 0.8) 100%);
    border-color: rgba(255, 140, 140, 0.3);
    margin-top: 10px;
    min-width: 120px;
}

.round-btn.show-all:hover {
    background: linear-gradient(135deg, rgba(240, 120, 120, 0.9) 0%, rgba(200, 100, 100, 0.9) 100%);
    border-color: rgba(255, 180, 180, 0.6);
    box-shadow: 0 4px 12px rgba(255, 120, 120, 0.3);
}

/* 轮次按钮容器，使用flex-wrap让按钮自动换行 */
.round-pagination {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.round-pagination > div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

/* 响应式设计 */
@media (max-width: 1240px) {
    .main-content {
        padding: 30px 15px;
    }
    
    .schedule-filter {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .date-filter {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .date-selector,
    .btn.btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .btn-load-more {
        padding: 10px 30px;
        font-size: 14px;
    }
}

/* 赛程时间线样式 */
.schedule-timeline {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

/* 时间线连接线 */
.schedule-timeline::before {
    content: '';
    position: absolute;
    width: 3px;
    background: linear-gradient(to bottom, #ff69b4, #00ffff);
    top: 0;
    bottom: 0;
    left: 25%;
    margin-left: -1.5px;
}

/* 单个时间线项目 */
.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

/* 日期显示区域 */
.timeline-date {
    position: absolute;
    top: 30px;
    left: 0;
    width: 25%;
    padding-right: 40px;
    text-align: right;
    box-sizing: border-box;
}

.date-text {
    font-size: 16px;
    font-weight: bold;
    color: #ff69b4;
    margin-bottom: 5px;
}

.time-text {
    font-size: 14px;
    color: #cccccc;
}

/* 内容区域 */
.timeline-content {
    position: relative;
    width: 75%;
    left: 25%;
    padding-left: 40px;
    box-sizing: border-box;
}

/* 时间线卡片 */
.timeline-card {
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff69b4, #00ffff);
}

.timeline-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 105, 180, 0.3);
}

/* 卡片头部 */
.timeline-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

/* 偶像图片 */
.idol-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border: 3px solid #ff69b4;
    transition: all 0.3s ease;
}

.timeline-card:hover .idol-image {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(255, 105, 180, 0.5);
}

/* 比赛信息 */
.match-info h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 5px;
}

.match-details {
    margin: 0;
    font-size: 14px;
    color: #cccccc;
}

/* 操作按钮区域 */
.timeline-card-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* 观看直播按钮 */
.btn-watch {
    background: linear-gradient(135deg, #ff69b4, #ff85c0);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
    font-size: 14px;
}

.btn-watch::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-watch:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 105, 180, 0.4);
}

.btn-watch:hover::before {
    left: 100%;
}

/* 立即观看按钮 */
.btn-reserve {
    background-color: transparent;
    color: #ff69b4;
    border: 1px solid #ff69b4;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
    font-size: 14px;
}

.btn-reserve::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 105, 180, 0.2), transparent);
    transition: all 0.6s ease;
}

.btn-reserve:hover {
    background-color: #ff69b4;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 105, 180, 0.4);
}

.btn-reserve:hover::before {
    left: 100%;
}

/* 时间线节点 */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 25%;
    background-color: #1a1a1a;
    border: 4px solid #ff69b4;
    top: 35px;
    border-radius: 50%;
    z-index: 1;
    margin-left: -10px;
    transition: all 0.3s ease;
}

.timeline-item:hover::after {
    background-color: #ff69b4;
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(255, 105, 180, 0.7);
}

/* 赛程筛选器样式 */
.schedule-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    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);
}

.schedule-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tab-btn {
    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;
    position: relative;
    overflow: hidden;
}

.tab-btn::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;
}

.tab-btn.active {
    background: linear-gradient(135deg, #ff69b4, #ff85c0);
    box-shadow: 0 4px 12px rgba(255, 105, 180, 0.4);
}

.tab-btn:hover:not(.active) {
    background: linear-gradient(135deg, #3d3d3d, #4d4d4d);
    transform: translateY(-2px);
}

.tab-btn:hover::before {
    left: 100%;
}

.date-filter {
    display: flex;
    gap: 10px;
    align-items: center;
}

.date-selector {
    padding: 10px;
    background: rgba(45, 45, 45, 0.7);
    backdrop-filter: blur(5px);
    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);
}

/* 赛程日期分组样式 */
.schedule-day {
    margin-bottom: 40px;
}

/* 赛程线性排布容器 */
.schedule-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.day-header {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #ff69b4;
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 20px;
}

.day-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 30px;
    background-color: #ff69b4;
    border-radius: 5px;
}

/* 赛程卡片样式 */
.schedule-card {
    background: rgba(26, 26, 26, 0.65);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.schedule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff69b4, #00ffff);
}

.schedule-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 105, 180, 0.3);
}

.schedule-card-date {
    font-size: 14px;
    color: #888888;
    margin-bottom: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.schedule-card-date::before {
    content: '🕒';
    margin-right: 8px;
    color: #ff69b4;
}

/* 左右两边VS布局 - 增强版本 */
.schedule-card-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    width: 100%;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
}

/* 确保左侧队伍内容靠左 */
.team:first-child {
    align-items: flex-end;
}

/* 确保右侧队伍内容靠右 */
.team:last-child {
    align-items: flex-start;
}

.team-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2d2d2d, #3d3d3d);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 24px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.schedule-card:hover .team-logo {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(255, 105, 180, 0.3);
}

.team-name {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
}

/* 增强VS显示 */
.match-score {
    font-size: 32px;
    font-weight: bold;
    color: #ff69b4;
    margin: 0 20px;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
    background: linear-gradient(145deg, #f0f0f0, #ffffff);
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    white-space: nowrap;
    transition: all 0.3s ease;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(135deg, #ff69b4, #ff4757);
}

.match-score::before, .match-score::after {
    content: "";
    width: 10px;
    height: 10px;
    background-color: #ff4757;
    border-radius: 50%;
    margin: 0 10px;
    display: inline-block;
}

.schedule-card:hover .match-score {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(255, 105, 180, 0.3);
}

.schedule-card-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.schedule-card-info p {
    color: #cccccc;
    margin-bottom: 10px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.btn-secondary {
    background-color: transparent;
    color: #ff69b4;
    border: 1px solid #ff69b4;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 105, 180, 0.2), transparent);
    transition: all 0.6s ease;
}

.btn-secondary:hover {
    background-color: #ff69b4;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 105, 180, 0.4);
}

.btn-secondary:hover::before {
    left: 100%;
}

/* 加载更多按钮样式 */
.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%;
}

/* 空状态样式 */
.schedule-empty {
    text-align: center;
    padding: 60px 20px;
    color: #888888;
}

.schedule-empty h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #cccccc;
}

.schedule-empty p {
    font-size: 16px;
    line-height: 1.6;
}

/* 加载动画 */
@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.schedule-loading {
    text-align: center;
    padding: 40px;
    color: #888888;
    animation: pulse 2s infinite;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .schedule-filter {
        flex-direction: column;
        align-items: stretch;
    }
    
    .schedule-tabs {
        justify-content: center;
    }
    
    .date-filter {
        justify-content: center;
    }
    
    /* 线性布局响应式调整 */
    .schedule-grid {
        gap: 16px;
    }
}

@media (max-width: 768px) {
    /* 线性布局响应式调整 */
    .schedule-grid {
        gap: 16px;
    }
    
    /* 卡片样式调整 */
    .schedule-card {
        padding: 20px;
    }
    
    /* 按钮样式调整 */
    .timeline-card-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .btn-watch, .btn-reserve {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    /* 卡片样式进一步调整 */
    .schedule-card {
        padding: 16px;
    }
    
    .idol-image {
        width: 60px;
        height: 60px;
    }
    
    .match-info h4 {
        font-size: 16px;
    }
    
    .match-details {
        font-size: 13px;
    }
    
    .tab-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .date-selector {
        padding: 6px;
        font-size: 12px;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 焦点样式 */
*:focus {
    outline: 2px solid #ff69b4;
    outline-offset: 2px;
}
