/* 黑洞加速器官网 - 单文件样式 */
:root {
    --hd-primary: #5b2c8e;
    --hd-primary-dark: #3d1d5c;
    --hd-accent: #22d3b8;
    --hd-accent-dim: rgba(34, 211, 184, 0.15);
    --hd-bg: #f4f2f8;
    --hd-surface: #ffffff;
    --hd-text: #1e1b2e;
    --hd-muted: #6b6578;
    --hd-border: rgba(91, 44, 142, 0.12);
    --hd-radius: 12px;
    --hd-radius-lg: 20px;
    --hd-shadow: 0 4px 24px rgba(30, 27, 46, 0.06);
    --hd-shadow-hover: 0 12px 32px rgba(91, 44, 142, 0.12);
    --hd-nav-h: 72px;
    --hd-transition: 0.25s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body.hd-site {
    font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
    color: var(--hd-text);
    line-height: 1.65;
    background: var(--hd-bg);
    margin: 0;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--hd-primary);
    text-decoration: none;
    transition: color var(--hd-transition);
}

a:hover {
    color: var(--hd-accent);
}

/* 导航 */
.zd6b81navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--hd-border);
    padding: 0.65rem 0;
}

.zd6b81navbar .navbar-brand img {
    height: 42px;
    width: auto;
}

.zd6b81nav-link {
    color: var(--hd-text) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.45rem 0.85rem !important;
    border-radius: 8px;
    transition: background var(--hd-transition), color var(--hd-transition);
}

.zd6b81nav-link:hover,
.zd6b81nav-link.active {
    color: var(--hd-primary) !important;
    background: var(--hd-accent-dim);
}

.zd6b81navbar .navbar-toggler {
    border: 1px solid var(--hd-border);
    padding: 0.4rem 0.55rem;
}

.zd6b81navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 3px var(--hd-accent-dim);
}

.zd6b81navbar .navbar-collapse {
    background: var(--hd-surface);
}

@media (min-width: 992px) {
    .zd6b81navbar .navbar-collapse {
        background: transparent;
    }
}

/* 按钮 */
.zd6b81btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.35rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    transition: transform var(--hd-transition), box-shadow var(--hd-transition), background var(--hd-transition);
    white-space: normal;
    text-align: center;
    line-height: 1.3;
}

.zd6b81btn-primary {
    background: linear-gradient(135deg, var(--hd-primary), var(--hd-primary-dark));
    color: #fff !important;
}

.zd6b81btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--hd-shadow-hover);
    color: #fff !important;
}

.zd6b81btn-outline {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.65);
}

.zd6b81btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
    transform: translateY(-2px);
}

.zd6b81btn-outline-sm {
    padding: 0.45rem 1rem;
    font-size: 0.875rem;
    background: transparent;
    color: var(--hd-primary) !important;
    border: 1px solid var(--hd-border);
}

.zd6b81btn-outline-sm:hover {
    background: var(--hd-accent-dim);
    border-color: var(--hd-accent);
}

/* Hero */
.zd6b81hero-section {
    background: linear-gradient(145deg, #1a1228 0%, var(--hd-primary-dark) 45%, #2a1f42 100%);
    color: #fff;
    padding: clamp(3rem, 8vw, 5.5rem) 0;
    position: relative;
    overflow: hidden;
}

.zd6b81hero-section::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -15%;
    width: 55%;
    height: 140%;
    background: radial-gradient(circle, rgba(34, 211, 184, 0.18) 0%, transparent 65%);
    pointer-events: none;
}

.zd6b81hero-content {
    position: relative;
    z-index: 1;
}

.zd6b81hero-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: var(--hd-accent-dim);
    color: var(--hd-accent);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(34, 211, 184, 0.35);
}

.zd6b81hero-title {
    font-size: clamp(1.75rem, 4.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.zd6b81hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    opacity: 0.9;
    margin-bottom: 1.75rem;
    max-width: 36em;
}

.zd6b81hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.zd6b81hero-visual {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.zd6b81hero-image {
    max-width: min(280px, 85%);
    border-radius: var(--hd-radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 简介条 */
.zd6b81intro-strip {
    background: var(--hd-surface);
    border-bottom: 1px solid var(--hd-border);
    padding: 1.25rem 0;
}

.zd6b81intro-strip p {
    margin: 0;
    color: var(--hd-muted);
    font-size: 0.95rem;
    text-align: center;
    max-width: 52em;
    margin-left: auto;
    margin-right: auto;
}

/* 通用区块 */
.zd6b81section {
    padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.zd6b81section-head {
    margin-bottom: 2rem;
    text-align: center;
}

.zd6b81section-head-left {
    text-align: left;
}

.zd6b81section-head h2 {
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 700;
    color: var(--hd-text);
    margin-bottom: 0.5rem;
}

.zd6b81section-head p {
    color: var(--hd-muted);
    margin: 0;
    font-size: 0.95rem;
}

/* 特点卡片 */
.zd6b81features-section {
    background: var(--hd-bg);
}

.zd6b81feature-card {
    background: var(--hd-surface);
    border: 1px solid var(--hd-border);
    border-radius: var(--hd-radius);
    padding: 1.5rem;
    height: 100%;
    box-shadow: var(--hd-shadow);
    transition: transform var(--hd-transition), box-shadow var(--hd-transition);
    overflow: hidden;
}

.zd6b81feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hd-shadow-hover);
}

.zd6b81feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--hd-accent-dim);
    color: var(--hd-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.zd6b81feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.zd6b81feature-card p {
    color: var(--hd-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* 统计 */
.zd6b81stats-section {
    background: linear-gradient(90deg, var(--hd-primary-dark), var(--hd-primary));
    padding: 2.5rem 0;
}

.zd6b81stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.zd6b81stat-item {
    text-align: center;
    color: #fff;
    padding: 0.5rem;
}

.zd6b81stat-number {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
}

.zd6b81stat-label {
    font-size: 0.85rem;
    opacity: 0.88;
    margin-top: 0.25rem;
}

/* 知识区 */
.zd6b81knowledge-section {
    background: var(--hd-surface);
}

.zd6b81knowledge-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zd6b81knowledge-list li {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--hd-border);
    font-size: 0.92rem;
    color: var(--hd-muted);
}

.zd6b81knowledge-list li:last-child {
    border-bottom: none;
}

.zd6b81knowledge-panel {
    background: linear-gradient(160deg, var(--hd-accent-dim), rgba(91, 44, 142, 0.06));
    border: 1px solid var(--hd-border);
    border-radius: var(--hd-radius);
    padding: 1.5rem;
    height: 100%;
}

.zd6b81knowledge-panel h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--hd-primary);
}

.zd6b81knowledge-panel p {
    font-size: 0.9rem;
    color: var(--hd-muted);
    margin-bottom: 0.75rem;
}

.zd6b81knowledge-panel p:last-child {
    margin-bottom: 0;
}

/* 下载 */
.zd6b81download-section {
    background: var(--hd-bg);
    padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.zd6b81download-subtitle {
    color: var(--hd-muted);
}

.zd6b81download-card {
    background: var(--hd-surface);
    border: 1px solid var(--hd-border);
    border-radius: var(--hd-radius);
    padding: 1.5rem;
    height: 100%;
    box-shadow: var(--hd-shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.zd6b81download-card-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.zd6b81download-card-head h3 {
    font-size: 1.15rem;
    margin: 0 0 0.2rem;
    font-weight: 600;
}

.zd6b81download-card-head p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--hd-muted);
}

.zd6b81platform-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
}

.zd6b81pc-icon {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.zd6b81android-icon {
    background: linear-gradient(135deg, #16a34a, #15803d);
}

.zd6b81download-info {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    flex: 1;
}

.zd6b81download-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--hd-muted);
    padding: 0.4rem 0;
}

.zd6b81download-info li i {
    color: var(--hd-accent);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.zd6b81download-action {
    margin-top: auto;
}

.zd6b81download-action .zd6b81btn {
    width: 100%;
}

/* 安全 */
.zd6b81security-section {
    background: var(--hd-surface);
    padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.zd6b81security-subtitle {
    color: var(--hd-muted);
}

.zd6b81security-card {
    background: var(--hd-bg);
    border: 1px solid var(--hd-border);
    border-radius: var(--hd-radius);
    padding: 1.25rem;
    height: 100%;
    text-align: center;
    overflow: hidden;
    transition: box-shadow var(--hd-transition);
}

.zd6b81security-card:hover {
    box-shadow: var(--hd-shadow);
}

.zd6b81security-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hd-primary), var(--hd-primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.zd6b81security-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.zd6b81security-features {
    text-align: left;
}

.zd6b81security-features .zd6b81feature-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--hd-muted);
    margin-bottom: 0.35rem;
}

.zd6b81security-features .zd6b81feature-item i {
    color: var(--hd-accent);
    font-size: 0.75rem;
}

/* FAQ */
.zd6b81faq-section {
    background: var(--hd-bg);
}

.zd6b81faq-card {
    background: var(--hd-surface);
    border: 1px solid var(--hd-border);
    border-radius: var(--hd-radius);
    padding: 1.25rem 1.35rem;
    height: 100%;
    overflow: hidden;
}

.zd6b81faq-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--hd-primary);
}

.zd6b81faq-card p {
    font-size: 0.88rem;
    color: var(--hd-muted);
    margin: 0;
}

/* 文章区 */
.zd6b81article-section {
    background: var(--hd-surface);
    border-top: 1px solid var(--hd-border);
}

.zd6b81article-card {
    border: 1px solid var(--hd-border) !important;
    border-radius: var(--hd-radius) !important;
    overflow: hidden;
    box-shadow: none !important;
    transition: box-shadow var(--hd-transition);
}

.zd6b81article-card:hover {
    box-shadow: var(--hd-shadow) !important;
}

.zd6b81thumb-home {
    width: 100%;
    height: 110px;
    object-fit: cover;
}

.zd6b81article-card .card-body {
    padding: 0.75rem !important;
}

.zd6b81article-card h3 a {
    color: var(--hd-text);
    font-weight: 600;
}

.zd6b81article-card h3 a:hover {
    color: var(--hd-primary);
}

/* 页脚 */
.zd6b81footer {
    background: #1a1228;
    color: rgba(255, 255, 255, 0.75);
    padding: 3rem 0 1.5rem;
}

.zd6b81footer-title {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.zd6b81footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zd6b81footer-links li {
    margin-bottom: 0.5rem;
}

.zd6b81footer-link {
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 0.9rem;
}

.zd6b81footer-link:hover {
    color: var(--hd-accent) !important;
}

.zd6b81friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.zd6b81friend-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.zd6b81friend-links a:hover {
    color: var(--hd-accent);
}

.zd6b81footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.25rem;
    margin-top: 1.5rem;
    font-size: 0.85rem;
}

.zd6b81footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
}

.zd6b81footer-bottom a:hover {
    color: var(--hd-accent);
}

/* ========== 列表页 / 内页 ========== */
.hd-inner-page {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
    min-height: 50vh;
}

.hd-inner-page .card {
    border: 1px solid var(--hd-border);
    border-radius: var(--hd-radius);
    overflow: hidden;
}

.hd-inner-page .card-body {
    padding: 1.25rem;
}

.zd6b81article-content {
    font-size: 1rem;
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.zd6b81article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.zd6b81thumb-list,
.zd6b81thumb-related {
    width: 100%;
    height: 84px;
    object-fit: cover;
    border-radius: 8px;
}

.zd6b81thumb-side {
    width: 100%;
    height: 54px;
    object-fit: cover;
    border-radius: 6px;
}

.zd6b81thumb-cover {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: cover;
    border-radius: var(--hd-radius);
}

.zd6b81meta-tags .zd6b81tagitem a {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    background: var(--hd-accent-dim);
    border-radius: 6px;
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
}

.pagebar .pagelist {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagebar .pagelist li {
    display: inline-flex;
}

/* ========== 响应式 ========== */
@media (max-width: 991px) {
    .zd6b81stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .zd6b81navbar .navbar-collapse {
        margin-top: 0.5rem;
        padding: 0.75rem;
        border-radius: var(--hd-radius);
        border: 1px solid var(--hd-border);
        max-height: 70vh;
        overflow-y: auto;
    }
}

@media (max-width: 767px) {
    .zd6b81hero-buttons {
        flex-direction: column;
    }

    .zd6b81hero-buttons .zd6b81btn {
        width: 100%;
    }

    .zd6b81download-card {
        padding: 1.15rem;
    }

    .zd6b81download-card-head {
        flex-direction: row;
    }

    .zd6b81security-card {
        padding: 1rem;
    }

    .zd6b81security-card h3 {
        font-size: 0.88rem;
    }

    .zd6b81thumb-home {
        height: 96px;
    }

    .zd6b81thumb-list,
    .zd6b81thumb-related {
        height: 72px;
    }

    .zd6b81thumb-side {
        height: 50px;
    }

    .zd6b81thumb-cover {
        max-height: 200px;
    }

    .listbox .e2 li h2.h5 {
        font-size: 1rem;
        line-height: 1.35;
    }

    .listbox .e2 li p {
        font-size: 0.88rem;
    }

    .hd-inner-page .card-body {
        padding: 1rem;
    }

    .zd6b81footer .row > [class*="col-"] {
        text-align: center;
    }

    .zd6b81friend-links {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .zd6b81stat-number {
        font-size: 1.4rem;
    }

    .zd6b81stat-label {
        font-size: 0.78rem;
    }

    .zd6b81thumb-home {
        height: 88px;
    }

    .zd6b81article-card .card-body {
        padding: 0.6rem !important;
    }

    .zd6b81article-card h3,
    .zd6b81article-card .h6 {
        font-size: 0.82rem;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .zd6b81faq-card {
        padding: 1rem;
    }

    .zd6b81feature-card {
        padding: 1.15rem;
    }
}

/* Bootstrap 覆盖 - 避免边框溢出 */
.card {
    max-width: 100%;
}

.row {
    margin-left: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
    margin-right: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
}

.container,
.zd6b81container {
    max-width: 1140px;
    padding-left: 15px;
    padding-right: 15px;
}
