/* ==========================================================================
   汽水音乐下载站 - 内容页通用样式（在 style.css 基础上扩展）
   ========================================================================== */

body.content-site {
    background: #0a0a0a;
    color: #f5f5f5;
}

/* ---------- 顶部导航（覆盖首页固定导航） ---------- */
.content-site .header-container {
    position: sticky;
    top: 0;
    height: auto;
    min-height: 64px;
    padding: 8px 32px;
    flex-wrap: wrap;
    z-index: 100;
    background: rgba(0, 0, 0, .82);
    backdrop-filter: blur(8px);
}

.content-site .header-logo {
    height: 28px;
    margin-right: 28px;
}

.content-site .header-title {
    margin: 8px 20px 8px 0;
    font-size: 14px;
    color: #ffffffcc;
}

.content-site .header-title:hover {
    color: #bffa5b;
}

.content-site .header-title.is-active {
    color: #bffa5b;
    font-weight: 600;
}

/* ---------- 主体 ---------- */
.site-main {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 48px 24px 72px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 13px;
    color: #ffffff80;
}

.breadcrumb a {
    color: #ffffffb3;
}

.breadcrumb a:hover {
    color: #bffa5b;
}

.breadcrumb .sep {
    color: #ffffff40;
}

.hero {
    padding: 8px 0 40px;
}

.hero h1 {
    margin: 0 0 16px;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 1px;
}

.hero .lead {
    max-width: 860px;
    margin: 0;
    font-size: 16px;
    line-height: 1.9;
    color: #ffffffb3;
}

.hero .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
}

/* ---------- 按钮 ---------- */
.btn-primary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
}

.btn-primary {
    background: #ffffffd9;
    color: #121212;
    transition: background .2s;
}

.btn-primary:hover {
    background: #fff;
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
}

.btn-ghost:hover {
    border-color: rgba(191, 250, 91, .6);
    color: #bffa5b;
}

.btn-primary img {
    width: 20px;
    height: 20px;
}

/* ---------- 内容区块 ---------- */
.section {
    margin-top: 56px;
}

.section h2 {
    margin: 0 0 16px;
    font-size: 26px;
    font-weight: 600;
    color: #fff;
}

.section h3 {
    margin: 24px 0 8px;
    font-size: 18px;
    color: #e9ffd0;
}

.section p,
.section li {
    font-size: 15px;
    line-height: 1.9;
    color: #ffffffb3;
}

.section p {
    margin: 0 0 14px;
}

.section ul,
.section ol {
    margin: 0 0 16px;
    padding-left: 22px;
}

/* ---------- 卡片 ---------- */
.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.card {
    display: block;
    padding: 22px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    transition: transform .2s, border-color .2s, background .2s;
}

.card:hover {
    transform: translateY(-2px);
    border-color: rgba(191, 250, 91, .45);
    background: rgba(255, 255, 255, .08);
}

.card .card-icon {
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .92);
}

.card h3 {
    margin: 12px 0 6px;
    font-size: 18px;
    color: #fff;
}

.card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: #ffffff99;
}

.card .card-tag {
    display: inline-block;
    margin-top: 12px;
    font-size: 12px;
    color: #bffa5b;
}

/* ---------- 参数表 ---------- */
.table-wrap {
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .1);
}

table.spec {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
}

table.spec th,
table.spec td {
    padding: 12px 16px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

table.spec th {
    background: rgba(255, 255, 255, .05);
    color: #dfe9d0;
    font-weight: 600;
}

table.spec td {
    color: #ffffffb3;
}

table.spec tr:last-child td {
    border-bottom: 0;
}

/* ---------- 步骤 ---------- */
.steps {
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 0;
    list-style: none;
    counter-reset: step;
}

.steps li {
    position: relative;
    padding: 16px 18px 16px 60px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    font-size: 14px;
    line-height: 1.8;
    color: #ffffffb3;
    counter-increment: step;
}

.steps li::before {
    content: counter(step);
    position: absolute;
    left: 18px;
    top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #bffa5b;
    color: #0b0b0b;
    font-size: 13px;
    font-weight: 700;
}

.steps li strong {
    color: #fff;
}

/* ---------- FAQ ---------- */
.faq {
    display: grid;
    gap: 12px;
}

.faq details {
    padding: 0 18px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
}

.faq summary {
    position: relative;
    padding: 16px 28px 16px 0;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 14px;
    font-size: 20px;
    line-height: 1;
    color: #bffa5b;
}

.faq details[open] summary::after {
    content: "−";
}

.faq .faq-body {
    padding: 0 0 16px;
    font-size: 14px;
    line-height: 1.8;
    color: #ffffffa6;
}

/* ---------- 相关页面 ---------- */
.related {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.related a {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .18);
    font-size: 13px;
    color: #ffffffcc;
}

.related a:hover {
    color: #bffa5b;
    border-color: rgba(191, 250, 91, .5);
}

/* ---------- 底部 CTA ---------- */
.cta-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 56px;
    padding: 28px;
    border-radius: 14px;
    background: linear-gradient(120deg, rgba(191, 250, 91, .18), rgba(255, 255, 255, .05));
    border: 1px solid rgba(191, 250, 91, .28);
}

.cta-box h2 {
    margin: 0 0 6px;
    font-size: 22px;
}

.cta-box p {
    margin: 0;
    font-size: 14px;
    color: #ffffffa6;
}

/* ---------- 页脚 ---------- */
.site-footer {
    position: relative;
    z-index: 1;
    margin-top: 40px;
    padding: 32px 24px 40px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    text-align: center;
}

.site-footer .footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    margin-bottom: 16px;
}

.site-footer .footer-nav a {
    font-size: 13px;
    color: #ffffff99;
}

.site-footer .footer-nav a:hover {
    color: #bffa5b;
}

.site-footer p {
    margin: 4px 0;
    font-size: 12px;
    line-height: 1.8;
    letter-spacing: 1px;
    color: #ffffff66;
}

.content-site .daily-update {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    letter-spacing: 1px;
    color: #ffffff80;
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
    .hero h1 {
        font-size: 32px;
    }

    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 725px) {
    .content-site .header-container {
        padding: 10px 16px;
    }

    .content-site .header-logo {
        height: 26px;
        margin-right: 12px;
    }

    .content-site .header-title {
        margin: 6px 12px 6px 0;
        font-size: 13px;
    }

    .site-main {
        padding: 28px 16px 48px;
    }

    .hero {
        padding-bottom: 28px;
    }

    .hero h1 {
        font-size: 26px;
    }

    .hero .lead {
        font-size: 14px;
    }

    .section {
        margin-top: 40px;
    }

    .section h2 {
        font-size: 21px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 20px;
    }
}
