/* roulang page: index */
:root {
            --coral: #d85c4d;
            --coral-dark: #a63f3a;
            --ink: #202523;
            --muted: #69716d;
            --paper: #f6f5f1;
            --white: #ffffff;
            --line: #e2e3dc;
            --mint: #4f8c78;
            --deep: #173a36;
            --soft-coral: #f8e6e1;
            --radius: 8px;
            --shadow: 0 12px 30px rgba(28, 42, 37, .08);
            --container: 1240px;
        }
        * { box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body {
            margin: 0;
            color: var(--ink);
            background: var(--paper);
            font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
            font-size: 16px;
            line-height: 1.72;
        }
        a { color: inherit; text-decoration: none; }
        img { display: block; max-width: 100%; }
        button, input, select { font: inherit; }
        button { cursor: pointer; }
        :focus-visible { outline: 3px solid #2b9580; outline-offset: 3px; }
        .container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
        .site-header {
            position: sticky;
            top: 0;
            z-index: 20;
            background: rgba(246,245,241,.96);
            border-bottom: 1px solid var(--line);
            backdrop-filter: blur(12px);
        }
        .nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
        .brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; font-weight: 800; }
        .brand-mark {
            width: 38px; height: 38px; display: grid; place-items: center;
            color: var(--white); background: var(--coral); border-radius: 7px;
            font-size: 15px; letter-spacing: 0;
        }
        .brand-name { font-size: 17px; letter-spacing: 0; }
        .nav-links { display: flex; align-items: center; gap: 6px; }
        .nav-links a {
            padding: 9px 12px; border-radius: 6px; color: #505955; font-size: 14px;
            transition: .2s ease;
        }
        .nav-links a:hover, .nav-links a.active { color: var(--coral-dark); background: var(--soft-coral); }
        .nav-note { color: var(--muted); font-size: 13px; white-space: nowrap; }
        .menu-toggle { display: none; border: 1px solid var(--line); background: var(--white); color: var(--ink); border-radius: 6px; padding: 8px 11px; }
        .hero {
            position: relative;
            overflow: hidden;
            padding: 78px 0 72px;
            background: var(--deep);
            color: var(--white);
        }
        .hero:after {
            content: ""; position: absolute; right: 7%; top: 30px; width: 330px; height: 330px;
            border: 1px solid rgba(255,255,255,.14); transform: rotate(18deg); border-radius: 28px;
        }
        .hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; }
        .eyebrow { color: #f3a89a; font-weight: 700; font-size: 13px; letter-spacing: .08em; }
        h1, h2, h3, p { margin-top: 0; }
        h1 { margin: 14px 0 18px; max-width: 650px; font-size: clamp(38px, 5vw, 68px); line-height: 1.08; letter-spacing: 0; }
        .hero-lead { max-width: 690px; margin-bottom: 28px; color: #d8e2dc; font-size: 17px; }
        .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
        .btn {
            border: 1px solid transparent; border-radius: 6px; padding: 12px 20px;
            display: inline-flex; align-items: center; justify-content: center; gap: 8px;
            font-weight: 700; transition: .2s ease;
        }
        .btn-primary { background: var(--coral); color: var(--white); }
        .btn-primary:hover { background: #e87461; transform: translateY(-2px); }
        .btn-secondary { color: var(--white); border-color: rgba(255,255,255,.36); background: transparent; }
        .btn-secondary:hover { background: rgba(255,255,255,.1); }
        .hero-side { border-left: 1px solid rgba(255,255,255,.22); padding-left: 28px; }
        .hero-side strong { display: block; margin-bottom: 8px; color: #f3a89a; font-size: 14px; }
        .hero-side p { color: #d8e2dc; font-size: 14px; }
        section { padding: 76px 0; border-bottom: 1px solid var(--line); }
        .section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
        .section-head h2 { margin-bottom: 7px; font-size: 30px; line-height: 1.2; }
        .section-head p { max-width: 650px; margin-bottom: 0; color: var(--muted); }
        .section-kicker { color: var(--coral-dark); font-size: 13px; font-weight: 800; letter-spacing: .06em; }
        .metrics { background: var(--white); }
        .metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
        .metric { padding: 26px; background: var(--white); }
        .metric b { display: block; color: var(--deep); font-size: 36px; line-height: 1; margin-bottom: 10px; }
        .metric span { color: var(--muted); font-size: 14px; }
        .content-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
        .movie-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 4px 16px rgba(28,42,37,.04); transition: .22s ease; }
        .movie-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
        .poster { position: relative; aspect-ratio: 2 / 3; overflow: hidden; background: #d8d8d2; }
        .poster img { width: 100%; height: 100%; object-fit: cover; }
        .badges { position: absolute; left: 10px; top: 10px; display: flex; flex-wrap: wrap; gap: 5px; }
        .badge { padding: 3px 7px; border-radius: 4px; color: var(--white); background: rgba(23,58,54,.88); font-size: 11px; line-height: 1.35; }
        .badge.coral { background: var(--coral); }
        .movie-info { padding: 14px; }
        .movie-title { margin-bottom: 6px; font-weight: 800; }
        .movie-meta { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 13px; }
        .rating { color: var(--coral-dark); font-weight: 800; }
        .popular { background: #eee9e3; }
        .popular-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
        .popular-card { display: grid; grid-template-columns: 150px 1fr; min-height: 190px; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
        .popular-card .poster { aspect-ratio: 4 / 5; }
        .popular-card .movie-info { padding: 20px; display: flex; flex-direction: column; justify-content: center; }
        .hotline { color: var(--mint); font-size: 13px; font-weight: 700; }
        .category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
        .category { min-height: 185px; padding: 22px; background: var(--white); border-top: 4px solid var(--coral); border-radius: var(--radius); box-shadow: var(--shadow); }
        .category:nth-child(2) { border-top-color: var(--mint); }
        .category:nth-child(3) { border-top-color: #7d6d8e; }
        .category:nth-child(4) { border-top-color: #c68b47; }
        .category:nth-child(5) { border-top-color: #567a89; }
        .category h3 { margin-bottom: 10px; font-size: 18px; }
        .category p { margin: 0; color: var(--muted); font-size: 14px; }
        .comparison { background: var(--deep); color: var(--white); }
        .comparison .section-head p { color: #cbd7d1; }
        .compare-table { overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); }
        .compare-row { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); border-bottom: 1px solid rgba(255,255,255,.14); }
        .compare-row:last-child { border-bottom: 0; }
        .compare-row > div { padding: 15px 18px; border-right: 1px solid rgba(255,255,255,.14); color: #d7e0dc; font-size: 14px; }
        .compare-row > div:last-child { border-right: 0; }
        .compare-row.head > div { color: #f3a89a; background: rgba(255,255,255,.06); font-weight: 800; }
        .topic-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 18px; }
        .topic { min-height: 230px; padding: 26px; display: flex; flex-direction: column; justify-content: end; color: var(--white); border-radius: var(--radius); background: #8b4f51; }
        .topic:nth-child(2) { background: #396c64; }
        .topic:nth-child(3) { background: #625878; }
        .topic h3 { font-size: 22px; margin-bottom: 7px; }
        .topic p { margin: 0; color: #f2efec; font-size: 14px; }
        .ranking { background: var(--white); }
        .rank-list { border-top: 1px solid var(--line); }
        .rank-item { display: grid; grid-template-columns: 58px 1.4fr .8fr .5fr .8fr; align-items: center; gap: 16px; padding: 16px 10px; border-bottom: 1px solid var(--line); }
        .rank-no { color: var(--coral); font-size: 25px; font-weight: 900; }
        .rank-name { font-weight: 800; }
        .rank-item small { color: var(--muted); }
        .rank-score { color: var(--coral-dark); font-weight: 800; }
        .tag { display: inline-block; padding: 4px 8px; border-radius: 4px; color: var(--mint); background: #e7f1ed; font-size: 12px; }
        .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
        .news-item { display: grid; grid-template-columns: 96px 1fr; gap: 15px; padding: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
        .news-thumb { width: 96px; aspect-ratio: 1 / 1; border-radius: 5px; object-fit: cover; }
        .news-item h3 { margin: 2px 0 6px; font-size: 16px; line-height: 1.4; }
        .news-item time { color: var(--muted); font-size: 12px; }
        .timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--coral); }
        .timeline-item { position: relative; padding: 27px 20px 0 0; }
        .timeline-item:before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border: 3px solid var(--paper); border-radius: 50%; background: var(--coral); }
        .timeline-item time { color: var(--coral-dark); font-size: 13px; font-weight: 800; }
        .timeline-item h3 { margin: 8px 0 7px; font-size: 17px; }
        .timeline-item p { margin: 0; color: var(--muted); font-size: 14px; }
        .guard { background: #f0eee9; }
        .guard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
        .guard-item { padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
        .guard-icon { width: 35px; height: 35px; display: grid; place-items: center; margin-bottom: 13px; color: var(--white); background: var(--mint); border-radius: 50%; font-weight: 800; }
        .guard-item h3 { margin-bottom: 7px; font-size: 17px; }
        .guard-item p { margin: 0; color: var(--muted); font-size: 14px; }
        .answers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
        .answer { padding: 22px; border-left: 4px solid var(--coral); background: var(--white); box-shadow: var(--shadow); }
        .answer h3 { margin-bottom: 8px; font-size: 17px; }
        .answer p { margin: 0; color: var(--muted); font-size: 14px; }
        .faq { background: #eee9e3; }
        .faq-list { max-width: 900px; margin: 0 auto; }
        details { background: var(--white); border: 1px solid var(--line); border-radius: 6px; margin-bottom: 10px; }
        summary { padding: 18px 20px; cursor: pointer; font-weight: 800; list-style: none; }
        summary::-webkit-details-marker { display: none; }
        summary:after { content: "+"; float: right; color: var(--coral); font-size: 22px; line-height: 1; }
        details[open] summary:after { content: "−"; }
        details p { padding: 0 20px 20px; margin: 0; color: var(--muted); }
        .search-section { background: var(--coral); color: var(--white); border-bottom: 0; }
        .search-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
        .search-layout h2 { font-size: 32px; line-height: 1.25; margin-bottom: 12px; }
        .search-layout p { color: #fff0eb; }
        .search-form { padding: 24px; background: var(--white); border-radius: var(--radius); color: var(--ink); box-shadow: 0 14px 36px rgba(73,29,25,.18); }
        .form-row { display: grid; grid-template-columns: 1.3fr .8fr; gap: 12px; margin-bottom: 14px; }
        label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 13px; font-weight: 700; }
        input, select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); background: var(--paper); }
        input:focus, select:focus { border-color: var(--mint); outline: 3px solid rgba(79,140,120,.18); }
        .search-form .btn { width: 100%; }
        .form-message { display: none; margin-top: 12px; color: var(--mint); font-size: 14px; font-weight: 700; }
        .site-footer { padding: 48px 0 22px; color: #d9e2dd; background: #172723; }
        .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 35px; }
        .footer-brand { color: var(--white); }
        .footer-brand p { max-width: 320px; color: #aebcb5; font-size: 14px; }
        .site-footer h3 { margin-bottom: 12px; color: #f3a89a; font-size: 15px; }
        .site-footer a { display: block; margin: 7px 0; color: #c7d2cc; font-size: 14px; }
        .site-footer a:hover { color: var(--white); }
        .copyright { padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); color: #9eaca5; font-size: 12px; }
        @media (max-width: 1024px) {
            .hero-grid, .search-layout { grid-template-columns: 1fr; gap: 28px; }
            .hero-side { max-width: 650px; }
            .content-grid { grid-template-columns: repeat(3, 1fr); }
            .category-grid { grid-template-columns: repeat(3, 1fr); }
            .popular-grid { grid-template-columns: repeat(2, 1fr); }
            .guard-grid { grid-template-columns: repeat(2, 1fr); }
            .topic-grid { grid-template-columns: 1fr 1fr; }
            .topic:first-child { grid-column: span 2; }
        }
        @media (max-width: 768px) {
            .container { width: min(var(--container), calc(100% - 32px)); }
            .nav-wrap { min-height: 68px; }
            .menu-toggle { display: block; }
            .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; padding: 12px 16px 18px; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
            .nav-links.open { display: flex; }
            .nav-links a { padding: 12px 14px; }
            .nav-note { display: none; }
            section { padding: 56px 0; }
            .section-head { display: block; }
            .section-head h2 { font-size: 27px; }
            .metric-grid { grid-template-columns: repeat(2, 1fr); }
            .content-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
            .popular-grid, .news-grid, .answers { grid-template-columns: 1fr; }
            .category-grid { grid-template-columns: repeat(2, 1fr); }
            .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
            .compare-table { overflow-x: auto; }
            .compare-row { min-width: 680px; }
            .rank-item { grid-template-columns: 40px 1.3fr .7fr .5fr; gap: 9px; }
            .rank-item .tag { display: none; }
            .footer-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 480px) {
            h1 { font-size: 39px; }
            .hero { padding: 56px 0 52px; }
            .hero-actions .btn { width: 100%; }
            .metric { padding: 20px 15px; }
            .metric b { font-size: 29px; }
            .category-grid, .guard-grid { grid-template-columns: 1fr; }
            .topic-grid { grid-template-columns: 1fr; }
            .topic:first-child { grid-column: auto; }
            .popular-card { grid-template-columns: 120px 1fr; }
            .timeline { grid-template-columns: 1fr; }
            .form-row { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr; gap: 24px; }
            .brand-name { font-size: 15px; }
        }
