@charset "UTF-8";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Microsoft Yahei", sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
ul {
    list-style: none;
}

/* ========== 主导航 ========== */
.nav-category h1 {
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
}
.nav-category {
    background: #fff;
    border-radius: 0 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 0 !important;
    margin: 0 !important;
    width: 100vw !important; 
    position: fixed !important; 
    top: 0;
    left: 0;
    z-index: 9999 !important; 
    height: 80px;
    display: flex;
    align-items: center; 
}

.nav-inner {
    width: 100%;
    max-width: 1253px;
    margin: 0 auto;
    padding: 0 20px ;
    display: flex;
    justify-content: space-between; 
    align-items: center;
}

.nav-logo-box {
    display: flex;
    align-items: center;
    gap: 12px; 
    height: 100%;
}
.nav-logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    display: inline-block;
}
.nav-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.nav-site-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #222;
    display: inline-block;
    vertical-align: middle;
}

.nav-category-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 2px;
}
.nav-category-item {
    padding: 10px 22px;
    font-size: 1rem;
    color: #333;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.25s ease;
    cursor: pointer;
}

.nav-category-item.active {
    background: #007bff;
    color: #ffffff;
}

.nav-category-item:hover:not(.active) {
    background: #f5f9ff;
    color: #007bff;
}

@media (max-width: 1024px) {
	.container{padding: 10px 0 !important; }
    .app-header {
        padding: 20px;
    }
    .app-icon {
        flex: 0 0 100px;
        height: 100px;
        margin-right: 20px;
    }
    .main-layout {
        gap: 20px;
    }
    .app-title {
        font-size: 1.3rem;
    }
    .footer-content {
        gap: 30px;
    }
    .nav-site-name {font-size:1.2rem;}
    .nav-category-item {padding:8px 18px;font-size:0.95rem;}
    .nav-logo {width:42px;height:42px;}
}
@media (max-width: 768px) {
    body{padding-top: 72px;}
	.container{padding: 10px 0 !important;}
    .nav-category{height:72px;}
    .breadcrumb {justify-content: center;font-size: 0.85rem;}
    .nav-site-name {font-size:1rem;}
    .nav-logo {width:38px;height:38px;}
    .nav-category-item {padding:6px 12px;font-size:0.85rem;}
    .main-layout {flex-direction: column;gap:25px;}
    .app-header {flex-direction: column;text-align: center;}
    .app-icon {margin-right:0;margin-bottom:15px;}
    .app-title {font-size:1.2rem;}
    .app-desc {font-size:0.95rem;}
    .similar-app-list {justify-content: center;}
    .footer-content {flex-direction: column;gap:25px;}
    .footer-col {min-width:100%;}
}
@media (max-width: 576px) {
	.container{padding: 10px 0 !important;}
    .nav-logo-box {gap:8px;}
    .nav-site-name {font-size:0.95rem;}
    .nav-category-item {padding:4px 8px;font-size:0.8rem;}
}

/* ========== 复用首页的公共容器样式 ========== */
.container {
    max-width: 1200px !important; 
    width: 92%; 
    margin: 0 auto;
    padding: 96px 0;
}

.row {
    margin: 0;
}
.col-12, .col-lg-8, .col-lg-4 {
    padding: 0;
}
.main-layout {
    display: flex;
    gap: 30px; 
}
.main-content {
    flex: 7;
    margin-left: 0 !important; 
    padding-left: 0 !important;
}
.sidebar {
    flex: 3;
    padding-top: 10px;
}

/* ========== 复用首页的页面通用样式 ========== */
.text-muted {
    color: #888;
    font-size: 0.9rem;
}
.mb-10 {
    margin-bottom: 10px;
}
.mb-15 {
    margin-bottom: 15px;
}
.mb-20 {
    margin-bottom: 20px;
}
.mt-30 {
    margin-top: 30px;
}
.text-center {
    text-align: center;
}
.sidebar-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #222;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
    margin-bottom: 15px;
}

/* ========== 面包屑导航样式 ========== */
.breadcrumb {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: 0 !important; 
}
.breadcrumb-item {
    display: inline-block;
}
.breadcrumb-item a {
    color: #007bff;
    transition: color 0.2s ease;
}
.breadcrumb-item a:hover {
    color: #0056b3;
}
.breadcrumb-separator {
    color: #999;
    margin: 0 4px;
}
.breadcrumb-item.active {
    color: #999;
    cursor: default;
}

/* ========== 详情页专属样式 ========== */
.app-header {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 25px;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    margin-left: 0 !important; 
}
.app-icon {
    /* flex: 0 0 120px; */
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    margin-right: 25px;
}
.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.app-header-content {
    flex: 1;
}
.app-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 12px;
}
.app-desc {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
}


.app-detail-card, .app-screenshot-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 25px; 
    margin-bottom: 30px;
    margin-left: 0 !important; 
    padding-left: 25px !important; 
}
.app-footer {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 25px;
    margin-top: 30px;
    margin-left: 0 !important; 
}
.card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}
.app-detail-content {
    color: #333;
    line-height: 1.8;
    font-size: 1rem;
}
.app-detail-content p {
    margin-bottom: 15px;
}
.app-detail-content p:last-child {
    margin-bottom: 0;
}

.screenshot-container {
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.screenshot-container img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
    object-fit: cover;
}
.screenshot-container:hover img {
    transform: scale(1.03);
}

.recommend-app-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 20px;
    margin-bottom: 20px;
    margin-left: 0 !important; /* 右侧推荐板块左侧也对齐 */
}
.recommend-app-list .recommend-item {
    padding: 10px 0;
}
.recommend-app-title {
    font-size: 1rem;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 15px;
}
.statement-text {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}
.similar-app-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.similar-app-item {
    padding: 8px 16px;
    background: #f5f9ff;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: background 0.2s ease;
    width: 376px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.similar-app-item:hover {
    background: #e8f3ff;
}

/* ========== 全站公用底部样式 ========== */
.site-footer {
    background: #f5f5f5;
    color: #333;
    padding: 40px 0 20px;
    margin-top: 50px;
}
.site-footer .container {
    max-width: 1200px !important; /* 底部容器同步PC端最大宽度 */
    width: 92%;
    margin: 0 auto;
    padding: 0;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 30px;
}
.footer-col {
    flex: 1;
    min-width: 200px;
}
.footer-col-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #222;
}
.footer-nav-list li {
    margin-bottom: 10px;
}
.footer-nav-list a {
    color: #666;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}
.footer-nav-list a:hover {
    color: #007bff;
}
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #666;
    font-size: 0.95rem;
}
.footer-copyright {
    text-align: center;
    padding-top: 20px;
    color: #777;
    font-size: 0.9rem;
    line-height: 1.8;
}
.footer-copyright a {
    color: #007bff;
}

/* ========== 响应式适配 ========== */
@media (max-width: 1024px) {
    .app-header {
        padding: 20px;
    }
    .app-icon {
        flex: 0 0 100px;
        height: 100px;
        margin-right: 20px;
    }
    .main-layout {
        gap: 20px;
    }
    .app-title {
        font-size: 1.3rem;
    }
    .footer-content {
        gap: 30px;
    }
}
@media (max-width: 768px) {
    .breadcrumb {
        justify-content: center;
        font-size: 0.85rem;
    }
    .main-layout {
        flex-direction: column;
        gap: 25px;
    }
    .app-header {
        flex-direction: column;
        text-align: center;
    }
    .app-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .app-title {
        font-size: 1.2rem;
    }
    .app-desc {
        font-size: 0.95rem;
    }
    .similar-app-list {
        justify-content: center;
    }
    .footer-content {
        flex-direction: column;
        gap: 25px;
    }
    .footer-col {
        min-width: 100%;
    }
}