/* 冠军红 主题 - 体育企业模板 (ty) */
:root {
    --ty-primary: #B91C1C;
    --ty-primary-dark: #7F1D1D;
    --ty-accent: #F59E0B;
    --ty-accent-dark: #D97706;
    --ty-hero-btn: #DC2626;
    --ty-hero-btn-hover: #7F1D1D;
    --ty-cta: #F59E0B;
    --ty-bg: #ffffff;
    --ty-sub-bg: #FEF2F2;
    --ty-text: #1F2937;
    --ty-text2: #6B7280;
    --ty-gradient1: #FEE2E2;
    --ty-gradient2: #FFFFFF;
    --ty-dark1: #450A0A;
    --ty-dark2: #7F1D1D;
    --ty-header-bg: #1A0A0A;
    --ty-update-grad: linear-gradient(135deg, #B91C1C, #7F1D1D);
    --ty-mission-grad: linear-gradient(to right, #450A0A, #7F1D1D);
    --ty-security-grad: linear-gradient(to bottom, #FDFDFD, #E9EEF3);
}

* { box-sizing: border-box; }
body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", "Noto Sans", Arial, sans-serif; color: var(--ty-text); background: var(--ty-bg); margin: 0; padding: 0; line-height: 1.65; }
a { color: var(--ty-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ty-primary-dark); }
img { max-width: 100%; display: block; }
.ty-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ============ Header (深色 sticky) ============ */
.ty-header { background: var(--ty-header-bg); padding: 14px 0; box-shadow: 0 2px 8px rgba(0,0,0,.15); position: sticky; top: 0; z-index: 100; }
.ty-header .ty-wrap { display: flex; align-items: center; justify-content: space-between; }
.ty-header .ty-logo-text { color: #fff; font-size: 22px; font-weight: 800; letter-spacing: .5px; }
.ty-header .ty-logo-text i { color: var(--ty-cta); margin-right: 6px; }
.ty-nav { display: flex; align-items: center; gap: 10px; }
.ty-nav a { color: #fff; font-weight: 500; font-size: 15px; padding: 8px 14px; border-radius: 6px; transition: all .2s; }
.ty-nav a:hover { color: var(--ty-cta); background: rgba(255,255,255,.10); }
.ty-nav a.ty-cta { background: var(--ty-cta); color: #1a1a1a; font-weight: 700; }
.ty-nav a.ty-cta:hover { background: var(--ty-accent-dark); color: #fff; }

/* ============ Hero (真实体育大图 + 遮罩) ============ */
.ty-hero { position: relative; min-height: 520px; display: flex; align-items: center; background: var(--ty-dark1); overflow: hidden; }
.ty-hero .ty-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.ty-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 55%, transparent 100%); }
.ty-hero .ty-wrap { position: relative; z-index: 2; color: #fff; }
.ty-hero h1 { font-size: 44px; font-weight: 800; margin: 0 0 16px; line-height: 1.18; }
.ty-hero h1 .ty-accent { color: var(--ty-cta); }
.ty-hero p { font-size: 18px; max-width: 620px; color: rgba(255,255,255,.9); margin: 0 0 28px; }
.ty-btn-hero { display: inline-block; padding: 14px 30px; background: var(--ty-hero-btn); color: #fff; font-weight: 700; border-radius: 10px; font-size: 17px; transition: all .2s; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.ty-btn-hero:hover { background: var(--ty-hero-btn-hover); color: #fff; transform: translateY(-2px); }
.ty-hero-tags { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.ty-hero-tags span { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); color: #fff; padding: 6px 14px; border-radius: 30px; font-size: 13px; }

/* ============ Section base ============ */
.ty-section { padding: 72px 0; }
.ty-section.alt { background: var(--ty-sub-bg); }
.ty-title { font-size: 32px; font-weight: 800; text-align: center; margin: 0 0 12px; color: var(--ty-primary); }
.ty-sub { text-align: center; color: var(--ty-text2); margin: 0 0 44px; font-size: 16px; }

/* ============ About (公司简介) ============ */
.ty-about .ty-row { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.ty-about .ty-about-txt { flex: 1 1 46%; }
.ty-about .ty-about-txt h2 { font-size: 30px; font-weight: 800; color: var(--ty-primary); margin: 0 0 16px; }
.ty-about .ty-about-txt p { color: var(--ty-text2); font-size: 16px; line-height: 1.9; margin: 0 0 14px; }
.ty-about .ty-about-img { flex: 1 1 46%; border-radius: 16px; overflow: hidden; box-shadow: 0 12px 32px rgba(0,0,0,.14); aspect-ratio: 16/10; }
.ty-about .ty-about-img img { width: 100%; height: 100%; object-fit: cover; }

/* ============ Services (核心业务 卡片) ============ */
.ty-services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.ty-service-card { background: #fff; padding: 32px 26px; border-radius: 14px; box-shadow: 0 4px 16px rgba(0,0,0,.06); border-top: 4px solid var(--ty-primary); transition: all .25s; }
.ty-service-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(0,0,0,.12); border-top-color: var(--ty-cta); }
.ty-service-card .ty-svc-icon { width: 62px; height: 62px; border-radius: 14px; background: linear-gradient(135deg, var(--ty-primary), var(--ty-primary-dark)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 18px; }
.ty-service-card h3 { font-size: 19px; font-weight: 700; margin: 0 0 10px; color: var(--ty-text); }
.ty-service-card p { font-size: 14px; color: var(--ty-text2); margin: 0; line-height: 1.7; }

/* ============ Stats (数据指标) ============ */
.ty-stats { background: var(--ty-update-grad); color: #fff; padding: 60px 0; }
.ty-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; text-align: center; }
.ty-stats-item .ty-stats-num { font-size: 44px; font-weight: 800; line-height: 1; }
.ty-stats-item .ty-stats-num i { font-size: 30px; margin-right: 6px; opacity: .9; }
.ty-stats-item .ty-stats-label { font-size: 15px; color: rgba(255,255,255,.85); margin-top: 10px; }

/* ============ News (体育资讯 带图卡片) ============ */
.ty-news-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.ty-news-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.07); transition: all .3s; display: flex; flex-direction: column; }
.ty-news-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(0,0,0,.12); }
.ty-news-card .ty-news-img { aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg, var(--ty-primary), var(--ty-primary-dark)); }
.ty-news-card .ty-news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ty-news-card:hover .ty-news-img img { transform: scale(1.06); }
.ty-news-card .ty-news-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.ty-news-card .ty-news-body h3 { font-size: 17px; font-weight: 700; margin: 0 0 10px; line-height: 1.5; }
.ty-news-card .ty-news-body h3 a { color: var(--ty-text); }
.ty-news-card .ty-news-body h3 a:hover { color: var(--ty-primary); }
.ty-news-card .ty-news-body p { font-size: 14px; color: var(--ty-text2); margin: 0 0 14px; flex: 1; }
.ty-news-meta { display: flex; gap: 14px; font-size: 12px; color: var(--ty-text2); }
.ty-news-meta i { color: var(--ty-primary); margin-right: 3px; }

/* ============ 栏目导航 (图片卡) ============ */
.ty-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.ty-cat-card { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.ty-cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ty-cat-card:hover img { transform: scale(1.08); }
.ty-cat-card .ty-cat-mask { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.78), transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; color: #fff; }
.ty-cat-card .ty-cat-mask h4 { margin: 0 0 4px; font-size: 20px; font-weight: 800; }
.ty-cat-card .ty-cat-mask span { font-size: 13px; color: rgba(255,255,255,.85); }

/* ============ Mission (品牌使命深色) ============ */
.ty-mission { background: var(--ty-mission-grad); color: #fff; }
.ty-mission .ty-row { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.ty-mission .ty-mission-txt { flex: 1 1 52%; }
.ty-mission .ty-mission-txt h2 { font-size: 30px; font-weight: 800; margin: 0 0 16px; }
.ty-mission .ty-mission-txt p { color: rgba(255,255,255,.85); margin: 0 0 18px; font-size: 16px; }
.ty-mission-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.ty-mission-list li { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 16px; }
.ty-mission-list li i { color: var(--ty-cta); font-size: 20px; }
.ty-mission .ty-mission-img { flex: 1 1 40%; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.ty-mission .ty-mission-img img { width: 100%; height: 100%; object-fit: cover; }

/* ============ CTA band ============ */
.ty-ctaband { background: var(--ty-cta); color: #1a1a1a; padding: 44px 0; }
.ty-ctaband .ty-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.ty-ctaband h2 { margin: 0; font-size: 26px; font-weight: 800; }
.ty-ctaband a { background: var(--ty-dark2); color: #fff; padding: 14px 30px; border-radius: 10px; font-weight: 700; font-size: 16px; }
.ty-ctaband a:hover { background: var(--ty-dark1); }

/* ============ 内页 Banner / 详情 ============ */
.ty-pagehead { background: var(--ty-update-grad); color: #fff; padding: 56px 0; text-align: center; }
.ty-pagehead h1 { margin: 0; font-size: 32px; font-weight: 800; }
.ty-pagehead p { margin: 10px 0 0; color: rgba(255,255,255,.85); }
.ty-detail { max-width: 860px; margin: 0 auto; }
.ty-detail h1.ty-detail-title { font-size: 30px; font-weight: 800; color: var(--ty-text); margin: 0 0 16px; line-height: 1.35; }
.ty-detail .ty-detail-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--ty-text2); font-size: 14px; padding-bottom: 18px; border-bottom: 1px solid #eef0f3; margin-bottom: 24px; }
.ty-detail .ty-detail-meta i { color: var(--ty-primary); margin-right: 4px; }
.ty-detail-body { font-size: 17px; line-height: 1.9; color: #374151; word-break: break-word; }
.ty-detail-body img { border-radius: 10px; margin: 16px auto; height: auto; }
.ty-back { display: inline-block; margin-top: 32px; padding: 10px 22px; background: var(--ty-primary); color: #fff; border-radius: 8px; }
.ty-back:hover { background: var(--ty-primary-dark); color: #fff; }

/* ============ Pagination / search / tags ============ */
.ty-page { display: flex; justify-content: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.ty-page a, .ty-page span { padding: 8px 14px; border: 1px solid #e5e7eb; border-radius: 8px; color: var(--ty-text2); font-size: 14px; }
.ty-page .active, .ty-page a:hover { background: var(--ty-primary); color: #fff; border-color: var(--ty-primary); }
.ty-searchbar { display: flex; gap: 10px; max-width: 620px; margin: 0 auto 36px; }
.ty-searchbar input { flex: 1; padding: 13px 18px; border: 1px solid #dee2e6; border-radius: 10px; font-size: 16px; }
.ty-searchbar button { padding: 13px 28px; background: var(--ty-primary); color: #fff; border: 0; border-radius: 10px; font-weight: 700; cursor: pointer; }
.ty-searchbar button:hover { background: var(--ty-primary-dark); }
.ty-tagcloud { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 860px; margin: 0 auto; }
.ty-tagcloud a { padding: 8px 18px; background: var(--ty-sub-bg); color: var(--ty-primary); border-radius: 24px; font-size: 14px; border: 1px solid transparent; }
.ty-tagcloud a:hover { background: var(--ty-primary); color: #fff; }

/* ============ Footer (深色 4 列) ============ */
.ty-footer { background: var(--ty-dark1); color: rgba(255,255,255,.7); padding: 56px 0 24px; }
.ty-footer .ty-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 32px; margin-bottom: 32px; }
.ty-footer h5 { color: #fff; font-size: 16px; font-weight: 700; margin: 0 0 16px; }
.ty-footer .ty-brand-text { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.ty-footer .ty-brand-text i { color: var(--ty-cta); margin-right: 6px; }
.ty-footer p { font-size: 14px; line-height: 1.8; margin: 0; }
.ty-footer ul { list-style: none; padding: 0; margin: 0; }
.ty-footer ul li { margin-bottom: 10px; }
.ty-footer ul li a { color: rgba(255,255,255,.68); font-size: 14px; }
.ty-footer ul li a:hover { color: var(--ty-cta); }
.ty-footer .ty-contact li { display: flex; gap: 10px; align-items: flex-start; }
.ty-footer .ty-contact i { color: var(--ty-cta); margin-top: 3px; }
.ty-footer .ty-copy { text-align: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.5); }

/* ============ Responsive ============ */
@media (max-width: 768px) {
    .ty-header .ty-wrap { flex-direction: column; gap: 12px; }
    .ty-nav { flex-wrap: wrap; justify-content: center; gap: 6px; }
    .ty-nav a { font-size: 13px; padding: 6px 10px; }
    .ty-hero { min-height: 420px; }
    .ty-hero h1 { font-size: 30px; }
    .ty-hero p { font-size: 15px; }
    .ty-about .ty-row, .ty-mission .ty-row { flex-direction: column; }
    .ty-title { font-size: 24px; }
    .ty-section { padding: 44px 0; }
    .ty-stats-item .ty-stats-num { font-size: 34px; }
    .ty-footer .ty-footer-grid { grid-template-columns: 1fr; }
    .ty-ctaband .ty-wrap { flex-direction: column; text-align: center; }
}
