/* 体育彩票站点 - 信任型信息门户 */
:root {
  --primary: #1a5fb4;
  --primary-dark: #0d47a1;
  --accent: #f5a623;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --success: #16a34a;
  --radius: 8px;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:'PingFang SC','Microsoft YaHei',sans-serif;color:var(--text-main);background:var(--bg-light);line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--primary);text-decoration:none;transition:color .2s}
a:hover{color:var(--primary-dark)}
.container{max-width:1200px;margin:0 auto;padding:0 1rem}

/* Header */
.site-header{background:var(--bg-card);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:100;box-shadow:var(--shadow)}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;max-width:1200px;margin:0 auto}
.header-logo{display:flex;align-items:center;gap:.75rem;font-weight:700;font-size:1.25rem;color:var(--primary)}
.header-logo img{height:40px;width:auto}
.main-nav{display:flex;gap:1.5rem}
.main-nav a{padding:.5rem 0;color:var(--text-main);font-weight:500;position:relative}
.main-nav a::after{content:'';position:absolute;bottom:-2px;left:0;width:0;height:2px;background:var(--primary);transition:width .3s}
.main-nav a:hover::after,.main-nav a[aria-current="page"]::after{width:100%}
.mobile-menu-btn{display:none;background:none;border:none;font-size:1.5rem;cursor:pointer;color:var(--text-main)}

/* Footer */
.site-footer{background:#1e293b;color:#94a3b8;padding:2rem 0;text-align:center;border-top:3px solid var(--primary)}
.site-footer .container{display:flex;flex-direction:column;gap:.5rem}
.footer-links{display:flex;justify-content:center;gap:1.5rem;flex-wrap:wrap}
.footer-links a{color:#94a3b8}
.footer-links a:hover{color:#fff}

/* Page Hero Banner */
.page-hero{background:linear-gradient(135deg,var(--primary) 0%,var(--primary-dark) 100%);color:#fff;padding:3rem 0;text-align:center}
.page-hero h1{font-size:1.75rem;font-weight:700;margin-bottom:.5rem}
.page-hero p{opacity:.9;font-size:1rem}

/* Breadcrumb */
.breadcrumb{padding:.75rem 0;font-size:.875rem;color:var(--text-muted);background:var(--bg-card);border-bottom:1px solid var(--border)}
.breadcrumb a{color:var(--text-muted)}
.breadcrumb span{margin:0 .25rem}

/* Article Layout */
.page-content{display:grid;grid-template-columns:1fr 300px;gap:2rem;padding:2rem 0;max-width:1200px;margin:0 auto}
.article-main{flex:1}
.article-sidebar{position:sticky;top:80px;height:fit-content}
.article-header{margin-bottom:1.5rem}
.article-header h1{font-size:1.5rem;color:var(--text-main);line-height:1.4;margin-bottom:.5rem}
.article-meta{font-size:.875rem;color:var(--text-muted);display:flex;gap:1rem;flex-wrap:wrap}
.article-body{font-size:1rem;line-height:1.8;color:var(--text-main)}
.article-body p{margin-bottom:1rem}
.article-body h2{font-size:1.25rem;color:var(--primary);margin:1.5rem 0 .75rem;padding-top:.5rem;border-top:1px solid var(--border)}
.article-body h3{font-size:1.1rem;margin:1rem 0 .5rem}
.article-body ul,.article-body ol{margin:.75rem 0 1rem 1.5rem}
.article-body li{margin-bottom:.5rem}
.article-body img{margin:1rem 0;border-radius:var(--radius);box-shadow:var(--shadow)}

/* Article Aside */
.article-aside{background:var(--bg-card);border-radius:var(--radius);padding:1.25rem;border:1px solid var(--border);margin-top:1.5rem}
.article-aside h3{font-size:1rem;color:var(--primary);margin-bottom:.75rem;padding-bottom:.5rem;border-bottom:2px solid var(--primary);display:inline-block}
.article-aside ul{list-style:none}
.article-aside li{margin-bottom:.75rem;padding-bottom:.75rem;border-bottom:1px solid var(--border)}
.article-aside li:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}
.article-aside a{color:var(--text-main);font-weight:500;display:block;line-height:1.4}
.article-aside a:hover{color:var(--primary)}
.article-aside .date{font-size:.75rem;color:var(--text-muted);margin-top:.25rem;display:block}

/* Category Grid */
.category-section{padding:2rem 0}
.category-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem}
.category-card{background:var(--bg-card);border-radius:var(--radius);padding:1.5rem;border:1px solid var(--border);transition:box-shadow .2s,transform .2s}
.category-card:hover{box-shadow:var(--shadow);transform:translateY(-2px)}
.category-card h3{color:var(--primary);margin-bottom:.5rem}
.category-card p{font-size:.9rem;color:var(--text-muted);margin-bottom:.75rem}
.category-card a{font-weight:600}

/* Article List in Category */
.article-list{list-style:none;margin-top:1rem}
.article-list li{padding:.75rem 0;border-bottom:1px solid var(--border)}
.article-list li:last-child{border-bottom:none}
.article-list a{color:var(--text-main);font-weight:500}
.article-list .date{font-size:.75rem;color:var(--text-muted);margin-left:.5rem}

/* Homepage Sections */
.home-section{padding:2.5rem 0}
.home-section:nth-child(even){background:var(--bg-card)}
.home-section h2{font-size:1.25rem;color:var(--primary);margin-bottom:1rem;padding-bottom:.5rem;border-bottom:2px solid var(--accent);display:inline-block}

/* Cards */
.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}
.card{background:var(--bg-card);border-radius:var(--radius);overflow:hidden;border:1px solid var(--border);transition:box-shadow .2s,transform .2s}
.card:hover{box-shadow:var(--shadow);transform:translateY(-3px)}
.card img{width:100%;height:180px;object-fit:cover}
.card-body{padding:1rem}
.card-body h3{font-size:1rem;margin-bottom:.5rem;color:var(--text-main)}
.card-body h3 a{color:var(--text-main)}
.card-body h3 a:hover{color:var(--primary)}
.card-body p{font-size:.875rem;color:var(--text-muted);line-height:1.5;margin-bottom:.75rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card-meta{font-size:.75rem;color:var(--text-muted);display:flex;justify-content:space-between}

/* FAQ Section */
.faq-item{border:1px solid var(--border);border-radius:var(--radius);margin-bottom:.75rem;overflow:hidden}
.faq-item summary{padding:1rem;background:var(--bg-card);font-weight:600;cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center}
.faq-item summary::after{content:'+';font-size:1.25rem;color:var(--primary)}
.faq-item[open] summary::after{content:'-'}
.faq-item p{padding:1rem;background:var(--bg-light);border-top:1px solid var(--border);font-size:.9rem;line-height:1.6}

/* CTA Banner */
.cta-banner{background:linear-gradient(135deg,var(--primary) 0%,var(--primary-dark) 100%);color:#fff;text-align:center;padding:2.5rem 1rem;border-radius:var(--radius);margin:1rem 0}
.cta-banner h2{font-size:1.25rem;margin-bottom:.5rem}
.cta-banner p{opacity:.9;margin-bottom:1rem}
.cta-btn{display:inline-block;background:var(--accent);color:#fff;padding:.75rem 2rem;border-radius:var(--radius);font-weight:700;text-decoration:none;transition:transform .2s,box-shadow .2s}
.cta-btn:hover{transform:scale(1.02);box-shadow:0 4px 12px rgba(0,0,0,.2);color:#fff}

/* Responsive */
@media (max-width:768px){
  .page-content{grid-template-columns:1fr;padding:1rem 0}
  .article-sidebar{position:static;margin-top:2rem}
  .main-nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--bg-card);flex-direction:column;padding:1rem;gap:1rem;border-bottom:1px solid var(--border);box-shadow:var(--shadow)}
  .main-nav.open{display:flex}
  .mobile-menu-btn{display:block}
  .card-grid{grid-template-columns:1fr}
  .header-inner{flex-wrap:wrap}
}
