/* roulang page: index */
:root {
    --bg-body: #070b15;
    --bg-deep: #050810;
    --bg-section: #0b1120;
    --bg-card: #101a2e;
    --bg-card-hover: #172238;
    --bg-nav: rgba(6, 10, 19, 0.92);
    --line: rgba(255, 255, 255, 0.07);
    --line-glow: rgba(0, 229, 255, 0.35);
    --cyan: #00e5ff;
    --cyan-deep: #00b8cc;
    --purple: #a855f7;
    --gold: #ffc94d;
    --white: #f2f6fc;
    --text: #b8c4dc;
    --muted: #7184a4;
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 14px 42px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 42px rgba(0, 229, 255, 0.14);
    --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
    --ease: 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font);
    background: var(--bg-body);
    color: var(--text);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img {
    max-width: 100%;
    display: block;
}
a {
    color: inherit;
    text-decoration: none;
    transition: color var(--ease), background var(--ease), border-color var(--ease), box-shadow var(--ease), opacity var(--ease), transform var(--ease);
}
button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}
ul, ol {
    list-style: none;
}
h1, h2, h3, h4, h5 {
    color: var(--white);
    line-height: 1.3;
    font-weight: 700;
}
:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
}
.container {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
}
.section {
    padding: 108px 0;
}
.section-dark {
    background: var(--bg-section);
}
.section-deep {
    background: var(--bg-deep);
}
.section-head {
    max-width: 780px;
    margin-bottom: 54px;
}
.section-head.center {
    margin-inline: auto;
    text-align: center;
}
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--cyan);
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.22);
    padding: 6px 15px;
    border-radius: 999px;
    margin-bottom: 20px;
}
.section-tag::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 12px var(--cyan);
}
.section-head h2 {
    font-size: clamp(28px, 4.2vw, 40px);
    letter-spacing: 0.02em;
    margin-bottom: 14px;
}
.section-head p {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.85;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    white-space: nowrap;
    letter-spacing: 0.03em;
    transition: all var(--ease);
    position: relative;
    border: 1px solid transparent;
}
.btn-primary {
    background: linear-gradient(135deg, #00e5ff, #29c3ff);
    color: #04121d;
    box-shadow: 0 0 24px rgba(0, 229, 255, 0.24);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.45);
    color: #04121d;
}
.btn-outline {
    border-color: rgba(0, 229, 255, 0.55);
    color: var(--cyan);
    background: rgba(0, 229, 255, 0.04);
}
.btn-outline:hover {
    background: rgba(0, 229, 255, 0.12);
    border-color: var(--cyan);
    box-shadow: 0 0 32px rgba(0, 229, 255, 0.18);
    color: var(--cyan);
    transform: translateY(-2px);
}
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cyan);
    font-weight: 600;
    font-size: 15px;
}
.text-link:hover {
    gap: 12px;
    color: #46efff;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--bg-nav);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.3);
}
.neon-top-line {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--cyan), var(--purple), transparent);
    box-shadow: 0 0 18px rgba(0, 229, 255, 0.55);
}
.header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
    padding-top: 6px;
    padding-bottom: 6px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.brand-mark {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    color: #04121d;
    font-size: 17px;
    font-weight: 800;
    box-shadow: 0 0 22px rgba(0, 229, 255, 0.3);
}
.brand-name {
    color: var(--white);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 0.02em;
}
.brand-name em {
    font-style: normal;
    color: var(--cyan);
    text-shadow: 0 0 14px rgba(0, 229, 255, 0.4);
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}
.nav-link {
    position: relative;
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
    padding: 8px 2px;
    letter-spacing: 0.04em;
}
.nav-link:hover {
    color: var(--white);
}
.nav-link.active {
    color: var(--white);
}
.nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    box-shadow: 0 0 14px rgba(0, 229, 255, 0.5);
}
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
}
.nav-toggle .bar {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 4px;
    background: var(--white);
    transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
.hero {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    isolation: isolate;
    overflow: hidden;
    padding: 90px 0;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(5, 8, 16, 0.94) 0%, rgba(8, 12, 24, 0.78) 55%, rgba(10, 16, 32, 0.45) 100%);
    z-index: -1;
}
.hero::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(180deg, transparent, var(--bg-body));
    z-index: -1;
}
.hero-inner {
    max-width: 720px;
    padding: 24px 0;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--gold);
    background: rgba(255, 201, 77, 0.08);
    border: 1px solid rgba(255, 201, 77, 0.25);
    padding: 7px 16px;
    border-radius: 999px;
}
.hero h1 {
    font-size: clamp(40px, 6.6vw, 66px);
    line-height: 1.12;
    margin: 26px 0 20px;
    letter-spacing: 0.02em;
    text-shadow: 0 0 38px rgba(0, 229, 255, 0.16);
}
.hero h1 span {
    color: var(--cyan);
}
.hero-desc {
    font-size: 18px;
    color: var(--text);
    max-width: 560px;
    line-height: 1.9;
}
.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 36px;
    flex-wrap: wrap;
}
.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin-top: 48px;
    color: var(--muted);
    font-size: 14px;
}
.hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.hero-meta span::before {
    content: "●";
    font-size: 8px;
    color: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
    border-radius: 50%;
}
.stats-strip {
    background: var(--bg-deep);
    border-bottom: 1px solid var(--line);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 38px 0;
}
.stat-item {
    text-align: center;
    padding: 16px 12px;
    border-radius: var(--radius-sm);
    transition: background var(--ease);
}
.stat-item:hover {
    background: rgba(255, 255, 255, 0.02);
}
.stat-item strong {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--cyan);
    font-weight: 800;
    display: block;
    letter-spacing: 0.02em;
    text-shadow: 0 0 22px rgba(0, 229, 255, 0.3);
    line-height: 1.2;
}
.stat-item span {
    color: var(--muted);
    font-size: 14px;
    letter-spacing: 0.04em;
}
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}
.about-text .section-tag {
    margin-bottom: 16px;
}
.about-text h2 {
    font-size: clamp(26px, 3.8vw, 36px);
    line-height: 1.35;
    margin-bottom: 18px;
}
.about-text p {
    color: var(--text);
    font-size: 16px;
    line-height: 1.95;
    margin-bottom: 18px;
}
.about-list {
    margin-top: 24px;
    display: grid;
    gap: 14px;
}
.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text);
    font-size: 15px;
    line-height: 1.75;
}
.about-list li::before {
    content: "✓";
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #04121d;
    background: linear-gradient(135deg, var(--cyan), #29c3ff);
    box-shadow: 0 0 14px rgba(0, 229, 255, 0.25);
    margin-top: 3px;
}
.about-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
}
.about-visual img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.about-visual:hover img {
    transform: scale(1.03);
}
.about-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(200deg, transparent 55%, rgba(0, 229, 255, 0.14));
    pointer-events: none;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 229, 255, 0.25);
}
.feature-img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
}
.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.feature-card:hover .feature-img img {
    transform: scale(1.05);
}
.feature-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(5, 8, 16, 0.6));
}
.feature-body {
    padding: 26px;
}
.feature-body h3 {
    font-size: 18px;
    margin-bottom: 12px;
}
.feature-body p {
    color: var(--text);
    font-size: 14px;
    line-height: 1.85;
}
.latest-section {
    position: relative;
}
.latest-wrap {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
}
.latest-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    transition: background var(--ease), padding var(--ease);
}
.latest-item:last-child {
    border-bottom: none;
}
.latest-item:hover {
    background: var(--bg-card-hover);
    padding-left: 30px;
}
.latest-cat {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--cyan);
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.22);
    padding: 4px 12px;
    border-radius: 999px;
    letter-spacing: 0.04em;
    font-weight: 500;
}
.latest-title {
    flex: 1;
    font-weight: 500;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 15px;
}
.latest-date {
    color: var(--muted);
    font-size: 13px;
    flex-shrink: 0;
    font-family: monospace;
}
.latest-arrow {
    color: var(--cyan);
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--ease);
    flex-shrink: 0;
    font-size: 18px;
}
.latest-item:hover .latest-arrow {
    opacity: 1;
    transform: translateX(0);
}
.empty-state {
    padding: 70px 24px;
    text-align: center;
    color: var(--muted);
    font-size: 15px;
    border: 1px dashed var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.015);
}
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.process-step {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 30px 24px;
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
    overflow: hidden;
}
.process-step:hover {
    border-color: rgba(168, 85, 247, 0.45);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.process-step::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 76px;
    height: 76px;
    border-radius: 0 0 0 100%;
    background: radial-gradient(circle at 100% 0%, rgba(168, 85, 247, 0.14), transparent 70%);
}
.process-num {
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.4px var(--purple);
    display: block;
    margin-bottom: 16px;
}
.process-step h3 {
    font-size: 17px;
    margin-bottom: 10px;
}
.process-step p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.8;
}
.faq-section {
    background: var(--bg-section);
}
.faq-grid {
    max-width: 880px;
    margin-inline: auto;
}
.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    margin-bottom: 14px;
    overflow: hidden;
    transition: border-color var(--ease), box-shadow var(--ease);
}
.faq-item.open {
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: var(--shadow-glow);
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 26px;
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    text-align: left;
    transition: background var(--ease);
}
.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}
.faq-icon {
    position: relative;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    background: var(--cyan);
    border-radius: 3px;
    transition: all var(--ease);
}
.faq-icon::before {
    top: 10px;
    left: 3px;
    width: 16px;
    height: 2px;
}
.faq-icon::after {
    top: 3px;
    left: 10px;
    width: 2px;
    height: 16px;
}
.faq-item.open .faq-icon::after {
    transform: scaleY(0);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease;
}
.faq-answer p {
    padding: 0 26px 24px;
    color: var(--text);
    font-size: 15px;
    line-height: 1.85;
}
.faq-item.open .faq-answer {
    max-height: 300px;
}
.cta-section {
    position: relative;
    padding: 110px 0;
    background-size: cover;
    background-position: center;
    isolation: isolate;
    text-align: center;
}
.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(4, 7, 14, 0.92), rgba(8, 13, 26, 0.88));
    z-index: -1;
}
.cta-inner {
    max-width: 780px;
    margin-inline: auto;
}
.cta-inner .section-tag {
    justify-content: center;
}
.cta-inner h2 {
    font-size: clamp(28px, 4.4vw, 42px);
    margin-bottom: 18px;
}
.cta-inner p {
    color: var(--text);
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.85;
}
.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.site-footer {
    background: var(--bg-deep);
    border-top: 1px solid rgba(0, 229, 255, 0.08);
    padding-top: 72px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 0.9fr 0.9fr 1.3fr;
    gap: 44px;
    padding-bottom: 48px;
}
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}
.footer-logo em {
    font-style: normal;
    color: var(--cyan);
}
.footer-brand p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
    max-width: 320px;
}
.footer-links h4,
.footer-contact h4 {
    font-size: 15px;
    color: var(--white);
    margin-bottom: 18px;
    letter-spacing: 0.04em;
}
.footer-links a {
    display: block;
    color: var(--muted);
    font-size: 14px;
    padding: 5px 0;
}
.footer-links a:hover {
    color: var(--cyan);
}
.footer-contact p {
    color: var(--muted);
    font-size: 14px;
    padding: 5px 0;
    line-height: 1.8;
}
.footer-contact p strong {
    color: var(--white);
    font-weight: 600;
}
.footer-bottom {
    border-top: 1px solid var(--line);
    padding: 22px 0;
}
.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
}
.footer-bottom a {
    color: var(--muted);
}
.footer-bottom a:hover {
    color: var(--cyan);
}
@media (max-width: 1024px) {
    .section {
        padding: 82px 0;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }
    .about-visual {
        max-width: 620px;
    }
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    .process-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .section {
        padding: 64px 0;
    }
    .brand-name {
        font-size: 17px;
    }
    .nav-toggle {
        display: inline-flex;
    }
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: #090e1a;
        padding: 8px 24px 22px;
        border-bottom: 1px solid rgba(0, 229, 255, 0.12);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
        display: none;
        gap: 4px;
    }
    .main-nav.open {
        display: flex;
    }
    .nav-link {
        padding: 13px 6px;
        font-size: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }
    .nav-link:last-child {
        border-bottom: none;
    }
    .nav-link.active::after {
        bottom: 4px;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .hero {
        min-height: 520px;
        padding: 70px 0;
    }
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .process-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .header-wrap {
        min-height: 66px;
    }
}
@media (max-width: 520px) {
    .container {
        width: calc(100% - 32px);
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .process-grid {
        grid-template-columns: 1fr;
    }
    .section-head h2 {
        font-size: 25px;
    }
    .hero h1 {
        font-size: 35px;
    }
    .latest-item {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 10px;
        padding: 16px 18px;
    }
    .latest-title {
        flex-basis: 100%;
        white-space: normal;
        word-break: break-all;
        font-size: 14px;
    }
    .latest-date {
        font-size: 12px;
        margin-left: auto;
    }
    .latest-arrow {
        display: none;
    }
    .cta-actions {
        flex-direction: column;
    }
    .cta-actions .btn {
        width: 100%;
    }
    .footer-bottom .container {
        justify-content: center;
        text-align: center;
    }
}

/* roulang page: article */
:root {
    --bg-deep: #070c14;
    --bg-dark: #0d1521;
    --bg-card: #131e2e;
    --bg-elevated: #1a2a3f;
    --primary: #25f4c0;
    --primary-dark: #17b391;
    --primary-glow: rgba(37, 244, 192, .32);
    --accent: #ff4d8f;
    --accent-glow: rgba(255, 77, 143, .28);
    --gold: #f7c948;
    --text-light: #eef2f8;
    --text-body: #b8c6d8;
    --text-muted: #7a8aa0;
    --border: rgba(255, 255, 255, .08);
    --border-light: rgba(255, 255, 255, .15);
    --radius-lg: 22px;
    --radius-md: 14px;
    --radius-sm: 9px;
    --shadow-card: 0 18px 44px rgba(0, 0, 0, .28);
    --shadow-hover: 0 26px 56px rgba(0, 0, 0, .42);
    --space-section: 92px;
    --font-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-deep);
    color: var(--text-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 20% 0%, rgba(37, 244, 192, .08), transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 10%, rgba(255, 77, 143, .07), transparent 60%);
    z-index: -1;
    pointer-events: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .22s ease;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea {
    font-family: inherit;
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

section {
    position: relative;
}

/* 统一按钮 */
.btn-primary,
.btn-outline,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 999px;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .02em;
    transition: all .25s ease;
    border: 1px solid transparent;
    line-height: 1.4;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #10c29a);
    color: #04121a;
    box-shadow: 0 8px 24px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px var(--primary-glow);
}

.btn-outline {
    border-color: var(--border-light);
    color: var(--text-light);
    background: rgba(255, 255, 255, .03);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* 标签 / 徽章 */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 13px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    background: rgba(37, 244, 192, .1);
    color: var(--primary);
    border: 1px solid rgba(37, 244, 192, .3);
    white-space: nowrap;
}

.badge-accent {
    background: rgba(255, 77, 143, .1);
    color: var(--accent);
    border-color: rgba(255, 77, 143, .3);
}

.badge-gold {
    background: rgba(247, 201, 72, .1);
    color: var(--gold);
    border-color: rgba(247, 201, 72, .3);
}

/* ===== 网站头部导航 ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 12, 20, .88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.neon-top-line {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
    animation: neonPulse 3s ease-in-out infinite alternate;
}

@keyframes neonPulse {
    from { opacity: .6; }
    to { opacity: 1; }
}

.header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    font-size: 1.4rem;
    color: var(--primary);
    text-shadow: 0 0 14px var(--primary-glow);
    animation: spark 2.4s ease-in-out infinite;
}

@keyframes spark {
    0%, 100% { opacity: .75; transform: rotate(0deg) scale(1); }
    50% { opacity: 1; transform: rotate(15deg) scale(1.15); }
}

.brand-name {
    font-size: 1.28rem;
    font-weight: 900;
    color: var(--text-light);
    letter-spacing: .02em;
}

.brand-name em {
    font-style: normal;
    color: var(--primary);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    position: relative;
    padding: 10px 20px;
    font-size: .95rem;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: all .25s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 2px;
    transform: translateX(-50%) scaleX(0);
    width: 24px;
    height: 3px;
    border-radius: 3px;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
    transition: transform .3s ease;
}

.nav-link:hover {
    color: var(--text-light);
    background: rgba(255, 255, 255, .04);
}

.nav-link.active {
    color: var(--primary);
    text-shadow: 0 0 12px var(--primary-glow);
}

.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
    padding: 10px;
}

.nav-toggle .bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-light);
    border-radius: 2px;
    transition: all .3s ease;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== 文章页 Hero ===== */
.article-hero {
    position: relative;
    padding: 90px 0 70px;
    background:
        linear-gradient(115deg, rgba(7, 12, 20, .94) 15%, rgba(7, 12, 20, .55) 55%, rgba(13, 21, 33, .8)),
        url('/assets/images/backpic/back-1.png') center/cover no-repeat;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.article-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 35% at 75% 20%, var(--primary-glow), transparent 70%);
    pointer-events: none;
}

.article-hero .container {
    position: relative;
    z-index: 2;
    max-width: 860px;
}

.article-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.article-hero-date {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .85rem;
    color: var(--text-muted);
}

.article-hero h1 {
    font-size: clamp(1.8rem, 3.6vw, 2.7rem);
    font-weight: 900;
    line-height: 1.3;
    color: var(--text-light);
    margin-bottom: 16px;
    letter-spacing: .01em;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}

.article-hero-desc {
    font-size: 1.04rem;
    color: var(--text-body);
    line-height: 1.8;
    max-width: 680px;
}

.article-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

/* ===== 面包屑 ===== */
.breadcrumb-bar {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    background: rgba(13, 21, 33, .6);
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: .86rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--primary);
}

.breadcrumb i {
    font-size: .65rem;
    opacity: .5;
}

/* ===== 文章主体 ===== */
.article-main {
    padding: var(--space-section) 0;
    background: var(--bg-deep);
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
    align-items: start;
}

.article-main-col {
    min-width: 0;
}

.article-card {
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 42px 46px;
    box-shadow: var(--shadow-card);
}

.article-body {
    font-size: 1.02rem;
    line-height: 1.9;
    color: var(--text-body);
    word-break: break-word;
}

.article-body > * + * {
    margin-top: 1.25em;
}

.article-body h1,
.article-body h2 {
    font-size: 1.42rem;
    font-weight: 800;
    color: var(--text-light);
    margin-top: 2.2em;
    padding-left: 16px;
    border-left: 4px solid var(--primary);
    line-height: 1.4;
}

.article-body h3 {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--text-light);
    margin-top: 1.8em;
}

.article-body h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-light);
    margin-top: 1.5em;
}

.article-body p {
    margin: 1em 0;
}

.article-body ul,
.article-body ol {
    padding-left: 1.5em;
    margin: 1em 0;
}

.article-body ul {
    list-style: disc;
}

.article-body ol {
    list-style: decimal;
}

.article-body li {
    margin: .55em 0;
    padding-left: 4px;
}

.article-body li::marker {
    color: var(--primary);
}

.article-body a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: all .2s;
}

.article-body a:hover {
    text-shadow: 0 0 8px var(--primary-glow);
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    margin: 1.6em auto;
}

.article-body blockquote {
    padding: 16px 24px;
    border-left: 4px solid var(--accent);
    background: rgba(255, 77, 143, .06);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: normal;
    color: var(--text-body);
    margin: 1.5em 0;
}

.article-body blockquote p {
    margin: 0;
}

.article-body code {
    background: rgba(255, 255, 255, .07);
    border-radius: 5px;
    padding: 2px 8px;
    font-size: .9em;
    font-family: "JetBrains Mono", "Fira Code", Consolas, monospace;
    color: var(--primary);
}

.article-body pre {
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    padding: 20px;
    overflow-x: auto;
    border: 1px solid var(--border);
    margin: 1.6em 0;
}

.article-body pre code {
    background: none;
    color: var(--text-body);
    padding: 0;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.6em 0;
    font-size: .95rem;
}

.article-body th,
.article-body td {
    padding: 12px 16px;
    border: 1px solid var(--border);
    text-align: left;
}

.article-body th {
    background: var(--bg-elevated);
    color: var(--text-light);
    font-weight: 700;
}

.article-body tr:nth-child(even) {
    background: rgba(255, 255, 255, .02);
}

.article-body hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
    margin: 2.4em 0;
}

/* 文章尾部 */
.article-footer-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 36px;
    padding-top: 26px;
    border-top: 1px solid var(--border);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.article-tags .tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: all .25s;
}

.article-tags .tag:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-share span {
    font-size: .85rem;
    color: var(--text-muted);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    color: var(--text-muted);
    background: rgba(255, 255, 255, .03);
    transition: all .25s;
    font-size: .9rem;
}

.share-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 16px var(--primary-glow);
    transform: translateY(-2px);
}

/* ===== 侧边栏 ===== */
.article-side-col {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.side-card {
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 24px;
    box-shadow: var(--shadow-card);
}

.side-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.side-card-title i {
    color: var(--primary);
    font-size: .95rem;
}

.side-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.side-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .9rem;
    color: var(--text-body);
}

.side-info-list li i {
    color: var(--primary);
    margin-top: 4px;
    width: 16px;
    font-size: .85rem;
}

.side-info-list li strong {
    color: var(--text-light);
    font-weight: 600;
}

.side-nav-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    list-style: none;
}

.side-nav-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: .9rem;
    color: var(--text-body);
    transition: all .22s;
    border-left: 2px solid transparent;
}

.side-nav-list li a i {
    width: 18px;
    color: var(--text-muted);
    font-size: .85rem;
    transition: color .2s;
}

.side-nav-list li a:hover {
    background: rgba(37, 244, 192, .06);
    color: var(--primary);
    border-left-color: var(--primary);
}

.side-nav-list li a:hover i {
    color: var(--primary);
}

/* 摘要卡片 */
.side-summary {
    font-size: .9rem;
    line-height: 1.75;
    color: var(--text-muted);
    background: rgba(255, 255, 255, .03);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    border: 1px solid var(--border);
}

/* ===== 相关推荐 ===== */
.related-section {
    padding: 80px 0;
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 38px;
}

.section-head h2 {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--text-light);
    letter-spacing: .01em;
}

.section-head h2 span {
    color: var(--primary);
}

.section-sub {
    color: var(--text-muted);
    font-size: .95rem;
    margin-top: 6px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.related-card {
    display: block;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all .3s ease;
}

.related-card:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 244, 192, .4);
    box-shadow: var(--shadow-hover);
}

.related-card-img {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.related-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.related-card:hover .related-card-img img {
    transform: scale(1.05);
}

.related-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 12, 20, .55), transparent 50%);
}

.related-card-cat {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 2;
}

.related-card-body {
    padding: 20px 22px 24px;
}

.related-card-body h3 {
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.55;
    color: var(--text-light);
    transition: color .25s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card:hover .related-card-body h3 {
    color: var(--primary);
}

.related-card-body p {
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    font-size: .82rem;
    color: var(--text-muted);
}

.related-card-meta i {
    font-size: .75rem;
}

/* ===== 内容未找到 ===== */
.not-found-box {
    text-align: center;
    padding: 60px 30px;
}

.not-found-box .nf-icon {
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 18px;
    text-shadow: 0 0 30px var(--accent-glow);
}

.not-found-box h2 {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 10px;
}

.not-found-box p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 440px;
    margin: 0 auto 26px;
}

.not-found-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ===== FAQ ===== */
.faq-section {
    padding: var(--space-section) 0;
    background: var(--bg-deep);
}

.faq-grid {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--bg-dark);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 0;
    transition: all .25s;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-light);
    border-radius: var(--radius-md);
    transition: background .25s;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary i {
    color: var(--primary);
    transition: transform .3s ease;
    flex-shrink: 0;
    font-size: .9rem;
}

.faq-item[open] summary {
    color: var(--primary);
    border-bottom: 1px solid var(--border);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.faq-item[open] summary i {
    transform: rotate(180deg);
}

.faq-item .faq-answer {
    padding: 6px 24px 22px;
    color: var(--text-body);
    font-size: .95rem;
    line-height: 1.8;
}

.faq-item .faq-answer p + p {
    margin-top: 10px;
}

/* ===== CTA ===== */
.cta-section {
    padding: 80px 0;
    background:
        linear-gradient(120deg, rgba(7, 12, 20, .92), rgba(13, 21, 33, .75)),
        url('/assets/images/backpic/back-3.png') center/cover no-repeat;
    border-top: 1px solid var(--border);
}

.cta-box {
    text-align: center;
    max-width: 660px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 14px;
}

.cta-box h2 span {
    color: var(--primary);
}

.cta-box p {
    color: var(--text-muted);
    font-size: 1.02rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ===== 页脚 ===== */
.site-footer {
    background: var(--bg-deep);
    border-top: 1px solid var(--border);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-brand .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 14px;
}

.footer-brand .footer-logo em {
    font-style: normal;
    color: var(--primary);
}

.footer-brand p {
    font-size: .92rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: .92rem;
    font-weight: 800;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 3px;
    border-radius: 3px;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary-glow);
}

.footer-links a {
    display: block;
    padding: 6px 0;
    font-size: .9rem;
    color: var(--text-muted);
    transition: all .2s;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 6px;
}

.footer-contact p {
    font-size: .9rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.footer-contact p strong {
    color: var(--text-light);
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 22px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: .85rem;
    color: var(--text-muted);
}

/* ===== 移动端适配 ===== */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
    .article-side-col {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .side-card {
        flex: 1;
        min-width: 280px;
    }
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 34px;
    }
}

@media (max-width: 768px) {
    :root {
        --space-section: 58px;
    }

    .header-wrap {
        padding: 10px 0;
    }

    .main-nav {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: rgba(7, 12, 20, .97);
        backdrop-filter: blur(16px);
        padding: 18px 20px 24px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 24px 50px rgba(0, 0, 0, .5);
        transform: translateY(-120%);
        transition: transform .35s ease;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        z-index: 99;
    }

    .main-nav.nav-open {
        transform: translateY(0);
    }

    .main-nav .nav-link {
        padding: 13px 16px;
        font-size: 1rem;
        border-radius: var(--radius-sm);
    }

    .nav-toggle {
        display: flex;
    }

    .article-hero {
        padding: 60px 0 44px;
    }

    .article-card {
        padding: 26px 22px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }

    .article-footer-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 520px) {
    .article-hero h1 {
        font-size: 1.5rem;
    }

    .article-hero-desc {
        font-size: .95rem;
    }

    .article-card {
        padding: 20px 16px;
    }

    .article-body {
        font-size: .95rem;
    }

    .related-card-body h3 {
        font-size: 1rem;
    }

    .cta-box h2 {
        font-size: 1.4rem;
    }

    .footer-grid {
        gap: 24px;
    }

    .footer-links a {
        padding: 4px 0;
    }
}

/* 焦点可访问性 */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 4px;
}

/* 移动端菜单打开时 body 滚动锁定 */
body.menu-open {
    overflow: hidden;
}

/* roulang page: category1 */
:root {
    --bg-primary: #0a0e17;
    --bg-secondary: #0f1626;
    --bg-card: #141d31;
    --bg-elevated: #19243c;
    --border: #1f2c46;
    --border-light: #2b3a5a;
    --text-primary: #eaf0fb;
    --text-secondary: #a4b1cc;
    --text-muted: #677795;
    --accent: #00e5ff;
    --accent-2: #7b5cff;
    --accent-gradient: linear-gradient(135deg, #00e5ff 0%, #7b5cff 100%);
    --cta: #ffb547;
    --success: #2dd4a7;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    --shadow-neon: 0 0 24px rgba(0, 229, 255, 0.12);
    --transition: 0.3s ease;
    --header-height: 72px;
    --section-pad: 96px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

input {
    font-family: inherit;
    border: none;
    outline: none;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
}

.section-head {
    max-width: 680px;
    margin-bottom: 52px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 100px;
    background: rgba(0, 229, 255, 0.08);
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 18px;
}

.section-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}

.section-head h2 {
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.section-head p {
    margin-top: 14px;
    color: var(--text-secondary);
    font-size: 16px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #0a0e17;
    box-shadow: 0 6px 24px rgba(0, 229, 255, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(0, 229, 255, 0.38);
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-neon);
}

.btn:focus-visible,
.nav-link:focus-visible,
a:focus-visible,
details summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ===== Header / Nav ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(10, 14, 23, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.neon-top-line {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent) 20%, var(--accent-2) 80%, transparent);
}

.header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--accent-gradient);
    color: #0a0e17;
    font-size: 19px;
    box-shadow: 0 0 18px rgba(0, 229, 255, 0.3);
}

.brand-name {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: var(--text-primary);
}

.brand-name em {
    font-style: normal;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--accent);
    background: rgba(0, 229, 255, 0.08);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -17px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 3px;
    border-radius: 3px;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    padding: 0 10px;
    border: 1px solid var(--border-light);
}

.nav-toggle .bar {
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--text-primary);
    transition: all var(--transition);
}

.nav-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== Page Hero ===== */
.page-hero {
    position: relative;
    padding: 130px 0 150px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 14, 23, 0.94) 0%, rgba(10, 14, 23, 0.8) 45%, rgba(10, 14, 23, 0.55) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.3);
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 22px;
}

.hero-badge::before {
    content: '✦';
    font-size: 12px;
}

.page-hero h1 {
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 20px;
}

.page-hero h1 span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-hero p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 640px;
    margin-bottom: 34px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-stats {
    display: flex;
    gap: 42px;
    margin-top: 52px;
    flex-wrap: wrap;
}

.hero-stats .stat-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-stats .stat-num {
    font-size: 30px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.02em;
}

.hero-stats .stat-label {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

/* ===== Category Tabs ===== */
.tab-section {
    padding: var(--section-pad) 0 40px;
    background: var(--bg-primary);
}

.tab-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tab-card {
    position: relative;
    padding: 32px 28px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all var(--transition);
    overflow: hidden;
}

.tab-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity var(--transition);
}

.tab-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-light);
    box-shadow: var(--shadow);
}

.tab-card:hover::after {
    opacity: 1;
}

.tab-num {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.06em;
    margin-bottom: 18px;
}

.tab-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
}

.tab-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Guide List ===== */
.guide-section {
    padding: var(--section-pad) 0;
    background: var(--bg-secondary);
}

.guide-section .section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: 100%;
    gap: 24px;
}

.guide-section .section-head p {
    margin-top: 0;
    max-width: 460px;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.guide-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}

.guide-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-light);
    box-shadow: var(--shadow);
}

.guide-cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 8;
    overflow: hidden;
}

.guide-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.guide-card:hover .guide-cover img {
    transform: scale(1.04);
}

.guide-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 14, 23, 0.5) 100%);
}

.guide-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    padding: 5px 14px;
    border-radius: 100px;
    background: rgba(10, 14, 23, 0.7);
    border: 1px solid rgba(0, 229, 255, 0.3);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    backdrop-filter: blur(8px);
}

.guide-body {
    padding: 26px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.guide-body h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
}

.guide-body h3 a {
    transition: color var(--transition);
}

.guide-body h3 a:hover {
    color: var(--accent);
}

.guide-body p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.75;
    flex: 1;
}

.guide-meta {
    display: flex;
    gap: 20px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
}

.guide-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.guide-meta i {
    font-style: normal;
    color: var(--accent);
}

/* ===== Rank Section ===== */
.rank-section {
    padding: var(--section-pad) 0;
    background: var(--bg-primary);
}

.rank-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 52px;
    align-items: start;
}

.rank-intro {
    position: sticky;
    top: calc(var(--header-height) + 40px);
}

.rank-intro .section-head {
    margin-bottom: 24px;
}

.rank-intro p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
}

.rank-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rank-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.rank-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-neon);
    transform: translateX(4px);
}

.rank-num {
    font-size: 24px;
    font-weight: 900;
    color: var(--text-muted);
    font-style: italic;
    min-width: 40px;
    letter-spacing: -0.02em;
}

.rank-item:first-child .rank-num {
    color: var(--accent);
}

.rank-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rank-info a {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    transition: color var(--transition);
}

.rank-info a:hover {
    color: var(--accent);
}

.rank-meta {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    gap: 16px;
    align-items: center;
}

.rank-badge {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(123, 92, 255, 0.12);
    color: #a99bff;
    border: 1px solid rgba(123, 92, 255, 0.25);
    flex-shrink: 0;
}

.rank-hits {
    font-size: 13px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.rank-hits::before {
    content: '热度';
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(0, 229, 255, 0.08);
    color: var(--accent);
    border: 1px solid rgba(0, 229, 255, 0.18);
}

/* ===== Flow Section ===== */
.flow-section {
    position: relative;
    padding: var(--section-pad) 0;
    background-size: cover;
    background-position: center;
}

.flow-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 23, 0.92);
}

.flow-section .container {
    position: relative;
    z-index: 1;
}

.flow-section .section-head h2,
.flow-section .section-head p {
    color: var(--text-primary);
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.flow-item {
    padding: 36px 28px;
    border-radius: var(--radius);
    background: rgba(20, 29, 49, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    transition: all var(--transition);
}

.flow-item:hover {
    border-color: rgba(0, 229, 255, 0.4);
    transform: translateY(-4px);
    box-shadow: var(--shadow-neon);
}

.flow-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-gradient);
    color: #0a0e17;
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 22px;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.25);
}

.flow-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.flow-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== FAQ Section ===== */
.faq-section {
    padding: var(--section-pad) 0;
    background: var(--bg-secondary);
}

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: border-color var(--transition);
}

.faq-item:hover {
    border-color: var(--border-light);
}

.faq-item details {
    padding: 22px 26px;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    line-height: 1.5;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.1);
    color: var(--accent);
    font-size: 18px;
    font-weight: 700;
    transition: all var(--transition);
}

.faq-item details[open] summary::after {
    transform: rotate(45deg);
    background: var(--accent-gradient);
    color: #0a0e17;
}

.faq-item details p {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
}

.faq-guide-card {
    padding: 36px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.faq-guide-card h3 {
    font-size: 22px;
    font-weight: 800;
}

.faq-guide-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
}

.faq-guide-card a {
    margin-top: 12px;
    align-self: flex-start;
}

/* ===== CTA Section ===== */
.cta-section {
    position: relative;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 14, 23, 0.85) 0%, rgba(10, 14, 23, 0.72) 50%, rgba(10, 14, 23, 0.55) 100%);
}

.cta-section .container {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-section h2 {
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.cta-section p {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 560px;
    margin-bottom: 34px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

/* ===== Footer ===== */
.site-footer {
    background: #080b12;
    border-top: 1px solid var(--border);
    padding-top: 76px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
}

.footer-brand .footer-logo {
    display: inline-block;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--text-primary);
}

.footer-brand .footer-logo em {
    font-style: normal;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 6px;
}

.footer-contact p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.footer-contact strong {
    color: var(--text-primary);
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom p:last-child {
    color: var(--text-muted);
    opacity: 0.8;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    :root {
        --section-pad: 80px;
    }

    .tab-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .flow-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rank-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .rank-intro {
        position: static;
    }

    .faq-layout {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 64px;
        --header-height: 64px;
    }

    .container {
        padding: 0 20px;
    }

    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(10, 14, 23, 0.97);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 16px 20px 24px;
        transform: translateY(-16px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        width: 100%;
        padding: 14px 18px;
    }

    .nav-link.active::after {
        bottom: auto;
        left: 18px;
        transform: none;
        top: 50%;
        margin-top: -2px;
        width: 3px;
        height: 20px;
    }

    .page-hero {
        padding: 90px 0 110px;
    }

    .hero-stats {
        gap: 28px;
    }

    .hero-stats .stat-num {
        font-size: 24px;
    }

    .guide-grid {
        grid-template-columns: 1fr;
    }

    .guide-section .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .rank-item {
        flex-wrap: wrap;
        gap: 12px;
    }

    .rank-hits {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 520px) {
    .tab-grid,
    .flow-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .cta-section {
        padding: 80px 0;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
    }

    .guide-body {
        padding: 20px;
    }
}
