/* roulang page: index */
:root {
            --bg-body: #0b0d14;
            --bg-header: #0f121b;
            --bg-surface: #141724;
            --bg-card: #191d2d;
            --bg-card-hover: #21263b;
            --border-subtle: rgba(255, 255, 255, 0.08);
            --border-highlight: rgba(157, 78, 221, 0.45);
            --primary-purple: #9D4EDD;
            --primary-purple-hover: #b168eb;
            --primary-glow: rgba(157, 78, 221, 0.35);
            --accent-blue: #3B82F6;
            --accent-orange: #F97316;
            --accent-emerald: #10B981;
            --accent-pink: #EC4899;
            --accent-amber: #EAB308;
            --text-main: #f3f4f6;
            --text-secondary: #9ca3af;
            --text-muted: #6b7280;
            --radius-lg: 20px;
            --radius-md: 14px;
            --radius-sm: 8px;
            --transition-base: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        }

        * {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            background-color: var(--bg-body);
            color: var(--text-main);
            font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
            line-height: 1.6;
            margin: 0;
            padding: 0;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: var(--transition-base);
        }

        a:focus-visible,
        button:focus-visible {
            outline: 2px solid var(--primary-purple);
            outline-offset: 2px;
        }

        /* Header Navigation */
        .site-header {
            background-color: rgba(15, 18, 27, 0.94);
            backdrop-filter: blur(14px);
            border-bottom: 1px solid var(--border-subtle);
            position: sticky;
            top: 0;
            z-index: 1030;
        }

        .navbar-custom {
            padding: 12px 0;
        }

        .brand-wrap {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .brand-logo-img {
            width: 44px;
            height: 44px;
            border-radius: 10px;
            object-fit: cover;
            box-shadow: 0 4px 14px var(--primary-glow);
            flex-shrink: 0;
        }

        .brand-text-group {
            display: flex;
            flex-direction: column;
        }

        .brand-title {
            font-size: 1.08rem;
            font-weight: 700;
            color: #ffffff;
            letter-spacing: 0.3px;
            line-height: 1.25;
        }

        .brand-subtitle {
            font-size: 0.74rem;
            color: var(--text-secondary);
            line-height: 1.2;
            margin-top: 2px;
        }

        .nav-links-custom {
            display: flex;
            align-items: center;
            gap: 26px;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .nav-links-custom .nav-link-item {
            font-size: 0.92rem;
            font-weight: 500;
            color: var(--text-secondary);
            padding: 8px 2px;
            position: relative;
        }

        .nav-links-custom .nav-link-item:hover,
        .nav-links-custom .nav-link-item.active {
            color: #ffffff;
        }

        .nav-links-custom .nav-link-item.active::after,
        .nav-links-custom .nav-link-item:hover::after {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            bottom: -2px;
            height: 2px;
            background: var(--primary-purple);
            border-radius: 2px;
        }

        .navbar-toggler-custom {
            border: 1px solid var(--border-subtle);
            background: var(--bg-card);
            color: #ffffff;
            padding: 6px 10px;
            border-radius: 8px;
        }

        /* Hero Banner Section */
        .hero-section {
            padding: 24px 0 18px;
        }

        .hero-banner-card {
            position: relative;
            border-radius: var(--radius-lg);
            overflow: hidden;
            border: 1px solid var(--border-subtle);
            background-color: var(--bg-surface);
            min-height: 410px;
            display: flex;
            align-items: center;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
        }

        .hero-slide {
            position: relative;
            width: 100%;
            min-height: 410px;
            display: flex;
            align-items: center;
            padding: 44px 72px;
            background-size: cover;
            background-position: center;
        }

        .hero-slide::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, rgba(11, 13, 20, 0.96) 0%, rgba(15, 18, 29, 0.86) 48%, rgba(20, 23, 36, 0.52) 100%);
            z-index: 1;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 720px;
        }

        .hero-status-pill {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(25, 29, 45, 0.88);
            border: 1px solid rgba(255, 255, 255, 0.12);
            padding: 5px 12px;
            border-radius: 999px;
            font-size: 0.78rem;
            color: #e5e7eb;
            margin-bottom: 18px;
        }

        .hero-status-dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background-color: var(--accent-emerald);
            box-shadow: 0 0 8px var(--accent-emerald);
        }

        .hero-mini-badge {
            background-color: var(--accent-blue);
            color: #ffffff;
            font-weight: 700;
            font-size: 0.68rem;
            padding: 2px 7px;
            border-radius: 999px;
            letter-spacing: 0.4px;
        }

        .hero-mini-badge.purple {
            background-color: var(--primary-purple);
        }

        .hero-title {
            font-size: 2.35rem;
            font-weight: 800;
            line-height: 1.24;
            color: #ffffff;
            margin-bottom: 14px;
            letter-spacing: -0.01em;
        }

        .hero-desc {
            font-size: 0.96rem;
            color: #cbd5e1;
            line-height: 1.68;
            margin-bottom: 20px;
            max-width: 640px;
        }

        .hero-feature-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 24px;
        }

        .hero-tag-item {
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #d1d5db;
            font-size: 0.78rem;
            padding: 5px 13px;
            border-radius: 999px;
        }

        .hero-cta-group {
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
            align-items: center;
        }

        .btn-hero-primary {
            background: linear-gradient(135deg, var(--primary-purple), #7b2cbf);
            color: #ffffff;
            border: none;
            padding: 11px 24px;
            border-radius: 999px;
            font-size: 0.92rem;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            box-shadow: 0 8px 24px var(--primary-glow);
            transition: var(--transition-base);
        }

        .btn-hero-primary:hover {
            background: linear-gradient(135deg, var(--primary-purple-hover), #8f3fd4);
            color: #ffffff;
            transform: translateY(-2px);
            box-shadow: 0 12px 28px rgba(157, 78, 221, 0.5);
        }

        .btn-hero-secondary {
            background: rgba(255, 255, 255, 0.07);
            color: #f3f4f6;
            border: 1px solid rgba(255, 255, 255, 0.18);
            padding: 11px 22px;
            border-radius: 999px;
            font-size: 0.92rem;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: var(--transition-base);
        }

        .btn-hero-secondary:hover {
            background: rgba(255, 255, 255, 0.14);
            color: #ffffff;
            border-color: rgba(255, 255, 255, 0.35);
        }

        .hero-arrow-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            z-index: 4;
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: rgba(15, 18, 27, 0.72);
            border: 1px solid rgba(255, 255, 255, 0.14);
            color: #e5e7eb;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition-base);
        }

        .hero-arrow-btn:hover {
            background: var(--primary-purple);
            border-color: var(--primary-purple);
            color: #ffffff;
        }

        .hero-arrow-prev { left: 16px; }
        .hero-arrow-next { right: 16px; }

        .hero-indicators-custom {
            position: absolute;
            left: 72px;
            bottom: 20px;
            z-index: 4;
            display: flex;
            gap: 8px;
            margin: 0;
            padding: 0;
            list-style: none;
        }

        .hero-indicators-custom button {
            width: 8px;
            height: 8px;
            border-radius: 999px;
            border: none;
            background: rgba(255, 255, 255, 0.3);
            padding: 0;
            transition: var(--transition-base);
        }

        .hero-indicators-custom button.active {
            width: 24px;
            background: var(--primary-purple);
        }

        /* Main Two-Column Layout */
        .main-workspace {
            padding: 18px 0 42px;
        }

        .content-panel-box {
            background-color: var(--bg-surface);
            border: 1px solid var(--border-subtle);
            border-radius: var(--radius-lg);
            padding: 22px;
            margin-bottom: 24px;
        }

        .section-head-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 18px;
            gap: 12px;
            flex-wrap: wrap;
        }

        .section-title-left {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.15rem;
            font-weight: 700;
            color: #ffffff;
            margin: 0;
        }

        .section-title-left::before {
            content: '';
            width: 4px;
            height: 18px;
            background: var(--primary-purple);
            border-radius: 2px;
            display: inline-block;
        }

        .section-meta-right {
            font-size: 0.78rem;
            color: var(--text-muted);
        }

        /* 5-Column Poster Matrix */
        .poster-grid-5 {
            display: grid;
            grid-template-columns: repeat(5, minmax(0, 1fr));
            gap: 14px;
        }

        .poster-card {
            background-color: var(--bg-card);
            border: 1px solid var(--border-subtle);
            border-radius: var(--radius-md);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            transition: var(--transition-base);
            cursor: pointer;
        }

        .poster-card:hover {
            transform: translateY(-4px);
            border-color: var(--border-highlight);
            background-color: var(--bg-card-hover);
            box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
        }

        .poster-thumb-wrap {
            position: relative;
            aspect-ratio: 3 / 4;
            overflow: hidden;
            background-color: #0d1018;
        }

        .poster-thumb-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .poster-card:hover .poster-thumb-img {
            transform: scale(1.06);
        }

        .poster-thumb-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(11, 13, 20, 0.25) 0%, rgba(11, 13, 20, 0.05) 45%, rgba(11, 13, 20, 0.94) 100%);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 10px;
        }

        .poster-top-badges {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 6px;
        }

        .status-pill {
            font-size: 0.68rem;
            font-weight: 700;
            padding: 3px 8px;
            border-radius: 999px;
            color: #ffffff;
            letter-spacing: 0.2px;
        }

        .status-pill.emerald { background-color: var(--accent-emerald); }
        .status-pill.blue { background-color: var(--accent-blue); }
        .status-pill.orange { background-color: var(--accent-orange); }
        .status-pill.purple { background-color: var(--primary-purple); }

        .score-badge {
            background: rgba(15, 18, 27, 0.85);
            border: 1px solid rgba(255, 255, 255, 0.16);
            color: var(--accent-orange);
            font-size: 0.72rem;
            font-weight: 800;
            padding: 2px 7px;
            border-radius: 999px;
        }

        .poster-bottom-info {
            color: #ffffff;
        }

        .poster-title-overlay {
            font-size: 0.9rem;
            font-weight: 700;
            line-height: 1.32;
            margin-bottom: 3px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .poster-sub-overlay {
            font-size: 0.72rem;
            color: #cbd5e1;
        }

        .poster-card-body {
            padding: 11px 12px 13px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
            justify-content: space-between;
        }

        .poster-review {
            font-size: 0.78rem;
            color: var(--text-secondary);
            line-height: 1.48;
            margin-bottom: 8px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .poster-tech-spec {
            font-size: 0.71rem;
            color: var(--text-muted);
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            padding-top: 7px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* Sidebar Ranking Panels */
        .sidebar-panel {
            background-color: var(--bg-surface);
            border: 1px solid var(--border-subtle);
            border-radius: var(--radius-lg);
            padding: 20px;
            margin-bottom: 20px;
        }

        .ranking-tabs {
            display: flex;
            gap: 6px;
            background: var(--bg-body);
            padding: 4px;
            border-radius: 10px;
            margin-bottom: 16px;
            border: 1px solid var(--border-subtle);
        }

        .ranking-tab-btn {
            flex: 1;
            border: none;
            background: transparent;
            color: var(--text-secondary);
            font-size: 0.76rem;
            font-weight: 600;
            padding: 7px 6px;
            border-radius: 7px;
            transition: var(--transition-base);
            white-space: nowrap;
        }

        .ranking-tab-btn:hover {
            color: #ffffff;
        }

        .ranking-tab-btn.active {
            background: var(--primary-purple);
            color: #ffffff;
            box-shadow: 0 4px 12px var(--primary-glow);
        }

        .ranking-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .ranking-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            background: var(--bg-card);
            border: 1px solid rgba(255, 255, 255, 0.05);
            padding: 10px 12px;
            border-radius: 10px;
            transition: var(--transition-base);
        }

        .ranking-item:hover {
            background: var(--bg-card-hover);
            border-color: var(--border-highlight);
        }

        .ranking-item-left {
            display: flex;
            align-items: center;
            gap: 10px;
            min-width: 0;
        }

        .rank-num {
            width: 24px;
            height: 24px;
            border-radius: 6px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            font-weight: 800;
            color: #ffffff;
            flex-shrink: 0;
        }

        .rank-num.rank-1 { background-color: var(--accent-pink); }
        .rank-num.rank-2 { background-color: var(--accent-orange); }
        .rank-num.rank-3 { background-color: var(--accent-amber); color: #111827; }
        .rank-num.rank-other { background-color: #2c3347; color: #d1d5db; }

        .rank-title {
            font-size: 0.84rem;
            font-weight: 600;
            color: #f3f4f6;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .rank-metric {
            font-size: 0.74rem;
            color: var(--text-secondary);
            white-space: nowrap;
            flex-shrink: 0;
        }

        /* Extended Sections: Timeline & Decode Matrix */
        .extended-section {
            padding: 36px 0;
            border-top: 1px solid var(--border-subtle);
        }

        .extended-section.alt-bg {
            background: rgba(20, 23, 36, 0.55);
        }

        .timeline-card {
            background: var(--bg-card);
            border: 1px solid var(--border-subtle);
            border-radius: var(--radius-md);
            padding: 18px;
            height: 100%;
            transition: var(--transition-base);
        }

        .timeline-card:hover {
            border-color: var(--border-highlight);
            transform: translateY(-2px);
        }

        .timeline-time {
            display: inline-block;
            font-size: 0.76rem;
            font-weight: 700;
            color: var(--primary-purple);
            background: rgba(157, 78, 221, 0.14);
            padding: 3px 10px;
            border-radius: 999px;
            margin-bottom: 10px;
        }

        .timeline-batch {
            font-size: 0.98rem;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 6px;
        }

        .timeline-count {
            font-size: 0.84rem;
            color: var(--text-secondary);
            margin-bottom: 10px;
        }

        .timeline-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 0.75rem;
            color: var(--text-muted);
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            padding-top: 10px;
        }

        .decode-card {
            background: var(--bg-surface);
            border: 1px solid var(--border-subtle);
            border-radius: var(--radius-md);
            padding: 20px;
            height: 100%;
            transition: var(--transition-base);
        }

        .decode-card:hover {
            border-color: var(--border-highlight);
            background: var(--bg-card);
        }

        .decode-icon-box {
            width: 42px;
            height: 42px;
            border-radius: 10px;
            background: rgba(157, 78, 221, 0.16);
            color: var(--primary-purple);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            margin-bottom: 12px;
        }

        .decode-title {
            font-size: 1rem;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 6px;
        }

        .decode-codec {
            font-size: 0.8rem;
            color: var(--accent-blue);
            font-weight: 600;
            margin-bottom: 4px;
        }

        .decode-res {
            font-size: 0.78rem;
            color: var(--accent-emerald);
            margin-bottom: 8px;
        }

        .decode-desc {
            font-size: 0.82rem;
            color: var(--text-secondary);
            line-height: 1.55;
            margin: 0;
        }

        /* Access Guide Strip */
        .access-banner {
            background: linear-gradient(135deg, rgba(157, 78, 221, 0.15), rgba(59, 130, 246, 0.1));
            border: 1px solid rgba(157, 78, 221, 0.3);
            border-radius: var(--radius-lg);
            padding: 26px 28px;
        }

        /* Modal Preview */
        .modal-dark-custom .modal-content {
            background-color: var(--bg-surface);
            border: 1px solid var(--border-highlight);
            color: var(--text-main);
            border-radius: var(--radius-lg);
        }

        .modal-dark-custom .modal-header {
            border-bottom: 1px solid var(--border-subtle);
        }

        .modal-dark-custom .btn-close {
            filter: invert(1) grayscale(100%) brightness(200%);
        }

        /* Footer */
        .site-footer {
            background-color: #090b10;
            border-top: 1px solid var(--border-subtle);
            padding: 36px 0 28px;
            color: var(--text-secondary);
        }

        .footer-brand-img {
            width: 40px;
            height: 40px;
            border-radius: 9px;
            object-fit: cover;
        }

        .footer-links {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-links a {
            font-size: 0.86rem;
            color: var(--text-secondary);
        }

        .footer-links a:hover {
            color: var(--primary-purple);
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            margin-top: 22px;
            padding-top: 18px;
            font-size: 0.8rem;
            color: var(--text-muted);
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 12px;
        }

        /* Responsive Breakpoints */
        @media (max-width: 1200px) {
            .poster-grid-5 {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }

        @media (max-width: 1024px) {
            .hero-slide {
                padding: 36px 54px;
            }
            .hero-title {
                font-size: 1.95rem;
            }
            .hero-indicators-custom {
                left: 54px;
            }
            .poster-grid-5 {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }

        @media (max-width: 768px) {
            .hero-slide {
                padding: 32px 24px 48px;
                min-height: 360px;
            }
            .hero-title {
                font-size: 1.65rem;
            }
            .hero-arrow-btn {
                display: none;
            }
            .hero-indicators-custom {
                left: 24px;
                bottom: 16px;
            }
            .poster-grid-5 {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
            .content-panel-box {
                padding: 16px;
            }
            .nav-links-custom {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
                padding: 14px 0 6px;
            }
        }

        @media (max-width: 520px) {
            .brand-title {
                font-size: 0.95rem;
            }
            .brand-subtitle {
                font-size: 0.68rem;
            }
            .hero-title {
                font-size: 1.4rem;
            }
            .hero-desc {
                font-size: 0.86rem;
            }
            .hero-cta-group {
                flex-direction: column;
                align-items: stretch;
            }
            .btn-hero-primary,
            .btn-hero-secondary {
                justify-content: center;
                width: 100%;
            }
            .poster-grid-5 {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 10px;
            }
            .access-banner {
                padding: 20px 16px;
            }
        }

/* roulang: framework shim */
/* 覆盖 Bootstrap 等对 a/btn 的全局默认，避免导航出现下划线/蓝链 */
.site-header a,.site-header a:hover,.navbar a,.navbar a:hover,.nav-links a,.nav-links a:hover,header nav a,header nav a:hover{text-decoration:none}
.site-header .btn,.navbar .btn,.nav-cta{text-decoration:none}
