/* roulang page: index */
:root{
  --bg:#0B0E14;
  --surface-1:#121722;
  --surface-2:#1A2230;
  --border:#242E42;
  --text:#E7ECF5;
  --text-secondary:#8E9BB3;
  --primary:#2FE6A6;
  --accent:#FFB054;
  --error:#FF5D6C;
  --radius-card:16px;
  --radius-large:20px;
  --radius-btn:10px;
  --radius-thumb:12px;
  --radius-badge:999px;
  --shadow:0 8px 20px rgba(0,0,0,.25);
  --shadow-hover:0 12px 32px rgba(0,0,0,.4);
  --container:1200px;
  --font:"Inter","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--font);background:var(--bg);color:var(--text);line-height:1.6;-webkit-font-smoothing:antialiased;font-size:15px}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button,input{font:inherit;border:none;outline:none}
.container{max-width:var(--container);margin:0 auto;padding:0 24px}
section{padding:96px 0}
.section-title{font-size:28px;line-height:36px;font-weight:650;letter-spacing:-.3px;margin-bottom:12px}
.section-sub{font-size:15px;color:var(--text-secondary);margin-bottom:48px;line-height:26px}
@media(max-width:768px){section{padding:56px 0}.section-title{font-size:24px;line-height:32px}.section-sub{margin-bottom:32px}}

/* Header */
.site-header{position:sticky;top:0;z-index:100;background:var(--bg);border-bottom:1px solid var(--border);transition:background .3s}
.site-header.scrolled{background:rgba(11,14,20,.85);backdrop-filter:blur(8px)}
.nav{display:flex;align-items:center;justify-content:space-between;height:68px}
.nav-logo{display:flex;align-items:center;gap:10px;flex-shrink:0}
.logo-mark{width:26px;height:26px;border-radius:6px;background:var(--primary);color:var(--bg);font-weight:700;display:flex;align-items:center;justify-content:center;font-size:14px}
.logo-text{font-size:18px;font-weight:600;color:var(--text);letter-spacing:-.2px}
.nav-links{display:flex;align-items:center;gap:36px;margin-left:48px}
.nav-link{font-size:15px;color:var(--text-secondary);position:relative;padding:6px 0;transition:color .2s ease}
.nav-link:hover{color:var(--text)}
.nav-link.active{color:var(--text)}
.nav-link.active::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:2px;background:var(--primary);border-radius:2px}
.nav-cta{margin-left:auto}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:var(--radius-btn);font-size:15px;font-weight:500;padding:13px 24px;cursor:pointer;transition:all .2s ease;text-decoration:none;line-height:1.2}
.btn-primary{background:var(--primary);color:var(--bg)}
.btn-primary:hover{background:#51f0b8;transform:translateY(-2px);box-shadow:0 8px 20px rgba(47,230,166,.25)}
.btn-primary:focus-visible{outline:2px solid rgba(47,230,166,.5);outline-offset:2px}
.btn-ghost{background:transparent;border:1px solid var(--border);color:var(--text)}
.btn-ghost:hover{border-color:var(--primary);color:var(--primary)}
.btn-ghost:focus-visible{outline:2px solid rgba(47,230,166,.4);outline-offset:2px}
.btn-sm{padding:12px 20px;font-size:13px}
.nav-toggle{display:none;background:none;border:none;cursor:pointer;padding:8px;flex-direction:column;gap:5px}
.nav-toggle span{display:block;width:22px;height:2px;background:var(--text);border-radius:2px;transition:all .3s}
.nav-toggle.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle.active span:nth-child(2){opacity:0}
.nav-toggle.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
@media(max-width:1024px){
  .nav-links{display:none}
  .nav-cta{display:none}
  .nav-toggle{display:flex}
}
.nav-links.mobile-open{display:flex;flex-direction:column;position:fixed;top:0;left:0;right:0;bottom:0;background:var(--bg);z-index:200;align-items:center;justify-content:center;gap:24px;margin-left:0}
.nav-links.mobile-open .nav-link{font-size:20px;line-height:1.6}
.nav-links.mobile-open .nav-close{position:absolute;top:24px;right:24px;background:none;border:none;color:var(--text);font-size:32px;cursor:pointer;line-height:1}

/* Hero */
.hero{padding:96px 0 88px;position:relative;overflow:hidden}
.hero-bg{position:absolute;inset:0;background:url('/assets/images/backpic/back-1.png') center/cover no-repeat;opacity:.15;pointer-events:none}
.hero-inner{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.hero-badge{display:inline-flex;align-items:center;gap:6px;background:rgba(47,230,166,.08);border:1px solid rgba(47,230,166,.25);color:var(--primary);font-size:13px;font-weight:500;padding:5px 14px;border-radius:var(--radius-badge);margin-bottom:20px}
.hero h1{font-size:48px;line-height:64px;font-weight:700;letter-spacing:-.5px;margin-bottom:20px}
.hero-sub{font-size:17px;line-height:30px;color:var(--text-secondary);margin-bottom:32px;max-width:480px}
.hero-actions{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:20px}
.hero-note{font-size:13px;color:var(--text-secondary)}
.hero-mockup{position:relative}
.mockup-window{background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-large);overflow:hidden;box-shadow:var(--shadow-hover)}
.mockup-bar{display:flex;align-items:center;gap:8px;padding:14px 18px;border-bottom:1px solid var(--border);background:var(--surface-2)}
.mockup-dot{width:10px;height:10px;border-radius:50%}
.mockup-dot:nth-child(1){background:#FF5D6C}
.mockup-dot:nth-child(2){background:#FFB054}
.mockup-dot:nth-child(3){background:#2FE6A6}
.mockup-url{flex:1;background:var(--surface-1);border-radius:6px;padding:4px 14px;font-size:12px;color:var(--text-secondary);text-align:center}
.mockup-body{position:relative;height:340px}
.mockup-body img{width:100%;height:100%;object-fit:cover}
.mockup-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(11,14,20,.6),transparent 50%)}
.mockup-game-list{position:absolute;left:18px;right:18px;bottom:18px;display:flex;flex-direction:column;gap:8px}
.mockup-game-item{display:flex;align-items:center;gap:12px;background:rgba(18,23,34,.9);border:1px solid rgba(36,46,66,.6);border-radius:12px;padding:10px 14px;backdrop-filter:blur(4px)}
.mockup-game-thumb{width:36px;height:36px;border-radius:8px;object-fit:cover}
.mockup-game-info{flex:1}
.mockup-game-info .name{font-size:13px;font-weight:600;color:var(--text)}
.mockup-game-info .tag{font-size:11px;color:var(--primary)}
@media(max-width:1024px){
  .hero{padding:72px 0 56px}
  .hero-inner{grid-template-columns:1fr;gap:40px}
  .hero h1{font-size:40px;line-height:52px}
  .mockup-body{height:260px}
}
@media(max-width:640px){
  .hero h1{font-size:32px;line-height:40px}
  .hero-sub{font-size:15px}
}

/* Stats */
.stats-section{padding:48px 0;border-top:1px solid var(--border)}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.stat-item{text-align:center;padding:16px 24px;border-left:1px solid var(--border)}
.stat-item:first-child{border-left:none}
.stat-number{font-size:36px;font-weight:700;color:var(--text);font-variant-numeric:tabular-nums;letter-spacing:-.5px}
.stat-label{font-size:14px;color:var(--text-secondary);margin-top:6px}
@media(max-width:768px){
  .stats-section{padding:36px 0}
  .stats-grid{grid-template-columns:repeat(2,1fr);gap:0}
  .stat-item{padding:16px 12px}
  .stat-item:nth-child(3){border-left:none}
  .stat-number{font-size:28px}
}

/* Carousel */
.carousel-section{background:var(--surface-1);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.carousel-viewport{overflow:hidden;scroll-snap-type:x mandatory;display:flex;gap:24px;padding:8px 0 32px;scrollbar-width:none;-ms-overflow-style:none}
.carousel-viewport::-webkit-scrollbar{display:none}
.carousel-slide{flex:0 0 60%;scroll-snap-align:center;background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-large);overflow:hidden;transition:border-color .3s,transform .3s}
.carousel-slide:hover{border-color:var(--primary);transform:translateY(-4px)}
.carousel-slide img{width:100%;height:280px;object-fit:cover}
.carousel-slide-body{padding:20px 24px}
.carousel-slide-body .slide-name{font-size:18px;font-weight:600;margin-bottom:6px}
.carousel-slide-body .slide-desc{font-size:14px;color:var(--text-secondary)}
.carousel-controls{display:flex;align-items:center;justify-content:center;gap:24px;margin-top:16px}
.carousel-btn{width:44px;height:44px;border-radius:50%;border:1px solid var(--border);background:transparent;color:var(--text);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;font-size:18px}
.carousel-btn:hover{border-color:var(--primary);color:var(--primary)}
.carousel-dots{display:flex;gap:8px}
.carousel-dot{width:8px;height:8px;border-radius:var(--radius-badge);background:var(--border);border:none;cursor:pointer;padding:0;transition:all .3s}
.carousel-dot.active{width:24px;background:var(--primary)}
@media(max-width:1024px){
  .carousel-slide{flex:0 0 80%}
  .carousel-slide img{height:220px}
}
@media(max-width:640px){
  .carousel-slide{flex:0 0 100%}
  .carousel-btn{width:36px;height:36px}
}

/* News */
.news-section{}
.news-list{display:flex;flex-direction:column;gap:16px}
.news-card{display:flex;gap:20px;background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-card);padding:20px;transition:background .2s,border-color .2s}
.news-card:hover{background:var(--surface-2);border-color:var(--primary)}
.news-thumb{width:120px;height:90px;border-radius:var(--radius-thumb);object-fit:cover;flex-shrink:0}
.news-body{flex:1;display:flex;flex-direction:column;justify-content:center;min-width:0}
.news-meta{display:flex;align-items:center;gap:12px;margin-bottom:8px;flex-wrap:wrap}
.news-badge{display:inline-block;background:rgba(47,230,166,.1);color:var(--primary);font-size:12px;font-weight:500;padding:3px 10px;border-radius:var(--radius-badge)}
.news-title{font-size:17px;font-weight:600;margin-bottom:6px;color:var(--text);transition:color .2s;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.news-card:hover .news-title{color:var(--primary)}
.news-excerpt{font-size:14px;color:var(--text-secondary);line-height:22px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.news-time{font-size:13px;color:var(--text-secondary);margin-top:auto}
.news-empty{text-align:center;padding:48px 24px;background:var(--surface-1);border:1px dashed var(--border);border-radius:var(--radius-card);color:var(--text-secondary)}
.news-empty a{color:var(--primary);margin-left:8px;font-weight:500}
@media(max-width:640px){
  .news-card{flex-direction:column;padding:16px}
  .news-thumb{width:100%;height:140px}
}

/* System Requirements */
.req-section{border-top:1px solid var(--border)}
.req-grid{border:1px solid var(--border);border-radius:var(--radius-card);overflow:hidden;background:var(--surface-1)}
.req-row{display:grid;grid-template-columns:240px 1fr;align-items:center;border-bottom:1px solid var(--border);min-height:56px}
.req-row:last-child{border-bottom:none}
.req-label{padding:0 24px;font-weight:500;color:var(--text-secondary);font-size:14px;border-right:1px solid var(--border);height:100%;display:flex;align-items:center}
.req-value{padding:0 24px;font-size:15px;color:var(--text)}
@media(max-width:640px){
  .req-row{grid-template-columns:1fr}
  .req-label{border-right:none;border-bottom:1px solid var(--border);padding:14px 16px}
  .req-value{padding:10px 16px 16px}
}

/* Reviews */
.reviews-section{background:var(--surface-1);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.reviews-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.review-card{background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-card);padding:24px;position:relative;transition:border-color .2s,transform .2s}
.review-card:hover{border-color:var(--primary);transform:translateY(-4px)}
.review-card::before{content:"“";position:absolute;top:12px;left:16px;font-size:48px;color:rgba(47,230,166,.2);font-family:Georgia,serif;line-height:1}
.review-top{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.review-avatar{width:40px;height:40px;border-radius:50%;background:var(--surface-2);display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:600;color:var(--primary);flex-shrink:0}
.review-name{font-size:14px;font-weight:600;color:var(--text);flex:1}
.review-stars{color:var(--accent);font-size:13px;letter-spacing:2px}
.review-text{font-size:14px;line-height:24px;color:var(--text-secondary);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:12px}
.review-source{font-size:12px;color:var(--text-secondary)}
@media(max-width:1024px){
  .reviews-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:640px){
  .reviews-grid{grid-template-columns:1fr}
}

/* CTA */
.cta-section{position:relative;overflow:hidden}
.cta-section::before{content:"";position:absolute;top:-80px;right:-40px;width:420px;height:420px;background:radial-gradient(circle,rgba(47,230,166,.1),transparent 70%);pointer-events:none}
.cta-section::after{content:"";position:absolute;bottom:-60px;left:-30px;width:320px;height:320px;background:radial-gradient(circle,rgba(255,176,84,.06),transparent 70%);pointer-events:none}
.cta-inner{position:relative;text-align:center;max-width:760px;margin:0 auto}
.cta-title{font-size:28px;font-weight:700;letter-spacing:-.3px;margin-bottom:16px}
.cta-desc{font-size:15px;color:var(--text-secondary);margin-bottom:40px;line-height:26px}
.download-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.download-btn{display:flex;align-items:center;justify-content:flex-start;gap:12px;background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-card);padding:14px 18px;transition:all .25s ease;text-align:left;height:64px;cursor:pointer}
.download-btn:hover{transform:translateY(-2px);border-color:var(--primary);box-shadow:var(--shadow-hover)}
.download-btn:hover .icon{color:var(--primary)}
.download-btn .icon{font-size:24px;color:var(--text-secondary);transition:color .2s;flex-shrink:0}
.download-btn .text-col{display:flex;flex-direction:column;line-height:1.3;min-width:0}
.download-btn .text-col .small{font-size:11px;color:var(--text-secondary)}
.download-btn .text-col .large{font-size:15px;font-weight:600;color:var(--text)}
@media(max-width:768px){
  .download-grid{grid-template-columns:repeat(2,1fr)}
}

/* Footer */
.site-footer{border-top:1px solid var(--border);padding:64px 0 32px;background:var(--bg)}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.2fr;gap:40px;margin-bottom:48px}
.footer-brand .logo-text{font-size:20px}
.footer-brand p{font-size:14px;color:var(--text-secondary);margin-top:16px;line-height:24px;max-width:260px}
.footer-col-title{font-size:14px;font-weight:600;margin-bottom:16px}
.footer-links{list-style:none;display:flex;flex-direction:column;gap:10px}
.footer-links a{font-size:14px;color:var(--text-secondary);transition:color .2s}
.footer-links a:hover{color:var(--primary)}
.footer-copyright{border-top:1px solid var(--border);padding-top:24px;text-align:center;font-size:13px;color:var(--text-secondary)}
.footer-contact-item{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--text-secondary);margin-bottom:10px}
.footer-contact-item .icon{font-size:16px}
@media(max-width:1024px){
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .site-footer{padding:48px 0 24px}
  .footer-grid{grid-template-columns:1fr;gap:32px}
}

/* Focus visible global */
a:focus-visible,.btn:focus-visible,button:focus-visible{outline:2px solid rgba(47,230,166,.5);outline-offset:2px;border-radius:4px}

/* roulang page: article */
:root{
  --bg:#0B0E14;
  --surface-1:#121722;
  --surface-2:#1A2230;
  --border:#242E42;
  --text:#E7ECF5;
  --text-weak:#8E9BB3;
  --primary:#2FE6A6;
  --accent:#FFB054;
  --danger:#FF5D6C;
  --radius-card:16px;
  --radius-lg:20px;
  --radius-sm:10px;
  --radius-thumb:12px;
  --radius-tag:999px;
  --shadow:0 8px 20px rgba(0,0,0,0.25);
  --shadow-hover:0 12px 32px rgba(0,0,0,0.4);
  --font:"Inter","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  --section-gap:96px;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:var(--font);background:var(--bg);color:var(--text);line-height:1.6;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button{font-family:inherit;cursor:pointer}
ul,ol{list-style:none}
.container{max-width:1200px;margin:0 auto;padding:0 24px}
.container-narrow{max-width:720px;margin:0 auto;padding:0 24px}
.site-header{position:sticky;top:0;z-index:100;background:var(--bg);border-bottom:1px solid var(--border);transition:background .3s ease}
.site-header.scrolled{background:rgba(11,14,20,0.85);backdrop-filter:blur(8px)}
.nav{display:flex;align-items:center;height:68px;gap:24px;position:relative}
.nav-logo{display:flex;align-items:center;gap:10px;flex-shrink:0}
.logo-mark{width:28px;height:28px;border-radius:8px;background:var(--primary);color:var(--bg);font-weight:700;font-size:16px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.logo-text{font-weight:600;font-size:18px;letter-spacing:-0.2px;white-space:nowrap}
.nav-links{display:flex;align-items:center;gap:32px;margin-left:8px;flex:1}
.nav-link{font-size:15px;color:var(--text-weak);padding:10px 2px;position:relative;transition:color .2s ease;white-space:nowrap}
.nav-link:hover{color:var(--text)}
.nav-link.active{color:var(--text)}
.nav-link.active::after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--primary);border-radius:2px}
.nav-cta{margin-left:auto;flex-shrink:0}
.nav-toggle{display:none;background:none;border:none;width:40px;height:40px;flex-direction:column;justify-content:center;align-items:center;gap:5px;padding:8px;margin-left:auto}
.nav-toggle span{display:block;width:20px;height:2px;background:var(--text);border-radius:2px;transition:transform .3s,opacity .3s}
.nav-close{display:none;position:absolute;top:24px;right:24px;background:none;border:none;color:var(--text);font-size:32px;line-height:1;cursor:pointer;z-index:260;transition:color .2s}
.nav-close:hover{color:var(--primary)}
.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-sm);padding:13px 20px;font-size:14px;font-weight:500;line-height:1;transition:all .2s ease;border:none}
.btn-primary{background:var(--primary);color:var(--bg)}
.btn-primary:hover{background:#45f0b2;transform:translateY(-2px);box-shadow:0 8px 20px rgba(47,230,166,0.25)}
.btn-primary:focus-visible{outline:2px solid rgba(47,230,166,0.6);outline-offset:2px}
.btn-secondary{background:transparent;border:1px solid var(--border);color:var(--text)}
.btn-secondary:hover{border-color:var(--primary);color:var(--primary);transform:translateY(-2px)}
.btn-sm{padding:8px 16px;font-size:13px;border-radius:8px}
.breadcrumb{padding:32px 0 12px;font-size:13px;color:var(--text-weak);display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.breadcrumb a{color:var(--text-weak);transition:color .2s}
.breadcrumb a:hover{color:var(--primary)}
.breadcrumb-sep{color:var(--border)}
.article-header{padding:28px 0 24px;border-bottom:1px solid var(--border)}
.article-header h1{font-size:32px;line-height:1.35;font-weight:700;letter-spacing:-0.3px;margin-bottom:18px;color:var(--text)}
.article-meta{display:flex;flex-wrap:wrap;gap:8px 24px;font-size:13px;color:var(--text-weak);align-items:center}
.meta-item{display:inline-flex;align-items:center;gap:6px}
.meta-item svg{width:14px;height:14px;stroke:var(--text-weak);fill:none;stroke-width:1.6}
.article-body{padding:48px 0 80px}
.article-content{font-size:15px;line-height:1.8;color:var(--text)}
.article-content h2{font-size:24px;font-weight:650;line-height:1.4;margin:44px 0 18px;padding-top:18px;border-top:1px solid var(--border);letter-spacing:-0.2px}
.article-content h3{font-size:20px;font-weight:600;line-height:1.4;margin:36px 0 14px;letter-spacing:-0.1px}
.article-content p{margin-bottom:24px}
.article-content img{width:100%;border-radius:var(--radius-lg);margin:28px 0}
.article-content a{color:var(--primary);text-decoration:underline;text-underline-offset:4px;transition:color .2s}
.article-content a:hover{color:#45f0b2}
.article-content blockquote{border-left:2px solid var(--primary);padding:12px 20px;margin:28px 0;background:var(--surface-1);border-radius:0 12px 12px 0;color:var(--text-weak);font-style:normal}
.article-content blockquote p{margin-bottom:0}
.article-content pre{background:var(--surface-2);padding:18px 22px;border-radius:12px;overflow-x:auto;margin:28px 0;font-size:14px;line-height:1.6;color:var(--text);border:1px solid var(--border)}
.article-content code{font-family:"SF Mono","Consolas","Liberation Mono",monospace;font-size:14px;background:var(--surface-2);padding:2px 6px;border-radius:6px}
.article-content pre code{background:transparent;padding:0;border-radius:0}
.article-content ul,.article-content ol{margin:0 0 24px 20px}
.article-content ul{list-style:disc}
.article-content ol{list-style:decimal}
.article-content li{margin-bottom:8px}
.article-content table{width:100%;border-collapse:collapse;margin:28px 0;font-size:14px}
.article-content th,.article-content td{border:1px solid var(--border);padding:10px 14px;text-align:left;line-height:1.5}
.article-content th{background:var(--surface-1);font-weight:600}
.article-not-found{background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-card);padding:48px 32px;text-align:center}
.not-found-icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;background:rgba(255,93,108,0.12);color:var(--danger);font-size:26px;font-weight:700;margin-bottom:20px}
.article-not-found h2{font-size:22px;font-weight:650;margin-bottom:10px;color:var(--text)}
.article-not-found p{font-size:14px;color:var(--text-weak);margin-bottom:24px}
.related-section{padding:80px 0;border-top:1px solid var(--border)}
.related-section h2{font-size:28px;font-weight:650;letter-spacing:-0.3px;margin-bottom:12px}
.related-section .related-sub{font-size:14px;color:var(--text-weak);margin-bottom:32px}
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.related-card{background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-card);padding:20px;transition:border-color .2s,transform .2s,box-shadow .2s;display:block}
.related-card:hover{border-color:var(--primary);transform:translateY(-4px);box-shadow:var(--shadow-hover)}
.related-card img{width:100%;height:140px;object-fit:cover;border-radius:var(--radius-thumb);margin-bottom:16px}
.related-card h3{font-size:16px;font-weight:600;line-height:1.4;margin-bottom:8px;color:var(--text);transition:color .2s}
.related-card:hover h3{color:var(--primary)}
.related-card .time{font-size:13px;color:var(--text-weak)}
.back-link{display:inline-flex;align-items:center;gap:8px;margin-top:40px;color:var(--text-weak);font-size:14px;font-weight:500;transition:color .2s}
.back-link::before{content:'←';font-size:16px;transition:transform .2s}
.back-link:hover{color:var(--primary)}
.back-link:hover::before{transform:translateX(-4px)}
.cta-section{padding:80px 0;background:var(--surface-1);position:relative;overflow:hidden;border-top:1px solid var(--border)}
.cta-section::before{content:'';position:absolute;top:-80%;right:-10%;width:520px;height:520px;background:radial-gradient(circle,rgba(47,230,166,0.10),transparent 70%);pointer-events:none}
.cta-inner{position:relative;text-align:center;z-index:1}
.cta-inner h2{font-size:28px;font-weight:650;letter-spacing:-0.3px;margin-bottom:14px}
.cta-inner .cta-desc{font-size:15px;color:var(--text-weak);margin-bottom:36px;line-height:1.6}
.download-btns{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}
.download-btn{display:inline-flex;align-items:center;gap:12px;height:56px;padding:0 24px;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text);transition:transform .2s,border-color .2s,box-shadow .2s;text-align:left}
.download-btn:hover{transform:translateY(-2px);border-color:var(--primary);box-shadow:var(--shadow-hover);color:var(--text)}
.download-btn:focus-visible{outline:2px solid rgba(47,230,166,0.5);outline-offset:2px}
.dl-icon{font-size:22px;color:var(--primary);line-height:1;flex-shrink:0}
.dl-text{display:flex;flex-direction:column;line-height:1.2}
.dl-title{font-size:11px;color:var(--text-weak);letter-spacing:0.2px}
.dl-sub{font-size:15px;font-weight:600}
.site-footer{border-top:1px solid var(--border);padding:64px 0 32px;background:var(--bg)}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.2fr;gap:40px;margin-bottom:40px}
.footer-brand .logo-text{font-size:18px;font-weight:600;letter-spacing:-0.2px}
.footer-brand p{margin-top:16px;font-size:14px;color:var(--text-weak);max-width:300px;line-height:1.6}
.footer-col-title{font-size:14px;font-weight:600;margin-bottom:16px;color:var(--text)}
.footer-links li{margin-bottom:12px}
.footer-links a{font-size:14px;color:var(--text-weak);transition:color .2s}
.footer-links a:hover{color:var(--primary)}
.footer-contact-item{font-size:14px;color:var(--text-weak);margin-bottom:12px;display:flex;align-items:center;gap:8px}
.footer-contact-item .icon{color:var(--primary)}
.footer-copyright{text-align:center;padding-top:24px;border-top:1px solid var(--border);font-size:13px;color:var(--text-weak)}
@media (max-width:1024px){
  .related-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr;gap:32px}
}
@media (max-width:768px){
  .nav{height:60px}
  .nav-links{display:none;position:fixed;inset:0;background:var(--bg);flex-direction:column;align-items:flex-start;justify-content:center;padding:0 40px;z-index:250;gap:20px}
  .nav-links.nav-links-open{display:flex}
  .nav-links .nav-link{font-size:20px;opacity:1;padding:6px 0}
  .nav-links .nav-link.active::after{bottom:0}
  .nav-toggle{display:flex}
  .nav-cta{display:none}
  .breadcrumb{padding-top:24px}
  .article-header h1{font-size:26px;line-height:1.35}
  .article-body{padding:32px 0 60px}
  .related-section{padding:56px 0}
  .related-grid{grid-template-columns:1fr}
  .cta-section{padding:56px 0}
  .footer-grid{grid-template-columns:1fr;gap:24px}
  .download-btns{display:grid;grid-template-columns:1fr 1fr;gap:12px}
  .download-btn{padding:0 16px;justify-content:flex-start}
}
@media (max-width:520px){
  .container{padding:0 18px}
  .container-narrow{padding:0 18px}
  .article-header h1{font-size:22px}
  .article-content{font-size:15px;line-height:1.75}
  .article-content h2{font-size:20px}
  .article-content h3{font-size:17px}
  .related-card img{height:110px}
  .cta-inner h2{font-size:22px}
  .download-btns{grid-template-columns:1fr}
  .download-btn{width:100%}
}

/* roulang page: category1 */
:root {
  --bg: #0B0E14;
  --surface-1: #121722;
  --surface-2: #1A2230;
  --line: #242E42;
  --text: #E7ECF5;
  --text-muted: #8E9BB3;
  --primary: #2FE6A6;
  --accent: #FFB054;
  --danger: #FF5D6C;
  --radius-card: 16px;
  --radius-btn: 10px;
  --radius-thumb: 12px;
  --shadow: 0 8px 20px rgba(0,0,0,0.25);
  --shadow-hover: 0 12px 32px rgba(0,0,0,0.4);
  --font: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}

.section-band {
  background: var(--surface-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: 28px;
  line-height: 36px;
  font-weight: 650;
  letter-spacing: -0.3px;
  color: var(--text);
}

.section-head p {
  color: var(--text-muted);
  margin-top: 10px;
  font-size: 15px;
  line-height: 26px;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 14, 20, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  flex-shrink: 0;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--primary);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 17px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 15px;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 6px;
  position: relative;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link.active {
  color: var(--text);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  z-index: 220;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.nav-close {
  display: none !important;
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 32px;
  line-height: 1;
  color: var(--text);
  z-index: 210;
  background: none;
  border: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg);
}

.btn-primary:hover {
  background: #45f2b5;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.btn-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-secondary:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Page Hero */
.page-hero {
  position: relative;
  padding: 88px 0 80px;
  text-align: center;
  background: linear-gradient(rgba(11, 14, 20, 0.9), rgba(11, 14, 20, 0.94)), url('/assets/images/backpic/back-1.png') center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-1);
  color: var(--primary);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
}

.page-hero h1 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.page-hero .lead {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 28px;
  max-width: 720px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Tags */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 32px;
}

.tag {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-1);
  color: var(--text-muted);
  font-size: 13px;
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}

.tag:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Catalog Cards */
.catalog-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
}

.catalog-card {
  display: flex;
  gap: 20px;
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 20px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.catalog-card:hover {
  border-color: var(--primary);
  background: var(--surface-2);
  box-shadow: var(--shadow-hover);
}

.catalog-thumb {
  width: 160px;
  height: 100px;
  border-radius: var(--radius-thumb);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--surface-2);
}

.catalog-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.catalog-info h3 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  margin-bottom: 6px;
}

.catalog-info p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 26px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}

.catalog-link {
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
  margin-top: auto;
  align-self: flex-start;
  transition: opacity 0.2s;
}

.catalog-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.feature-item {
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.feature-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(47, 230, 166, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.feature-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 14px;
  line-height: 22px;
  color: var(--text-muted);
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
  counter-reset: step;
}

.step-item {
  position: relative;
  padding: 24px;
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  transition: border-color 0.2s, transform 0.2s;
}

.step-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 14px;
}

.step-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 14px;
  line-height: 22px;
  color: var(--text-muted);
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  margin-top: 40px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 4px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  gap: 16px;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  color: var(--primary);
  font-weight: 600;
  font-size: 20px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 26px;
  padding: 0 4px;
}

/* CTA */
.cta-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(rgba(11, 14, 20, 0.92), rgba(11, 14, 20, 0.95)), url('/assets/images/backpic/back-2.png') center / cover no-repeat;
  border-top: 1px solid var(--line);
}

.cta-title {
  font-size: 28px;
  line-height: 40px;
  font-weight: 650;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}

.cta-desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 26px;
  max-width: 560px;
  margin: 0 auto 32px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .logo-text {
  display: inline-block;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 24px;
  color: var(--text-muted);
  max-width: 300px;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact-item {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact-item .icon {
  color: var(--primary);
}

.footer-copyright {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  .nav-cta {
    display: none;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    z-index: 200;
    font-size: 20px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links.open .nav-close {
    display: block !important;
  }
  .nav-links.open ~ .nav-toggle {
    display: none;
  }
  .nav-link {
    font-size: 20px;
    padding: 8px 20px;
  }
  .nav-link.active::after {
    left: 20px;
    right: 20px;
  }
  .page-hero {
    padding: 60px 0 56px;
  }
  .page-hero h1 {
    font-size: 26px;
  }
  .section {
    padding: 56px 0;
  }
  .section-head h2 {
    font-size: 22px;
  }
  .catalog-card {
    flex-direction: column;
  }
  .catalog-thumb {
    width: 100%;
    height: 180px;
  }
  .cta-title {
    font-size: 22px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 520px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }
}

/* roulang page: category2 */
:root {
  --bg: #0B0E14;
  --surface-1: #121722;
  --surface-2: #1A2230;
  --border: #242E42;
  --text: #E7ECF5;
  --muted: #8E9BB3;
  --primary: #2FE6A6;
  --accent: #FFB054;
  --danger: #FF5D6C;
  --radius: 16px;
  --radius-lg: 20px;
  --radius-sm: 10px;
  --shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.4);
  --container: 1200px;
  --space: 96px;
  --font: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 26px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s ease;
}

a:hover {
  color: var(--primary);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
textarea {
  font-family: var(--font);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

section {
  position: relative;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 14, 20, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--primary);
  color: var(--bg);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.logo-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 15px;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  font-weight: 400;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link.active {
  color: var(--text);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.nav-close {
  display: none;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  padding: 13px 28px;
  transition: all 0.2s ease;
  line-height: 1.2;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: #0B0E14;
  font-weight: 600;
}

.btn-primary:hover {
  background: #4cecba;
  color: #0B0E14;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-primary:focus-visible {
  outline: 2px solid rgba(47, 230, 166, 0.5);
  outline-offset: 3px;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline:focus-visible {
  outline: 2px solid rgba(47, 230, 166, 0.4);
  outline-offset: 3px;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13px;
  border-radius: 8px;
}

/* ===== Category Hero ===== */
.category-hero {
  padding: 80px 0 56px;
  background:
    radial-gradient(ellipse 600px 300px at 85% 20%, rgba(47, 230, 166, 0.08), transparent 70%),
    radial-gradient(ellipse 400px 240px at 10% 80%, rgba(255, 176, 84, 0.05), transparent 70%);
  border-bottom: 1px solid var(--border);
}

.category-hero-inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.category-hero .badge {
  display: inline-block;
  font-size: 13px;
  color: var(--primary);
  background: rgba(47, 230, 166, 0.08);
  border: 1px solid rgba(47, 230, 166, 0.25);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.category-hero h1 {
  font-size: 32px;
  line-height: 44px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  color: var(--text);
}

.category-hero p {
  font-size: 15px;
  color: var(--muted);
  line-height: 26px;
  margin-bottom: 28px;
}

.category-hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Stats Bar ===== */
.stats-bar {
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 40px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.stat-number .stat-suffix {
  font-size: 20px;
  color: var(--primary);
  margin-left: 2px;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

/* ===== Section Common ===== */
.section-block {
  padding: var(--space) 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-header h2 {
  font-size: 28px;
  line-height: 36px;
  font-weight: 650;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
  color: var(--text);
}

.section-header p {
  font-size: 15px;
  color: var(--muted);
  line-height: 26px;
}

/* ===== Features ===== */
.features-section {
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.feature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(47, 230, 166, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 24px;
}

/* ===== Server List ===== */
.server-list-section {
  border-bottom: 1px solid var(--border);
}

.server-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

.server-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color .25s ease, background .25s ease;
}

.server-card:hover {
  border-color: var(--primary);
  background: var(--surface-2);
}

.server-thumb {
  width: 160px;
  height: 100px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--surface-2);
}

.server-info {
  flex: 1;
  min-width: 0;
}

.server-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.server-tag {
  font-size: 12px;
  color: var(--accent);
  background: rgba(255, 176, 84, 0.1);
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 176, 84, 0.2);
  white-space: nowrap;
}

.server-info h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.server-info p {
  font-size: 14px;
  color: var(--muted);
  line-height: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}

.server-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}

.server-meta .rating {
  color: var(--accent);
}

.server-link {
  font-size: 14px;
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 500;
}

.server-link:hover {
  color: #4cecba;
}

/* ===== Steps ===== */
.steps-section {
  border-bottom: 1px solid var(--border);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-item {
  text-align: center;
  padding: 0 12px;
  position: relative;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #0B0E14;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.step-item h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.step-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 24px;
}

.step-arrow {
  position: absolute;
  top: 15px;
  right: -16px;
  color: var(--border);
  font-size: 18px;
}

.steps-grid .step-item:last-child .step-arrow {
  display: none;
}

/* ===== FAQ ===== */
.faq-section {
  border-bottom: 1px solid var(--border);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  width: 100%;
  text-align: left;
  transition: color .2s ease;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform .3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: #0B0E14;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq-answer-inner {
  padding-bottom: 20px;
  font-size: 14px;
  color: var(--muted);
  line-height: 26px;
}

/* ===== Related ===== */
.related-section {
  border-bottom: 1px solid var(--border);
}

.related-tags {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.related-tag {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
  transition: all .2s ease;
}

.related-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ===== CTA ===== */
.cta-section {
  padding: 96px 0;
  background:
    radial-gradient(ellipse 600px 300px at 85% 30%, rgba(47, 230, 166, 0.1), transparent 70%),
    url('/assets/images/backpic/back-3.png') center/cover no-repeat,
    var(--bg);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
  color: var(--text);
}

.cta-desc {
  font-size: 15px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 26px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  text-align: left;
  transition: all .2s ease;
  cursor: pointer;
}

.download-btn:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  background: var(--surface-2);
}

.download-btn:focus-visible {
  outline: 2px solid rgba(47, 230, 166, 0.4);
  outline-offset: 3px;
}

.download-btn-icon {
  font-size: 22px;
  color: var(--primary);
  flex-shrink: 0;
}

.download-btn-text {
  line-height: 1.3;
}

.download-btn small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.download-btn strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .logo-text {
  font-size: 18px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--muted);
  line-height: 26px;
  max-width: 280px;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact-item {
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.footer-contact-item .icon {
  color: var(--primary);
  font-style: normal;
}

.footer-copyright {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }

  .step-arrow {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(11, 14, 20, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 200;
    padding: 0 24px;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links .nav-link {
    font-size: 20px;
    color: var(--text);
  }

  .nav-links .nav-link.active::after {
    bottom: -4px;
  }

  .nav-links .nav-close {
    display: block;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
  }

  .stat-item:nth-child(even) {
    border-left: 1px solid var(--border);
  }

  .stat-item:nth-child(n+3) {
    border-bottom: none;
  }

  .server-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .server-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
  }

  .server-meta {
    flex-wrap: wrap;
    gap: 12px;
  }

  .server-link {
    margin-top: 4px;
  }

  .download-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-block {
    padding: 56px 0;
  }

  .cta-section {
    padding: 56px 0;
  }

  .category-hero {
    padding: 56px 0 40px;
  }

  .category-hero h1 {
    font-size: 30px;
    line-height: 40px;
  }
}

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 32px;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .stat-item {
    border-left: none;
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
  }

  .stat-item:nth-child(odd) {
    border-right: 1px solid var(--border);
  }

  .stat-item:nth-child(even) {
    border-left: 1px solid var(--border);
  }

  .stat-item:nth-child(n+3) {
    border-bottom: 1px solid var(--border);
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .stat-number {
    font-size: 32px;
  }

  .category-hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .category-hero .btn {
    width: 100%;
  }

  .download-btn {
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .server-info h3 {
    font-size: 18px;
  }

  .section-header h2 {
    font-size: 24px;
    line-height: 32px;
  }

  .cta-title {
    font-size: 24px;
    line-height: 32px;
  }
}
