/* ==================== 面包屑导航 ==================== */
.breadcrumb {
    background: var(--white);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .separator {
    color: var(--text-lighter);
}

.breadcrumb .current {
    color: var(--text-color);
    font-weight: 500;
}

/* ==================== 软件详情头部 ==================== */
.software-detail {
    background: linear-gradient(135deg, #3b82f6 0%, #0891b2 100%);
    padding: 40px 0;
    color: var(--white);
}

.detail-header {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}

.software-info {
    display: flex;
    gap: 24px;
    flex: 1;
    min-width: 300px;
}

.software-icon {
    width: 100px;
    height: 100px;
    background: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.software-meta h1 {
    font-size: 28px;
    margin-bottom: 12px;
}

.meta-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.meta-tags .tag {
    padding: 4px 12px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    font-size: 12px;
}

.meta-stats {
    display: flex;
    gap: 20px;
    font-size: 14px;
    opacity: 0.9;
}

.meta-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 下载区域 */
.download-area {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.btn-download, .btn-web {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
}

.btn-download {
    background: var(--white);
    color: var(--primary-color);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-web {
    background: rgba(255,255,255,0.2);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-web:hover {
    background: rgba(255,255,255,0.3);
}

.btn-official {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border: 1px dashed rgba(255,255,255,0.4);
    border-radius: var(--radius);
    font-size: 14px;
    transition: all 0.3s;
}

.btn-official:hover {
    background: rgba(255,255,255,0.25);
    border-style: solid;
}

.icon-official::before { content: "🏠"; font-size: 18px; }

.btn-web:hover {
    background: rgba(255,255,255,0.3);
}

.version-info {
    font-size: 12px;
    opacity: 0.8;
}

/* ==================== 内容区域 ==================== */
.content-wrapper {
    padding: 40px 0;
    background: var(--bg-color);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr 320px;
    }
}

.content-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 18px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* 截图展示 */
.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .screenshot-gallery {
        grid-template-columns: 1fr;
    }
}

.screenshot-placeholder {
    aspect-ratio: 9/16;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 48px;
}

.screenshot-placeholder p {
    font-size: 14px;
    color: var(--text-light);
}

/* 软件介绍 */
.intro-content {
    line-height: 1.8;
    color: var(--text-color);
}

.intro-content .lead {
    font-size: 16px;
    margin-bottom: 16px;
}

.intro-content p {
    margin-bottom: 12px;
}

.intro-content .highlight {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(8, 145, 178, 0.1) 100%);
    padding: 16px;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary-color);
}

/* 功能特点 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 576px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

.feature-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--bg-color);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.feature-info h3 {
    font-size: 15px;
    margin-bottom: 4px;
}

.feature-info p {
    font-size: 13px;
    color: var(--text-light);
}

/* 使用说明 */
.guide-step {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px dashed var(--border-color);
}

.guide-step:last-child {
    border-bottom: none;
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 15px;
    margin-bottom: 4px;
}

.step-content p {
    font-size: 14px;
    color: var(--text-light);
}

/* 更新日志 */
.changelog-item {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
    background: var(--bg-color);
    border-radius: var(--radius);
}

.changelog-item .version {
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.changelog-item .date {
    color: var(--text-lighter);
    font-size: 13px;
    align-self: center;
}

.changelog-item .changes ul {
    width: 100%;
    padding-left: 20px;
    list-style: disc;
}

.changelog-item .changes li {
    padding: 4px 0;
    color: var(--text-light);
    font-size: 14px;
}

/* 隐私说明 */
.privacy-content {
    line-height: 1.8;
}

.privacy-content p {
    margin-bottom: 12px;
}

/* ==================== 侧边栏 ==================== */
.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.sidebar-card h3 {
    font-size: 16px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.info-table {
    width: 100%;
    font-size: 13px;
}

.info-table tr {
    border-bottom: 1px dashed var(--border-color);
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table td {
    padding: 8px 0;
}

.info-table td:first-child {
    color: var(--text-lighter);
    width: 90px;
}

.info-table td:last-child {
    color: var(--text-color);
    font-weight: 500;
}

/* 技术特点 */
.tech-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 14px;
}

.tech-list .icon-check {
    color: #10b981;
    font-weight: bold;
}

/* 浏览器支持 */
.browser-list li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-light);
}

/* 下载链接 */
.download-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.download-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg-color);
    border-radius: var(--radius);
    font-size: 14px;
    transition: all 0.3s;
}

.download-link:hover {
    background: var(--primary-color);
    color: var(--white);
}

.download-link .icon-gitee::before { content: "🔗"; }
.download-link .icon-github::before { content: "🐙"; }
.download-link .icon-web::before { content: "🌐"; }

/* 开发者信息 */
.developer .developer-info {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.developer .avatar {
    width: 48px;
    height: 48px;
    background: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.developer .info .name {
    font-weight: 600;
    font-size: 15px;
}

.developer .info .desc {
    font-size: 12px;
    color: var(--text-lighter);
}

.btn-follow {
    display: block;
    text-align: center;
    padding: 10px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--radius);
    font-size: 14px;
    transition: all 0.3s;
}

.btn-follow:hover {
    background: var(--secondary-color);
}

/* ==================== 图标 ==================== */
.icon-download::before { content: "⬇️"; font-size: 14px; }
.icon-star::before { content: "⭐"; font-size: 14px; }
.icon-update::before { content: "🔄"; font-size: 14px; }
.icon-apk::before { content: "📱"; font-size: 18px; }
.icon-web::before { content: "🌐"; font-size: 18px; }
.icon-windows::before { content: "🖥️"; font-size: 18px; }

/* ==================== 系统要求 ==================== */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.req-card {
    background: var(--bg-color);
    border-radius: var(--radius);
    padding: 20px;
}

.req-card h3 {
    font-size: 15px;
    margin-bottom: 12px;
}

.req-card ul {
    padding-left: 18px;
}

.req-card li {
    font-size: 13px;
    color: var(--text-light);
    padding: 4px 0;
    list-style: disc;
}
