/* roulang page: index */
:root {
      --ink: #17191f;
      --muted: #70757e;
      --paper: #f7f7f4;
      --white: #ffffff;
      --line: #e6e7e2;
      --lime: #d8f35d;
      --lime-deep: #a9c92e;
      --coral: #ff715b;
      --violet: #5d4ae8;
      --dark: #202329;
      --radius-lg: 24px;
      --radius-md: 15px;
      --shadow-sm: 0 8px 24px rgba(25, 28, 35, .06);
      --shadow-lg: 0 24px 60px rgba(25, 28, 35, .14);
    }

    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: var(--ink);
      background: var(--paper);
      font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
      font-size: 15px;
      line-height: 1.75;
      overflow-x: hidden;
    }
    a { color: inherit; text-decoration: none; transition: color .2s ease, background .2s ease, transform .2s ease; }
    img { display: block; max-width: 100%; }
    button, input { font: inherit; }
    button:focus-visible, a:focus-visible, input:focus-visible {
      outline: 3px solid rgba(93, 74, 232, .35);
      outline-offset: 3px;
    }
    .container { max-width: 1180px; padding-left: 22px; padding-right: 22px; }
    .site-header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(255,255,255,.94);
      border-bottom: 1px solid var(--line);
      box-shadow: 0 3px 16px rgba(24, 27, 31, .04);
      backdrop-filter: blur(16px);
    }
    .navbar { min-height: 76px; }
    .brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-size: 19px;
      font-weight: 900;
      letter-spacing: -.04em;
      white-space: nowrap;
    }
    .brand-mark {
      display: grid;
      place-items: center;
      width: 35px;
      height: 35px;
      color: var(--ink);
      background: var(--lime);
      border-radius: 11px;
      transform: rotate(-7deg);
      box-shadow: 4px 4px 0 var(--ink);
    }
    .brand-mark i { transform: rotate(7deg); font-size: 18px; }
    .navbar-nav { gap: 5px; }
    .nav-link {
      color: #656a73 !important;
      font-size: 14px;
      font-weight: 700;
      padding: 10px 15px !important;
      border-radius: 10px;
    }
    .nav-link:hover, .nav-link.active { color: var(--ink) !important; background: #f0f1ec; }
    .nav-tools { display: flex; align-items: center; gap: 12px; }
    .search-box {
      display: flex;
      align-items: center;
      gap: 8px;
      width: 190px;
      padding: 8px 13px;
      color: #888d93;
      background: #f5f5f2;
      border: 1px solid transparent;
      border-radius: 50px;
    }
    .search-box:focus-within { background: var(--white); border-color: var(--violet); }
    .search-box input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 13px; }
    .btn-main, .btn-dark, .btn-soft {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      min-height: 45px;
      padding: 10px 19px;
      border: 0;
      border-radius: 11px;
      font-weight: 800;
      transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    }
    .btn-main { color: var(--ink); background: var(--lime); box-shadow: 0 5px 0 #b6d63d; }
    .btn-main:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 7px 0 #b6d63d; }
    .btn-dark { color: var(--white); background: var(--ink); }
    .btn-dark:hover { color: var(--white); background: #343841; transform: translateY(-2px); }
    .btn-soft { color: var(--ink); background: #ecece7; }
    .btn-soft:hover { color: var(--ink); background: #e0e1da; transform: translateY(-2px); }

    .hero {
      position: relative;
      min-height: 590px;
      display: flex;
      align-items: center;
      color: var(--white);
      background: var(--dark);
      overflow: hidden;
    }
    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(20,22,27,.97) 0%, rgba(20,22,27,.78) 43%, rgba(20,22,27,.2) 100%), url("https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?auto=format&fit=crop&w=1900&q=88") center/cover;
      opacity: .94;
    }
    .hero::after {
      content: "";
      position: absolute;
      width: 420px;
      height: 420px;
      right: 7%;
      top: 20%;
      border: 1px solid rgba(216,243,93,.45);
      border-radius: 50%;
      box-shadow: 0 0 0 35px rgba(216,243,93,.05), 0 0 0 70px rgba(216,243,93,.03);
    }
    .hero-content { position: relative; z-index: 1; max-width: 690px; padding: 85px 0; }
    .eyebrow, .section-kicker {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 12px;
      font-weight: 900;
      letter-spacing: .12em;
      text-transform: uppercase;
    }
    .eyebrow { color: var(--lime); }
    .eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--lime); }
    .hero h1 {
      max-width: 620px;
      margin: 18px 0 20px;
      font-size: clamp(43px, 6vw, 76px);
      line-height: 1.08;
      letter-spacing: -.065em;
      font-weight: 950;
    }
    .hero-copy { max-width: 570px; margin-bottom: 30px; color: #d8d9d4; font-size: 17px; }
    .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
    .hero-actions .btn-dark { color: var(--white); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); }
    .hero-actions .btn-dark:hover { background: rgba(255,255,255,.2); }
    .hero-stats { display: flex; gap: 30px; margin-top: 50px; }
    .hero-stat strong { display: block; color: var(--lime); font-size: 25px; line-height: 1.2; }
    .hero-stat span { color: #aeb0ad; font-size: 12px; }

    .section { padding: 100px 0; }
    .section-sm { padding: 78px 0; }
    .section-head { max-width: 650px; margin-bottom: 42px; }
    .section-kicker { color: var(--violet); margin-bottom: 12px; }
    .section-title { margin: 0 0 13px; font-size: clamp(30px, 4vw, 48px); line-height: 1.2; font-weight: 950; letter-spacing: -.055em; }
    .section-desc { margin: 0; color: var(--muted); font-size: 16px; }
    .intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: stretch; }
    .intro-panel { padding: 34px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
    .intro-panel h3 { margin: 0 0 12px; font-size: 24px; font-weight: 900; }
    .feature-list { display: grid; gap: 17px; margin: 25px 0 0; padding: 0; list-style: none; }
    .feature-list li { display: flex; gap: 13px; align-items: flex-start; }
    .feature-icon { flex: 0 0 35px; display: grid; place-items: center; width: 35px; height: 35px; color: var(--violet); background: #efedff; border-radius: 10px; }
    .feature-list b { display: block; font-size: 15px; }
    .feature-list span { display: block; color: var(--muted); font-size: 13px; line-height: 1.55; }
    .category-panel { position: relative; padding: 31px; color: var(--white); background: var(--violet); border-radius: var(--radius-lg); overflow: hidden; }
    .category-panel::after { content: "97"; position: absolute; right: -15px; bottom: -55px; color: rgba(255,255,255,.1); font-size: 190px; line-height: 1; font-weight: 950; }
    .category-panel h3 { position: relative; z-index: 1; margin: 0 0 22px; font-size: 25px; }
    .category-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .category-link { padding: 15px; color: var(--white); border: 1px solid rgba(255,255,255,.25); border-radius: 12px; background: rgba(255,255,255,.1); }
    .category-link:hover { color: var(--ink); background: var(--lime); transform: translateY(-2px); }
    .category-link strong { display: block; font-size: 15px; }
    .category-link small { color: rgba(255,255,255,.7); font-size: 11px; }
    .category-link:hover small { color: var(--ink); }

    .reward-section { color: var(--white); background: var(--dark); }
    .reward-section .section-desc { color: #aeb2b4; }
    .reward-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .reward-card { position: relative; min-height: 275px; padding: 25px; border: 1px solid #3b3f47; border-radius: var(--radius-md); background: #292d34; overflow: hidden; transition: transform .25s ease, border-color .25s ease; }
    .reward-card:hover { transform: translateY(-6px); border-color: var(--lime); }
    .reward-card.featured { background: var(--lime); color: var(--ink); border-color: var(--lime); }
    .reward-tag { display: inline-block; padding: 4px 9px; color: var(--lime); border: 1px solid rgba(216,243,93,.5); border-radius: 30px; font-size: 11px; font-weight: 800; }
    .featured .reward-tag { color: var(--ink); border-color: rgba(23,25,31,.35); }
    .reward-card h3 { margin: 46px 0 8px; font-size: 23px; font-weight: 900; }
    .reward-card p { margin: 0; color: #b3b6b8; font-size: 13px; }
    .featured p { color: #454b25; }
    .reward-number { position: absolute; right: 20px; bottom: -15px; color: rgba(255,255,255,.06); font-size: 130px; font-weight: 950; line-height: 1; }
    .featured .reward-number { color: rgba(23,25,31,.1); }

    .matrix-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 38px; align-items: center; }
    .matrix-copy { padding-right: 25px; }
    .entry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .entry-item { display: flex; align-items: center; gap: 14px; min-height: 98px; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
    .entry-item i { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; color: var(--white); background: var(--ink); border-radius: 12px; font-size: 19px; }
    .entry-item:hover { border-color: var(--violet); transform: translateY(-3px); }
    .entry-item strong { display: block; font-size: 14px; }
    .entry-item span { color: var(--muted); font-size: 12px; }

    .progress-section { background: #eceee6; }
    .progress-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 42px; align-items: center; }
    .progress-box { padding: 32px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
    .progress-top { display: flex; align-items: end; justify-content: space-between; margin-bottom: 17px; }
    .progress-top strong { font-size: 42px; line-height: 1; letter-spacing: -.06em; }
    .progress-top span { color: var(--violet); font-weight: 900; }
    .progress { height: 13px; background: #eceee8; border-radius: 20px; overflow: hidden; }
    .progress-bar { width: 78%; background: var(--violet); border-radius: inherit; }
    .progress-notes { display: flex; justify-content: space-between; gap: 15px; margin-top: 15px; color: var(--muted); font-size: 12px; }
    .metric-stack { display: grid; gap: 15px; }
    .metric { display: flex; justify-content: space-between; align-items: center; padding-bottom: 15px; border-bottom: 1px solid #dfe1da; }
    .metric:last-child { border-bottom: 0; }
    .metric span { color: var(--muted); }
    .metric strong { font-size: 22px; }

    .ranking-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 25px; }
    .ranking-list { border-top: 2px solid var(--ink); }
    .rank-row { display: grid; grid-template-columns: 45px 1fr 90px; gap: 15px; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--line); }
    .rank-index { color: var(--violet); font-size: 20px; font-weight: 950; }
    .rank-row strong { display: block; font-size: 15px; }
    .rank-row small { color: var(--muted); }
    .rank-score { text-align: right; color: var(--coral); font-weight: 900; }
    .quote-box { padding: 31px; color: var(--white); background: var(--coral); border-radius: var(--radius-lg); }
    .quote-box i { display: block; margin-bottom: 30px; font-size: 30px; }
    .quote-box p { margin: 0 0 23px; font-size: 19px; line-height: 1.55; font-weight: 800; }
    .quote-box span { color: #ffe1dc; font-size: 13px; }

    .news-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 45px; }
    .news-list { border-top: 2px solid var(--ink); }
    .news-item { display: flex; justify-content: space-between; gap: 20px; padding: 19px 0; border-bottom: 1px solid var(--line); }
    .news-item:hover h3 { color: var(--violet); }
    .news-item h3 { margin: 0 0 4px; font-size: 16px; font-weight: 850; transition: color .2s ease; }
    .news-item p { margin: 0; color: var(--muted); font-size: 13px; }
    .news-date { flex: 0 0 auto; color: var(--muted); font-size: 12px; }
    .featured-news { padding: 0; overflow: hidden; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
    .featured-news img { width: 100%; height: 190px; object-fit: cover; }
    .featured-news-body { padding: 22px; }
    .featured-news h3 { margin: 8px 0 10px; font-size: 22px; line-height: 1.35; }
    .featured-news p { margin: 0; color: var(--muted); font-size: 13px; }

    .faq-section { background: var(--white); }
    .faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
    .faq-intro { padding-top: 12px; }
    .faq-intro .btn-main { margin-top: 22px; }
    .accordion-item { border: 0; border-bottom: 1px solid var(--line); }
    .accordion-button { padding: 20px 3px; color: var(--ink); background: transparent; box-shadow: none !important; font-weight: 850; }
    .accordion-button:not(.collapsed) { color: var(--violet); background: transparent; }
    .accordion-button::after { background-size: 14px; }
    .accordion-body { padding: 0 30px 20px 3px; color: var(--muted); font-size: 14px; }

    .cta-section { padding: 80px 0; }
    .cta-box { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 44px 48px; color: var(--white); background: var(--violet); border-radius: var(--radius-lg); }
    .cta-box h2 { margin: 0 0 8px; font-size: 33px; letter-spacing: -.04em; }
    .cta-box p { margin: 0; color: #d9d5ff; }
    .cta-box .btn-main { flex: 0 0 auto; }

    .site-footer { padding: 48px 0 25px; color: #a9adb0; background: var(--dark); }
    .footer-top { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 37px; border-bottom: 1px solid #3b3f45; }
    .footer-brand { color: var(--white); }
    .footer-brand p { max-width: 315px; margin: 17px 0 0; color: #a9adb0; font-size: 13px; }
    .footer-links { display: flex; gap: 55px; }
    .footer-links h4 { margin: 0 0 12px; color: var(--white); font-size: 13px; }
    .footer-links a { display: block; margin-bottom: 7px; color: #a9adb0; font-size: 13px; }
    .footer-links a:hover { color: var(--lime); }
    .footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; font-size: 12px; }

    @media (max-width: 991.98px) {
      .search-box { width: 155px; }
      .intro-grid, .matrix-wrap, .progress-grid, .ranking-grid, .news-layout, .faq-grid { grid-template-columns: 1fr; }
      .matrix-copy { padding-right: 0; }
      .hero { min-height: 560px; }
      .hero::after { right: -100px; }
    }
    @media (max-width: 767.98px) {
      .navbar { min-height: 68px; }
      .navbar-collapse { padding: 12px 0 4px; }
      .nav-tools { align-items: stretch; flex-direction: column; padding-top: 10px; }
      .search-box { width: 100%; }
      .hero-content { padding: 70px 0; }
      .hero h1 { font-size: 44px; }
      .hero-copy { font-size: 15px; }
      .hero-stats { gap: 20px; margin-top: 35px; }
      .section { padding: 72px 0; }
      .reward-grid { grid-template-columns: 1fr; }
      .reward-card { min-height: 220px; }
      .entry-grid { grid-template-columns: 1fr; }
      .cta-box { align-items: flex-start; flex-direction: column; padding: 32px 26px; }
      .footer-top, .footer-bottom { flex-direction: column; }
      .footer-links { gap: 35px; }
    }
    @media (max-width: 519.98px) {
      .container { padding-left: 16px; padding-right: 16px; }
      .hero h1 { font-size: 39px; }
      .hero-actions { align-items: stretch; flex-direction: column; }
      .hero-actions .btn-main, .hero-actions .btn-dark { width: 100%; }
      .hero-stats { flex-wrap: wrap; }
      .intro-panel, .category-panel, .progress-box { padding: 24px; }
      .rank-row { grid-template-columns: 32px 1fr 65px; gap: 8px; }
      .news-item { display: block; }
      .news-date { display: block; margin-top: 8px; }
      .footer-links { flex-wrap: wrap; }
    }

/* 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}
