
/* style/main.css - 6686体育 (体育资讯站风格) */

/* Reset & base */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family: "Helvetica Neue", "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  background:#0b0b0b;color:#eee;line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

/* Container */
.container{width:92%;max-width:1200px;margin:0 auto}

/* Header */
.header{background:linear-gradient(90deg,#050505,#0f0f0f);border-bottom:1px solid rgba(255,255,255,0.03);position:sticky;top:0;z-index:100}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
.brand{font-weight:800;color:#ffd54a;font-size:1.35rem}
.brand small{color:#fff;font-weight:400;margin-left:8px;font-size:0.9rem}

/* Nav */
.nav{display:flex;gap:12px;align-items:center}
.nav a{color:#ddd;text-decoration:none;padding:8px 10px;border-radius:6px;font-weight:600}
.nav a:hover{background:rgba(255,255,255,0.02)}

/* Hero */
.hero{display:flex;align-items:center;gap:24px;padding:40px 0}
.hero .left{flex:1}
.hero h1{font-size:2rem;color:#fff;margin-bottom:8px}
.hero p{color:#cfcfcf;margin-bottom:16px}
.hero .cta{display:flex;gap:12px}
.btn{padding:10px 14px;border-radius:6px;font-weight:700;cursor:pointer;border:0}
.btn-primary{background:#ffd54a;color:#111}
.btn-outline{background:transparent;border:1px solid rgba(255,255,255,0.06);color:#ddd}

/* Right image */
.hero .right img{max-width:100%;border-radius:8px;box-shadow:0 12px 30px rgba(0,0,0,0.6)}

/* Layout sections */
.section{padding:34px 0;border-top:1px solid rgba(255,255,255,0.02)}
.section .title{color:#ffd54a;font-size:1.15rem;margin-bottom:12px}

/* Cards grid */
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.card{background:#0f0f0f;border-radius:8px;overflow:hidden;box-shadow:0 8px 24px rgba(0,0,0,0.6)}
.card img{width:100%;height:160px;object-fit:cover;display:block}
.card .body{padding:12px}
.card h3{font-size:1.05rem;color:#fff;margin-bottom:6px}
.card p{color:#cfcfcf;font-size:0.95rem}
.card .meta{color:#9f9f9f;font-size:0.85rem;margin-top:8px}

/* Article list */
.article-list{display:flex;flex-direction:column;gap:16px}
.article-item{display:flex;gap:12px;background:#0f0f0f;padding:12px;border-radius:8px;align-items:center}
.article-item img{width:260px;height:140px;object-fit:cover;border-radius:6px;flex-shrink:0}
.article-item .info h2{font-size:1.15rem;color:#fff;margin-bottom:6px}
.article-item .info p{color:#cfcfcf}

/* Article page */
.article-main{display:grid;grid-template-columns:1fr 320px;gap:24px;padding:24px 0}
.article-content{background:#0f0f0f;padding:22px;border-radius:8px}
.article-content h1{font-size:1.6rem;color:#fff;margin-bottom:10px}
.article-content .meta{color:#9f9f9f;margin-bottom:12px}
.article-content img{max-width:100%;border-radius:6px;margin:12px 0}
.article-content h2{color:#ffd54a;margin-top:14px}
.article-content p{color:#ddd;margin-bottom:12px}

/* Sidebar */
.sidebar .widget{background:#0f0f0f;padding:12px;border-radius:8px;color:#cfcfcf;margin-bottom:12px}
.sidebar .widget h4{color:#ffd54a;margin-bottom:8px}

/* Footer */
.footer{border-top:1px solid rgba(255,255,255,0.03);padding:20px 0;margin-top:24px;text-align:center;color:#9f9f9f;font-size:0.95rem}

/* Responsive */
@media (max-width:900px){
  .hero{flex-direction:column-reverse;text-align:center}
  .article-main{grid-template-columns:1fr;padding:18px 0}
  .nav a{display:none}
  .header-inner{padding:10px 0}
}
