/* ========================================
   Score Template - 体育比分风格
   ======================================== */

/* Reset & Base */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
body{
  font-family:"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  background:#0c1119;color:#cdd6e0;font-size:14px;line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
a{color:#34d399;text-decoration:none;transition:color .3s}
a:hover{color:#6ee7b7}
img{max-width:100%;height:auto;display:block}
ul,ol{list-style:none;padding:0;margin:0}
.container{max-width:1200px;margin:0 auto;padding:0 20px}

/* ========== Header ========== */
.score-header{
  position:fixed;top:0;left:0;width:100%;z-index:9999;
  background:rgba(12,17,25,0.95);backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(52,211,153,0.1);
}
.score-header .container{display:flex;align-items:center;justify-content:space-between;height:60px}
.score-header .logo-area{display:flex;align-items:center;flex-shrink:0}
.score-header .logo-area a{display:flex;align-items:center}
.score-header .logo-area img{height:36px;width:auto}
.score-header .logo-area .site-name{color:#e2e8f0;font-size:18px;font-weight:700;margin-left:10px;white-space:nowrap}

/* Nav */
.score-nav{display:flex;align-items:center;gap:2px}
.score-nav>li{position:relative}
.score-nav>li>a{
  display:block;color:#94a3b8;font-size:14px;padding:8px 14px;border-radius:6px;
  transition:all .3s;white-space:nowrap;font-weight:500;
}
.score-nav>li>a:hover,.score-nav>li.active>a{color:#34d399;background:rgba(52,211,153,0.08)}
.score-nav .dropdown{position:relative}
.score-nav .dropdown .dropdown-toggle::after{content:' ▾';font-size:10px;margin-left:3px}
.score-nav .dropdown .dropdown-menu{
  display:none;position:absolute;top:100%;left:0;background:#161e2a;
  min-width:160px;border-radius:8px;box-shadow:0 8px 30px rgba(0,0,0,0.5);
  padding:6px 0;z-index:10000;border:1px solid rgba(52,211,153,0.1);
}
.score-nav .dropdown:hover .dropdown-menu{display:block}
.score-nav .dropdown .dropdown-menu li a{
  display:block;padding:10px 18px;color:#94a3b8;font-size:14px;white-space:nowrap;transition:.2s;
}
.score-nav .dropdown .dropdown-menu li a:hover{color:#34d399;background:rgba(52,211,153,0.06)}

/* CTA */
.score-header .header-cta{display:flex;align-items:center;gap:10px;flex-shrink:0}

/* Buttons */
.sc-btn{
  display:inline-block;padding:9px 22px;border-radius:6px;font-size:14px;font-weight:600;
  text-align:center;cursor:pointer;transition:all .3s;border:none;white-space:nowrap;
}
.sc-btn-accent{
  background:linear-gradient(135deg,#10b981,#34d399);color:#0c1119;
  box-shadow:0 4px 16px rgba(16,185,129,0.25);
}
.sc-btn-accent:hover{transform:translateY(-2px);box-shadow:0 8px 25px rgba(16,185,129,0.4);color:#0c1119}
.sc-btn-outline{background:transparent;color:#34d399;border:1px solid rgba(52,211,153,0.4)}
.sc-btn-outline:hover{background:rgba(52,211,153,0.1);border-color:#34d399;color:#6ee7b7}
.sc-btn-orange{background:linear-gradient(135deg,#f59e0b,#f97316);color:#0c1119;box-shadow:0 4px 16px rgba(245,158,11,0.25)}
.sc-btn-orange:hover{transform:translateY(-2px);box-shadow:0 8px 25px rgba(245,158,11,0.4);color:#0c1119}
.sc-btn-lg{padding:14px 36px;font-size:16px;border-radius:8px}

/* Mobile Toggle */
.sc-menu-toggle{display:none;background:none;border:none;cursor:pointer;padding:8px}
.sc-menu-toggle span{display:block;width:24px;height:2px;background:#34d399;margin:5px 0;transition:.3s}

/* ========== Hero (Live Score style) ========== */
.sc-hero{
  position:relative;min-height:550px;
  background:linear-gradient(180deg,#0c1119 0%,#0f1b2d 50%,#0c1119 100%);
  display:flex;align-items:center;text-align:center;
  overflow:hidden;
}
.sc-hero::before{
  content:'';position:absolute;inset:0;
  background:radial-gradient(ellipse at 50% 0%,rgba(16,185,129,0.08) 0%,transparent 60%),
             radial-gradient(ellipse at 80% 100%,rgba(245,158,11,0.05) 0%,transparent 50%);
}
.sc-hero .hero-content{position:relative;z-index:2;max-width:1100px;margin:0 auto;padding:100px 24px 80px;display:flex;align-items:center;gap:40px}
.sc-hero .hero-text{flex:1;text-align:left}
.sc-hero .hero-img{flex-shrink:0}
.sc-hero .hero-img img{max-height:240px;width:auto;border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,0.4)}
.sc-hero .hero-live{
  display:inline-flex;align-items:center;gap:8px;padding:6px 16px;border-radius:20px;
  background:rgba(16,185,129,0.12);border:1px solid rgba(16,185,129,0.25);
  color:#34d399;font-size:13px;font-weight:600;margin-bottom:20px;
}
.sc-hero .hero-live .dot{width:8px;height:8px;background:#34d399;border-radius:50%;animation:pulse 1.5s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:0.3}}
.sc-hero .hero-content h1{font-size:48px;font-weight:800;color:#fff;margin-bottom:16px;line-height:1.2}
.sc-hero .hero-content h1 span{color:#34d399}
.sc-hero .hero-content .hero-desc{font-size:17px;color:#94a3b8;margin-bottom:36px;max-width:600px;margin-left:auto;margin-right:auto}
.sc-hero .hero-btns{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}

/* Score ticker */
.sc-ticker{
  background:rgba(22,30,42,0.9);border-top:1px solid rgba(52,211,153,0.15);
  border-bottom:1px solid rgba(52,211,153,0.15);padding:14px 0;
  overflow:hidden;position:relative;
}
.sc-ticker-track{display:flex;gap:40px;animation:ticker-scroll 20s linear infinite;width:fit-content}
.sc-ticker-track:hover{animation-play-state:paused}
.sc-ticker-item{display:flex;align-items:center;gap:10px;white-space:nowrap;flex-shrink:0}
.sc-ticker-item .t-score{font-weight:700;color:#34d399;font-size:16px}
.sc-ticker-item .t-vs{color:#64748b;font-size:13px}
.sc-ticker-item .t-team{color:#cdd6e0;font-size:14px}
@keyframes ticker-scroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* ========== Section Common ========== */
.sc-section{padding:80px 0}
.sc-section.bg-alt{background:rgba(22,30,42,0.5)}
.sc-section .section-header{text-align:center;margin-bottom:50px}
.sc-section .section-header .section-badge{
  display:inline-block;padding:5px 14px;border-radius:20px;
  background:rgba(52,211,153,0.1);color:#34d399;font-size:12px;font-weight:600;margin-bottom:14px;
}
.sc-section .section-header h2{font-size:34px;font-weight:700;color:#f1f5f9;margin-bottom:10px}
.sc-section .section-header .section-subtitle{font-size:15px;color:#64748b}

/* ========== Match Cards ========== */
.sc-matches-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.sc-match-card{
  background:#161e2a;border:1px solid rgba(255,255,255,0.04);border-radius:12px;
  padding:24px;transition:all .3s;position:relative;overflow:hidden;
}
.sc-match-card::after{
  content:'';position:absolute;left:0;top:0;bottom:0;width:3px;
  background:linear-gradient(180deg,#10b981,#34d399);
}
.sc-match-card:hover{border-color:rgba(52,211,153,0.15);box-shadow:0 8px 30px rgba(0,0,0,0.3)}
.sc-match-card .match-league{font-size:12px;color:#64748b;margin-bottom:12px;text-transform:uppercase}
.sc-match-card .match-teams{display:flex;align-items:center;gap:16px}
.sc-match-card .match-teams .team{flex:1;text-align:center}
.sc-match-card .match-teams .team .team-icon{
  width:100px;height:100px;border-radius:50%;margin:0 auto 8px;overflow:hidden;background:rgba(255,255,255,0.05);
}
.sc-match-card .match-teams .team .team-icon img{width:100%;height:100%;object-fit:cover}
.sc-match-card .match-teams .team .team-name{font-size:14px;color:#cdd6e0;font-weight:600}
.sc-match-card .match-teams .score-box{
  display:flex;align-items:center;gap:8px;flex-shrink:0;
}
.sc-match-card .match-teams .score-box .score{
  font-size:28px;font-weight:800;color:#34d399;line-height:1;
}
.sc-match-card .match-teams .score-box .score-divider{color:#64748b;font-size:20px}
.sc-match-card .match-teams .score-box .score-live{
  font-size:11px;color:#34d399;font-weight:600;margin-top:4px;text-align:center;
  animation:pulse 2s infinite;
}
.sc-match-card .match-meta{display:flex;justify-content:center;gap:20px;margin-top:14px;font-size:12px;color:#64748b}

/* ========== Sports Categories ========== */
.sc-sports-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.sc-sport-card{
  background:#161e2a;border:1px solid rgba(255,255,255,0.04);border-radius:12px;
  padding:28px 16px;text-align:center;transition:all .3s;cursor:pointer;
}
.sc-sport-card:hover{transform:translateY(-4px);border-color:rgba(52,211,153,0.2);box-shadow:0 10px 30px rgba(0,0,0,0.3)}
.sc-sport-card .sport-icon{width:160px;height:160px;margin:0 auto 14px;border-radius:14px;overflow:hidden}
.sc-sport-card .sport-icon img{width:100%;height:100%;object-fit:cover}
.sc-sport-card h4{font-size:16px;font-weight:600;color:#f1f5f9}
.sc-sport-card p{font-size:12px;color:#64748b;margin-top:4px}

/* ========== Features ========== */
.sc-features-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.sc-feature-card{
  background:linear-gradient(135deg,#161e2a,#1a2332);border:1px solid rgba(52,211,153,0.08);
  border-radius:14px;padding:36px 28px;text-align:center;transition:all .3s;
}
.sc-feature-card:hover{transform:translateY(-5px);border-color:rgba(52,211,153,0.25);box-shadow:0 12px 30px rgba(0,0,0,0.3)}
.sc-feature-card .f-icon{width:180px;height:180px;margin:0 auto 18px;border-radius:16px;overflow:hidden;background:rgba(52,211,153,0.08)}
.sc-feature-card .f-icon img{width:100%;height:100%;object-fit:cover}
.sc-feature-card h3{font-size:18px;font-weight:700;color:#f1f5f9;margin-bottom:8px}
.sc-feature-card p{font-size:14px;color:#94a3b8;line-height:1.6}

/* ========== News Grid ========== */
.sc-news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.sc-news-card{
  background:#161e2a;border-radius:10px;overflow:hidden;
  border:1px solid rgba(255,255,255,0.03);transition:all .3s;
}
.sc-news-card:hover{transform:translateY(-4px);box-shadow:0 10px 30px rgba(0,0,0,0.3);border-color:rgba(52,211,153,0.1)}
.sc-news-card .news-img{height:160px;overflow:hidden;background:rgba(0,0,0,0.2)}
.sc-news-card .news-img img{width:100%;height:100%;object-fit:cover;transition:.4s}
.sc-news-card:hover .news-img img{transform:scale(1.06)}
.sc-news-card .news-info{padding:18px}
.sc-news-card .news-info h4{font-size:16px;font-weight:600;color:#e2e8f0;margin-bottom:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sc-news-card .news-info .news-time{font-size:12px;color:#64748b}

/* ========== Partners ========== */
.sc-partners-wrap{overflow:hidden}
.sc-partners-track{display:flex;animation:partner-scroll 22s linear infinite;width:fit-content;gap:16px}
.sc-partners-track:hover{animation-play-state:paused}
.sc-partner-item{
  flex-shrink:0;background:rgba(22,30,42,0.7);border-radius:10px;
  padding:22px 28px;display:flex;align-items:center;justify-content:center;
  border:1px solid rgba(255,255,255,0.04);transition:.3s;min-width:160px;
}
.sc-partner-item:hover{background:rgba(52,211,153,0.05);border-color:rgba(52,211,153,0.2)}
.sc-partner-item img{height:160px;width:auto;object-fit:contain}
@keyframes partner-scroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* ========== FAQ ========== */
.sc-faq{max-width:800px;margin:0 auto}
.sc-faq-item{background:#161e2a;border-radius:10px;margin-bottom:10px;overflow:hidden;border:1px solid rgba(255,255,255,0.03)}
.sc-faq-item .faq-q{padding:16px 22px;font-size:15px;font-weight:600;color:#e2e8f0;cursor:pointer;display:flex;justify-content:space-between;align-items:center;transition:.3s}
.sc-faq-item .faq-q:hover{background:rgba(52,211,153,0.03)}
.sc-faq-item .faq-q::after{content:'+';font-size:18px;color:#34d399;transition:.3s}
.sc-faq-item.open .faq-q::after{content:'−'}
.sc-faq-item .faq-a{padding:0 22px;max-height:0;overflow:hidden;transition:.3s;color:#94a3b8;font-size:14px;line-height:1.7}
.sc-faq-item.open .faq-a{padding:0 22px 16px;max-height:240px}

/* ========== Footer ========== */
.sc-footer{background:#080d14;border-top:1px solid rgba(52,211,153,0.08);padding:50px 0 30px}
.sc-footer .footer-grid{display:grid;grid-template-columns:2fr 1fr;gap:40px;padding-bottom:30px;border-bottom:1px solid rgba(255,255,255,0.04);margin-bottom:30px}
.sc-footer h4{color:#e2e8f0;font-size:16px;margin-bottom:14px}
.sc-footer p,.sc-footer a{color:#64748b;font-size:14px;line-height:1.8}
.sc-footer a:hover{color:#34d399}
.sc-footer .flinks{display:flex;flex-wrap:wrap;gap:8px}
.sc-footer .flinks a{padding:5px 12px;border:1px solid rgba(255,255,255,0.06);border-radius:6px;font-size:13px}
.sc-footer .flinks a:hover{border-color:#34d399}
.sc-footer .footer-bottom{text-align:center;font-size:13px;color:#475569}
.sc-footer .footer-bottom a{color:#64748b}
.sc-footer .footer-bottom a:hover{color:#34d399}

/* ========== Inner Pages Common ========== */
.sc-row{display:flex;flex-wrap:wrap;margin:0 -15px}
.sc-main{flex:0 0 66.66%;max-width:66.66%;padding:0 15px}
.sc-side{flex:0 0 33.33%;max-width:33.33%;padding:0 15px}

.sc-card{background:#161e2a;border:1px solid rgba(255,255,255,0.03);border-radius:12px;margin-bottom:20px;overflow:hidden}
.sc-card-header{padding:18px 24px;border-bottom:1px solid rgba(255,255,255,0.04)}
.sc-card-header h2,.sc-card-header h3{margin:0;font-size:17px;font-weight:700;color:#e2e8f0}
.sc-card-body{padding:24px}

.sc-breadcrumb{padding:16px 0;font-size:13px;color:#64748b}
.sc-breadcrumb a{color:#94a3b8}
.sc-breadcrumb a:hover{color:#34d399}
.sc-breadcrumb span{margin:0 6px;color:#475569}

.sc-article-item{display:flex;gap:18px;padding:18px 0;border-bottom:1px solid rgba(255,255,255,0.03)}
.sc-article-item:last-child{border-bottom:none}
.sc-article-item .art-thumb{flex-shrink:0;width:190px;height:125px;border-radius:8px;overflow:hidden;background:rgba(0,0,0,0.3)}
.sc-article-item .art-thumb img{width:100%;height:100%;object-fit:cover;transition:.4s}
.sc-article-item .art-thumb:hover img{transform:scale(1.08)}
.sc-article-item .art-info{flex:1;min-width:0}
.sc-article-item .art-info h4{font-size:16px;font-weight:600;margin-bottom:6px}
.sc-article-item .art-info h4 a{color:#e2e8f0}
.sc-article-item .art-info h4 a:hover{color:#34d399}
.sc-article-item .art-info .art-desc{font-size:13px;color:#64748b;line-height:1.5;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-bottom:6px}
.sc-article-item .art-info .art-meta{font-size:12px;color:#475569}

.sc-list-item{padding:10px 0;border-bottom:1px solid rgba(255,255,255,0.02)}
.sc-list-item:last-child{border-bottom:none}
.sc-list-item a{display:block;color:#cbd5e1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.sc-list-item a:hover{color:#34d399}
.sc-list-item .lt{font-size:12px;color:#475569;margin-top:2px}

.sc-tags{display:flex;flex-wrap:wrap;gap:6px}
.sc-tags a{display:inline-block;padding:5px 12px;background:rgba(52,211,153,0.06);color:#94a3b8;border-radius:6px;font-size:12px;transition:.3s}
.sc-tags a:hover{background:rgba(52,211,153,0.18);color:#34d399}

.sc-pagination{display:flex;justify-content:center;gap:5px;padding:30px 0 10px;flex-wrap:wrap}
.sc-pagination a,.sc-pagination span{display:inline-block;padding:7px 13px;border-radius:6px;background:#161e2a;color:#94a3b8;font-size:13px;border:1px solid rgba(255,255,255,0.04);transition:.3s}
.sc-pagination a:hover{background:rgba(52,211,153,0.1);color:#34d399;border-color:rgba(52,211,153,0.2)}
.sc-pagination .active span{background:linear-gradient(135deg,#10b981,#34d399);color:#0c1119;border-color:transparent}
.sc-pagination .disabled span{color:#475569;cursor:not-allowed}

.sc-detail{margin-top:80px}
.sc-detail-body{font-size:15px;line-height:1.9;color:#cbd5e1;word-wrap:break-word}
.sc-detail-body img{max-width:100%;border-radius:8px;margin:18px 0}
.sc-detail-body h2,.sc-detail-body h3{margin:28px 0 14px;color:#f1f5f9}
.sc-detail-body p{margin-bottom:14px}
.sc-detail-body a{color:#34d399}
.sc-detail-body blockquote{border-left:3px solid #34d399;padding:12px 18px;margin:18px 0;background:rgba(52,211,153,0.03);border-radius:0 8px 8px 0;color:#94a3b8}
.sc-meta{display:flex;flex-wrap:wrap;gap:16px;font-size:13px;color:#64748b;padding-bottom:16px;border-bottom:1px solid rgba(255,255,255,0.04);margin-bottom:20px}
.sc-prev-next{display:flex;gap:16px;padding:18px 0;border-top:1px solid rgba(255,255,255,0.04);margin-top:28px}
.sc-prev-next>div{flex:1;min-width:0}
.sc-prev-next .lbl{font-size:12px;color:#475569;margin-bottom:4px}
.sc-prev-next a{color:#cbd5e1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:block}
.sc-prev-next a:hover{color:#34d399}

.sc-404{text-align:center;padding:120px 20px;min-height:60vh;display:flex;flex-direction:column;align-items:center;justify-content:center}
.sc-404 .code{font-size:140px;font-weight:900;background:linear-gradient(135deg,#10b981,#34d399);-webkit-background-clip:text;-webkit-text-fill-color:transparent;line-height:1}
.sc-404 .msg{font-size:18px;color:#94a3b8;margin:18px 0 32px}

.sc-search-header{position:fixed;top:0;left:0;right:0;background:rgba(12,17,25,0.95);z-index:9998;border-bottom:1px solid rgba(52,211,153,0.08);padding:12px 0;backdrop-filter:blur(12px)}
.sc-search-main{padding-top:70px}
.sc-tag-header{display:flex;align-items:center;gap:14px;padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid rgba(255,255,255,0.04)}
.sc-tag-header .tag-icon{width:48px;height:48px;background:rgba(52,211,153,0.08);border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:20px;color:#34d399;flex-shrink:0}
.sc-tag-header h2{font-size:19px;margin:0 0 3px;color:#e2e8f0}
.sc-tag-header p{font-size:13px;color:#64748b;margin:0}
.sc-content-body{font-size:15px;line-height:1.8;color:#cbd5e1}

/* ========== Responsive ========== */
@media(max-width:992px){
  .score-header .container{height:54px}
  .sc-menu-toggle{display:block}
  .score-nav{display:none;position:fixed;top:54px;left:0;right:0;bottom:0;background:#0c1119;flex-direction:column;padding:20px;overflow-y:auto;z-index:9998}
  .score-nav.open{display:flex}
  .score-nav>li>a{font-size:15px;padding:12px 16px}
  .score-nav .dropdown .dropdown-menu{position:static;background:rgba(255,255,255,0.02);box-shadow:none;border-radius:0;padding-left:20px}
  .score-nav .dropdown .dropdown-menu li a{color:#94a3b8}
  .score-header .header-cta{display:none}
  .sc-hero .hero-content h1{font-size:34px}
  .sc-hero .hero-content{flex-direction:column;text-align:center}
  .sc-hero .hero-text{text-align:center}
  .sc-hero .hero-img img{max-height:250px}
  .sc-hero .hero-btns{justify-content:center}
  .sc-matches-grid{grid-template-columns:1fr}
  .sc-features-grid{grid-template-columns:1fr 1fr}
  .sc-sports-grid{grid-template-columns:repeat(2,1fr)}
  .sc-news-grid{grid-template-columns:1fr 1fr}
  .sc-main,.sc-side{flex:0 0 100%;max-width:100%}
  .sc-article-item{flex-direction:column}
  .sc-article-item .art-thumb{width:100%;height:160px}
  .sc-footer .footer-grid{grid-template-columns:1fr}
  .sc-partner-item img{height:100px}
}

@media(max-width:576px){
  .sc-hero .hero-content h1{font-size:26px}
  .sc-hero .hero-content .hero-desc{font-size:14px}
  .sc-features-grid,.sc-sports-grid,.sc-news-grid{grid-template-columns:1fr}
  .sc-section{padding:50px 0}
  .sc-section .section-header h2{font-size:24px}
  .sc-section .section-header .section-subtitle{font-size:14px}
  .sc-partner-item{padding:14px 18px;min-width:120px}
  .sc-partner-item img{height:80px}
}
@media(max-width:768px){.score-nav{flex-wrap:wrap;gap:10px;justify-content:center;padding:12px 14px} .score-nav .score-brand{width:100%;justify-content:center} .score-nav .score-links{flex-wrap:wrap;justify-content:center;gap:4px;width:100%} .score-nav .score-links a{padding:5px 10px;font-size:11px}}
