/* ========== Reset & Base ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif; background: #f5f5f5; color: #333; line-height: 1.6; }
a { color: #333; text-decoration: none; transition: color 0.2s; }
a:hover { color: #1a73e8; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* ========== Top Bar ========== */
.top-bar { background: #2c3e50; color: #ecf0f1; font-size: 13px; padding: 6px 0; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-update { color: #e74c3c; font-weight: bold; }
.top-links a { color: #bdc3c7; margin-left: 15px; }
.top-links a:hover { color: #fff; }

/* ========== Header ========== */
.header { background: #fff; padding: 15px 0; border-bottom: 2px solid #1a73e8; }
.header .container { display: flex; justify-content: space-between; align-items: center; }
.site-logo { font-size: 28px; font-weight: bold; color: #1a73e8; }
.site-domain { font-size: 14px; color: #888; margin-left: 8px; }
.header-search { display: flex; }
.search-input { width: 280px; height: 36px; border: 2px solid #1a73e8; border-right: none; padding: 0 12px; font-size: 14px; border-radius: 4px 0 0 4px; outline: none; }
.search-btn { height: 36px; padding: 0 20px; background: #1a73e8; color: #fff; border: 2px solid #1a73e8; font-size: 14px; cursor: pointer; border-radius: 0 4px 4px 0; }

/* ========== Main Nav ========== */
.main-nav { background: #1a73e8; }
.main-nav .container { display: flex; }
.nav-item { color: #fff; padding: 10px 20px; font-size: 15px; }
.nav-item:hover, .nav-item.active { background: #1558b0; }

/* ========== Hot Apps ========== */
.hot-apps { background: #fff; padding: 10px 0; border-bottom: 1px solid #eee; }
.hot-apps .container { display: flex; gap: 10px; flex-wrap: wrap; }
.hot-app-item { padding: 5px 14px; background: #f0f0f0; border-radius: 3px; font-size: 13px; color: #555; }
.hot-app-item:hover { background: #e8f0fe; color: #1a73e8; }

/* ========== Breadcrumb ========== */
.breadcrumb { background: #fff; padding: 10px 0; font-size: 13px; color: #888; }
.breadcrumb a { color: #555; }
.breadcrumb a:hover { color: #1a73e8; }
.breadcrumb strong { color: #333; }

/* ========== Main Content ========== */
.main-content { display: flex; gap: 20px; margin-top: 15px; }
.content-left { flex: 1; min-width: 0; }
.content-right { width: 300px; }

/* ========== App Title ========== */
.app-title { font-size: 24px; font-weight: bold; color: #333; padding: 15px 0 10px; }

/* ========== App Detail Card ========== */
.app-detail-card { background: #fff; padding: 20px; border-radius: 8px; display: flex; gap: 25px; margin-bottom: 15px; }
.app-icon-area { text-align: center; width: 120px; }
.app-icon-box { width: 100px; height: 100px; background: #f0f0f0; border-radius: 20px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; overflow: hidden; }
.app-icon-box img { width: 100%; height: 100%; }
.app-name { font-size: 16px; color: #333; }
.app-download-area { flex: 1; }
.download-row { display: flex; gap: 15px; margin-bottom: 10px; }
.download-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 160px; padding: 12px; border-radius: 8px; text-decoration: none; }
.pc-btn { background: #1a73e8; color: #fff; }
.pc-btn:hover { background: #1558b0; color: #fff; }
.android-btn { background: #34a853; color: #fff; }
.android-btn:hover { background: #2d8e47; color: #fff; }
.btn-label { font-size: 16px; font-weight: bold; }
.btn-sub { font-size: 12px; opacity: 0.8; margin-top: 3px; }
.app-stats { display: flex; gap: 15px; font-size: 14px; color: #888; }
.stat-item em { color: #1a73e8; font-weight: bold; font-style: normal; }

/* ========== Guess Like ========== */
.guess-like { background: #fff; padding: 15px; border-radius: 8px; margin-bottom: 15px; }
.section-title { font-size: 18px; font-weight: bold; color: #333; padding-bottom: 10px; border-bottom: 2px solid #1a73e8; margin-bottom: 10px; }
.guess-list { list-style: none; }
.guess-list li { padding: 8px 0; border-bottom: 1px dashed #eee; font-size: 14px; }
.guess-list li:last-child { border-bottom: none; }
.guess-list li a { color: #555; }
.guess-list li a:hover { color: #1a73e8; }

/* ========== App Info Table ========== */
.app-info-table { background: #fff; padding: 15px; border-radius: 8px; margin-bottom: 15px; }
.app-info-table table { width: 100%; border-collapse: collapse; }
.app-info-table td { padding: 8px 10px; font-size: 14px; border: 1px solid #eee; }
.info-label { color: #888; width: 70px; }

/* ========== Tab Nav ========== */
.tab-nav { display: flex; gap: 0; margin-bottom: 15px; background: #fff; border-radius: 8px 8px 0 0; overflow: hidden; }
.tab-item { padding: 10px 25px; font-size: 15px; color: #555; cursor: pointer; border-bottom: 2px solid transparent; }
.tab-item.active { color: #1a73e8; border-bottom: 2px solid #1a73e8; background: #e8f0fe; }

/* ========== Screenshots ========== */
.app-screenshots { background: #fff; padding: 15px; border-radius: 8px; margin-bottom: 15px; }
.sub-title { font-size: 16px; font-weight: bold; color: #333; padding-bottom: 8px; border-bottom: 2px solid #1a73e8; margin-bottom: 12px; }
.screenshots-grid { display: flex; gap: 10px; flex-wrap: wrap; }
.shot-item { width: calc(33% - 10px); text-align: center; }
.shot-item img { height: 200px; object-fit: cover; border-radius: 6px; background: #f0f0f0; }
.shot-item span { font-size: 12px; color: #888; display: block; margin-top: 5px; }

/* ========== Content Detail ========== */
.content-detail { background: #fff; padding: 15px; border-radius: 8px; margin-bottom: 15px; }
.detail-text { font-size: 14px; line-height: 1.8; color: #555; }
.detail-text p { margin-bottom: 12px; }

/* ========== App Intro ========== */
.app-intro { background: #fff; padding: 15px; border-radius: 8px; margin-bottom: 15px; }
.intro-list p { font-size: 14px; padding: 8px 0; border-bottom: 1px dashed #eee; line-height: 1.6; }

/* ========== Version Features ========== */
.version-features { background: #fff; padding: 15px; border-radius: 8px; margin-bottom: 15px; }
.feature-item { padding: 8px 0; border-bottom: 1px dashed #eee; font-size: 14px; line-height: 1.6; }
.feature-item:last-child { border-bottom: none; }

/* ========== Download Guide ========== */
.download-guide { background: #fff; padding: 15px; border-radius: 8px; margin-bottom: 15px; }
.guide-section { margin-bottom: 12px; }
.guide-section h4 { font-size: 14px; color: #1a73e8; margin-bottom: 5px; }
.guide-section p { font-size: 14px; color: #555; line-height: 1.6; }

/* ========== Install Steps ========== */
.install-steps { background: #fff; padding: 15px; border-radius: 8px; margin-bottom: 15px; }
.steps-list { counter-reset: step; }
.step-item { padding: 8px 0; font-size: 14px; line-height: 1.6; border-bottom: 1px dashed #eee; }
.step-item:last-child { border-bottom: none; }
.step-num { color: #1a73e8; font-weight: bold; margin-right: 8px; }
.special-note { margin-top: 12px; padding: 10px; background: #fff3e0; border-radius: 6px; font-size: 13px; color: #e65100; }

/* ========== Usage Guide ========== */
.usage-guide { background: #fff; padding: 15px; border-radius: 8px; margin-bottom: 15px; }
.usage-step { padding: 8px 0; border-bottom: 1px dashed #eee; font-size: 14px; line-height: 1.6; }
.usage-step:last-child { border-bottom: none; }

/* ========== App Features ========== */
.app-features { background: #fff; padding: 15px; border-radius: 8px; margin-bottom: 15px; }
.features-list p { padding: 8px 0; border-bottom: 1px dashed #eee; font-size: 14px; line-height: 1.6; }
.features-list p:last-child { border-bottom: none; }

/* ========== Related Intro ========== */
.related-intro { background: #fff; padding: 15px; border-radius: 8px; margin-bottom: 15px; }
.intro-text { font-size: 14px; line-height: 1.8; color: #555; }

/* ========== Update Content ========== */
.update-content { background: #fff; padding: 15px; border-radius: 8px; margin-bottom: 15px; }
.update-list p { padding: 6px 0; font-size: 14px; line-height: 1.6; }

/* ========== Multi Download ========== */
.multi-download { background: #fff; padding: 15px; border-radius: 8px; margin-bottom: 15px; }
.platform-tabs { display: flex; gap: 0; margin-bottom: 12px; }
.platform-tab { padding: 8px 20px; font-size: 14px; color: #555; cursor: pointer; border: 1px solid #ddd; border-bottom: none; }
.platform-tab.active { color: #1a73e8; background: #e8f0fe; border-color: #1a73e8; }
.download-links { border: 1px solid #ddd; border-radius: 6px; padding: 15px; }
.dl-group { margin-bottom: 15px; }
.dl-group:last-child { margin-bottom: 0; }
.dl-group h4 { font-size: 14px; color: #333; margin-bottom: 8px; }
.dl-group a { display: inline-block; padding: 5px 15px; margin: 0 5px 5px 0; background: #f0f0f0; border-radius: 3px; font-size: 13px; color: #555; }
.dl-group a:hover { background: #e8f0fe; color: #1a73e8; }
.app-meta { margin-top: 12px; font-size: 13px; color: #888; display: flex; gap: 20px; flex-wrap: wrap; }

/* ========== Comment Section ========== */
.comment-section { background: #fff; padding: 15px; border-radius: 8px; margin-bottom: 15px; }
.comment-stats { font-size: 14px; color: #888; margin-bottom: 10px; }
.comment-form { margin-bottom: 10px; }
.comment-textarea { width: 100%; height: 80px; border: 1px solid #ddd; padding: 10px; font-size: 14px; border-radius: 6px; resize: vertical; }
.comment-submit { margin-top: 8px; padding: 8px 25px; background: #1a73e8; color: #fff; border: none; border-radius: 4px; font-size: 14px; cursor: pointer; }
.comment-submit:hover { background: #1558b0; }
.comment-note { font-size: 13px; color: #888; }

/* ========== Sidebar ========== */
.sidebar-block { background: #fff; padding: 15px; border-radius: 8px; margin-bottom: 15px; }
.sidebar-title { font-size: 16px; font-weight: bold; color: #333; padding-bottom: 10px; border-bottom: 2px solid #1a73e8; margin-bottom: 10px; }
.sidebar-app-list { list-style: none; }
.sidebar-app-list li { padding: 6px 0; border-bottom: 1px dashed #eee; font-size: 13px; }
.sidebar-app-list li:last-child { border-bottom: none; }
.sidebar-app-list li a { color: #555; }
.sidebar-app-list li a:hover { color: #1a73e8; }
.sidebar-ranked-list { list-style: none; }
.sidebar-ranked-list li { padding: 6px 0; border-bottom: 1px dashed #eee; font-size: 13px; display: flex; align-items: flex-start; }
.sidebar-ranked-list li:last-child { border-bottom: none; }
.sidebar-ranked-list li a { color: #555; flex: 1; }
.sidebar-ranked-list li a:hover { color: #1a73e8; }
.rank-num { color: #1a73e8; font-weight: bold; margin-right: 8px; min-width: 20px; }

/* ========== Footer ========== */
.footer { background: #2c3e50; color: #bdc3c7; padding: 20px 0; margin-top: 30px; }
.footer-links { display: flex; gap: 15px; justify-content: center; margin-bottom: 10px; }
.footer-links a { color: #bdc3c7; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-copyright { text-align: center; font-size: 13px; }

/* ========== Feedback Modal ========== */
.feedback-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #fff; padding: 25px; border-radius: 10px; box-shadow: 0 5px 30px rgba(0,0,0,0.3); z-index: 999; }
.modal-content h3 { font-size: 18px; margin-bottom: 15px; }
.feedback-options label { display: block; padding: 5px 0; font-size: 14px; cursor: pointer; }
.feedback-contact { width: 100%; padding: 8px; border: 1px solid #ddd; margin-top: 10px; font-size: 14px; border-radius: 4px; }
.feedback-submit { margin-top: 10px; padding: 8px 25px; background: #1a73e8; color: #fff; border: none; border-radius: 4px; cursor: pointer; }

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .main-content { flex-direction: column; }
    .content-right { width: 100%; }
    .app-detail-card { flex-direction: column; text-align: center; }
    .app-icon-area { width: 100%; }
    .download-row { justify-content: center; }
    .screenshots-grid { flex-direction: column; }
    .shot-item { width: 100%; }
    .header .container { flex-direction: column; gap: 10px; }
    .header-search { width: 100%; }
    .search-input { width: 100%; }
}