/* ============================================
   足球直播 - 主样式表
   Design: 现代简约商务白色风格
   Brand Color: #ff6600 (活力橙)
   ============================================ */

/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif; color: #333; background: #fff; line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: color .2s; }
a:hover { color: #ff6600; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; color: #1a1a1a; }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.2rem; }
p { margin-bottom: 1rem; color: #555; }

/* Header */
.site-header { background: #1a1a2e; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.header-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 40px; width: auto; }
.logo-text { color: #fff; font-size: 1.4rem; font-weight: 700; }
.logo-text span { color: #ff6600; }
.header-contact { color: #ccc; font-size: .85rem; }
.header-contact a { color: #ff6600; }

/* Navigation */
.main-nav { background: #16213e; }
.nav-list { display: flex; align-items: center; gap: 0; }
.nav-list li a { display: block; padding: 14px 22px; color: #ddd; font-size: .95rem; transition: all .2s; position: relative; }
.nav-list li a:hover, .nav-list li a.active { color: #fff; background: #ff6600; }

/* Search Bar */
.search-bar { background: #f0f2f5; padding: 12px 0; border-bottom: 1px solid #e0e0e0; }
.search-form { display: flex; max-width: 600px; margin: 0 auto; }
.search-form input { flex: 1; padding: 10px 16px; border: 2px solid #e0e0e0; border-right: none; border-radius: 4px 0 0 4px; font-size: .95rem; outline: none; transition: border-color .2s; }
.search-form input:focus { border-color: #ff6600; }
.search-form button { padding: 10px 24px; background: #ff6600; color: #fff; border: none; border-radius: 0 4px 4px 0; font-size: .95rem; cursor: pointer; transition: background .2s; }
.search-form button:hover { background: #e55a00; }

/* Breadcrumb */
.breadcrumb { padding: 12px 0; font-size: .85rem; color: #888; }
.breadcrumb a { color: #666; }
.breadcrumb a:hover { color: #ff6600; }
.breadcrumb span { margin: 0 6px; color: #ccc; }

/* Hero Banner */
.hero-banner { position: relative; height: 420px; overflow: hidden; }
.hero-banner img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.3), rgba(0,0,0,.6)); display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-content h1 { color: #fff; font-size: 2.8rem; margin-bottom: 12px; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.hero-content p { color: #f0f0f0; font-size: 1.2rem; text-shadow: 0 1px 4px rgba(0,0,0,.5); }

/* Data Dashboard */
.data-dashboard { background: linear-gradient(135deg, #0a0e1a 0%, #16213e 100%); padding: 50px 0; }
.dashboard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.dash-item { text-align: center; padding: 30px 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; transition: transform .3s, box-shadow .3s; }
.dash-item:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(255,102,0,.2); }
.dash-number { font-size: 2.6rem; font-weight: 800; color: #ff6600; font-family: 'DIN Alternate', 'Courier New', monospace; margin-bottom: 8px; }
.dash-label { color: #aaa; font-size: .95rem; }
.dash-icon { font-size: 2rem; margin-bottom: 12px; }

/* Section Title */
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { position: relative; display: inline-block; padding-bottom: 12px; }
.section-title h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: #ff6600; border-radius: 2px; }
.section-title p { color: #888; margin-top: 12px; font-size: .95rem; }

/* Card Grid - 12宫格 */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 60px 0; }
.card-item { background: #fff; border-radius: 12px; padding: 30px 20px; text-align: center; border: 1px solid #f0f0f0; transition: transform .25s cubic-bezier(.23,1,.32,1), box-shadow .25s; cursor: pointer; }
.card-item:hover { transform: translateY(-8px); box-shadow: 0 12px 40px rgba(255,102,0,.15); }
.card-icon { width: 60px; height: 60px; margin: 0 auto 16px; background: linear-gradient(135deg, #fff5eb, #ffe0cc); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.card-item h4 { margin-bottom: 8px; font-size: 1.05rem; }
.card-item p { font-size: .85rem; color: #888; margin-bottom: 0; }

/* Video Cards */
.video-section { padding: 60px 0; background: #f8f9fa; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video-card { position: relative; border-radius: 12px; overflow: hidden; background: #000; cursor: pointer; aspect-ratio: 16/9; }
.video-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s, opacity .3s; }
.video-card:hover img { transform: scale(1.05); opacity: .7; }
.video-play-btn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s; }
.video-card:hover .video-play-btn { opacity: 1; }
.play-icon { width: 64px; height: 64px; background: rgba(255,102,0,.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.play-icon::after { content: ''; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.video-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px; background: linear-gradient(transparent, rgba(0,0,0,.8)); color: #fff; }
.video-info h4 { font-size: .95rem; color: #fff; margin-bottom: 4px; }
.video-info .meta { font-size: .8rem; color: #ccc; }

/* Video Modal */
.video-modal { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.85); align-items: center; justify-content: center; }
.video-modal.active { display: flex; }
.modal-content { background: #1a1a1a; border-radius: 12px; width: 90%; max-width: 800px; overflow: hidden; }
.modal-player { position: relative; aspect-ratio: 16/9; background: #000; display: flex; align-items: center; justify-content: center; }
.modal-player img { width: 100%; height: 100%; object-fit: cover; }
.player-controls { position: absolute; bottom: 0; left: 0; right: 0; padding: 12px 16px; background: linear-gradient(transparent, rgba(0,0,0,.9)); display: flex; align-items: center; gap: 12px; }
.btn-play-pause { width: 36px; height: 36px; background: #ff6600; border: none; border-radius: 50%; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.progress-bar { flex: 1; height: 4px; background: rgba(255,255,255,.3); border-radius: 2px; cursor: pointer; position: relative; }
.progress-fill { height: 100%; background: #ff6600; border-radius: 2px; width: 35%; transition: width .1s; }
.time-display { color: #fff; font-size: .8rem; min-width: 80px; }
.modal-info { padding: 20px; color: #ccc; }
.modal-info h3 { color: #fff; margin-bottom: 8px; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; background: rgba(255,255,255,.2); border: none; border-radius: 50%; color: #fff; font-size: 1.2rem; cursor: pointer; z-index: 10; transition: background .2s; }
.modal-close:hover { background: #ff6600; }

/* Expert Cards */
.expert-section { padding: 60px 0; }
.expert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.expert-card { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 24px; text-align: center; transition: transform .25s, box-shadow .25s; }
.expert-card:hover { transform: translateY(-6px); box-shadow: 0 10px 30px rgba(255,102,0,.12); }
.expert-avatar { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 16px; overflow: hidden; border: 3px solid #f0f0f0; }
.expert-avatar img { width: 100%; height: 100%; object-fit: cover; }
.expert-card h4 { margin-bottom: 4px; }
.expert-card .role { color: #ff6600; font-size: .85rem; margin-bottom: 8px; }
.expert-card .desc { font-size: .85rem; color: #888; margin-bottom: 16px; }
.expert-btn { display: inline-block; padding: 8px 20px; background: #ff6600; color: #fff; border-radius: 20px; font-size: .85rem; transition: background .2s, transform .15s; }
.expert-btn:hover { background: #e55a00; color: #fff; transform: scale(.97); }

/* FAQ Accordion */
.faq-section { padding: 60px 0; background: #f8f9fa; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid #eee; border-radius: 8px; margin-bottom: 12px; overflow: hidden; }
.faq-question { padding: 18px 24px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; font-weight: 600; color: #333; transition: background .2s; }
.faq-question:hover { background: #fafafa; }
.faq-arrow { transition: transform .3s; font-size: 1.2rem; color: #ff6600; }
.faq-item.active .faq-arrow { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.4,0,.2,1), padding .3s; }
.faq-item.active .faq-answer { max-height: 300px; padding: 0 24px 18px; }
.faq-answer p { color: #666; font-size: .95rem; margin-bottom: 0; }

/* Reviews */
.reviews-section { padding: 60px 0; }
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.review-card { background: #fff; border: 1px solid #f0f0f0; border-radius: 12px; padding: 24px; }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #ff6600, #ff9a56); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; }
.review-name { font-weight: 600; }
.review-stars { color: #ff6600; font-size: .9rem; }
.review-text { color: #555; font-size: .95rem; line-height: 1.7; }

/* Contact Section */
.contact-section { padding: 60px 0; background: #1a1a2e; color: #fff; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.contact-item h4 { color: #ff6600; margin-bottom: 12px; }
.contact-item p { color: #ccc; font-size: .9rem; }

/* Footer */
.site-footer { background: #0d1117; padding: 40px 0 20px; color: #999; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.footer-brand .logo-text { font-size: 1.2rem; margin-bottom: 12px; }
.footer-links h5 { color: #fff; margin-bottom: 12px; font-size: .95rem; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #888; font-size: .85rem; }
.footer-links a:hover { color: #ff6600; }
.footer-bottom { border-top: 1px solid #222; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; font-size: .8rem; }
.footer-qrcodes { display: flex; gap: 20px; }
.qrcode-item { text-align: center; }
.qrcode-item img { width: 80px; height: 80px; border-radius: 4px; margin-bottom: 4px; }
.qrcode-item span { font-size: .75rem; color: #888; }

/* Share Buttons */
.share-section { padding: 30px 0; text-align: center; }
.share-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 20px; font-size: .85rem; color: #fff; transition: transform .15s, opacity .2s; }
.share-btn:hover { transform: scale(.97); opacity: .9; color: #fff; }
.share-wechat { background: #07c160; }
.share-weibo { background: #e6162d; }
.share-douyin { background: #161823; }
.share-bilibili { background: #00a1d6; }

/* Page Content */
.page-content { padding: 40px 0; min-height: 400px; }
.page-content h2 { margin-bottom: 20px; }
.page-content p { margin-bottom: 16px; line-height: 1.8; }

/* Inner Page Styles */
.inner-hero { height: 260px; position: relative; overflow: hidden; border-radius: 0 0 20px 20px; }
.inner-hero img { width: 100%; height: 100%; object-fit: cover; }
.inner-hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; }
.inner-hero-overlay h1 { color: #fff; font-size: 2.2rem; }

/* Stats Row */
.stats-row { display: flex; gap: 20px; flex-wrap: wrap; margin: 20px 0; }
.stat-badge { background: #fff5eb; border: 1px solid #ffe0cc; border-radius: 8px; padding: 12px 20px; display: flex; align-items: center; gap: 8px; }
.stat-badge .num { font-size: 1.2rem; font-weight: 700; color: #ff6600; }
.stat-badge .label { font-size: .85rem; color: #888; }

/* Table Styles */
.data-table { width: 100%; border-collapse: collapse; margin: 20px 0; border-radius: 8px; overflow: hidden; }
.data-table th { background: #ff6600; color: #fff; padding: 12px 16px; text-align: left; font-size: .9rem; }
.data-table td { padding: 12px 16px; border-bottom: 1px solid #f0f0f0; font-size: .9rem; }
.data-table tr:hover td { background: #fff8f0; }

/* Team Cards */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 30px 0; }
.team-card { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 20px; text-align: center; transition: transform .2s, box-shadow .2s; }
.team-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(255,102,0,.1); }
.team-flag { font-size: 2.5rem; margin-bottom: 8px; }
.team-logo { margin-bottom: 12px; display: flex; justify-content: center; align-items: center; }
.team-logo img { width: 60px; height: 60px; border-radius: 50%; transition: transform .3s; }
.team-card:hover .team-logo img { transform: scale(1.1); }
.team-card h4 { margin-bottom: 4px; }
.team-card .rank { color: #ff6600; font-weight: 700; }

/* Timeline */
.timeline { position: relative; padding-left: 30px; margin: 30px 0; }
.timeline::before { content: ''; position: absolute; left: 10px; top: 0; bottom: 0; width: 2px; background: #ff6600; }
.timeline-item { position: relative; margin-bottom: 24px; padding-left: 20px; }
.timeline-item::before { content: ''; position: absolute; left: -24px; top: 6px; width: 12px; height: 12px; background: #ff6600; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 2px #ff6600; }
.timeline-item h4 { margin-bottom: 4px; }
.timeline-item p { font-size: .9rem; color: #666; margin-bottom: 0; }

/* Responsive */
@media (max-width: 1024px) {
  .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .header-top { flex-direction: column; gap: 8px; }
  .nav-list { flex-wrap: wrap; }
  .nav-list li a { padding: 10px 14px; font-size: .85rem; }
  .hero-banner { height: 280px; }
  .hero-content h1 { font-size: 1.8rem; }
  .dashboard-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .dash-number { font-size: 1.8rem; }
  .card-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .video-grid { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .card-grid { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.4rem; }
}

/* Animations */
@keyframes countUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { animation: fadeInUp .6s ease-out forwards; opacity: 0; }

/* Utility */
.text-orange { color: #ff6600; }
.bg-light { background: #f8f9fa; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.text-center { text-align: center; }
.hidden { display: none !important; }
