/* roulang page: index */
:root {
      --ink: #17243a;
      --muted: #6f7d91;
      --blue: #246bfe;
      --blue-deep: #1452d4;
      --cyan: #25bdd2;
      --pale: #edf5ff;
      --surface: #ffffff;
      --soft: #f6f9fd;
      --line: #e5ebf4;
      --gold: #f2a93b;
      --green: #1daa78;
      --shadow: 0 18px 45px rgba(31, 64, 112, .09);
      --shadow-sm: 0 8px 22px rgba(31, 64, 112, .07);
      --radius: 18px;
      --radius-sm: 11px;
      --container: 1180px;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--ink);
      background: var(--surface);
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
    }
    a { color: inherit; text-decoration: none; }
    img { display: block; width: 100%; object-fit: cover; }
    button, input { font: inherit; }
    button { cursor: pointer; border: 0; }
    :focus-visible { outline: 3px solid rgba(36,107,254,.35); outline-offset: 3px; }
    .container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
    .eyebrow {
      display: inline-flex; align-items: center; gap: 8px; color: var(--blue);
      font-size: 13px; font-weight: 800; letter-spacing: .08em;
    }
    .eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--cyan); }
    .section-head { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 30px; }
    .section-head h2 { margin-top: 9px; font-size: clamp(25px, 3vw, 38px); line-height: 1.2; letter-spacing: -.03em; }
    .section-head p { max-width: 560px; color: var(--muted); font-size: 14px; }
    .section-link { color: var(--blue); font-size: 14px; font-weight: 700; white-space: nowrap; }
    .section-link:hover { color: var(--blue-deep); }
    section { padding: 92px 0; }
    .alt { background: var(--soft); }

    .site-header {
      position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.93);
      border-bottom: 1px solid rgba(229,235,244,.9); backdrop-filter: blur(16px);
    }
    .nav-wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
    .brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 17px; white-space: nowrap; }
    .brand-mark {
      width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
      color: #fff; background: var(--blue); box-shadow: 0 8px 16px rgba(36,107,254,.25);
      font-size: 18px;
    }
    .nav { display: flex; align-items: center; gap: 28px; }
    .nav a { color: #657388; font-size: 14px; font-weight: 600; transition: color .2s; }
    .nav a:hover, .nav a.active { color: var(--blue); }
    .nav-action { padding: 10px 17px; border: 1px solid #d9e5fa; border-radius: 9px; color: var(--blue) !important; }
    .nav-action:hover { background: var(--pale); }
    .menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 20px; }

    .hero {
      position: relative; min-height: 630px; display: flex; align-items: center;
      overflow: hidden; color: #fff; background: #142b4e;
    }
    .hero-media, .hero-overlay { position: absolute; inset: 0; }
    .hero-media { width: 100%; height: 100%; object-fit: cover; opacity: .58; }
    .hero-overlay { background: linear-gradient(90deg, rgba(13,31,59,.9) 0%, rgba(13,31,59,.7) 43%, rgba(13,31,59,.18) 100%); }
    .hero-content { position: relative; z-index: 1; max-width: 700px; padding: 86px 0 112px; }
    .hero .eyebrow { color: #9de8f1; }
    .hero h1 { margin: 18px 0 20px; font-size: clamp(39px, 6vw, 70px); line-height: 1.12; letter-spacing: -.05em; }
    .hero h1 span { color: #7fe4ec; }
    .hero-copy { max-width: 650px; color: rgba(255,255,255,.82); font-size: 17px; line-height: 1.9; }
    .hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
    .btn { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 48px; padding: 0 21px; border-radius: 10px; font-size: 14px; font-weight: 800; transition: transform .2s, box-shadow .2s, background .2s; }
    .btn:hover { transform: translateY(-2px); }
    .btn-primary { color: #fff; background: var(--blue); box-shadow: 0 12px 24px rgba(36,107,254,.25); }
    .btn-primary:hover { background: var(--blue-deep); }
    .btn-light { color: #fff; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.1); }
    .btn-light:hover { background: rgba(255,255,255,.18); }
    .hero-stats { display: flex; gap: 34px; margin-top: 54px; }
    .hero-stat strong { display: block; font-size: 25px; }
    .hero-stat span { color: rgba(255,255,255,.65); font-size: 12px; }
    .play-button {
      position: absolute; right: 13%; top: 50%; z-index: 2; transform: translateY(-50%);
      width: 80px; height: 80px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%;
      color: #fff; background: rgba(255,255,255,.14); font-size: 25px; backdrop-filter: blur(8px);
      transition: transform .2s, background .2s;
    }
    .play-button:hover { transform: translateY(-50%) scale(1.08); background: rgba(36,107,254,.8); }

    .matrix { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 14px; }
    .matrix-item { min-height: 170px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
    .matrix-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
    .matrix-item.featured { color: #fff; background: var(--blue); border-color: var(--blue); }
    .matrix-icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 22px; border-radius: 10px; color: var(--blue); background: var(--pale); font-weight: 800; }
    .featured .matrix-icon { color: var(--blue); background: #fff; }
    .matrix-item h3 { font-size: 17px; margin-bottom: 8px; }
    .matrix-item p { color: var(--muted); font-size: 13px; line-height: 1.7; }
    .featured p { color: rgba(255,255,255,.76); }

    .content-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
    .content-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
    .content-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
    .cover { position: relative; aspect-ratio: 1.28 / 1; overflow: hidden; background: #dceafa; }
    .cover img { height: 100%; transition: transform .45s; }
    .content-card:hover .cover img { transform: scale(1.05); }
    .cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 54%, rgba(11,29,56,.45)); pointer-events: none; }
    .badge { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 4px 8px; border-radius: 6px; color: #fff; background: var(--blue); font-size: 11px; font-weight: 800; }
    .badge.green { background: var(--green); }
    .badge.gold { background: var(--gold); }
    .card-body { padding: 16px; }
    .card-body h3 { overflow: hidden; margin-bottom: 10px; font-size: 16px; white-space: nowrap; text-overflow: ellipsis; }
    .card-meta { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; }
    .rating { color: #e59a26; font-weight: 800; }
    .rating::before { content: "★"; margin-right: 3px; }

    .featured-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; }
    .feature-card { position: relative; min-height: 295px; overflow: hidden; border-radius: var(--radius); color: #fff; background: #173b68; }
    .feature-card img { position: absolute; inset: 0; height: 100%; opacity: .82; }
    .feature-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,25,49,.88), transparent 75%); }
    .feature-info { position: absolute; right: 22px; bottom: 20px; left: 22px; z-index: 1; }
    .feature-info h3 { font-size: 20px; margin-bottom: 6px; }
    .feature-info p { color: rgba(255,255,255,.76); font-size: 13px; }

    .category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .category { padding: 25px; border-left: 3px solid var(--blue); background: #fff; box-shadow: var(--shadow-sm); }
    .category:nth-child(2n) { border-color: var(--cyan); }
    .category h3 { margin-bottom: 8px; font-size: 18px; }
    .category p { color: var(--muted); font-size: 13px; line-height: 1.8; }

    .rank-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: 28px; align-items: start; }
    .rank-list { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
    .rank-item { display: grid; grid-template-columns: 42px 1fr auto 58px; align-items: center; gap: 14px; padding: 15px 20px; border-bottom: 1px solid var(--line); }
    .rank-item:last-child { border-bottom: 0; }
    .rank-number { color: #9aa8bb; font-size: 18px; font-weight: 800; }
    .rank-item:nth-child(-n+3) .rank-number { color: var(--blue); }
    .rank-title { font-size: 14px; font-weight: 700; }
    .rank-type { display: inline-block; padding: 3px 7px; border-radius: 5px; color: var(--blue); background: var(--pale); font-size: 11px; }
    .rank-hot { color: #e18c25; font-size: 12px; }
    .rank-score { color: var(--blue); font-weight: 800; text-align: right; }

    .quote-panel { padding: 36px; border-radius: var(--radius); color: #fff; background: var(--ink); box-shadow: var(--shadow); }
    .quote-panel .eyebrow { color: #8fe6ec; }
    .quote-panel blockquote { margin: 25px 0; font-size: 22px; line-height: 1.7; font-weight: 600; }
    .quote-author { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.7); font-size: 13px; }
    .avatar { width: 38px; height: 38px; border-radius: 50%; background: #3f73c5; display: grid; place-items: center; color: #fff; font-weight: 800; }

    .news-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; }
    .news-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
    .news-item { display: flex; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s, transform .2s; }
    .news-item:hover { transform: translateY(-3px); border-color: #bbd1f7; }
    .news-item img { width: 100px; height: 75px; border-radius: 8px; }
    .news-item h3 { font-size: 14px; line-height: 1.5; }
    .news-date { display: block; margin-top: 9px; color: var(--muted); font-size: 11px; }
    .news-feature { overflow: hidden; border-radius: var(--radius); background: var(--pale); }
    .news-feature img { height: 185px; }
    .news-feature div { padding: 22px; }
    .news-feature h3 { margin: 8px 0; font-size: 20px; }
    .news-feature p { color: var(--muted); font-size: 13px; }

    .update-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .update-item { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
    .update-date { color: var(--blue); font-size: 12px; font-weight: 800; }
    .update-item h3 { margin: 9px 0 7px; font-size: 16px; }
    .update-item p { color: var(--muted); font-size: 13px; }

    .multi-platform { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
    .multi-platform h2 { margin: 11px 0 15px; font-size: clamp(27px, 3.5vw, 42px); line-height: 1.25; }
    .multi-platform p { color: var(--muted); font-size: 15px; }
    .device-board { position: relative; min-height: 300px; border-radius: 24px; background: #e7f0ff; overflow: hidden; }
    .device-card { position: absolute; border: 8px solid #fff; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
    .device-card img { height: 100%; }
    .device-main { width: 68%; height: 210px; top: 38px; left: 8%; transform: rotate(-4deg); }
    .device-side { width: 31%; height: 175px; right: 6%; bottom: 27px; transform: rotate(7deg); }

    .faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    .faq { padding: 22px 25px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
    .faq h3 { display: flex; justify-content: space-between; gap: 15px; font-size: 16px; }
    .faq h3::after { content: "+"; color: var(--blue); font-size: 21px; line-height: 1; }
    .faq p { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.8; }

    .cta-band { padding: 72px 0; color: #fff; background: var(--blue); }
    .cta-wrap { display: flex; justify-content: space-between; align-items: center; gap: 28px; }
    .cta-wrap h2 { font-size: clamp(25px, 3.2vw, 39px); line-height: 1.25; }
    .cta-wrap p { max-width: 600px; margin-top: 10px; color: rgba(255,255,255,.78); font-size: 14px; }
    .cta-band .btn-primary { color: var(--blue); background: #fff; box-shadow: none; }
    .cta-band .btn-primary:hover { background: #eaf2ff; }

    footer { padding: 58px 0 24px; background: #101d32; color: #fff; }
    .footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 35px; padding-bottom: 45px; }
    .footer-brand p { max-width: 270px; margin-top: 16px; color: #92a1b7; font-size: 13px; }
    footer h3 { margin-bottom: 15px; font-size: 14px; }
    footer ul { list-style: none; }
    footer li { margin: 8px 0; }
    footer li a { color: #92a1b7; font-size: 13px; transition: color .2s; }
    footer li a:hover { color: #fff; }
    .copyright { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #718197; font-size: 12px; }

    @media (max-width: 1024px) {
      .content-grid { grid-template-columns: repeat(3, 1fr); }
      .matrix { grid-template-columns: repeat(2, 1fr); }
      .matrix-item.featured { grid-column: span 2; }
      .play-button { right: 8%; }
      .featured-row { grid-template-columns: 1fr 1fr; }
      .feature-card:first-child { grid-column: span 2; }
    }
    @media (max-width: 768px) {
      .container { width: min(var(--container), calc(100% - 34px)); }
      section { padding: 68px 0; }
      .nav { display: none; position: absolute; top: 76px; right: 17px; left: 17px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
      .nav.open { display: grid; gap: 4px; }
      .nav a { padding: 11px 12px; }
      .menu-toggle { display: block; }
      .hero { min-height: 670px; }
      .hero-content { padding-top: 75px; }
      .hero h1 { font-size: 44px; }
      .hero-copy { font-size: 15px; }
      .play-button { top: 22%; right: 8%; width: 62px; height: 62px; }
      .content-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
      .rank-layout, .news-layout, .multi-platform { grid-template-columns: 1fr; }
      .news-list { grid-template-columns: 1fr; }
      .category-grid, .update-strip { grid-template-columns: repeat(2, 1fr); }
      .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
      .footer-grid > :last-child { display: none; }
      .cta-wrap { align-items: flex-start; flex-direction: column; }
    }
    @media (max-width: 520px) {
      .brand { font-size: 14px; }
      .brand-mark { width: 32px; height: 32px; font-size: 16px; }
      .hero h1 { font-size: 38px; }
      .hero-stats { gap: 20px; margin-top: 38px; }
      .section-head { display: block; }
      .section-head p { margin-top: 12px; }
      .section-link { display: inline-block; margin-top: 13px; }
      .matrix, .category-grid, .update-strip, .faq-grid { grid-template-columns: 1fr; }
      .matrix-item.featured, .feature-card:first-child { grid-column: auto; }
      .featured-row { grid-template-columns: 1fr; }
      .content-grid { gap: 11px; }
      .card-body { padding: 12px; }
      .card-body h3 { font-size: 14px; }
      .rank-item { grid-template-columns: 30px 1fr auto; gap: 8px; padding: 13px 12px; }
      .rank-hot { display: none; }
      .quote-panel { padding: 27px 22px; }
      .quote-panel blockquote { font-size: 18px; }
      .footer-grid { grid-template-columns: 1fr 1fr; gap: 25px; }
      .footer-brand { grid-column: span 2; }
    }
