/* roulang page: index */
:root {
  --bg: #f7f4ec;
  --surface: #ffffff;
  --ink: #1e3327;
  --muted: #5f6f66;
  --line: #e2e6da;
  --brand: #5a9e6f;
  --brand-deep: #356448;
  --brand-dark: #1d3a2b;
  --melon: #efa158;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 12px 40px rgba(29, 58, 43, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 15px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(1280px, 100% - 48px); margin: 0 auto; }
.page-section { padding: 88px 0; }
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(90,158,111,.18);
  background: rgba(90,158,111,.08);
  padding: 6px 14px;
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}
.section-title {
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 16px 0 10px;
}
.section-desc { color: var(--muted); font-size: 16px; margin-top: 8px; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--brand-deep);
  color: #fff;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 26px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background .25s ease, transform .2s ease, box-shadow .25s ease;
}
.btn-primary:hover { background: #5a9e6f; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(90,158,111,.22); }
.btn-primary:focus, .btn-secondary:focus, .btn-light:focus {
  outline: 3px solid rgba(90,158,111,.4);
  outline-offset: 3px;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  color: var(--brand-deep);
  border: 1px solid rgba(90,158,111,.5);
  border-radius: 999px;
  min-height: 44px;
  padding: 0 26px;
  font-size: 15px;
  transition: background .2s ease, transform .2s ease;
}
.btn-secondary:hover { background: rgba(90,158,111,.09); transform: translateY(-1px); }
.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #ffffff;
  color: var(--brand-deep);
  border-radius: 999px;
  min-height: 46px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.3);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-light:hover { background: #e4efe5; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.16); }
.card-hover {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(90,158,111,.4);
}
img.cover-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.img-zoom { overflow: hidden; position: relative; }
.img-zoom:hover img.cover-img { transform: scale(1.04); }
.stat-number {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
  display: block;
  font-variant-numeric: tabular-nums;
}
.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(239,161,88,.13);
  color: #bd6820;
  font-size: 12px;
  line-height: 1.6;
}
.text-muted-soft { color: #6f7c72; }
.bg-dark-card { background: var(--brand-dark); }
.divider-line { height: 1px; background: var(--line); border: 0; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}
.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  gap: 16px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  transition: color .2s ease;
}
.faq-item summary:hover { color: var(--brand-deep); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .plus {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(90,158,111,.09);
  position: relative;
  transition: transform .25s ease, background .25s ease;
}
.faq-item .plus::before,
.faq-item .plus::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 1.5px;
  background: var(--brand-deep);
  transform: translate(-50%, -50%);
}
.faq-item .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .plus { transform: rotate(45deg); background: rgba(90,158,111,.17); }
.faq-item .answer { padding: 0 2px 22px; color: var(--muted); max-width: 58rem; }
.nav-link { font-size: 15px; color: #36463c; padding: 8px 4px; border-bottom: 2px solid transparent; transition: border-color .2s ease, color .2s ease; }
.nav-link:hover, .nav-link.active { color: var(--brand-deep); border-color: var(--brand); }
#mobile-menu { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
#mobile-menu.open { max-height: 330px; }
.brand-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 21px; letter-spacing: -.02em; }
.brand-dot {
  width: 32px; height: 32px; border-radius: 10px;
  background: linear-gradient(135deg, #5a9e6f 0%, #356448 100%);
  color: #fff; display: flex; align-items: center; justify-content: center; flex: 0 0 32px;
}
.trust-line { display: flex; flex-wrap: wrap; gap: 14px 26px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 12px 22px; color: rgba(255,255,255,.8); backdrop-filter: blur(8px); }
.stat-item { text-align: left; }
@media (max-width: 1024px) {
  .page-section { padding: 68px 0; }
  .trust-line { border-radius: 22px; }
}
@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .container { width: min(100% - 32px, 1280px); }
  .trust-line { padding: 12px 16px; }
}
@media (min-width: 769px) {
  .mobile-menu-btn { display: none; }
  #mobile-menu { max-height: 0 !important; display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .2s !important; scroll-behavior: auto !important; }
  .card-hover:hover { transform: none; }
}

/* roulang page: category1 */
:root {
        --bg: #f7f4ec;
        --surface: #ffffff;
        --ink: #1e3327;
        --muted: #5f6f66;
        --line: #e2e6da;
        --brand: #5a9e6f;
        --brand-deep: #356448;
        --brand-dark: #1d3a2b;
        --melon: #efa158;
        --radius-md: 14px;
        --radius-lg: 22px;
        --shadow-soft: 0 12px 40px rgba(29, 58, 43, .08);
    }

    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }
    html {
        scroll-behavior: smooth;
    }
    body {
        background: var(--bg);
        color: var(--ink);
        font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
        font-size: 15px;
        line-height: 1.8;
        text-rendering: optimizeLegibility;
    }
    img {
        max-width: 100%;
        display: block;
    }
    a {
        color: inherit;
        text-decoration: none;
    }
    button,
    input,
    textarea {
        font: inherit;
    }

    .container {
        width: min(1280px, 100% - 48px);
        margin: 0 auto;
    }

    .btn-primary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        background: var(--brand-deep);
        color: #fff;
        border-radius: 999px;
        min-height: 44px;
        padding: 0 26px;
        font-size: 15px;
        font-weight: 500;
        border: 1px solid transparent;
        transition: background .25s ease, transform .2s ease, box-shadow .25s ease;
        cursor: pointer;
    }
    .btn-primary:hover {
        background: #5a9e6f;
        transform: translateY(-2px);
        box-shadow: 0 12px 26px rgba(90, 158, 111, .22);
    }
    .btn-primary:focus,
    .btn-secondary:focus,
    .btn-light:focus {
        outline: 3px solid rgba(90, 158, 111, .4);
        outline-offset: 3px;
    }
    .btn-secondary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        background: transparent;
        color: var(--brand-deep);
        border: 1px solid rgba(90, 158, 111, .5);
        border-radius: 999px;
        min-height: 44px;
        padding: 0 26px;
        font-size: 15px;
        transition: background .2s ease, transform .2s ease;
        cursor: pointer;
    }
    .btn-secondary:hover {
        background: rgba(90, 158, 111, .09);
        transform: translateY(-1px);
    }
    .btn-light {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        background: #ffffff;
        color: var(--brand-deep);
        border-radius: 999px;
        min-height: 46px;
        padding: 0 28px;
        font-size: 15px;
        font-weight: 600;
        border: 1px solid rgba(255, 255, 255, .3);
        transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
        cursor: pointer;
    }
    .btn-light:hover {
        background: #e4efe5;
        transform: translateY(-2px);
        box-shadow: 0 14px 30px rgba(0, 0, 0, .16);
    }

    .nav-link {
        font-size: 15px;
        color: #36463c;
        padding: 8px 4px;
        border-bottom: 2px solid transparent;
        transition: border-color .2s ease, color .2s ease;
    }
    .nav-link:hover,
    .nav-link.active {
        color: var(--brand-deep);
        border-color: var(--brand);
    }

    .brand-logo {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: var(--ink);
        font-size: 21px;
        letter-spacing: -.02em;
    }
    .brand-dot {
        width: 32px;
        height: 32px;
        border-radius: 10px;
        background: linear-gradient(135deg, #5a9e6f 0%, #356448 100%);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 32px;
    }

    .card-hover {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: var(--radius-lg);
        transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    }
    .card-hover:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-soft);
        border-color: rgba(90, 158, 111, .4);
    }

    .img-zoom {
        overflow: hidden;
        position: relative;
    }
    .img-zoom img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .6s ease;
    }
    .img-zoom:hover img {
        transform: scale(1.04);
    }

    .cover-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .6s ease;
    }

    .eyebrow-tag {
        display: inline-flex;
        align-items: center;
        padding: 2px 10px;
        border-radius: 999px;
        background: rgba(239, 161, 88, .13);
        color: #bd6820;
        font-size: 12px;
        line-height: 1.6;
    }

    .text-muted-soft {
        color: #6f7c72;
    }

    /* category banner */
    .cat-banner {
        position: relative;
        background:
            linear-gradient(100deg, rgba(22, 43, 32, .97) 0%, rgba(30, 61, 43, .86) 42%, rgba(22, 43, 32, .48) 100%),
            url('/assets/images/backpic/back-3.jpg') center/cover no-repeat;
        color: #fff;
        padding: 84px 0 72px;
    }
    .breadcrumb {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        color: rgba(255, 255, 255, .68);
        background: rgba(255, 255, 255, .08);
        border: 1px solid rgba(255, 255, 255, .12);
        border-radius: 999px;
        padding: 5px 15px;
        margin-bottom: 18px;
    }
    .breadcrumb a:hover {
        color: #fff;
    }

    .cat-h1 {
        font-size: clamp(28px, 4.2vw, 48px);
        line-height: 1.16;
        letter-spacing: -.03em;
        font-weight: 700;
        max-width: 9em;
    }
    .cat-desc {
        max-width: 540px;
        color: rgba(255, 255, 255, .75);
        line-height: 1.9;
        margin-top: 20px;
        font-size: 15px;
    }

    .banner-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 22px;
    }
    .banner-tags span {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        background: rgba(90, 158, 111, .2);
        border: 1px solid rgba(90, 158, 111, .28);
        color: rgba(255, 255, 255, .85);
        border-radius: 999px;
        padding: 3px 13px;
        font-size: 13px;
    }

    .banner-visual {
        position: relative;
        border-radius: 24px;
        overflow: hidden;
        box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
    }
    .banner-visual img {
        width: 100%;
        height: 280px;
        object-fit: cover;
    }
    .banner-visual::after {
        content: "丝瓜视频内容精选 · 每周人工筛选";
        position: absolute;
        left: 14px;
        bottom: 14px;
        z-index: 2;
        background: rgba(20, 38, 29, .72);
        backdrop-filter: blur(6px);
        border: 1px solid rgba(255, 255, 255, .14);
        color: #fff;
        font-size: 12px;
        padding: 6px 14px;
        border-radius: 999px;
    }

    /* filter toolbar */
    .toolbar-shell {
        background: rgba(255, 255, 255, .8);
        border: 1px solid var(--line);
        border-radius: 18px;
        padding: 14px 16px;
        backdrop-filter: blur(8px);
    }
    .filter-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 36px;
        padding: 0 16px;
        border-radius: 999px;
        background: #fff;
        border: 1px solid var(--line);
        color: var(--muted);
        font-size: 14px;
        transition: background .2s ease, color .2s ease, border-color .2s ease;
        cursor: pointer;
    }
    .filter-btn:hover {
        border-color: rgba(90, 158, 111, .5);
        color: var(--brand-deep);
    }
    .filter-btn.active {
        background: var(--brand-deep);
        color: #fff;
        border-color: var(--brand-deep);
    }
    .filter-meta {
        font-size: 13px;
        color: var(--muted);
        border-left: 1px solid var(--line);
        padding-left: 16px;
    }

    /* featured cards */
    .feat-card {
        display: flex;
        flex-direction: column;
        border-radius: 20px;
        overflow: hidden;
        background: #fff;
        border: 1px solid var(--line);
        transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    }
    .feat-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-soft);
        border-color: rgba(90, 158, 111, .4);
    }

    .feat-main {
        display: grid;
        grid-template-columns: 1.2fr 1fr;
    }
    @media (max-width: 700px) {
        .feat-main {
            grid-template-columns: 1fr;
        }
        .feat-main .feat-media {
            height: 210px;
        }
    }
    .feat-media {
        overflow: hidden;
    }
    .feat-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s ease;
    }
    .feat-card:hover .feat-media img,
    .feat-card:hover .img-zoom img {
        transform: scale(1.04);
    }

    .feat-content {
        display: flex;
        flex-direction: column;
        padding: 24px 24px 20px;
    }

    /* list item */
    .list-row {
        display: grid;
        grid-template-columns: 164px 1fr;
        gap: 22px;
        padding: 22px 0;
        border-bottom: 1px solid var(--line);
        transition: background .2s ease;
        border-radius: 12px;
    }
    .list-row:hover {
        background: rgba(90, 158, 111, .05);
    }
    .list-thumb {
        border-radius: 14px;
        overflow: hidden;
        height: 118px;
        position: relative;
    }
    .list-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s ease;
    }
    .list-row:hover .list-thumb img {
        transform: scale(1.04);
    }
    .list-duration {
        position: absolute;
        right: 8px;
        bottom: 8px;
        background: rgba(18, 33, 24, .72);
        color: #fff;
        font-size: 11px;
        padding: 1px 10px;
        border-radius: 999px;
        backdrop-filter: blur(4px);
        letter-spacing: .02em;
    }
    .list-tags {
        display: flex;
        gap: 6px;
        flex-wrap: wrap;
        margin-bottom: 6px;
    }
    .list-tags span {
        font-size: 11px;
        color: var(--brand-deep);
        background: rgba(90, 158, 111, .1);
        padding: 1px 9px;
        border-radius: 999px;
    }

    @media (max-width: 600px) {
        .list-row {
            grid-template-columns: 96px 1fr;
            gap: 14px;
            padding: 16px 0;
        }
        .list-thumb {
            height: 82px;
            border-radius: 12px;
        }
        .list-body .abstract {
            display: none;
        }
    }

    .list-body h3 {
        font-size: 17px;
        line-height: 1.45;
        font-weight: 600;
        letter-spacing: -.01em;
    }
    .list-body h3 a:hover {
        color: var(--brand-deep);
    }
    .abstract {
        font-size: 14px;
        color: var(--muted);
        line-height: 1.7;
        margin: 7px 0 10px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        max-width: 720px;
    }
    .meta-line {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
        font-size: 13px;
        color: var(--muted);
    }
    .meta-line span {
        white-space: nowrap;
    }
    .meta-line .hot {
        color: #c67a2e;
    }

    /* pagination */
    .page-link {
        min-width: 38px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 8px;
        border-radius: 11px;
        border: 1px solid var(--line);
        background: #fff;
        color: var(--muted);
        font-size: 14px;
        transition: background .2s, color .2s, border-color .2s;
    }
    .page-link:hover {
        border-color: rgba(90, 158, 111, .45);
        color: var(--brand-deep);
    }
    .page-link.active {
        background: var(--brand-deep);
        border-color: var(--brand-deep);
        color: #fff;
    }

    .direction-card {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 18px;
        padding: 20px;
        transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
    }
    .direction-card:hover {
        transform: translateY(-3px);
        border-color: rgba(90, 158, 111, .35);
        box-shadow: var(--shadow-soft);
    }

    /* statistic mini */
    .stat-mini {
        border-left: 2px solid rgba(255, 255, 255, .18);
        padding-left: 18px;
    }
    .stat-mini b {
        font-size: 30px;
        display: block;
        line-height: 1.2;
    }
    .stat-mini span {
        font-size: 13px;
        color: rgba(255, 255, 255, .68);
    }

    /* faq */
    .faq-item {
        border-bottom: 1px solid var(--line);
        padding: 8px 0;
    }
    .faq-item summary {
        list-style: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 18px 0;
        gap: 16px;
        cursor: pointer;
        font-size: 17px;
        font-weight: 500;
        color: var(--ink);
        transition: color .2s ease;
    }
    .faq-item summary:hover {
        color: var(--brand-deep);
    }
    .faq-item summary::-webkit-details-marker {
        display: none;
    }
    .faq-item .plus {
        flex: 0 0 26px;
        width: 26px;
        height: 26px;
        border-radius: 50%;
        background: rgba(90, 158, 111, .09);
        position: relative;
        transition: transform .25s ease, background .25s ease;
    }
    .faq-item .plus::before,
    .faq-item .plus::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 10px;
        height: 1.5px;
        background: var(--brand-deep);
        transform: translate(-50%, -50%);
    }
    .faq-item .plus::after {
        transform: translate(-50%, -50%) rotate(90deg);
    }
    .faq-item[open] .plus {
        transform: rotate(45deg);
        background: rgba(90, 158, 111, .17);
    }
    .faq-item .answer {
        padding: 0 2px 22px;
        color: var(--muted);
        max-width: 58rem;
        line-height: 1.9;
    }

    /* cta band */
    .cta-band {
        background:
            linear-gradient(115deg, rgba(22, 43, 32, .96) 20%, rgba(22, 43, 32, .72) 60%, rgba(34, 62, 45, .55) 100%),
            url('/assets/images/backpic/back-8.jpg') center/cover no-repeat;
    }

    /* header/mobile menu supplement */
    .desktop-nav {
        display: flex;
    }
    .mobile-menu-btn {
        display: none;
    }
    #mobile-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
        display: none;
    }
    #mobile-menu.open {
        max-height: 360px;
    }

    @media (max-width: 900px) {
        .desktop-nav {
            display: none;
        }
        .mobile-menu-btn {
            display: inline-flex;
        }
        #mobile-menu {
            display: block;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
            animation-duration: .01ms !important;
            transition-duration: .2s !important;
            scroll-behavior: auto !important;
        }
        .card-hover:hover {
            transform: none;
        }
        .feat-card:hover {
            transform: none;
        }
        .list-row:hover .list-thumb img {
            transform: none;
        }
        .img-zoom:hover img {
            transform: none;
        }
    }
