* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; color: #333; background: #f5f6fa; line-height: 1.7; }
a { color: #e74c3c; text-decoration: none; transition: color .2s; }
a:hover { color: #c0392b; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.header { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: #fff; padding: 15px 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 15px rgba(0,0,0,.2); }
.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo h1 a { color: #fff; font-size: 24px; }
.logo h1 a:hover { color: #e74c3c; }
.tagline { color: #aaa; font-size: 13px; margin-top: 2px; }
.nav { display: flex; gap: 25px; align-items: center; }
.nav a { color: #ccc; font-size: 15px; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.active { color: #fff; border-bottom-color: #e74c3c; }
.btn-play { background: #e74c3c; color: #fff !important; padding: 8px 20px !important; border-radius: 25px; font-weight: 600; border: none !important; }
.btn-play:hover { background: #c0392b; }

/* Hero */
.hero { background: linear-gradient(135deg, #0f0c29, #302b63, #24243e); color: #fff; padding: 60px 0; text-align: center; }
.hero h2 { font-size: 32px; margin-bottom: 15px; }
.hero p { font-size: 16px; max-width: 700px; margin: 0 auto 25px; color: #ccc; }
.btn-primary { display: inline-block; background: #e74c3c; color: #fff; padding: 12px 35px; border-radius: 25px; font-size: 16px; font-weight: 600; transition: all .3s; }
.btn-primary:hover { background: #c0392b; transform: translateY(-2px); box-shadow: 0 5px 20px rgba(231,76,60,.4); }
.btn-block { display: block; text-align: center; }

/* Keywords Cloud */
.keywords-cloud { background: #fff; padding: 40px 0; border-bottom: 1px solid #eee; }
.section-title { font-size: 22px; text-align: center; margin-bottom: 30px; position: relative; padding-bottom: 12px; }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 50px; height: 3px; background: #e74c3c; border-radius: 2px; }
.keyword-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.keyword-tags a { background: #f0f2f5; color: #555; padding: 8px 18px; border-radius: 20px; font-size: 14px; transition: all .3s; border: 1px solid #e0e0e0; }
.keyword-tags a:hover { background: #e74c3c; color: #fff; border-color: #e74c3c; transform: translateY(-2px); }

/* Main Content */
.main { padding: 40px 0; }
.content-layout { display: grid; grid-template-columns: 1fr 300px; gap: 30px; }
.article-list { min-width: 0; }

/* Article Card */
.article-card { background: #fff; border-radius: 10px; overflow: hidden; margin-bottom: 20px; box-shadow: 0 2px 10px rgba(0,0,0,.06); transition: all .3s; border: 1px solid #eee; }
.article-card:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,.1); }
.article-card-body { padding: 20px; }
.article-card-body h3 { font-size: 18px; margin-bottom: 10px; line-height: 1.4; }
.article-card-body h3 a { color: #222; }
.article-card-body h3 a:hover { color: #e74c3c; }
.article-meta { font-size: 13px; color: #999; margin-bottom: 10px; display: flex; gap: 15px; }
.article-excerpt { font-size: 14px; color: #666; line-height: 1.7; margin-bottom: 12px; }
.article-link { color: #e74c3c; font-size: 14px; font-weight: 600; }

/* Sidebar */
.sidebar-widget { background: #fff; border-radius: 10px; padding: 20px; margin-bottom: 20px; box-shadow: 0 2px 10px rgba(0,0,0,.06); border: 1px solid #eee; }
.sidebar-widget h3 { font-size: 16px; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid #e74c3c; }
.game-list { list-style: none; }
.game-list li { padding: 8px 0; border-bottom: 1px solid #f5f5f5; }
.game-list li:last-child { border-bottom: none; }
.game-list a { color: #444; font-size: 14px; }
.game-list a:hover { color: #e74c3c; }
.cta-box { background: linear-gradient(135deg, #1a1a2e, #16213e); color: #fff; text-align: center; }
.cta-box h3 { color: #fff; border-bottom-color: #e74c3c; }
.cta-box p { color: #ccc; font-size: 14px; margin-bottom: 15px; }

/* Features */
.features { background: #fff; padding: 50px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.feature-card { text-align: center; padding: 30px 20px; border-radius: 10px; background: #f8f9fa; border: 1px solid #eee; transition: all .3s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.feature-icon { font-size: 40px; margin-bottom: 15px; }
.feature-card h3 { font-size: 17px; margin-bottom: 10px; }
.feature-card p { font-size: 13px; color: #666; }

/* Footer */
.footer { background: #1a1a2e; color: #aaa; padding: 30px 0; text-align: center; }
.footer-links { margin-bottom: 15px; display: flex; justify-content: center; gap: 20px; }
.footer-links a { color: #ccc; font-size: 14px; }
.footer-links a:hover { color: #e74c3c; }
.copyright { font-size: 13px; }

/* Article Detail */
.article-detail { background: #fff; border-radius: 10px; padding: 35px; box-shadow: 0 2px 10px rgba(0,0,0,.06); margin-bottom: 30px; }
.article-detail h1 { font-size: 26px; margin-bottom: 15px; line-height: 1.4; color: #222; }
.article-detail-meta { font-size: 14px; color: #999; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid #eee; display: flex; gap: 20px; }
.article-detail-content { font-size: 16px; line-height: 1.9; color: #444; }
.article-detail-content p { margin-bottom: 18px; }
.article-detail-content h2 { font-size: 20px; margin: 30px 0 15px; color: #222; }
.article-detail-content h3 { font-size: 18px; margin: 25px 0 12px; color: #333; }
.article-detail-content strong { color: #e74c3c; }
.article-detail-content ul, .article-detail-content ol { margin: 15px 0; padding-left: 25px; }
.article-detail-content li { margin-bottom: 8px; }
.cta-inline { background: linear-gradient(135deg, #e74c3c, #c0392b); color: #fff; padding: 25px; border-radius: 10px; text-align: center; margin: 30px 0; }
.cta-inline h3 { font-size: 20px; margin-bottom: 10px; }
.cta-inline p { margin-bottom: 15px; opacity: .9; }
.cta-inline .btn-primary { background: #fff; color: #e74c3c; }
.cta-inline .btn-primary:hover { background: #f0f0f0; }
.breadcrumb { font-size: 14px; color: #999; margin-bottom: 20px; }
.breadcrumb a { color: #666; }

/* Responsive */
@media (max-width: 768px) {
    .header .container { flex-direction: column; gap: 10px; }
    .nav { gap: 15px; }
    .hero h2 { font-size: 22px; }
    .hero p { font-size: 14px; }
    .content-layout { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .feature-card { padding: 20px 15px; }
    .article-detail { padding: 20px; }
    .article-detail h1 { font-size: 20px; }
    .article-detail-content { font-size: 15px; }
}
@media (max-width: 480px) {
    .feature-grid { grid-template-columns: 1fr; }
    .keyword-tags a { padding: 6px 12px; font-size: 13px; }
}
