/**
 * 比赛中心 - 横向长条卡片样式
 * Match Center - Horizontal Card Styles
 */

/* 容器样式 */
.match-center-page {
    background-color: #f5f5f5;
    min-height: 100vh;
}

.match-center-content {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* 页面标题 */
.match-center-header {
    margin-bottom: 30px;
    text-align: center;
}

.match-center-header .page-title {
    font-size: 32px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.match-center-header .archive-description {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

/* 比赛列表容器 */
.match-list-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 比赛卡片 */
.match-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    height: 180px;
}

.match-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* 背景图片 */
.match-card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.match-card-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 遮罩层 */
.match-card-overlay {
    display: none;
}

/* 卡片链接 */
.match-card-link {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-decoration: none;
    color: inherit;
    padding: 25px 30px;
    position: relative;
    z-index: 2;
}

/* 中间信息区域 */
.match-card-info {
    flex: 1;
    display: none;
}

/* 右侧操作区域 */
.match-card-action {
    display: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .match-center-content {
        padding: 20px 15px;
    }

    .match-card {
        height: 150px;
    }

    .match-card-link {
        padding: 20px;
        gap: 15px;
    }

    .match-datetime {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .match-time {
        font-size: 18px;
    }

    .match-title {
        font-size: 16px;
    }

    .match-card-action {
        padding: 10px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .match-center-content {
        padding: 15px 10px;
    }

    .match-card {
        height: 120px;
    }

    .match-center-header .page-title {
        font-size: 24px;
    }

    .match-list-container {
        gap: 10px;
    }

    .match-card-link {
        padding: 15px;
        gap: 12px;
    }

    .match-card-info {
        gap: 6px;
    }

    .match-datetime {
        font-size: 12px;
    }

    .match-time {
        font-size: 16px;
    }

    .team-info {
        gap: 10px;
    }

    .match-title {
        font-size: 14px;
    }
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.match-card {
    animation: fadeInUp 0.5s ease-out;
}

.match-card:nth-child(1) { animation-delay: 0.1s; }
.match-card:nth-child(2) { animation-delay: 0.2s; }
.match-card:nth-child(3) { animation-delay: 0.3s; }
.match-card:nth-child(4) { animation-delay: 0.4s; }
.match-card:nth-child(5) { animation-delay: 0.5s; }
