/* ========== Reset & Base ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif; color: #333; background: #f5f5f5; line-height: 1.6; }
a { text-decoration: none; color: #333; transition: color .2s; }
a:hover { color: #e4393c; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
.clearfix::after { content: ""; display: table; clear: both; }

/* ========== Container ========== */
.container { width: 1200px; max-width: 100%; margin: 0 auto; padding: 0 15px; }

/* ========== Header ========== */
.site-header { background: #fff; border-bottom: 2px solid #e4393c; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.header-inner { display: flex; align-items: center; height: 60px; }
.logo { display: flex; align-items: center; gap: 8px; margin-right: 40px; flex-shrink: 0; }
.logo .logo-icon { width: 40px; height: 40px; background: linear-gradient(135deg, #e4393c, #ff6b35); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 900; font-size: 18px; }
.logo .logo-text { font-size: 20px; font-weight: 700; color: #e4393c; white-space: nowrap; }
.logo .logo-text span { color: #333; }

/* Nav */
.main-nav { display: flex; align-items: center; gap: 0; flex: 1; }
.main-nav a { display: block; padding: 0 18px; line-height: 60px; font-size: 16px; font-weight: 500; color: #333; position: relative; }
.main-nav a:hover, .main-nav a.active { color: #e4393c; }
.main-nav a.active::after { content: ""; position: absolute; bottom: 0; left: 18px; right: 18px; height: 3px; background: #e4393c; border-radius: 2px 2px 0 0; }
.nav-dropdown { position: relative; }
.nav-dropdown .dropdown-menu { display: none; position: absolute; top: 60px; left: 0; background: #fff; min-width: 140px; box-shadow: 0 4px 12px rgba(0,0,0,.12); border-radius: 0 0 4px 4px; z-index: 100; }
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { line-height: 40px; padding: 0 20px; font-size: 14px; white-space: nowrap; }
.dropdown-menu a:hover { background: #fef0f0; }

/* Header search */
.header-search { margin-left: auto; display: flex; align-items: center; }
.header-search input { border: 1px solid #ddd; border-radius: 20px 0 0 20px; padding: 6px 16px; font-size: 14px; outline: none; width: 200px; }
.header-search input:focus { border-color: #e4393c; }
.header-search button { background: #e4393c; color: #fff; border: none; padding: 7px 16px; border-radius: 0 20px 20px 0; cursor: pointer; font-size: 14px; }
.header-search button:hover { background: #c1272d; }

/* ========== Banner / Slider ========== */
.hero-section { margin-top: 20px; }
.hero-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 15px; }
.hero-main { position: relative; border-radius: 8px; overflow: hidden; height: 400px; }
.hero-main .slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s; }
.hero-main .slide.active { opacity: 1; }
.hero-main .slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-main .slide-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; background: linear-gradient(transparent, rgba(0,0,0,.8)); color: #fff; }
.hero-main .slide-caption h3 { font-size: 18px; margin-bottom: 4px; }
.hero-main .slide-dots { position: absolute; bottom: 12px; right: 20px; display: flex; gap: 6px; z-index: 10; }
.hero-main .slide-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; }
.hero-main .slide-dots span.active { background: #e4393c; }

.hero-side { display: flex; flex-direction: column; gap: 15px; }
.hero-side-item { flex: 1; position: relative; border-radius: 8px; overflow: hidden; }
.hero-side-item img { width: 100%; height: 100%; object-fit: cover; }
.hero-side-item .side-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 12px; background: linear-gradient(transparent, rgba(0,0,0,.8)); color: #fff; font-size: 14px; }

/* ========== Section Title ========== */
.section-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 3px solid #e4393c; }
.section-title h2 { font-size: 22px; color: #333; position: relative; padding-left: 12px; }
.section-title h2::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; background: #e4393c; border-radius: 2px; }
.section-title .more-link { color: #999; font-size: 14px; }
.section-title .more-link:hover { color: #e4393c; }

/* ========== Content Layout ========== */
.content-section { margin-top: 30px; }
.content-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }
.content-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.content-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ========== News List ========== */
.news-list .news-item { display: flex; gap: 15px; padding: 15px 0; border-bottom: 1px solid #eee; }
.news-list .news-item:last-child { border-bottom: none; }
.news-item .news-thumb { width: 200px; height: 120px; flex-shrink: 0; border-radius: 6px; overflow: hidden; }
.news-item .news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.news-item:hover .news-thumb img { transform: scale(1.05); }
.news-item .news-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.news-item .news-info h3 { font-size: 16px; margin-bottom: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item .news-info h3 a:hover { color: #e4393c; }
.news-item .news-meta { display: flex; gap: 15px; color: #999; font-size: 13px; }
.news-item .news-meta .tag { color: #e4393c; }
.news-item .news-desc { font-size: 14px; color: #666; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ========== Sidebar ========== */
.sidebar .sidebar-block { margin-bottom: 25px; background: #fff; border-radius: 8px; padding: 15px; }
.sidebar .sidebar-title { font-size: 16px; font-weight: 700; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid #e4393c; }
.sidebar .sidebar-list li { padding: 8px 0; border-bottom: 1px dashed #eee; }
.sidebar .sidebar-list li:last-child { border-bottom: none; }
.sidebar .sidebar-list li a { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.sidebar .sidebar-list li a:hover { color: #e4393c; }
.sidebar .hot-rank { counter-reset: rank; }
.sidebar .hot-rank li { counter-increment: rank; padding-left: 28px; position: relative; }
.sidebar .hot-rank li::before { content: counter(rank); position: absolute; left: 0; top: 8px; width: 20px; height: 20px; border-radius: 4px; background: #ddd; color: #fff; font-size: 12px; text-align: center; line-height: 20px; }
.sidebar .hot-rank li:nth-child(1)::before { background: #e4393c; }
.sidebar .hot-rank li:nth-child(2)::before { background: #ff6b35; }
.sidebar .hot-rank li:nth-child(3)::before { background: #ffaa00; }

/* ========== Review Cards ========== */
.review-card { background: #fff; border-radius: 8px; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.review-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.review-card .card-thumb { height: 180px; overflow: hidden; }
.review-card .card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.review-card:hover .card-thumb img { transform: scale(1.05); }
.review-card .card-body { padding: 12px 15px; }
.review-card .card-body h3 { font-size: 15px; margin-bottom: 6px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.review-card .card-body .card-desc { font-size: 13px; color: #666; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.review-card .card-body .card-meta { margin-top: 8px; font-size: 12px; color: #999; display: flex; justify-content: space-between; }
.review-card .card-score { display: inline-block; background: #e4393c; color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 13px; font-weight: 700; }

/* ========== Video Section ========== */
.video-card { position: relative; border-radius: 8px; overflow: hidden; background: #000; }
.video-card .video-thumb { height: 220px; overflow: hidden; }
.video-card .video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video-card .play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 50px; height: 50px; background: rgba(228,57,60,.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.video-card .play-btn::after { content: ""; border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 4px; }
.video-card .video-title { position: absolute; bottom: 0; left: 0; right: 0; padding: 12px; background: linear-gradient(transparent, rgba(0,0,0,.8)); color: #fff; font-size: 14px; }

/* ========== Hardware / Digital Section ========== */
.hardware-card { background: #fff; border-radius: 8px; overflow: hidden; transition: transform .3s; }
.hardware-card:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,.1); }
.hardware-card .hw-thumb { height: 160px; overflow: hidden; }
.hardware-card .hw-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hardware-card .hw-body { padding: 10px 12px; }
.hardware-card .hw-body h3 { font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hardware-card .hw-body p { font-size: 12px; color: #999; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ========== Footer ========== */
.site-footer { background: #2a2a2a; color: #aaa; margin-top: 40px; padding: 30px 0 20px; }
.footer-inner { display: grid; grid-template-columns: 200px 1fr 1fr 1fr; gap: 30px; }
.footer-logo .logo-text { font-size: 18px; color: #e4393c; font-weight: 700; margin-bottom: 8px; }
.footer-logo p { font-size: 13px; color: #888; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer-col a { display: block; font-size: 13px; color: #aaa; padding: 3px 0; }
.footer-col a:hover { color: #e4393c; }
.footer-bottom { text-align: center; padding-top: 20px; margin-top: 20px; border-top: 1px solid #444; font-size: 12px; color: #666; }
.footer-bottom a { color: #888; }

/* ========== Article Detail ========== */
.article-header { margin-bottom: 25px; }
.article-header h1 { font-size: 28px; line-height: 1.4; margin-bottom: 12px; }
.article-meta { display: flex; gap: 20px; color: #999; font-size: 14px; padding-bottom: 15px; border-bottom: 1px solid #eee; }
.article-content { background: #fff; border-radius: 8px; padding: 30px; }
.article-content p { font-size: 16px; line-height: 1.8; margin-bottom: 16px; color: #444; }
.article-content img { border-radius: 6px; margin: 20px auto; }
.article-content h2 { font-size: 22px; margin: 25px 0 15px; padding-left: 12px; border-left: 4px solid #e4393c; }
.article-content h3 { font-size: 18px; margin: 20px 0 10px; }
.article-content blockquote { background: #fef0f0; border-left: 4px solid #e4393c; padding: 15px 20px; margin: 15px 0; border-radius: 0 6px 6px 0; }

/* ========== Download Page ========== */
.download-hero { background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460); color: #fff; padding: 80px 0; text-align: center; margin-top: -20px; }
.download-hero h1 { font-size: 36px; margin-bottom: 15px; }
.download-hero p { font-size: 18px; color: #ccc; margin-bottom: 30px; }
.download-btns { display: flex; gap: 20px; justify-content: center; }
.download-btns .btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 32px; border-radius: 30px; font-size: 16px; font-weight: 600; transition: all .3s; }
.btn-ios { background: #fff; color: #333; }
.btn-ios:hover { background: #e4393c; color: #fff; }
.btn-android { background: #e4393c; color: #fff; }
.btn-android:hover { background: #c1272d; color: #fff; }
.download-features { padding: 60px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.feature-item { background: #fff; padding: 30px 20px; border-radius: 12px; }
.feature-item .feature-icon { width: 60px; height: 60px; margin: 0 auto 15px; background: linear-gradient(135deg, #e4393c, #ff6b35); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; color: #fff; }
.feature-item h3 { font-size: 18px; margin-bottom: 8px; }
.feature-item p { font-size: 14px; color: #666; }

/* ========== Breadcrumb ========== */
.breadcrumb { padding: 15px 0; font-size: 14px; color: #999; }
.breadcrumb a { color: #666; }
.breadcrumb a:hover { color: #e4393c; }
.breadcrumb span { margin: 0 6px; }

/* ========== Pagination ========== */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 30px; margin-bottom: 20px; }
.pagination a, .pagination span { display: inline-block; padding: 8px 14px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; }
.pagination a:hover { border-color: #e4393c; color: #e4393c; }
.pagination .current { background: #e4393c; color: #fff; border-color: #e4393c; }

/* ========== About / Contact ========== */
.info-page { background: #fff; border-radius: 8px; padding: 40px; margin-top: 20px; }
.info-page h1 { font-size: 28px; margin-bottom: 20px; color: #333; border-bottom: 2px solid #e4393c; padding-bottom: 10px; }
.info-page h2 { font-size: 20px; margin: 25px 0 10px; color: #e4393c; }
.info-page p { font-size: 15px; line-height: 1.8; margin-bottom: 12px; }
.info-page .contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }
.contact-card { background: #f9f9f9; padding: 20px; border-radius: 8px; border-left: 4px solid #e4393c; }
.contact-card h3 { font-size: 16px; margin-bottom: 8px; }
.contact-card p { font-size: 14px; color: #666; }

/* ========== Bounty Queen Special ========== */
.special-hero { background: linear-gradient(135deg, #1a0a2e, #2d1b69, #e4393c); padding: 80px 0; text-align: center; color: #fff; }
.special-hero h1 { font-size: 42px; text-shadow: 2px 2px 8px rgba(0,0,0,.5); margin-bottom: 15px; }
.special-hero p { font-size: 18px; color: rgba(255,255,255,.8); }
.game-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 30px; }
.game-info-card { background: #fff; border-radius: 12px; padding: 25px; }
.game-info-card h3 { font-size: 18px; margin-bottom: 12px; color: #e4393c; }
.game-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 20px; }
.stat-item { text-align: center; padding: 15px; background: #fef0f0; border-radius: 8px; }
.stat-item .stat-num { font-size: 28px; font-weight: 700; color: #e4393c; }
.stat-item .stat-label { font-size: 13px; color: #666; margin-top: 4px; }

/* ========== Back to Top ========== */
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 44px; height: 44px; background: #e4393c; color: #fff; border: none; border-radius: 8px; cursor: pointer; font-size: 18px; display: none; z-index: 999; box-shadow: 0 2px 8px rgba(0,0,0,.2); transition: opacity .3s; }
.back-to-top:hover { background: #c1272d; }

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .container { width: 100%; padding: 0 10px; }
  .header-inner { flex-wrap: wrap; height: auto; padding: 10px 0; }
  .main-nav { overflow-x: auto; }
  .main-nav a { padding: 0 12px; font-size: 14px; line-height: 40px; }
  .header-search { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-main { height: 250px; }
  .content-grid { grid-template-columns: 1fr; }
  .content-grid-3, .content-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .news-item .news-thumb { width: 120px; height: 80px; }
  .download-hero h1 { font-size: 24px; }
  .download-btns { flex-direction: column; align-items: center; }
  .feature-grid { grid-template-columns: 1fr; }
  .game-info-grid { grid-template-columns: 1fr; }
}
