/* roulang page: index */
:root {
        --c-primary: #e63946;
        --c-primary-dark: #c02d38;
        --c-accent: #ffd166;
        --c-bg: #0f1418;
        --c-bg-alt: #151d24;
        --c-surface: #1c252e;
        --c-card: #1e2730;
        --c-text: #f0f4f6;
        --c-text-weak: #9aa7b2;
        --c-border: #2a3540;
        --radius: 14px;
        --radius-sm: 10px;
        --shadow: 0 10px 40px rgba(0, 0, 0, 0.30);
        --transition: all .25s ease;
    }

    * {
        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-color: var(--c-bg);
        color: var(--c-text);
        line-height: 1.6;
        -webkit-font-smoothing: antialiased;
    }

    a {
        color: inherit;
        text-decoration: none;
        transition: var(--transition);
    }
    a:hover {
        color: var(--c-accent);
    }
    img {
        max-width: 100%;
        vertical-align: middle;
        border-radius: var(--radius-sm);
    }
    button, input {
        font-family: inherit;
        outline: none;
    }
    .container-custom {
        max-width: 1240px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 20px;
        padding-right: 20px;
    }
    .section-block {
        padding: 72px 0;
        position: relative;
    }
    .section-alt {
        background-color: var(--c-bg-alt);
    }
    .section-title {
        font-size: 30px;
        font-weight: 700;
        line-height: 1.3;
        margin-bottom: 8px;
        letter-spacing: -0.01em;
    }
    .section-subtitle {
        color: var(--c-text-weak);
        font-size: 16px;
        margin-bottom: 4px;
    }
    .section-divider {
        width: 48px;
        height: 4px;
        background: var(--c-primary);
        border-radius: 4px;
        margin-top: 12px;
        margin-bottom: 36px;
    }
    .btn-primary {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: var(--c-primary);
        color: #fff;
        font-weight: 600;
        border: none;
        padding: 12px 24px;
        border-radius: 999px;
        cursor: pointer;
        transition: var(--transition);
        box-shadow: 0 4px 14px rgba(230, 57, 70, 0.3);
    }
    .btn-primary:hover {
        background: var(--c-primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(230, 57, 70, 0.4);
        color: #fff;
    }
    .btn-ghost {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: transparent;
        color: var(--c-text);
        font-weight: 600;
        border: 1px solid var(--c-border);
        padding: 12px 24px;
        border-radius: 999px;
        cursor: pointer;
        transition: var(--transition);
    }
    .btn-ghost:hover {
        border-color: var(--c-primary);
        color: var(--c-primary);
        transform: translateY(-2px);
        background: rgba(230, 57, 70, 0.08);
    }
    .badge {
        display: inline-block;
        background: rgba(230, 57, 70, 0.15);
        color: #ff6b75;
        font-size: 12px;
        font-weight: 600;
        padding: 4px 12px;
        border-radius: 999px;
        letter-spacing: 0.02em;
        white-space: nowrap;
    }
    .card-base {
        background: var(--c-surface);
        border: 1px solid var(--c-border);
        border-radius: var(--radius);
        padding: 28px;
        transition: var(--transition);
    }
    .card-base:hover {
        border-color: rgba(230, 57, 70, 0.5);
        transform: translateY(-4px);
        box-shadow: var(--shadow);
    }

    /* 顶部导航栏 */
    .top-header {
        background: rgba(15, 20, 24, 0.95);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--c-border);
        position: sticky;
        top: 0;
        z-index: 100;
    }
    .header-row-1 {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        padding: 14px 0;
    }
    .brand-logo {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 20px;
        font-weight: 800;
        letter-spacing: -0.01em;
        color: var(--c-text);
        transition: var(--transition);
    }
    .brand-logo:hover {
        color: var(--c-accent);
    }
    .brand-icon {
        width: 38px;
        height: 38px;
        background: linear-gradient(135deg, var(--c-primary), #ff6b75);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        color: #fff;
        flex-shrink: 0;
    }
    .header-search {
        display: flex;
        align-items: center;
        background: var(--c-bg-alt);
        border: 1px solid var(--c-border);
        border-radius: 999px;
        padding: 6px 6px 6px 16px;
        max-width: 320px;
        width: 100%;
        transition: var(--transition);
    }
    .header-search:focus-within {
        border-color: var(--c-primary);
        box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
    }
    .header-search input {
        width: 100%;
        background: transparent;
        border: none;
        color: var(--c-text);
        font-size: 14px;
        padding: 6px 0;
    }
    .header-search input::placeholder {
        color: var(--c-text-weak);
    }
    .header-search button {
        background: var(--c-primary);
        color: #fff;
        border: none;
        border-radius: 999px;
        padding: 8px 18px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: var(--transition);
    }
    .header-search button:hover {
        background: var(--c-primary-dark);
    }
    .nav-tabs-row {
        border-top: 1px solid rgba(42, 53, 64, 0.6);
        white-space: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .nav-tabs-row::-webkit-scrollbar {
        display: none;
    }
    .nav-tabs {
        display: flex;
        align-items: center;
        gap: 4px;
        padding: 8px 0;
    }
    .nav-tabs a {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 18px;
        border-radius: 999px;
        font-size: 14px;
        font-weight: 600;
        color: var(--c-text-weak);
        transition: var(--transition);
    }
    .nav-tabs a:hover {
        color: var(--c-text);
        background: rgba(255, 255, 255, 0.05);
    }
    .nav-tabs a.active {
        color: #fff;
        background: var(--c-primary);
        box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
    }
    .nav-tabs a i {
        font-size: 13px;
    }
    .menu-toggle {
        display: none;
        width: 40px;
        height: 40px;
        background: var(--c-bg-alt);
        border: 1px solid var(--c-border);
        border-radius: 10px;
        color: var(--c-text);
        font-size: 18px;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        transition: var(--transition);
    }
    .menu-toggle:hover {
        border-color: var(--c-primary);
        color: var(--c-primary);
    }
    .mobile-menu {
        display: none;
        padding: 12px 20px 20px;
        border-top: 1px solid rgba(42, 53, 64, 0.6);
        background: var(--c-bg);
    }
    .mobile-menu.open {
        display: block;
    }
    .mobile-menu a {
        display: block;
        padding: 12px 16px;
        border-radius: 10px;
        font-weight: 600;
        color: var(--c-text-weak);
        margin-bottom: 6px;
        transition: var(--transition);
    }
    .mobile-menu a:hover,
    .mobile-menu a.active {
        background: rgba(230, 57, 70, 0.12);
        color: var(--c-primary);
    }

    /* Hero */
    .hero-section {
        min-height: 560px;
        display: flex;
        align-items: center;
        background-image: url('/assets/images/backpic/back-2.png');
        background-size: cover;
        background-position: center;
        position: relative;
        overflow: hidden;
    }
    .hero-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(110deg, rgba(15, 20, 24, 0.95) 0%, rgba(15, 20, 24, 0.75) 50%, rgba(15, 20, 24, 0.4) 100%);
    }
    .hero-content {
        position: relative;
        z-index: 2;
        padding: 80px 0;
        max-width: 680px;
    }
    .hero-tag {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(230, 57, 70, 0.15);
        border: 1px solid rgba(230, 57, 70, 0.4);
        color: #ff8a92;
        padding: 6px 16px;
        border-radius: 999px;
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 24px;
    }
    .hero-tag .dot {
        display: inline-block;
        width: 8px;
        height: 8px;
        background: var(--c-primary);
        border-radius: 50%;
        animation: pulse 1.6s infinite;
    }
    @keyframes pulse {
        0%, 100% { opacity: 1; transform: scale(1); }
        50% { opacity: 0.5; transform: scale(0.8); }
    }
    .hero-title {
        font-size: 46px;
        font-weight: 800;
        line-height: 1.25;
        letter-spacing: -0.02em;
        margin-bottom: 12px;
    }
    .hero-title span {
        color: var(--c-primary);
    }
    .hero-desc {
        font-size: 17px;
        color: rgba(240, 244, 246, 0.85);
        margin-bottom: 32px;
        max-width: 560px;
    }
    .hero-actions {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
    }
    .hero-stats {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 2;
        background: rgba(15, 20, 24, 0.7);
        backdrop-filter: blur(12px);
        border-top: 1px solid rgba(42, 53, 64, 0.7);
    }
    .hero-stats .grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
        padding: 24px 0;
    }
    .stat-item {
        text-align: center;
        padding: 12px 8px;
        border-right: 1px solid rgba(42, 53, 64, 0.6);
    }
    .stat-item:last-child {
        border-right: none;
    }
    .stat-number {
        font-size: 28px;
        font-weight: 800;
        color: var(--c-primary);
        line-height: 1.2;
    }
    .stat-label {
        font-size: 13px;
        color: var(--c-text-weak);
        margin-top: 4px;
    }

    /* 核心能力卡片 */
    .feature-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        margin-top: 40px;
    }
    .feature-card {
        background: var(--c-surface);
        border: 1px solid var(--c-border);
        border-radius: var(--radius);
        padding: 32px 28px;
        transition: var(--transition);
        position: relative;
        overflow: hidden;
    }
    .feature-card::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 48px;
        height: 48px;
        background: rgba(230, 57, 70, 0.08);
        border-bottom-left-radius: 48px;
        transition: var(--transition);
    }
    .feature-card:hover {
        transform: translateY(-6px);
        border-color: rgba(230, 57, 70, 0.4);
        box-shadow: var(--shadow);
    }
    .feature-card:hover::after {
        background: rgba(230, 57, 70, 0.2);
    }
    .feature-icon {
        width: 52px;
        height: 52px;
        background: linear-gradient(135deg, var(--c-primary), #ff6b75);
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        color: #fff;
        margin-bottom: 20px;
    }
    .feature-card h3 {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 10px;
    }
    .feature-card p {
        color: var(--c-text-weak);
        font-size: 14px;
        line-height: 1.7;
    }

    /* 分类入口 */
    .category-entry {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: center;
        margin-top: 40px;
        background: var(--c-surface);
        border: 1px solid var(--c-border);
        border-radius: 20px;
        overflow: hidden;
        transition: var(--transition);
    }
    .category-entry:hover {
        box-shadow: var(--shadow);
        border-color: rgba(230, 57, 70, 0.4);
    }
    .category-entry-media {
        min-height: 300px;
        position: relative;
        overflow: hidden;
    }
    .category-entry-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0;
        transition: transform .4s ease;
    }
    .category-entry:hover .category-entry-media img {
        transform: scale(1.03);
    }
    .category-entry-media::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to right, transparent 50%, rgba(28, 37, 46, 0.9) 100%);
    }
    .category-entry-content {
        padding: 40px;
    }
    .category-entry-content h3 {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 12px;
    }
    .category-entry-content p {
        color: var(--c-text-weak);
        margin-bottom: 20px;
        line-height: 1.7;
    }
    .category-entry-content ul {
        margin-bottom: 24px;
        list-style: none;
    }
    .category-entry-content ul li {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 6px 0;
        font-size: 14px;
        color: var(--c-text-weak);
    }
    .category-entry-content ul li i {
        color: var(--c-primary);
        font-size: 13px;
        width: 18px;
        text-align: center;
    }

    /* 资讯列表 */
    .news-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        margin-top: 40px;
    }
    .news-card {
        background: var(--c-surface);
        border: 1px solid var(--c-border);
        border-radius: var(--radius);
        padding: 24px;
        display: flex;
        gap: 20px;
        transition: var(--transition);
        align-items: flex-start;
    }
    .news-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow);
        border-color: rgba(230, 57, 70, 0.35);
    }
    .news-card-thumb {
        width: 96px;
        height: 96px;
        flex-shrink: 0;
        border-radius: 12px;
        object-fit: cover;
        overflow: hidden;
    }
    .news-card-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 12px;
        transition: transform .3s ease;
    }
    .news-card:hover .news-card-thumb img {
        transform: scale(1.05);
    }
    .news-card-body {
        flex: 1;
        min-width: 0;
    }
    .news-card-meta {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 12px;
        color: var(--c-text-weak);
        margin-bottom: 8px;
    }
    .news-card-meta .badge {
        font-size: 11px;
    }
    .news-card-title {
        font-size: 16px;
        font-weight: 600;
        line-height: 1.4;
        margin-bottom: 6px;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .news-card-excerpt {
        font-size: 13px;
        color: var(--c-text-weak);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.5;
    }
    .news-empty {
        grid-column: 1 / -1;
        background: var(--c-surface);
        border: 1px dashed var(--c-border);
        border-radius: var(--radius);
        padding: 40px;
        text-align: center;
        color: var(--c-text-weak);
        font-size: 15px;
    }

    /* 数据带 */
    .data-band {
        background: linear-gradient(135deg, #141b22, #1c252e);
        border: 1px solid var(--c-border);
        border-radius: 20px;
        padding: 40px;
        margin-top: 40px;
    }
    .data-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
    .data-item {
        text-align: center;
        padding: 20px;
        background: rgba(255, 255, 255, 0.03);
        border-radius: var(--radius);
        border: 1px solid rgba(42, 53, 64, 0.5);
    }
    .data-item .num {
        font-size: 36px;
        font-weight: 800;
        background: linear-gradient(135deg, #ff6b75, var(--c-primary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        line-height: 1.2;
    }
    .data-item .label {
        color: var(--c-text-weak);
        font-size: 14px;
        margin-top: 8px;
    }

    /* 流程 */
    .steps-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
        margin-top: 40px;
    }
    .step-card {
        background: var(--c-surface);
        border: 1px solid var(--c-border);
        border-radius: var(--radius);
        padding: 28px 24px;
        text-align: center;
        position: relative;
        transition: var(--transition);
    }
    .step-card:hover {
        border-color: var(--c-primary);
        transform: translateY(-4px);
    }
    .step-num {
        width: 48px;
        height: 48px;
        margin: 0 auto 16px;
        background: var(--c-bg-alt);
        border: 2px solid var(--c-border);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        font-weight: 800;
        color: var(--c-primary);
        transition: var(--transition);
    }
    .step-card:hover .step-num {
        border-color: var(--c-primary);
        background: rgba(230, 57, 70, 0.1);
    }
    .step-card h3 {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 8px;
    }
    .step-card p {
        font-size: 13px;
        color: var(--c-text-weak);
        line-height: 1.6;
    }

    /* 双栏内容 */
    .split-section {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        align-items: center;
        margin-top: 40px;
    }
    .split-media {
        position: relative;
        border-radius: 20px;
        overflow: hidden;
        min-height: 360px;
        box-shadow: var(--shadow);
    }
    .split-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0;
        transition: transform .4s ease;
    }
    .split-media:hover img {
        transform: scale(1.03);
    }
    .split-media::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(15, 20, 24, 0.7), transparent 60%);
        z-index: 1;
    }
    .split-media .media-caption {
        position: absolute;
        bottom: 20px;
        left: 20px;
        right: 20px;
        z-index: 2;
        color: #fff;
        font-size: 14px;
        font-weight: 600;
    }
    .feature-list {
        list-style: none;
        margin: 0;
    }
    .feature-list li {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        padding: 14px 0;
        border-bottom: 1px solid rgba(42, 53, 64, 0.4);
        font-size: 15px;
        color: var(--c-text-weak);
        line-height: 1.6;
    }
    .feature-list li:last-child {
        border-bottom: none;
    }
    .feature-list li i {
        color: var(--c-primary);
        margin-top: 3px;
        font-size: 16px;
        flex-shrink: 0;
    }
    .feature-list li strong {
        display: block;
        color: var(--c-text);
        font-size: 15px;
        margin-bottom: 2px;
    }

    /* FAQ */
    .faq-list {
        max-width: 760px;
        margin: 0 auto;
        margin-top: 40px;
    }
    .faq-item {
        margin-bottom: 14px;
        border-radius: 14px;
        border: 1px solid var(--c-border);
        background: var(--c-surface);
        overflow: hidden;
        transition: var(--transition);
    }
    .faq-item:hover {
        border-color: rgba(230, 57, 70, 0.3);
    }
    .faq-item summary {
        padding: 20px 24px;
        font-weight: 600;
        cursor: pointer;
        font-size: 15px;
        list-style: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }
    .faq-item summary::-webkit-details-marker {
        display: none;
    }
    .faq-item summary::after {
        content: "\f078";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        color: var(--c-text-weak);
        font-size: 14px;
        transition: transform .3s ease;
        flex-shrink: 0;
    }
    .faq-item[open] summary::after {
        transform: rotate(180deg);
        color: var(--c-primary);
    }
    .faq-item .faq-body {
        padding: 0 24px 20px;
        color: var(--c-text-weak);
        font-size: 14px;
        line-height: 1.7;
    }

    /* CTA */
    .cta-section {
        background-image: url('/assets/images/backpic/back-3.png');
        background-size: cover;
        background-position: center;
        border-radius: 24px;
        overflow: hidden;
        position: relative;
        padding: 60px 48px;
        text-align: center;
    }
    .cta-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(15, 20, 24, 0.85);
    }
    .cta-section .cta-inner {
        position: relative;
        z-index: 1;
    }
    .cta-section h2 {
        font-size: 32px;
        font-weight: 800;
        margin-bottom: 12px;
    }
    .cta-section p {
        color: var(--c-text-weak);
        font-size: 16px;
        max-width: 560px;
        margin: 0 auto 32px;
    }

    /* 页脚 */
    .footer {
        background: #0b1014;
        border-top: 1px solid var(--c-border);
        padding: 48px 0 24px;
        margin-top: 0;
    }
    .footer-grid {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }
    .footer-brand .brand-logo {
        margin-bottom: 16px;
    }
    .footer-brand p {
        color: var(--c-text-weak);
        font-size: 14px;
        line-height: 1.7;
        max-width: 340px;
    }
    .footer-col h4 {
        font-size: 15px;
        font-weight: 700;
        margin-bottom: 16px;
    }
    .footer-col a {
        display: block;
        color: var(--c-text-weak);
        font-size: 14px;
        padding: 5px 0;
        transition: var(--transition);
    }
    .footer-col a:hover {
        color: var(--c-primary);
        padding-left: 4px;
    }
    .footer-bottom {
        border-top: 1px solid rgba(42, 53, 64, 0.5);
        padding-top: 20px;
        text-align: center;
        color: var(--c-text-weak);
        font-size: 13px;
    }
    .footer-bottom .domain {
        color: var(--c-text);
        font-weight: 600;
    }

    /* 响应式 */
    @media (max-width: 1024px) {
        .section-block {
            padding: 56px 0;
        }
        .section-title {
            font-size: 26px;
        }
        .hero-title {
            font-size: 36px;
        }
        .feature-grid {
            gap: 18px;
        }
        .feature-card {
            padding: 24px 20px;
        }
        .news-grid {
            grid-template-columns: 1fr;
        }
        .steps-grid {
            grid-template-columns: repeat(2, 1fr);
        }
        .data-grid {
            grid-template-columns: repeat(2, 1fr);
        }
        .footer-grid {
            grid-template-columns: 1fr 1fr;
        }
    }

    @media (max-width: 768px) {
        .header-search {
            display: none;
        }
        .menu-toggle {
            display: flex;
        }
        .nav-tabs-row {
            display: none;
        }
        .hero-section {
            min-height: auto;
        }
        .hero-content {
            padding: 60px 0;
        }
        .hero-title {
            font-size: 28px;
        }
        .hero-desc {
            font-size: 15px;
        }
        .hero-stats .grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
            padding: 16px 0;
        }
        .stat-item {
            border-right: none;
        }
        .feature-grid {
            grid-template-columns: 1fr;
        }
        .category-entry {
            grid-template-columns: 1fr;
            gap: 0;
        }
        .category-entry-media {
            min-height: 220px;
        }
        .category-entry-media::after {
            background: linear-gradient(to top, rgba(28, 37, 46, 0.95), transparent);
        }
        .category-entry-content {
            padding: 28px 24px;
        }
        .split-section {
            grid-template-columns: 1fr;
            gap: 28px;
        }
        .split-media {
            min-height: 280px;
        }
        .steps-grid {
            grid-template-columns: 1fr;
        }
        .data-grid {
            grid-template-columns: 1fr 1fr;
            gap: 14px;
        }
        .data-band {
            padding: 24px;
        }
        .cta-section {
            padding: 40px 24px;
        }
        .cta-section h2 {
            font-size: 24px;
        }
        .footer-grid {
            grid-template-columns: 1fr;
            gap: 28px;
        }
        .news-card {
            flex-direction: column;
        }
        .news-card-thumb {
            width: 100%;
            height: 160px;
        }
    }

    @media (max-width: 520px) {
        .container-custom {
            padding-left: 16px;
            padding-right: 16px;
        }
        .section-block {
            padding: 44px 0;
        }
        .hero-content {
            padding: 48px 0;
        }
        .hero-actions {
            flex-direction: column;
        }
        .hero-actions .btn-primary,
        .hero-actions .btn-ghost {
            width: 100%;
            justify-content: center;
        }
        .stat-number {
            font-size: 22px;
        }
        .stat-label {
            font-size: 12px;
        }
        .data-item .num {
            font-size: 28px;
        }
    }

/* roulang page: category1 */
:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent: #e11d48;
  --accent-hover: #be123c;
  --gold: #f59e0b;
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #64748b;
  --border: #e2e8f0;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, .08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, .12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 15px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all .25s ease;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

input {
  outline: none;
  border: none;
}

.container-custom {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--primary);
  box-shadow: 0 8px 30px rgba(15, 23, 42, .18);
}

.top-nav-wrap {
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), #f97316);
  color: #fff;
  border-radius: 10px;
  font-size: 17px;
  box-shadow: 0 4px 14px rgba(225, 29, 72, .35);
}

.brand-text {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .02em;
  white-space: nowrap;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-wrap .search-icon {
  position: absolute;
  left: 14px;
  color: #94a3b8;
  font-size: 14px;
  pointer-events: none;
}

.search-wrap input {
  width: 230px;
  height: 40px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  padding: 0 14px 0 40px;
  color: #fff;
  font-size: 14px;
  transition: all .3s ease;
}

.search-wrap input::placeholder {
  color: #94a3b8;
}

.search-wrap input:focus {
  background: rgba(255, 255, 255, .17);
  border-color: rgba(225, 29, 72, .6);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, .15);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 14px;
  transition: all .25s ease;
  box-shadow: 0 4px 14px rgba(225, 29, 72, .25);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(225, 29, 72, .35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .06);
  transition: all .25s ease;
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, .14);
}

/* ===== Tabs 导航 ===== */
.nav-tabs-wrap {
  background: var(--primary);
  position: relative;
}

.nav-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 0 0;
}

.nav-tabs::-webkit-scrollbar {
  display: none;
}

.tab-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px 12px;
  color: rgba(255, 255, 255, .6);
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px 10px 0 0;
  white-space: nowrap;
  transition: all .25s ease;
}

.tab-link i {
  font-size: 14px;
}

.tab-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, .06);
}

.tab-link.active {
  color: #fff;
  background: var(--bg);
}

.tab-link.active::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 3px 3px 0 0;
}

/* ===== Hero ===== */
.hero-banner {
  position: relative;
  overflow: hidden;
  padding: 90px 0 90px;
  background: var(--primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, .82), rgba(15, 23, 42, .95));
}

.hero-content {
  position: relative;
  z-index: 2;
}

.badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, .14);
  border: 1px solid rgba(245, 158, 11, .4);
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 6px 16px;
  border-radius: 999px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.3rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.01em;
  margin-top: 22px;
}

.hero-title .text-gold {
  color: var(--gold);
}

.hero-desc {
  max-width: 640px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, .75);
  font-size: 16px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 30px;
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(225, 29, 72, .35);
  transition: all .25s ease;
}

.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(225, 29, 72, .45);
}

.btn-accent:active {
  transform: translateY(0);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  transition: all .25s ease;
}

.btn-outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .12);
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 620px;
  margin: 48px auto 0;
}

.stat-box {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  padding: 20px 12px;
  backdrop-filter: blur(6px);
  text-align: center;
  transition: all .3s ease;
}

.stat-box:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(245, 158, 11, .4);
  transform: translateY(-3px);
}

.stat-value {
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1.2;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
  margin-top: 6px;
  letter-spacing: .05em;
}

/* ===== 板块通用 ===== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--accent);
  background: rgba(225, 29, 72, .08);
  padding: 5px 14px;
  border-radius: 999px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  font-weight: 800;
  line-height: 1.25;
  margin-top: 14px;
  color: var(--primary);
}

.section-desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-top: 12px;
}

/* ===== 赛事速览卡片 ===== */
.quick-section {
  padding: 70px 0;
}

.card-cat {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all .3s ease;
}

.card-cat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  opacity: 0;
  transition: opacity .3s ease;
}

.card-cat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(225, 29, 72, .25);
}

.card-cat:hover::before {
  opacity: 1;
}

.cat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
}

.card-cat h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
}

.card-cat p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

.cat-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 14px;
  opacity: 0;
  transform: translateY(4px);
  transition: all .3s ease;
}

.card-cat:hover .cat-more {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 焦点赛事卡片 ===== */
.featured-section {
  padding: 70px 0;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.card-guide {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
}

.card-guide:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(225, 29, 72, .2);
}

.card-cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.card-guide:hover .card-cover img {
  transform: scale(1.05);
}

.card-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, .25), transparent 60%);
}

.card-top-tags {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: var(--primary);
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow-sm);
}

.tag-red {
  background: rgba(225, 29, 72, .92);
  color: #fff;
}

.card-body {
  padding: 22px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
}

.card-body h3 a:hover {
  color: var(--accent);
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}

.card-meta i {
  font-size: 12px;
  color: var(--accent);
}

.card-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 12px;
  flex: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 18px;
  transition: gap .25s ease;
}

.card-link:hover {
  gap: 12px;
  color: var(--accent-hover);
}

/* ===== 流程面板 ===== */
.process-section {
  padding: 70px 0;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 29, 72, .12), transparent 70%);
  top: -100px;
  right: -100px;
}

.process-section .section-title {
  color: #fff;
}

.process-section .section-desc {
  color: rgba(255, 255, 255, .6);
}

.section-tag-gold {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--gold);
  background: rgba(245, 158, 11, .1);
  padding: 5px 14px;
  border-radius: 999px;
  text-transform: uppercase;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.step-item {
  position: relative;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 18px;
  padding: 30px 24px;
  transition: all .3s ease;
}

.step-item:hover {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(245, 158, 11, .35);
  transform: translateY(-4px);
}

.step-num {
  font-size: 42px;
  font-weight: 900;
  color: rgba(255, 255, 255, .12);
  line-height: 1;
  display: block;
}

.step-item h3 {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  margin-top: 16px;
}

.step-item p {
  color: rgba(255, 255, 255, .55);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 10px;
}

.step-item::after {
  content: '';
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
  opacity: 0;
  transition: opacity .3s ease;
}

.step-item:hover::after {
  opacity: 1;
}

/* ===== 排行区 ===== */
.rank-section {
  padding: 70px 0;
}

.rank-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.rank-panel .panel-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.rank-panel .panel-title i {
  color: var(--accent);
}

.rank-list {
  margin-top: 20px;
}

.rank-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 10px;
  border-radius: 12px;
  border-bottom: 1px solid #f1f5f9;
  transition: all .25s ease;
}

.rank-item:last-child {
  border-bottom: none;
}

.rank-item:hover {
  background: #f8fafc;
  transform: translateX(4px);
}

.rank-badge {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(225, 29, 72, .08);
  color: var(--accent);
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

.rank-item:nth-child(1) .rank-badge {
  background: linear-gradient(135deg, var(--gold), #fbbf24);
  color: #fff;
}

.rank-item:nth-child(2) .rank-badge {
  background: linear-gradient(135deg, #94a3b8, #cbd5e1);
  color: #fff;
}

.rank-item:nth-child(3) .rank-badge {
  background: linear-gradient(135deg, #d97706, #f59e0b);
  color: #fff;
}

.rank-info {
  flex: 1;
}

.rank-info h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}

.rank-info p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
}

.rank-heat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
}

.rank-heat .heat-bar {
  width: 70px;
  height: 6px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
}

.rank-heat .heat-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
}

.sidebar-panel {
  background: var(--primary);
  border-radius: 18px;
  padding: 30px;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sidebar-panel::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, .15), transparent 70%);
  right: -60px;
  bottom: -60px;
}

.sidebar-panel .sidebar-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
}

.sidebar-panel .sidebar-desc {
  color: rgba(255, 255, 255, .6);
  font-size: 14px;
  margin-top: 10px;
  line-height: 1.7;
}

.sidebar-list {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, .75);
}

.sidebar-list li i {
  color: var(--gold);
  font-size: 13px;
}

.sidebar-panel .sidebar-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .15);
  padding: 11px 20px;
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  transition: all .25s ease;
  position: relative;
  z-index: 2;
}

.sidebar-panel .sidebar-link:hover {
  background: rgba(255, 255, 255, .2);
  transform: translateY(-2px);
}

/* ===== FAQ ===== */
.faq-section {
  padding: 70px 0;
  background: #fff;
  border-top: 1px solid var(--border);
}

.faq-list {
  max-width: 820px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: all .3s ease;
}

.faq-item.open {
  border-color: rgba(225, 29, 72, .3);
  box-shadow: var(--shadow-md);
  background: #fff;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  transition: color .25s ease;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(225, 29, 72, .08);
  color: var(--accent);
  font-size: 13px;
  flex-shrink: 0;
  transition: all .3s ease;
}

.faq-item.open .faq-arrow {
  background: var(--accent);
  color: #fff;
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq-answer-wrap {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

/* ===== CTA ===== */
.cta-section {
  padding: 70px 0 80px;
}

.cta-panel {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #1a1a2e 100%);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  overflow: hidden;
}

.cta-panel::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 29, 72, .25), transparent 70%);
  top: -120px;
  left: -80px;
}

.cta-panel::after {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, .15), transparent 70%);
  bottom: -140px;
  right: -60px;
}

.cta-panel h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
  position: relative;
  z-index: 2;
}

.cta-panel p {
  color: rgba(255, 255, 255, .65);
  font-size: 15px;
  max-width: 600px;
  margin: 14px auto 0;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

.cta-form {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 32px auto 0;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.cta-form input {
  flex: 1;
  min-width: 240px;
  height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .15);
  color: #fff;
  font-size: 14px;
  transition: all .3s ease;
}

.cta-form input::placeholder {
  color: rgba(255, 255, 255, .45);
}

.cta-form input:focus {
  border-color: rgba(225, 29, 72, .7);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, .2);
  background: rgba(255, 255, 255, .15);
}

.cta-form button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 0 26px;
  border-radius: 12px;
  font-size: 15px;
  transition: all .25s ease;
  height: 48px;
}

.cta-form button:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(225, 29, 72, .4);
}

/* ===== Footer ===== */
.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, .6);
  padding: 70px 0 30px;
  border-top: 3px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-brand .brand-logo {
  color: #fff;
}

.footer-brand .brand-text {
  font-size: 19px;
}

.footer-brand>p {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.8;
  max-width: 360px;
}

.footer-col h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 12px;
  transition: all .25s ease;
}

.footer-col a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
}

.footer-bottom .domain {
  color: rgba(255, 255, 255, .65);
  font-weight: 600;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .search-wrap input {
    width: 180px;
  }

  .step-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-nav {
    height: 64px;
  }

  .nav-actions {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--primary);
    padding: 16px 20px;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 16px 30px rgba(15, 23, 42, .3);
  }

  .nav-actions.open {
    display: flex;
  }

  .search-wrap input {
    width: 100%;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-banner {
    padding: 70px 0;
  }

  .hero-stats {
    max-width: 100%;
  }

  .stat-value {
    font-size: 22px;
  }

  .stat-label {
    font-size: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 520px) {
  .container-custom {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-text {
    font-size: 15px;
  }

  .brand-icon {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-accent,
  .btn-outline-light {
    width: 100%;
  }

  .hero-stats {
    gap: 10px;
  }

  .stat-box {
    padding: 14px 8px;
    border-radius: 12px;
  }

  .stat-value {
    font-size: 18px;
  }

  .step-grid {
    grid-template-columns: 1fr;
  }

  .card-cat {
    padding: 22px 16px;
  }

  .rank-panel {
    padding: 20px;
  }

  .rank-item {
    flex-wrap: wrap;
    gap: 10px;
  }

  .rank-heat {
    width: 100%;
    justify-content: flex-start;
    padding-left: 48px;
  }

  .cta-panel {
    padding: 40px 20px;
  }

  .cta-form input {
    min-width: 100%;
  }

  .cta-form button {
    width: 100%;
    justify-content: center;
  }
}

/* roulang page: article */
:root {
    --color-ink: #0f172a;
    --color-brand: #e11d48;
    --color-brand-dark: #be123c;
    --color-accent: #f59e0b;
    --color-bg: #f8fafc;
    --color-surface: #ffffff;
    --color-text: #1e293b;
    --color-muted: #64748b;
    --color-border: #e2e8f0;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
    --shadow-brand: 0 6px 20px rgba(225, 29, 72, 0.25);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input {
    font-family: inherit;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.container-custom {
    max-width: 72rem;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container-custom {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container-custom {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* 顶部状态条 */
.status-toolbar {
    background: linear-gradient(90deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.85);
    }
}

/* 双层导航 */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(15, 23, 42, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-tabs {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.nav-tabs .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1.1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.nav-tabs .nav-link:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.nav-tabs .nav-link.active {
    background: var(--color-ink);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

/* Hero 文章头 */
.article-hero {
    position: relative;
    background-image: url('/assets/images/backpic/back-1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.article-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.78) 50%, rgba(15, 23, 42, 0.85) 100%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #e2e8f0;
    backdrop-filter: blur(4px);
}

.breadcrumb-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: #94a3b8;
}

.breadcrumb-line a:hover {
    color: #fbbf24;
}

/* 文章正文排版 */
.article-body {
    font-size: 1rem;
    line-height: 1.9;
    color: #334155;
    word-break: break-word;
}

.article-body h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #0f172a;
    margin: 2.2rem 0 0.9rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #f1f5f9;
    letter-spacing: -0.01em;
}

.article-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin: 1.8rem 0 0.7rem;
}

.article-body h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    margin: 1.4rem 0 0.5rem;
}

.article-body p {
    margin-bottom: 1.25rem;
}

.article-body a {
    color: var(--color-brand);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: rgba(225, 29, 72, 0.3);
}

.article-body a:hover {
    color: var(--color-brand-dark);
    text-decoration-color: var(--color-brand-dark);
}

.article-body ul,
.article-body ol {
    margin: 1.1rem 0;
    padding-left: 1.5rem;
}

.article-body ul {
    list-style: disc;
}

.article-body ol {
    list-style: decimal;
}

.article-body li {
    margin-bottom: 0.45rem;
}

.article-body li::marker {
    color: var(--color-brand);
}

.article-body blockquote {
    border-left: 4px solid var(--color-brand);
    padding: 0.8rem 1.2rem;
    margin: 1.5rem 0;
    background: #fff5f5;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: #475569;
    font-style: italic;
}

.article-body img {
    border-radius: var(--radius);
    margin: 1.8rem auto;
    box-shadow: var(--shadow);
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.article-body th {
    background: #f8fafc;
    font-weight: 600;
    text-align: left;
    padding: 0.7rem 1rem;
    border-bottom: 2px solid var(--color-border);
    color: #0f172a;
}

.article-body td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.article-body pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 1.2rem;
    border-radius: var(--radius-sm);
    overflow-x: auto;
    font-size: 0.875rem;
    line-height: 1.7;
    margin: 1.5rem 0;
}

.article-body code {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.9em;
    background: #f1f5f9;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

.article-body pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

.article-body hr {
    border: none;
    border-top: 2px solid var(--color-border);
    margin: 2rem 0;
}

/* 卡片通用 */
.info-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

/* 侧栏卡片 */
.sidebar-card {
    background: #ffffff;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

.sidebar-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-card h3 i {
    color: var(--color-brand);
}

/* CTA 区域 */
.cta-glow {
    box-shadow: 0 0 50px rgba(225, 29, 72, 0.15);
}

/* 页脚 */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 3.5rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    margin-top: 0.8rem;
    font-size: 0.875rem;
    line-height: 1.8;
    color: #64748b;
}

.footer-col h4 {
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.9rem;
}

.footer-col a {
    display: block;
    padding: 0.25rem 0;
    font-size: 0.85rem;
    color: #94a3b8;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #fbbf24;
}

.footer-bottom {
    padding: 1.2rem 0;
    text-align: center;
    font-size: 0.8rem;
    color: #475569;
}

.footer-bottom .domain {
    color: #64748b;
    font-weight: 500;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
}

/* 响应式 */
@media (max-width: 768px) {
    .article-hero {
        background-attachment: scroll;
    }
}

@media (max-width: 640px) {
    .container-custom {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }
}
