* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, "Microsoft YaHei", sans-serif;
    background: #f7f8fb;
    color: #1f2937;
    font-size: 14px;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 1200px;
    margin: 0 auto;
}

/* header */
.site-header {
    background: #fff;
    border-bottom: 1px solid #edf0f5;
    position: sticky;
    top: 0;
    z-index: 30;
}

.header-inner {
    height: 66px;
    display: flex;
    align-items: center;
}

.logo {
    width: 190px;
}

.logo-text {
    color: #ff5b22;
    font-size: 28px;
    font-weight: 800;
    font-style: italic;
}

.nav {
    display: flex;
    gap: 34px;
    flex: 1;
}

.nav a {
    color: #374151;
    font-weight: 600;
    transition: 0.2s;
}

.nav a:hover,
.nav a.active {
    color: #ff5b22;
}

.search-box form {
    width: 320px;
    height: 42px;
    background: #f6f7fa;
    border: 1px solid #edf0f5;
    border-radius: 6px;
    display: flex;
    overflow: hidden;
}

.search-box input {
    flex: 1;
    border: 0;
    outline: none;
    background: transparent;
    padding: 0 15px;
    color: #666;
}

.search-box button {
    width: 70px;
    border: 0;
    background: #ff5b22;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

/* template cards */
.section-template {
    padding: 28px 0 34px;
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.template-card {
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 6px;
    overflow: hidden;
    transition: 0.25s;
}

.template-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.template-card .thumb {
    height: 130px;
    overflow: hidden;
    background: #eef1f5;
}

.template-card .thumb img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    object-position: top center;
    transition: 0.3s;
}

.template-card:hover .thumb img {
    transform: scale(1.05);
}

.card-body {
    padding: 15px;
}

.tag-line {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8b95a5;
    font-size: 12px;
    margin-bottom: 8px;
}

.tag-line i {
    width: 1px;
    height: 11px;
    background: #d8dde6;
}

.card-body h2 {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 8px;
    height: 44px;
    overflow: hidden;
}

.card-body h2 a:hover {
    color: #ff5b22;
}

.card-body p {
    color: #7b8494;
    font-size: 13px;
    height: 20px;
    overflow: hidden;
    margin-bottom: 14px;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 13px;
    color: #9aa2af;
    font-size: 12px;
}

.card-meta strong {
    color: #ff5b22;
    font-size: 20px;
    margin-right: auto;
}

/* section title */
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.section-title h2 {
    display: inline-flex;
    align-items: center;
    font-size: 24px;
    margin-right: 15px;
}

.section-title h2::before {
    content: "♛";
    color: #ff5b22;
    font-size: 22px;
    margin-right: 8px;
}

.section-title span {
    color: #8b95a5;
}

.more-link {
    color: #6b7280;
}

.more-link:hover {
    color: #ff5b22;
}

/* match */
.match-section {
    margin-top: 8px;
}

.match-layout {
    display: grid;
    grid-template-columns: 1.05fr 1.35fr;
    gap: 22px;
}

.match-main-card {
    min-height: 350px;
    border-radius: 8px;
    overflow: hidden;
    color: #fff;
    padding: 26px;
    position: relative;
    background-size: cover;
    background-position: center;
}

.match-main-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 14, 30, .2), rgba(4, 14, 30, .82));
}

.match-main-card > * {
    position: relative;
    z-index: 2;
}

.match-status {
    width: 54px;
    height: 30px;
    background: #ff2d2d;
    border-radius: 4px;
    text-align: center;
    line-height: 30px;
    font-weight: 700;
    margin-bottom: 26px;
}

.match-league,
.match-time {
    text-align: center;
    font-weight: 700;
    margin-bottom: 8px;
}

.match-time {
    color: #ffb49a;
}

.team-vs-big {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr 160px 1fr;
    align-items: center;
    text-align: center;
}

.team img {
    width: 92px;
    height: 92px;
    object-fit: contain;
    margin: 0 auto 12px;
}

.team span {
    font-size: 20px;
    font-weight: 700;
}

.score {
    font-size: 60px;
    font-weight: 800;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.score em {
    font-style: normal;
    color: #dbe5f4;
}

.orange-btn {
    width: 145px;
    height: 42px;
    background: #ff5b22;
    border-radius: 4px;
    display: block;
    text-align: center;
    line-height: 42px;
    margin: 28px auto 12px;
    color: #fff;
}

.stadium {
    text-align: center;
    color: #dce6f5;
}

.match-small-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.match-small-card {
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 8px;
    padding: 20px;
}

.small-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    color: #8b95a5;
}

.live-dot {
    background: #ff2d2d;
    color: #fff;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
}

.small-vs {
    display: grid;
    grid-template-columns: 1fr 105px 1fr;
    align-items: center;
    text-align: center;
}

.small-team img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    margin: 0 auto 8px;
}

.small-score {
    font-size: 26px;
    font-weight: 800;
}

.small-score p {
    font-size: 12px;
    color: #8b95a5;
    margin-top: 6px;
    font-weight: 400;
}

.small-btn {
    width: 100px;
    height: 32px;
    line-height: 30px;
    text-align: center;
    border: 1px solid #ffb399;
    color: #ff5b22;
    border-radius: 4px;
    display: block;
    margin: 18px auto 0;
}

/* schedule */
.schedule-section {
    margin-top: 26px;
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 8px;
    overflow: hidden;
}

.schedule-tabs {
    height: 58px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #edf0f5;
}

.schedule-tabs button {
    height: 58px;
    padding: 0 27px;
    background: #fff;
    border: 0;
    border-right: 1px solid #edf0f5;
    cursor: pointer;
    color: #4b5563;
}

.schedule-tabs button.active {
    background: #ff5b22;
    color: #fff;
}

.schedule-tabs span {
    margin-left: auto;
    padding-right: 25px;
    color: #6b7280;
}

.schedule-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}

.schedule-item {
    padding: 18px 14px;
    border-right: 1px solid #edf0f5;
    text-align: center;
}

.schedule-info span {
    display: block;
    color: #8b95a5;
    margin-bottom: 4px;
}

.schedule-info em {
    color: #6b7280;
    font-style: normal;
}

.schedule-teams {
    display: grid;
    grid-template-columns: 1fr 34px 1fr;
    align-items: center;
    margin: 16px 0;
}

.schedule-teams img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    margin: 0 auto 6px;
}

.schedule-teams p {
    font-size: 12px;
    color: #6b7280;
}

.schedule-teams strong {
    font-size: 18px;
}

.schedule-item a {
    color: #ff5b22;
    border: 1px solid #ffb399;
    padding: 5px 12px;
    border-radius: 3px;
    font-size: 12px;
}

/* news */
.news-section {
    padding: 34px 0 42px;
}

.news-tab button {
    border: 1px solid #edf0f5;
    background: #fff;
    padding: 9px 18px;
    cursor: pointer;
}

.news-tab button.active {
    background: #12213b;
    color: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.news-card {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 18px;
    background: #fff;
    border: 1px solid #edf0f5;
    padding: 14px;
    border-radius: 7px;
    margin-bottom: 18px;
}

.news-img {
    height: 110px;
    overflow: hidden;
    border-radius: 4px;
    background: #eef1f5;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content h3 {
    font-size: 17px;
    margin-bottom: 10px;
}

.news-content h3 a:hover {
    color: #ff5b22;
}

.news-content p {
    color: #6b7280;
    line-height: 1.7;
    height: 48px;
    overflow: hidden;
}

.news-meta {
    display: flex;
    gap: 18px;
    color: #9aa2af;
    font-size: 12px;
    margin-top: 12px;
}

.page-demo {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

.page-demo span,
.page-demo a {
    min-width: 34px;
    height: 34px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 4px;
    text-align: center;
    line-height: 34px;
}

.page-demo a.active {
    background: #ff5b22;
    color: #fff;
}

/* footer */
.footer {
    background: #fff;
    border-top: 1px solid #edf0f5;
    padding: 24px 0;
    text-align: center;
    color: #7b8494;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-bottom: 14px;
}

.footer-links a:hover {
    color: #ff5b22;
}

/* responsive */
@media (max-width: 1200px) {
    .container {
        width: 94%;
    }

    .template-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .schedule-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner {
        height: auto;
        padding: 15px 0;
        flex-wrap: wrap;
    }

    .logo {
        width: 100%;
        margin-bottom: 12px;
    }

    .nav {
        width: 100%;
        overflow-x: auto;
        gap: 20px;
        margin-bottom: 12px;
    }

    .search-box,
    .search-box form {
        width: 100%;
    }

    .template-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .match-layout,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .match-small-grid {
        grid-template-columns: 1fr;
    }

    .team-vs-big {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .score {
        font-size: 42px;
    }

    .schedule-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-card {
        grid-template-columns: 120px 1fr;
    }
}