/* ============================================
   pitchfeed theme.css
   1. 变量与基础
   ============================================ */
:root {
    --pf-primary: #0f766e;
    --pf-primary-2: #115e59;
    --pf-accent: #f59e0b;
    --pf-cta: #14b8a6;
    --pf-dark: #0b1f2a;
    --pf-dark-2: #16323f;
    --pf-head-bg: #0b1f2a;
    --pf-hero-grad: linear-gradient(90deg, rgba(11, 31, 42, .88) 0%, rgba(11, 31, 42, .55) 55%, rgba(11, 31, 42, .15) 100%);
    --pf-stats-grad: linear-gradient(135deg, #0b1f2a, #1e4d5c);
    --pf-dept-bg: linear-gradient(135deg, #0f766e, #0b1f2a);
    --pf-mission-bg: linear-gradient(135deg, #134e4a, #0b1f2a);
    --pf-cta-grad: linear-gradient(135deg, var(--pf-primary), var(--pf-cta));
    --pf-notice-grad: linear-gradient(135deg, #fbbf24, #f59e0b);
    --pf-soft: #f1f5f9;
    --pf-line: #e2e8f0;
    --pf-text: #1e293b;
    --pf-text-2: #64748b;
    --pf-radius: 14px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
    color: var(--pf-text);
    background: #fff;
    overflow-x: hidden;
}

img { max-width: 100%; }
a { color: var(--pf-primary); text-decoration: none; }
a:hover { color: var(--pf-primary-2); }
.text-white-75 { color: rgba(255, 255, 255, .75); }
.text-white-50 { color: rgba(255, 255, 255, .5); }
.bg-glass { background: rgba(255, 255, 255, .08); backdrop-filter: blur(6px); }
.icon-circle {
    width: 56px; height: 56px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--pf-cta); color: #fff; font-size: 1.35rem; flex-shrink: 0;
}
.icon-emoji { line-height: 1; }
section { position: relative; }
.eyebrow {
    display: inline-block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
    color: var(--pf-accent); font-weight: 700; margin-bottom: .5rem;
}
.section-title { font-weight: 800; letter-spacing: -.01em; }
.btn-primary { background: var(--pf-primary); border-color: var(--pf-primary); }
.btn-primary:hover { background: var(--pf-primary-2); border-color: var(--pf-primary-2); }
.text-primary { color: var(--pf-primary) !important; }
.bg-primary { background-color: var(--pf-primary) !important; }
.text-warning { color: var(--pf-accent) !important; }
.bg-warning { background-color: var(--pf-accent) !important; }

/* ============================================
   2. Header (HeaderSection)
   ============================================ */
.header { background: var(--pf-head-bg); box-shadow: 0 2px 16px rgba(0, 0, 0, .18); }
.header a { color: rgba(255, 255, 255, .82); }
.header a:hover { color: #fff; }
.header .nav-link { color: rgba(255, 255, 255, .82); font-weight: 500; padding: .35rem .1rem; }
.header .nav-link:hover, .header .nav-link.active { color: #fff; }
.header .brand-tag {
    font-size: .68rem; letter-spacing: .16em; color: rgba(255, 255, 255, .55);
    text-transform: uppercase; display: block; margin-top: 2px;
}
.header .btn-login {
    background: linear-gradient(135deg, var(--pf-accent), #f7c948);
    color: var(--pf-dark); border: none; font-weight: 700;
}
.header .btn-login:hover { filter: brightness(1.06); color: var(--pf-dark); }
.header .search-mini .form-control {
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18);
    color: #fff; border-radius: 999px; padding-left: 1rem; min-width: 180px;
}
.header .search-mini .form-control::placeholder { color: rgba(255, 255, 255, .5); }
.header .search-mini .btn { color: #fff; }

/* ============================================
   3. Hero (HeroSection)
   ============================================ */
.hero-section {
    min-height: 380px; background-size: cover; background-position: center;
    display: flex; align-items: center; color: #fff;
}
.hero-section::before {
    content: ""; position: absolute; inset: 0; background: var(--pf-hero-grad);
}
.hero-section > .container { position: relative; z-index: 2; }
.hero-section h1, .hero-section h2 { font-weight: 800; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.hero-section .lead { color: rgba(255, 255, 255, .78); }
.hero-content { max-width: 660px; }
.hero-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center; }
.hero-split-text { max-width: 640px; }
.hero-split-img { border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.hero-split-img img { display: block; width: 100%; height: 100%; max-height: 320px; object-fit: cover; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-buttons .btn { white-space: nowrap; font-weight: 600; }
.hero-points { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: .9rem; color: rgba(255, 255, 255, .7); }
.hero-points span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-mini { min-height: 240px; }

/* ============================================
   4. Notice Bar (NoticeBarSection)
   ============================================ */
.notice-bar-floating { z-index: 1040; background: var(--pf-notice-grad); }
.notice-bar-floating .notice-inner {
    display: flex; align-items: center; gap: .75rem; border-radius: 999px;
    padding: .55rem 1.1rem; color: #1e293b; font-weight: 500;
    background: rgba(255, 255, 255, .22); box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}
.notice-bar-floating a { color: #1e293b; }
.notice-bar-floating .notice-close { background: none; border: 0; color: #1e293b; opacity: .55; padding: 0; }
.notice-marquee { overflow: hidden; flex: 1 1 auto; }
.notice-track { display: flex; width: max-content; animation: pf-marquee 60s linear infinite; will-change: transform; transform: translateZ(0); }
.notice-track:hover { animation-play-state: paused; }
.notice-item { white-space: nowrap; padding-right: 2.5rem; font-size: .9rem; }

/* ============================================
   5. Breadcrumb (BreadcrumbSection)
   ============================================ */
.breadcrumb-nav { background: var(--pf-soft); border-bottom: 1px solid var(--pf-line); }
.breadcrumb { margin-bottom: 0; }
.breadcrumb-nav .breadcrumb-item a { color: var(--pf-text-2); }
.breadcrumb-nav .breadcrumb-item.active { color: var(--pf-text); }

/* ============================================
   6. Why Us (WhyUsSection)
   ============================================ */
.why-us-section { background: var(--pf-soft); }
.whyus-card {
    background: #fff; border-radius: var(--pf-radius); padding: 1.75rem; height: 100%;
    box-shadow: 0 6px 20px rgba(15, 23, 42, .06); border-top: 3px solid transparent;
    transition: transform .2s ease, box-shadow .2s ease;
}
.whyus-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15, 23, 42, .12); }
.whyus-card .num { font-size: .8rem; font-weight: 800; color: var(--pf-accent); letter-spacing: .1em; }

/* ============================================
   7. About (AboutSection)
   ============================================ */
.about-section { background: #fff; }
.about-img-wrap { border-radius: 18px; overflow: hidden; box-shadow: 0 16px 36px rgba(15, 23, 42, .16); }
.about-img-wrap img { display: block; width: 100%; height: 100%; max-height: 340px; object-fit: cover; }
.about-card {
    background: var(--pf-soft); border-radius: var(--pf-radius); padding: 1.25rem; height: 100%;
    border-left: 3px solid var(--pf-primary);
}

/* ============================================
   8. Departments (DepartmentsSection)
   ============================================ */
.departments-section { background: var(--pf-dept-bg); color: #fff; }
.departments-title { font-size: 1.85rem; font-weight: 800; }
.departments-subtitle { color: rgba(255, 255, 255, .7); }
.departments-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.departments-grid .d-left, .departments-grid .d-right { display: flex; flex-direction: column; gap: 1.25rem; }
.d-item { background: rgba(255, 255, 255, .07); border-radius: var(--pf-radius); padding: 1.25rem 1.4rem; }
.d-num { font-weight: 800; color: var(--pf-accent); margin-bottom: .4rem; display: flex; align-items: baseline; gap: .6rem; }
.d-num span { color: #fff; font-size: 1.05rem; }
.d-image { border-radius: 18px; overflow: hidden; }
.d-image img { display: block; width: 100%; height: 100%; max-height: 260px; object-fit: cover; }

/* ============================================
   9. Stats (StatsSection)
   ============================================ */
.stats-section { background: var(--pf-stats-grad); color: #fff; }
.stats-card h3, .stats-section .fs-3 { color: var(--pf-accent); font-weight: 800; }
.stats-grid { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 1.5rem; text-align: center; }

/* ============================================
   10. Honor (HonorSection)
   ============================================ */
.honor-section { background: #fff; }
.honor-list { position: relative; }
.honor-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: center; margin-bottom: 1.5rem; }
.honor-text-card {
    background: var(--pf-soft); border-radius: var(--pf-radius); padding: 1.5rem;
    border-left: 4px solid var(--pf-primary); height: 100%;
}
.honor-img-card { border-radius: var(--pf-radius); overflow: hidden; }
.honor-img-card img { display: block; width: 100%; height: 100%; max-height: 200px; object-fit: cover; }

/* ============================================
   11. Mission (MissionSection)
   ============================================ */
.mission-section { background: var(--pf-mission-bg); color: #fff; }
.mission-list { list-style: none; padding: 0; }
.mission-list li { padding: .45rem 0; }

/* ============================================
   12. News (NewsSection)
   ============================================ */
.news-section { background: var(--pf-soft); }
.news-card {
    background: #fff; border-radius: var(--pf-radius); overflow: hidden; height: 100%;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .07); display: flex; flex-direction: column;
}
.news-card .news-body { padding: 1.1rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.news-card h3 { font-size: 1.02rem; font-weight: 700; line-height: 1.5; }
.news-card h3 a { color: var(--pf-text); }
.news-card h3 a:hover { color: var(--pf-primary); }
.news-img-wrap { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--pf-soft); }
.news-img-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; }
.news-meta { color: var(--pf-text-2); font-size: .82rem; }
.news-timeline { position: relative; padding-left: 0; }
.news-timeline::before {
    content: ""; position: absolute; left: 20px; top: 0; bottom: 0; width: 3px; background: var(--pf-line);
}
.timeline-item { display: flex; gap: 1.25rem; position: relative; margin-bottom: 1.25rem; }
.timeline-dot {
    width: 42px; height: 42px; border-radius: 50%; background: var(--pf-primary); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; z-index: 1;
}
.timeline-card { background: #fff; border-radius: var(--pf-radius); box-shadow: 0 6px 18px rgba(15, 23, 42, .07); padding: 1rem; flex: 1 1 auto; }
.timeline-card img { width: 100px; height: 75px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }

/* ============================================
   13. Matches (MatchesSection)
   ============================================ */
.matches-section { background: #fff; border-top: 1px solid var(--pf-line); border-bottom: 1px solid var(--pf-line); }
.match-scroll { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
.match-card {
    flex: 0 0 auto; min-width: 210px; scroll-snap-align: start; background: var(--pf-soft);
    border-radius: var(--pf-radius); padding: 1rem; text-align: center; border: 1px solid var(--pf-line);
}
.match-card .score { font-weight: 800; letter-spacing: .04em; }
.match-card .team { font-size: .9rem; font-weight: 600; }

/* ============================================
   14. Trust (TrustSection)
   ============================================ */
.trust-section { background: var(--pf-soft); }
.trust-card {
    background: #fff; border: 1px solid var(--pf-line); border-radius: var(--pf-radius);
    padding: 1rem 1.25rem; display: flex; align-items: center; gap: .85rem; height: 100%;
}
.trust-card i { color: var(--pf-primary); font-size: 1.2rem; }

/* ============================================
   15. Partners (PartnersSection)
   ============================================ */
.partners-section { background: #fff; }
.partner-card {
    background: var(--pf-soft); border-radius: var(--pf-radius); padding: 1rem 1.25rem;
    display: flex; gap: .9rem; align-items: center; height: 100%;
}

/* ============================================
   16. Testimonials (TestimonialsSection)
   ============================================ */
.testimonials-section { background: var(--pf-soft); }
.testimonial-card {
    background: #fff; border-radius: var(--pf-radius); padding: 1.5rem; height: 100%;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .06); border-left: 4px solid var(--pf-accent);
}
.testimonial-card cite { font-style: normal; color: var(--pf-text-2); }

/* ============================================
   17. CTA Banner (CtaBannerSection)
   ============================================ */
.cta-banner-section { background: var(--pf-cta-grad); color: #fff; }
.cta-inner { max-width: 760px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.cta-banner-section .btn-warning { background: var(--pf-accent); border-color: var(--pf-accent); color: #1e293b; font-weight: 700; }

/* ============================================
   18. Footer (FooterSection)
   ============================================ */
.footer { background: var(--pf-dark); color: rgba(255, 255, 255, .7); position: relative; }
.footer a { color: rgba(255, 255, 255, .62); }
.footer a:hover { color: #fff; }
.footer .footer-logo { height: 52px; }
.footer-copyright { color: rgba(255, 255, 255, .45); font-size: .82rem; }
.footer-beian { font-size: .78rem; color: rgba(255, 255, 255, .4); }
.footer-tags a {
    display: inline-block; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .72);
    border-radius: 999px; padding: .25rem .8rem; font-size: .82rem; margin: 0 .35rem .5rem 0;
}
.footer-tags a:hover { background: var(--pf-primary); color: #fff; }
.pf-backtop {
    position: fixed; right: 18px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%;
    background: var(--pf-primary); color: #fff; display: inline-flex; align-items: center;
    justify-content: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .22); z-index: 1080;
}
.pf-backtop:hover { background: var(--pf-primary-2); color: #fff; }
