/* 比赛详情模块样式 */
.match-details {
    margin: 20px 0;
    padding: 20px;
    background-color: rgba(30, 30, 30, 0.7);
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.match-teams {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.team-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 80px;
}

.team-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.team-name {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
}

.team-score {
    font-size: 32px;
    font-weight: bold;
    color: #ff6b6b;
    min-width: 50px;
    text-align: center;
    margin: 0 10px;
}

.vs {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    margin: 0 10px;
}

@media (max-width: 768px) {
    .match-teams {
        gap: 10px;
    }
    
    .team-logo {
        width: 40px;
        height: 40px;
    }
    
    .team-name {
        font-size: 14px;
    }
    
    .team-score {
        font-size: 28px;
    }
    
    .vs {
        font-size: 20px;
    }
}

.recent-matches {
    margin-top: 30px;
}

.recent-matches h3 {
    color: #4fc3f7;
    margin-bottom: 15px;
    font-size: 20px;
    text-shadow: 0 0 8px rgba(79, 195, 247, 0.5);
    border-bottom: 1px solid rgba(79, 195, 247, 0.3);
    padding-bottom: 8px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid rgba(79, 195, 247, 0.3);
}

th {
    background-color: rgba(30, 30, 30, 0.9);
    color: #4fc3f7;
    font-weight: bold;
}

tr:hover {
    background-color: rgba(40, 40, 40, 0.5);
}

td a {
    color: #4fc3f7;
    text-decoration: none;
    transition: color 0.3s;
}

td a:hover {
    color: #ff6b6b;
}

@media (max-width: 768px) {
    th, td {
        padding: 8px 10px;
        font-size: 14px;
    }
    
    .recent-matches h3 {
        font-size: 18px;
    }
}

.match-header h2 {
    margin: 0 0 10px 0;
    color: #fff;
    font-size: 24px;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    padding: 10px 0 0 15px;
}

.match-header h2 a {
    color: inherit;
    text-decoration: none;
}

.match-header h2:hover {
    transform: translateY(-3px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
}

.match-details h3 {
    color: #4fc3f7;
    margin-bottom: 15px;
    font-size: 20px;
    text-shadow: 0 0 8px rgba(79, 195, 247, 0.5);
    border-bottom: 1px solid rgba(79, 195, 247, 0.3);
    padding-bottom: 8px;
}

.detail-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-cards p {
    margin: 0;
    line-height: 1.6;
    color: #f0f0f0;
}

.detail-cards strong {
    color: #ff6b6b;
    font-weight: bold;
    margin-right: 8px;
}

.detail-cards .match-description {
    margin-top: 15px;
    padding: 15px;
    background-color: rgba(40, 40, 40, 0.5);
    border-radius: 6px;
    line-height: 1.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .match-details {
        padding: 15px;
    }
    
    .detail-cards p {
        font-size: 14px;
    }
    
    .match-details h3 {
        font-size: 18px;
    }
}
