/* ===== Schedule Page Styles ===== */

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.empty-icon {
    width: 180px;
    height: 180px;
    margin: 0 auto 2.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.empty-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.empty-desc {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.empty-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.info-icon {
    font-size: 2rem;
}

.info-title {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.info-text {
    font-size: 0.85rem;
    color: #666;
}

.empty-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.action-btn {
    padding: 0.875rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.action-btn.primary {
    background: var(--gradient-primary);
    color: white;
}

.action-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(133,45,136,0.4);
}

.action-btn.secondary {
    background: white;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

.action-btn.secondary:hover {
    background: var(--primary-purple);
    color: white;
}

.empty-tips {
    padding: 1rem 1.5rem;
    background: rgba(133,45,136,0.08);
    border-radius: 10px;
}

.empty-tips p {
    font-size: 0.9rem;
    color: #666;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 2.5rem;
    color: var(--dark-green);
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: #666;
}

/* 实时焦点战区域 */
.focus-match-section {
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.focus-match-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.focus-match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.focus-match-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.live-badge {
    background: red;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.ended-badge {
    background: #666;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

.focus-match-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.focus-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.focus-team-flag {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.5);
}

.focus-team-name {
    font-size: 1.3rem;
    font-weight: bold;
}

.focus-score-box {
    text-align: center;
}

.focus-score {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.focus-status {
    font-size: 0.9rem;
    opacity: 0.9;
}

.focus-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.action-btn {
    padding: 0.75rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
}

.action-btn.live {
    background: red;
    color: white;
}

.action-btn.live:hover {
    background: #cc0000;
    transform: translateY(-2px);
}

.action-btn.replay {
    background: white;
    color: var(--primary-purple);
}

.action-btn.replay:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.focus-meta {
    text-align: center;
    margin-top: 1rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* 日期选择标签 */
.date-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.date-tab {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-purple);
    border-radius: 30px;
    cursor: pointer;
    background: white;
    color: var(--primary-purple);
    font-weight: 500;
    transition: all 0.3s;
}

.date-tab.active, .date-tab:hover {
    background: var(--primary-purple);
    color: white;
}

/* 赛程列表 */
.schedule-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.5rem;
    color: var(--dark-green);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.schedule-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

.schedule-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.schedule-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.schedule-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.schedule-time {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-purple);
}

.schedule-status {
    font-size: 0.8rem;
    padding: 0.2rem 0.75rem;
    border-radius: 15px;
    font-weight: 500;
}

.schedule-status.live {
    background: #ffebee;
    color: #c62828;
}

.schedule-status.ended {
    background: #e8eaf6;
    color: #3949ab;
}

.schedule-status.upcoming {
    background: #e3f2fd;
    color: #1565c0;
}

.schedule-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.schedule-team {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.schedule-flag {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.schedule-team-name {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--dark-green);
}

.schedule-vs {
    font-size: 1.2rem;
    font-weight: bold;
    color: #999;
    padding: 0 1rem;
}

.schedule-score {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-pink);
}

.schedule-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.schedule-stage {
    padding: 0.2rem 0.75rem;
    background: var(--light-purple);
    color: var(--primary-purple);
    border-radius: 10px;
    font-weight: 500;
}

.schedule-stadium {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* 淘汰赛对阵图 */
.bracket-section {
    margin-bottom: 3rem;
}

.bracket-title {
    font-size: 1.5rem;
    color: var(--dark-green);
    margin-bottom: 2rem;
    text-align: center;
}

.bracket-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.bracket-round {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.bracket-round-title {
    text-align: center;
    font-weight: bold;
    color: var(--primary-purple);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.bracket-match {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    min-width: 180px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.bracket-team {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.3rem 0;
    font-size: 0.9rem;
}

.bracket-team-name {
    font-weight: 500;
}

.bracket-score {
    font-weight: bold;
    color: var(--primary-pink);
}

.bracket-winner {
    background: var(--light-purple);
    border: 2px solid var(--primary-purple);
}

.bracket-line {
    width: 2rem;
    height: 2px;
    background: var(--primary-purple);
    align-self: center;
}

/* 小组积分榜 */
.standing-section {
    margin-top: 3rem;
}

.standing-title {
    font-size: 1.5rem;
    color: var(--dark-green);
    margin-bottom: 1.5rem;
    text-align: center;
}

.groups-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.group-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.group-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-purple);
}

.group-badge {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary-purple);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.group-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--dark-green);
}

.standing-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.standing-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 10px;
    transition: background 0.3s;
}

.standing-item:hover {
    background: var(--light-purple);
}

.standing-rank {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-purple);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.standing-rank.top2 {
    background: var(--primary-pink);
}

.standing-flag {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.standing-team-info {
    flex: 1;
}

.standing-team-name {
    font-weight: bold;
    color: var(--dark-green);
}

.standing-team-record {
    font-size: 0.8rem;
    color: #666;
}

.standing-points {
    font-weight: bold;
    color: var(--primary-purple);
    font-size: 1.2rem;
}

.highlight-text {
    color: var(--primary-pink);
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .schedule-list {
        grid-template-columns: 1fr;
    }
    
    .focus-match-content {
        gap: 1.5rem;
    }
    
    .focus-team-flag {
        width: 60px;
        height: 60px;
    }
    
    .focus-score {
        font-size: 2.5rem;
    }
    
    .groups-container {
        grid-template-columns: 1fr;
    }
}