/* roulang page: index */
:root{
  --primary:#ffb347;
  --primary-2:#ff8c42;
  --primary-grad:linear-gradient(135deg,#ffb347 0%,#ff8c42 100%);
  --secondary:#3b82f6;
  --accent:#22d3ee;
  --bg:#0b101d;
  --bg-soft:#111a2e;
  --bg-card:#17213a;
  --bg-card-hover:#1d2a45;
  --text:#eef2f8;
  --text-muted:#8ca0b8;
  --text-weak:#64748b;
  --border:rgba(255,255,255,.08);
  --border-light:rgba(255,255,255,.14);
  --radius:16px;
  --radius-lg:24px;
  --shadow-card:0 8px 30px rgba(0,0,0,.25);
  --shadow-float:0 20px 50px rgba(0,0,0,.4);
  --spacer:80px;
  --container:1200px;
  --font:'PingFang SC','Microsoft YaHei','Segoe UI',system-ui,-apple-system,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.7;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none;transition:all .25s ease}
img{max-width:100%;display:block;border:0}
button,input,textarea{font-family:inherit;font-size:inherit;border:0;outline:none;background:none}
ul,ol{list-style:none}
.container{max-width:var(--container);margin:0 auto;padding:0 24px}
::selection{background:rgba(255,179,71,.3);color:#fff}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:12px 28px;border-radius:999px;font-size:15px;font-weight:600;
  line-height:1.5;cursor:pointer;transition:all .3s ease;white-space:nowrap;
}
.btn-primary{
  background:var(--primary-grad);color:#241503;
  box-shadow:0 6px 20px rgba(255,140,66,.35);
}
.btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 30px rgba(255,140,66,.45);
  color:#241503;
}
.btn-primary:active{transform:translateY(0);}
.btn-outline{
  border:1px solid var(--border-light);color:var(--text);
  background:rgba(255,255,255,.04);
}
.btn-outline:hover{border-color:var(--primary);color:var(--primary);background:rgba(255,179,71,.08);}
.btn-sm{padding:8px 20px;font-size:14px;}
.btn:focus-visible{
  outline:3px solid rgba(255,179,71,.5);outline-offset:2px;
}

/* Header / Nav */
.site-header{
  position:fixed;top:16px;left:0;right:0;z-index:1000;
  padding:0 20px;pointer-events:none;
}
.navbar{
  max-width:1240px;margin:0 auto;background:rgba(11,16,29,.78);
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
  border:1px solid var(--border);border-radius:999px;
  padding:10px 12px;display:flex;align-items:center;justify-content:space-between;
  box-shadow:0 8px 40px rgba(0,0,0,.35);pointer-events:auto;
}
.nav-brand{
  display:flex;align-items:center;gap:10px;font-size:17px;font-weight:700;
  color:var(--text);letter-spacing:.5px;padding-left:10px;
}
.brand-badge{
  width:36px;height:36px;border-radius:12px;
  background:var(--primary-grad);display:flex;align-items:center;justify-content:center;
  color:#241503;font-size:18px;font-weight:800;
  box-shadow:0 4px 14px rgba(255,140,66,.4);
}
.nav-links{
  display:flex;align-items:center;gap:4px;
}
.nav-link{
  padding:8px 16px;border-radius:999px;font-size:14px;font-weight:500;
  color:var(--text-muted);transition:all .25s ease;
}
.nav-link:hover{color:var(--text);background:rgba(255,255,255,.06);}
.nav-link.active{
  color:var(--primary);background:rgba(255,179,71,.1);
}
.nav-cta{margin-left:8px;}
.nav-toggle{
  display:none;width:40px;height:40px;border-radius:12px;
  align-items:center;justify-content:center;color:var(--text);
  font-size:18px;cursor:pointer;background:rgba(255,255,255,.06);
}
.nav-toggle:hover{background:rgba(255,255,255,.12);}

/* Hero */
.hero{
  position:relative;min-height:720px;display:flex;align-items:center;
  background:linear-gradient(135deg,rgba(11,16,29,.92) 0%,rgba(11,16,29,.72) 45%,rgba(11,16,29,.5) 100%),
  url('/assets/images/backpic/back-1.png') center/cover no-repeat;
  padding:140px 0 90px;overflow:hidden;
}
.hero::after{
  content:'';position:absolute;bottom:0;left:0;right:0;height:160px;
  background:linear-gradient(to top,var(--bg),transparent);z-index:1;
}
.hero-inner{position:relative;z-index:2;}
.hero-badge{
  display:inline-flex;align-items:center;gap:8px;
  padding:7px 18px;border-radius:999px;background:rgba(255,179,71,.12);
  border:1px solid rgba(255,179,71,.3);color:var(--primary);
  font-size:13px;font-weight:600;letter-spacing:1px;
  margin-bottom:24px;text-transform:uppercase;
}
.hero h1{
  font-size:56px;line-height:1.15;font-weight:800;
  margin-bottom:20px;letter-spacing:1px;
}
.hero h1 .highlight{
  background:var(--primary-grad);-webkit-background-clip:text;
  -webkit-text-fill-color:transparent;background-clip:text;
}
.hero-desc{
  font-size:18px;color:var(--text-muted);max-width:560px;margin-bottom:36px;
  line-height:1.8;
}
.hero-actions{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:50px;}
.countdown-wrap{
  display:flex;align-items:center;gap:24px;flex-wrap:wrap;
  padding:20px 28px;border-radius:20px;
  background:rgba(255,255,255,.05);border:1px solid var(--border);
  backdrop-filter:blur(10px);max-width:520px;
}
.countdown-title{font-size:14px;color:var(--text-muted);font-weight:500;display:flex;align-items:center;gap:10px;}
.countdown-title i{color:var(--primary);font-size:16px;}
.countdown-grid{display:flex;gap:12px;}
.count-box{
  text-align:center;min-width:58px;padding:10px 14px;
  background:rgba(255,255,255,.06);border-radius:14px;
  border:1px solid var(--border-light);
}
.count-box .num{
  font-size:28px;font-weight:800;color:var(--text);
  font-variant-numeric:tabular-nums;line-height:1.2;
}
.count-box .label{
  font-size:11px;color:var(--text-weak);margin-top:4px;letter-spacing:1px;
}
.hero-trust{
  display:flex;gap:28px;margin-top:36px;flex-wrap:wrap;
}
.trust-item{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--text-muted);}
.trust-item i{color:var(--accent);font-size:16px;}

/* Section common */
.section{padding:var(--spacer) 0;}
.section-head{
  text-align:center;max-width:680px;margin:0 auto 56px;
}
.section-eyebrow{
  display:inline-block;font-size:13px;font-weight:700;letter-spacing:2px;
  color:var(--primary);text-transform:uppercase;margin-bottom:12px;
}
.section-head h2{
  font-size:38px;line-height:1.25;font-weight:800;margin-bottom:16px;
  letter-spacing:.5px;
}
.section-head p{font-size:16px;color:var(--text-muted);line-height:1.8;}
.section-foot{text-align:center;margin-top:48px;}

/* Features */
.features{
  background:linear-gradient(180deg,var(--bg) 0%,var(--bg-soft) 100%);
  padding:var(--spacer) 0;
}
.features-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:24px;
}
.feature-card{
  background:var(--bg-card);border:1px solid var(--border);
  border-radius:var(--radius);padding:32px 24px;
  transition:all .3s ease;position:relative;overflow:hidden;
}
.feature-card::before{
  content:'';position:absolute;top:0;left:0;right:0;height:3px;
  background:var(--primary-grad);opacity:0;transition:opacity .3s ease;
}
.feature-card:hover{
  transform:translateY(-6px);box-shadow:var(--shadow-card);
  border-color:var(--border-light);background:var(--bg-card-hover);
}
.feature-card:hover::before{opacity:1;}
.feature-icon{
  width:52px;height:52px;border-radius:16px;
  background:rgba(255,179,71,.12);display:flex;align-items:center;justify-content:center;
  margin-bottom:20px;font-size:22px;color:var(--primary);
}
.feature-card h3{font-size:18px;font-weight:700;margin-bottom:10px;}
.feature-card p{font-size:14px;color:var(--text-muted);line-height:1.75;}

/* Categories */
.categories{padding:var(--spacer) 0;}
.category-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;}
.category-card{
  position:relative;border-radius:var(--radius-lg);overflow:hidden;
  border:1px solid var(--border);background:var(--bg-card);
  transition:all .3s ease;min-height:260px;display:flex;
}
.category-card:hover{
  transform:translateY(-4px);box-shadow:var(--shadow-float);
  border-color:rgba(255,179,71,.3);
}
.category-media{
  width:46%;position:relative;overflow:hidden;min-height:260px;
}
.category-media img{
  width:100%;height:100%;object-fit:cover;
  transition:transform .5s ease;
}
.category-card:hover .category-media img{transform:scale(1.05);}
.category-media::after{
  content:'';position:absolute;inset:0;background:linear-gradient(to right,transparent 55%,var(--bg-card));
}
.category-body{
  flex:1;padding:36px 28px;display:flex;flex-direction:column;justify-content:center;
}
.category-body .tag{
  display:inline-flex;align-items:center;gap:6px;
  padding:5px 14px;border-radius:999px;font-size:12px;font-weight:600;
  background:rgba(59,130,246,.12);color:var(--secondary);
  margin-bottom:14px;border:1px solid rgba(59,130,246,.2);
  width:fit-content;letter-spacing:.5px;
}
.category-body h3{font-size:22px;font-weight:700;margin-bottom:10px;}
.category-body p{font-size:14px;color:var(--text-muted);line-height:1.75;margin-bottom:18px;}
.category-link{
  font-size:14px;font-weight:600;color:var(--primary);
  display:inline-flex;align-items:center;gap:8px;
}
.category-link i{transition:transform .3s ease;}
.category-link:hover i{transform:translateX(4px);}

/* Hot Games / Cards */
.hot-games{
  background:linear-gradient(180deg,var(--bg-soft) 0%,var(--bg) 100%);
  padding:var(--spacer) 0;
}
.content-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;}
.content-card{
  background:var(--bg-card);border:1px solid var(--border);
  border-radius:var(--radius);overflow:hidden;
  transition:all .3s ease;display:flex;flex-direction:column;
}
.content-card:hover{
  transform:translateY(-6px);box-shadow:var(--shadow-card);
  border-color:var(--border-light);
}
.content-card-media{position:relative;aspect-ratio:16/10;overflow:hidden;}
.content-card-media img{
  width:100%;height:100%;object-fit:cover;transition:transform .5s ease;
}
.content-card:hover .content-card-media img{transform:scale(1.05);}
.content-card-body{padding:20px;flex:1;display:flex;flex-direction:column;}
.content-card-body h3{font-size:16px;font-weight:700;margin-bottom:8px;line-height:1.5;}
.content-card-body p{font-size:13px;color:var(--text-muted);line-height:1.7;flex:1;}
.card-tag{
  align-self:flex-start;margin-bottom:12px;
  padding:4px 12px;border-radius:999px;font-size:12px;font-weight:600;
  background:rgba(34,211,238,.1);color:var(--accent);
  border:1px solid rgba(34,211,238,.18);
}
.card-rank{
  width:34px;height:34px;border-radius:12px;display:flex;align-items:center;justify-content:center;
  background:var(--primary-grad);color:#241503;font-weight:800;font-size:15px;
  box-shadow:0 4px 12px rgba(255,140,66,.3);
}
.media-overlay{
  position:absolute;top:14px;left:14px;z-index:2;
  display:flex;gap:8px;align-items:center;
}

/* Stats */
.stats-section{
  position:relative;padding:90px 0;
  background:linear-gradient(135deg,rgba(11,16,29,.92),rgba(11,16,29,.75)),
  url('/assets/images/backpic/back-2.png') center/cover no-repeat;
  border-top:1px solid var(--border);border-bottom:1px solid var(--border);
}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:32px;}
.stat-item{text-align:center;padding:20px;}
.stat-num{
  font-size:44px;font-weight:800;line-height:1.2;
  background:var(--primary-grad);-webkit-background-clip:text;
  -webkit-text-fill-color:transparent;background-clip:text;
  font-variant-numeric:tabular-nums;
}
.stat-label{font-size:14px;color:var(--text-muted);margin-top:8px;letter-spacing:.5px;}

/* News */
.news-section{padding:var(--spacer) 0;}
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.news-card{
  background:var(--bg-card);border:1px solid var(--border);
  border-radius:var(--radius);padding:26px;
  transition:all .3s ease;display:flex;flex-direction:column;
}
.news-card:hover{
  background:var(--bg-card-hover);transform:translateY(-4px);
  box-shadow:var(--shadow-card);border-color:var(--border-light);
}
.news-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;}
.news-tag{
  padding:4px 12px;border-radius:999px;font-size:12px;font-weight:600;
  background:rgba(255,179,71,.1);color:var(--primary);
  border:1px solid rgba(255,179,71,.2);
}
.news-time{font-size:12px;color:var(--text-weak);}
.news-card h3{font-size:16px;font-weight:700;line-height:1.6;margin-bottom:10px;}
.news-card h3 a{display:block;}
.news-card h3 a:hover{color:var(--primary);}
.news-card p{
  font-size:14px;color:var(--text-muted);line-height:1.75;
  flex:1;margin-bottom:16px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.news-more{
  display:inline-flex;align-items:center;gap:6px;
  font-size:13px;font-weight:600;color:var(--primary);
}
.news-more i{transition:transform .3s ease;font-size:12px;}
.news-more:hover i{transform:translateX(4px);}
.empty-tip{
  grid-column:1/-1;text-align:center;padding:60px 20px;
  background:var(--bg-card);border-radius:var(--radius);
  border:1px dashed var(--border-light);color:var(--text-muted);
  font-size:15px;
}

/* Steps */
.steps-section{
  background:linear-gradient(180deg,var(--bg) 0%,var(--bg-soft) 100%);
  padding:var(--spacer) 0;
}
.steps-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;position:relative;}
.steps-grid::before{
  content:'';position:absolute;top:40px;left:12%;right:12%;
  height:2px;background:linear-gradient(90deg,var(--primary),rgba(255,179,71,.2));
  border-radius:2px;
}
.step-item{text-align:center;position:relative;padding-top:0;}
.step-circle{
  width:80px;height:80px;margin:0 auto 24px;border-radius:26px;
  background:var(--bg-card);border:1px solid var(--border-light);
  display:flex;align-items:center;justify-content:center;
  position:relative;z-index:2;transition:all .3s ease;
  color:var(--primary);font-size:30px;
  box-shadow:0 4px 20px rgba(0,0,0,.2);
}
.step-item:hover .step-circle{
  background:var(--primary-grad);color:#241503;border-color:transparent;
  transform:translateY(-4px) scale(1.05);
  box-shadow:0 10px 30px rgba(255,140,66,.4);
}
.step-num{
  position:absolute;top:-6px;right:-6px;width:26px;height:26px;
  background:var(--secondary);color:#fff;border-radius:50%;
  font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;
  border:2px solid var(--bg);z-index:3;
}
.step-item h3{font-size:17px;font-weight:700;margin-bottom:10px;}
.step-item p{font-size:13px;color:var(--text-muted);line-height:1.7;max-width:220px;margin:0 auto;}

/* FAQ */
.faq-section{padding:var(--spacer) 0;}
.faq-list{max-width:800px;margin:0 auto;}
.faq-item{
  background:var(--bg-card);border:1px solid var(--border);
  border-radius:var(--radius);margin-bottom:16px;overflow:hidden;
  transition:border-color .3s ease;
}
.faq-item:hover{border-color:var(--border-light);}
.faq-item.open{border-color:rgba(255,179,71,.35);}
.faq-q{
  width:100%;display:flex;align-items:center;justify-content:space-between;
  gap:16px;padding:22px 26px;cursor:pointer;text-align:left;
  font-size:16px;font-weight:600;color:var(--text);
  transition:background .3s ease;
}
.faq-item.open .faq-q{background:rgba(255,179,71,.04);}
.faq-q .faq-icon{
  width:28px;height:28px;border-radius:50%;flex-shrink:0;
  background:rgba(255,255,255,.06);display:flex;align-items:center;justify-content:center;
  font-size:13px;color:var(--primary);transition:transform .35s ease;
}
.faq-item.open .faq-icon{transform:rotate(45deg);}
.faq-a{
  max-height:0;overflow:hidden;transition:max-height .4s ease;
  font-size:14px;color:var(--text-muted);line-height:1.85;
}
.faq-a p{padding:0 26px 24px;}

/* CTA */
.cta-section{
  position:relative;padding:110px 0;text-align:center;
  background:linear-gradient(135deg,rgba(17,26,46,.95),rgba(11,16,29,.85)),
  url('/assets/images/backpic/back-3.png') center/cover no-repeat;
  border-top:1px solid var(--border);
}
.cta-section h2{
  font-size:40px;font-weight:800;margin-bottom:16px;
}
.cta-section p{
  font-size:17px;color:var(--text-muted);max-width:520px;margin:0 auto 36px;
  line-height:1.8;
}
.cta-actions{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;}
.cta-note{
  display:block;margin-top:22px;font-size:13px;color:var(--text-weak);
  display:flex;align-items:center;justify-content:center;gap:8px;
}
.cta-note i{color:var(--accent);}

/* Footer */
.site-footer{
  background:var(--bg-soft);border-top:1px solid var(--border);
  padding:64px 0 32px;
}
.footer-grid{
  display:grid;grid-template-columns:2fr 1fr 1fr;gap:48px;
  margin-bottom:48px;
}
.footer-brand h3{
  font-size:20px;font-weight:700;display:flex;align-items:center;gap:10px;
  margin-bottom:16px;
}
.footer-brand p{
  font-size:14px;color:var(--text-muted);max-width:320px;
  line-height:1.8;
}
.footer-col h4{
  font-size:15px;font-weight:700;margin-bottom:18px;
  color:var(--text);letter-spacing:.5px;
}
.footer-links li{margin-bottom:12px;}
.footer-links a{
  font-size:14px;color:var(--text-muted);
  display:inline-flex;align-items:center;gap:8px;
  transition:all .25s ease;
}
.footer-links a i{font-size:10px;color:var(--primary);transition:transform .3s ease;}
.footer-links a:hover{color:var(--primary);padding-left:4px;}
.footer-bottom{
  border-top:1px solid var(--border);padding-top:28px;
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:12px;
}
.footer-bottom p{font-size:13px;color:var(--text-weak);}
.footer-bottom .legal{display:flex;gap:20px;}
.footer-bottom .legal a{font-size:13px;color:var(--text-weak);}
.footer-bottom .legal a:hover{color:var(--primary);}

/* Scrollbar */
::-webkit-scrollbar{width:10px;}
::-webkit-scrollbar-track{background:var(--bg);}
::-webkit-scrollbar-thumb{background:var(--bg-card-hover);border-radius:8px;}
::-webkit-scrollbar-thumb:hover{background:#243455;}

/* Responsive */
@media (max-width:1024px){
  .features-grid{grid-template-columns:repeat(2,1fr);}
  .content-cards{grid-template-columns:repeat(2,1fr);}
  .stats-grid{grid-template-columns:repeat(2,1fr);}
  .news-grid{grid-template-columns:repeat(2,1fr);}
  .category-grid{grid-template-columns:1fr;}
  .steps-grid{grid-template-columns:repeat(2,1fr);}
  .steps-grid::before{display:none;}
  .hero h1{font-size:46px;}
  .section-head h2{font-size:32px;}
  .cta-section h2{font-size:34px;}
  .stat-num{font-size:38px;}
}
@media (max-width:768px){
  :root{--spacer:60px;}
  .site-header{top:12px;padding:0 14px;}
  .navbar{border-radius:24px;padding:8px 10px;}
  .nav-links{
    position:absolute;top:60px;left:0;right:0;
    background:rgba(11,16,29,.96);backdrop-filter:blur(20px);
    border-radius:20px;border:1px solid var(--border);
    flex-direction:column;align-items:flex-start;gap:4px;
    padding:14px;display:none;box-shadow:var(--shadow-float);
  }
  .nav-links.open{display:flex;}
  .nav-link{width:100%;padding:12px 16px;font-size:15px;}
  .nav-cta{margin:8px 0 0;width:100%;justify-content:center;}
  .nav-toggle{display:flex;}
  .hero{min-height:auto;padding:130px 0 70px;}
  .hero h1{font-size:36px;}
  .hero-desc{font-size:16px;}
  .countdown-wrap{flex-direction:column;align-items:flex-start;gap:16px;}
  .countdown-grid{gap:8px;}
  .count-box{min-width:52px;padding:8px 10px;}
  .count-box .num{font-size:24px;}
  .hero-actions{flex-direction:column;align-items:stretch;}
  .hero-actions .btn{width:100%;}
  .section{padding:var(--spacer) 0;}
  .section-head{margin-bottom:40px;}
  .section-head h2{font-size:28px;}
  .category-card{flex-direction:column;}
  .category-media{width:100%;min-height:180px;}
  .category-media::after{background:linear-gradient(to top,transparent 30%,rgba(17,26,46,.8));}
  .footer-grid{grid-template-columns:1fr;gap:32px;}
  .footer-bottom{flex-direction:column;text-align:center;}
}
@media (max-width:520px){
  .container{padding:0 16px;}
  .features-grid{grid-template-columns:1fr;}
  .content-cards{grid-template-columns:1fr;}
  .news-grid{grid-template-columns:1fr;}
  .stats-grid{grid-template-columns:1fr;gap:20px;}
  .steps-grid{grid-template-columns:1fr;max-width:320px;margin:0 auto;}
  .step-item p{margin:0 auto;}
  .hero h1{font-size:30px;}
  .hero-badge{font-size:11px;padding:5px 14px;}
  .countdown-title{font-size:13px;}
  .count-box .num{font-size:20px;}
  .btn{padding:12px 20px;font-size:14px;width:100%;}
  .section-head h2{font-size:26px;}
  .cta-section h2{font-size:28px;}
  .stat-num{font-size:34px;}
}

/* roulang page: article */
:root {
  --primary: #6a3aff;
  --primary-deep: #3d1f9e;
  --primary-soft: #efe9ff;
  --accent: #f6c453;
  --accent-strong: #e3a93c;
  --dark: #0e0a1d;
  --dark-2: #1b1330;
  --bg: #f5f6fb;
  --bg-white: #ffffff;
  --bg-soft: #f1eef8;
  --text: #191329;
  --text-weak: #6d6484;
  --border: #e6e0f2;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 4px 16px rgba(30, 20, 60, .08);
  --shadow: 0 14px 40px rgba(30, 20, 60, .12);
  --shadow-lg: 0 24px 64px rgba(30, 20, 60, .18);
  --container: 1200px;
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color .25s ease; }
img { max-width: 100%; display: block; border: 0; }
button, input, select, textarea { font-family: inherit; font-size: inherit; border: 0; outline: 0; }
button { cursor: pointer; background: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid rgba(106, 58, 255, .35); outline-offset: 2px; border-radius: 6px; }
ul, ol { list-style: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* 悬浮胶囊导航 */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 120;
  padding: 20px 24px 0;
  pointer-events: none;
}
.navbar {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 66px;
  padding: 0 10px 0 14px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 60px;
  box-shadow: 0 10px 36px rgba(8, 4, 24, .22);
  pointer-events: auto;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .5px;
  color: #fff;
  white-space: nowrap;
}
.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #f59e2c);
  color: #2e1b05;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 6px 18px rgba(246, 196, 83, .38);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, .86);
  transition: all .26s ease;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, .14); }
.nav-link.active { color: #fff; background: rgba(106, 58, 255, .55); box-shadow: 0 4px 16px rgba(106, 58, 255, .35); }
.nav-cta {
  margin-left: 8px;
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: 18px;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 60px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition: all .28s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #8a56ff);
  color: #fff;
  box-shadow: 0 8px 24px rgba(106, 58, 255, .32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(106, 58, 255, .42); color: #fff; }
.btn-primary:active { transform: translateY(0); box-shadow: 0 6px 16px rgba(106, 58, 255, .3); }
.btn-accent {
  background: linear-gradient(135deg, var(--accent), #f7b733);
  color: #2e1b05;
  box-shadow: 0 8px 24px rgba(246, 196, 83, .32);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(246, 196, 83, .42); color: #2e1b05; }
.btn-ghost {
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
  background: rgba(255, 255, 255, .06);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .12); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 14px; border-radius: 40px; }

/* 文章 Hero */
.article-hero {
  position: relative;
  padding: 168px 0 76px;
  color: #fff;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(140deg, rgba(10, 6, 24, .94), rgba(52, 24, 120, .86), rgba(116, 54, 218, .82)), url('/assets/images/backpic/back-2.png') center 22% / cover no-repeat;
}
.hero-orbit {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 196, 83, .16), transparent 65%);
  top: -160px;
  right: -100px;
  animation: floatOrbit 8s ease-in-out infinite;
}
.hero-orbit.two {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(138, 86, 255, .24), transparent 65%);
  bottom: -100px;
  left: -60px;
  top: auto;
  right: auto;
  animation-delay: -4s;
}
@keyframes floatOrbit {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-18px) scale(1.04); }
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  animation: fadeUp .7s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 40px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .14);
  font-size: 14px;
  color: rgba(255, 255, 255, .78);
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}
.breadcrumb a { color: rgba(255, 255, 255, .8); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb i { font-size: 12px; color: rgba(255, 255, 255, .4); }
.article-title {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .5px;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, .22);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, .72);
}
.article-meta .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 40px;
  background: linear-gradient(135deg, var(--accent), #f7b733);
  color: #2e1b05;
  font-weight: 600;
  font-size: 13px;
}
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta i { color: var(--accent); }

/* 主体布局 */
.article-layout {
  padding: 56px 0 28px;
}
.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 36px;
  align-items: start;
}
.article-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s ease;
}
.article-card:hover { box-shadow: var(--shadow); }
.article-content {
  font-size: 16px;
  color: #2d243f;
  line-height: 1.9;
}
.article-content h2, .article-content h3, .article-content h4 {
  margin-top: 36px;
  margin-bottom: 16px;
  color: var(--text);
  line-height: 1.4;
  font-weight: 700;
}
.article-content h2 { font-size: 26px; border-left: 4px solid var(--primary); padding-left: 14px; }
.article-content h3 { font-size: 21px; }
.article-content h4 { font-size: 18px; }
.article-content p { margin-bottom: 18px; }
.article-content ul, .article-content ol { margin: 0 0 20px 22px; }
.article-content ul li { list-style: disc; margin-bottom: 6px; }
.article-content ol li { list-style: decimal; margin-bottom: 6px; }
.article-content li::marker { color: var(--primary); font-weight: 600; }
.article-content blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  background: var(--primary-soft);
  border-left: 4px solid var(--primary);
  border-radius: 0 14px 14px 0;
  color: var(--dark-2);
  font-style: italic;
}
.article-content img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin: 22px auto;
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  border-radius: 12px;
  overflow: hidden;
}
.article-content table th, .article-content table td {
  padding: 12px 14px;
  border: 1px solid var(--border);
  text-align: left;
}
.article-content table th { background: var(--bg-soft); color: var(--dark); font-weight: 600; }
.article-content table tr:nth-child(2n) { background: rgba(241, 238, 248, .5); }
.article-content a { color: var(--primary); font-weight: 500; border-bottom: 1px solid rgba(106, 58, 255, .28); }
.article-content a:hover { color: var(--primary-deep); border-color: var(--primary-deep); }

.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.tag-label { font-size: 14px; color: var(--text-weak); font-weight: 500; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 30px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--dark);
  transition: all .25s ease;
}
.tag:hover { background: var(--primary-soft); border-color: var(--primary); color: var(--primary); }

/* 未找到 */
.not-found-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.not-found-icon {
  font-size: 56px;
  color: var(--primary);
  margin-bottom: 18px;
}
.not-found-card h2 { font-size: 26px; margin-bottom: 10px; }
.not-found-card p { color: var(--text-weak); margin-bottom: 24px; }

/* 侧栏 */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 24px;
}
.side-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s ease;
}
.side-card:hover { box-shadow: var(--shadow); }
.side-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-soft);
}
.side-title::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}
.post-list { display: flex; flex-direction: column; gap: 4px; }
.post-item { border-radius: 8px; transition: background .22s ease; }
.post-item a { display: flex; align-items: flex-start; gap: 10px; padding: 10px 8px; border-radius: 10px; }
.post-item a:hover { background: var(--bg-soft); }
.post-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  margin-top: 9px;
  box-shadow: 0 0 8px rgba(106, 58, 255, .35);
}
.post-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.post-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.45;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.post-item a:hover .post-title { color: var(--primary); }
.post-meta { font-size: 12px; color: var(--text-weak); }
.post-meta i { font-size: 11px; margin-right: 3px; }
.empty-tip { padding: 14px; text-align: center; color: var(--text-weak); font-size: 14px; background: var(--bg-soft); border-radius: 12px; }

.topic-card {
  background: linear-gradient(135deg, rgba(106, 58, 255, .08), rgba(246, 196, 83, .1));
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
  transition: all .28s ease;
}
.topic-card:last-child { margin-bottom: 0; }
.topic-card:hover { transform: translateY(-3px); border-color: var(--primary); box-shadow: var(--shadow-sm); }
.topic-card .topic-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #8a56ff);
  color: #fff;
  font-size: 16px;
  margin-bottom: 10px;
}
.topic-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.topic-card p { font-size: 13px; color: var(--text-weak); line-height: 1.6; }
.topic-card .topic-link { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--primary); margin-top: 8px; }
.topic-card .topic-link:hover { color: var(--primary-deep); gap: 8px; }

.tip-card {
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  border-radius: var(--radius);
  padding: 24px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.tip-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(246, 196, 83, .12);
  top: -40px;
  right: -30px;
}
.tip-card .tip-icon { font-size: 26px; color: var(--accent); margin-bottom: 12px; }
.tip-card h3 { font-size: 17px; margin-bottom: 8px; }
.tip-card p { font-size: 14px; color: rgba(255, 255, 255, .7); margin-bottom: 16px; line-height: 1.7; }

/* 热门推荐 */
.hot-section {
  padding: 48px 0 20px;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.section-head h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: .5px;
}
.section-head .sub { font-size: 15px; color: var(--text-weak); }
.section-head h2 span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.game-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all .32s ease;
  display: flex;
  flex-direction: column;
}
.game-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(106, 58, 255, .35); }
.game-cover {
  position: relative;
  height: 170px;
  overflow: hidden;
}
.game-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.game-card:hover .game-cover img { transform: scale(1.06); }
.game-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(15, 10, 30, .55));
}
.game-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 30px;
  background: rgba(255, 255, 255, .16);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.game-info { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.game-info h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.game-info p { font-size: 14px; color: var(--text-weak); line-height: 1.6; flex: 1; margin-bottom: 16px; }
.game-info .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-tag { font-size: 13px; color: var(--primary); background: var(--primary-soft); padding: 5px 12px; border-radius: 30px; }

/* 分类入口 */
.guide-strip {
  padding: 52px 0 8px;
}
.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.guide-box {
  display: flex;
  align-items: center;
  gap: 22px;
  background: linear-gradient(135deg, rgba(106, 58, 255, .07), rgba(246, 196, 83, .08)), var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all .3s ease;
}
.guide-box:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(106, 58, 255, .3); }
.guide-icon {
  flex-shrink: 0;
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary), #8a56ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
  box-shadow: 0 10px 26px rgba(106, 58, 255, .3);
}
.guide-box:nth-child(2) .guide-icon { background: linear-gradient(135deg, var(--accent), #f7b733); box-shadow: 0 10px 26px rgba(246, 196, 83, .3); color: #2e1b05; }
.guide-text h2 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.guide-text p { font-size: 14px; color: var(--text-weak); line-height: 1.6; margin-bottom: 10px; }
.guide-more { font-size: 14px; font-weight: 600; color: var(--primary); }
.guide-more i { transition: transform .2s ease; }
.guide-box:hover .guide-more i { transform: translateX(4px); }

/* CTA */
.cta-section { padding: 60px 0 20px; }
.cta-box {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark), rgba(61, 31, 158, .95)), url('/assets/images/backpic/back-3.png') center / cover no-repeat;
  background-blend-mode: overlay;
  border-radius: var(--radius-lg);
  padding: 56px 60px;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-box::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 196, 83, .18), transparent 70%);
  top: -100px;
  right: -60px;
}
.cta-box::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106, 58, 255, .3), transparent 70%);
  bottom: -80px;
  left: -40px;
}
.cta-box h2 { position: relative; z-index: 2; font-size: clamp(24px, 3.6vw, 34px); font-weight: 800; margin-bottom: 12px; }
.cta-box p { position: relative; z-index: 2; font-size: 16px; color: rgba(255, 255, 255, .75); margin-bottom: 28px; }
.cta-actions { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* 页脚 */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, .7);
  margin-top: 56px;
  padding: 60px 0 28px;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-brand h3 { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 21px; font-weight: 800; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; line-height: 1.8; max-width: 360px; }
.footer-col h4 { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ""; position: absolute; bottom: 0; left: 0; width: 28px; height: 2px; border-radius: 2px; background: var(--accent); }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: rgba(255, 255, 255, .6); transition: all .22s ease; }
.footer-links a i { font-size: 11px; color: var(--accent); }
.footer-links a:hover { color: #fff; transform: translateX(4px); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 14px;
  color: rgba(255, 255, 255, .45);
}
.legal { display: flex; gap: 18px; }
.legal a { color: rgba(255, 255, 255, .5); font-size: 14px; }
.legal a:hover { color: var(--accent); }

/* 响应式 */
@media (max-width: 1024px) {
  .article-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .hot-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-box { padding: 44px 36px; }
}
@media (max-width: 768px) {
  .site-header { padding: 14px 14px 0; }
  .navbar { height: 60px; }
  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(18, 11, 36, .97);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    padding: 12px;
    display: none;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 12px 16px; font-size: 15px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-toggle { display: inline-flex; }
  .article-hero { padding: 140px 0 56px; }
  .article-card { padding: 28px 22px; }
  .guide-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-box { padding: 36px 24px; }
}
@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .nav-brand { font-size: 16px; }
  .brand-badge { width: 30px; height: 30px; font-size: 15px; border-radius: 10px; }
  .article-hero { padding: 128px 0 44px; }
  .breadcrumb { font-size: 13px; padding: 6px 14px; }
  .article-meta { gap: 8px; font-size: 13px; }
  .article-card { padding: 22px 16px; }
  .article-content { font-size: 15px; }
  .hot-grid { grid-template-columns: 1fr; }
  .game-cover { height: 200px; }
  .guide-box { flex-direction: column; text-align: center; padding: 26px 20px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; }
  .footer-bottom { padding-top: 18px; }
  .legal { flex-wrap: wrap; justify-content: center; }
}

/* roulang page: category1 */
:root {
  --primary: #1f5eff;
  --primary-dark: #0b2a6b;
  --primary-light: #4a7dff;
  --accent: #f5b942;
  --accent-deep: #ff8a00;
  --ink: #0a1128;
  --ink-soft: #131f3a;
  --text: #1a2332;
  --muted: #5b6b82;
  --line: #e3e9f4;
  --bg: #f5f7fb;
  --card: #ffffff;
  --dark-bg: #0b122e;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 6px 20px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 18px 50px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 30px 80px rgba(15, 23, 42, 0.14);
  --space-section: 90px;
  --transition: 0.25s ease;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.4em;
  line-height: 1.25;
  color: var(--ink);
}
p {
  margin: 0 0 1em;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button,
input {
  font-family: inherit;
  font-size: inherit;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: var(--space-section) 0;
}
.section-head {
  max-width: 780px;
  margin-bottom: 52px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(31, 94, 255, 0.1);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.section-text {
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn i {
  font-size: 0.9em;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(245, 185, 66, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(245, 185, 66, 0.4);
}
.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-2px);
}
.btn-light {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-sm {
  padding: 9px 18px;
  font-size: 0.92rem;
}
.btn-lg {
  padding: 16px 34px;
  font-size: 1.05rem;
}
.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 20px;
}
.navbar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 14, 32, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 10px 14px 10px 22px;
  box-shadow: 0 12px 40px rgba(2, 6, 20, 0.35);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.25rem;
  box-shadow: 0 6px 18px rgba(245, 185, 66, 0.35);
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  padding: 10px 18px;
  border-radius: 999px;
  color: #dbe3ff;
  font-weight: 600;
  font-size: 0.98rem;
  transition: background var(--transition), color var(--transition);
}
.nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.nav-link.active {
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
}
.nav-cta {
  margin-left: 8px;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 1.2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.page-hero {
  position: relative;
  padding: 180px 0 96px;
  background:
    linear-gradient(135deg, rgba(6, 10, 28, 0.94), rgba(18, 35, 82, 0.8)),
    url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(245, 185, 66, 0.28), transparent 65%);
  border-radius: 50%;
  top: -160px;
  right: -80px;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(245, 185, 66, 0.16);
  border: 1px solid rgba(245, 185, 66, 0.35);
  color: #ffd98c;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
}
.hero-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  margin: 20px 0 14px;
  color: #fff;
  letter-spacing: -0.01em;
}
.hero-sub {
  color: #ccd7f5;
  font-size: 1.1rem;
  line-height: 1.9;
  max-width: 640px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #dbe3ff;
  font-size: 0.95rem;
}
.trust-item i {
  color: var(--accent);
}
.countdown-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  padding: 32px;
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}
.countdown-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffd98c;
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 16px;
}
.countdown-time {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.countdown-meta {
  color: #aab8e8;
  font-size: 0.92rem;
  margin-top: 12px;
}
.countdown-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  color: #dbe3ff;
  font-size: 0.92rem;
}
.countdown-note i {
  color: var(--accent);
}
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}
.split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 17, 40, 0.55));
}
.steps-list {
  position: relative;
  padding-left: 0;
}
.step-item {
  position: relative;
  display: flex;
  gap: 22px;
  padding: 0 0 32px 0;
}
.step-item:last-child {
  padding-bottom: 0;
}
.step-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 62px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-light), rgba(31, 94, 255, 0.12));
}
.step-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  z-index: 2;
}
.step-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 6px 0 6px;
}
.step-content p {
  color: var(--muted);
  font-size: 0.97rem;
  margin: 0;
  max-width: 400px;
}
.devices-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 6px 4px 26px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) #e5ebf6;
}
.devices-scroll::-webkit-scrollbar {
  height: 8px;
}
.devices-scroll::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 99px;
}
.device-card {
  display: flex;
  flex-direction: column;
  min-width: 280px;
  max-width: 280px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  transition: transform var(--transition), box-shadow var(--transition);
}
.device-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.device-thumb {
  position: relative;
  height: 180px;
  overflow: hidden;
}
.device-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.device-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 14px;
  background: rgba(10, 17, 40, 0.78);
  backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.device-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.device-info h3 {
  font-size: 1.12rem;
  font-weight: 800;
}
.device-info p {
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}
.device-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 8px;
}
.rank-list {
  display: grid;
  gap: 16px;
}
.rank-item {
  display: grid;
  grid-template-columns: auto 1fr 1fr auto;
  gap: 20px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.rank-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 94, 255, 0.3);
}
.rank-num {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--primary);
  background: rgba(31, 94, 255, 0.1);
}
.rank-item:nth-child(1) .rank-num {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: var(--ink);
}
.rank-info h3 {
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.rank-info p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}
.rank-heat {
  display: flex;
  align-items: center;
  gap: 12px;
}
.heat-bar {
  width: 140px;
  height: 8px;
  border-radius: 99px;
  background: #edf1f8;
  overflow: hidden;
}
.heat-bar span {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}
.rank-label {
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
}
.security-panel {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 60px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(10, 17, 40, 0.92), rgba(31, 94, 255, 0.7)),
    url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  box-shadow: var(--shadow-lg);
}
.security-panel::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245, 185, 66, 0.2), transparent 70%);
  top: -80px;
  right: -80px;
}
.security-copy,
.security-check {
  position: relative;
  z-index: 2;
}
.security-copy h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
}
.security-copy p {
  color: #d5dffc;
  font-size: 1.02rem;
  line-height: 1.9;
}
.security-list {
  display: grid;
  gap: 16px;
}
.security-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 16px 18px;
  color: #e8edff;
  font-size: 0.98rem;
}
.security-list li i {
  color: var(--accent);
  margin-top: 5px;
}
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item:hover {
  border-color: rgba(31, 94, 255, 0.25);
  box-shadow: var(--shadow-md);
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.04rem;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--primary);
  transition: transform var(--transition);
}
.faq-item[open] summary::after {
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 0 22px;
  color: var(--muted);
  line-height: 1.9;
  font-size: 0.97rem;
}
.cta-panel {
  background: linear-gradient(135deg, var(--ink-soft), var(--primary-dark));
  border-radius: var(--radius-xl);
  padding: 64px;
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-panel::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(245, 185, 66, 0.35), transparent 60%);
  top: -120px;
  left: -90px;
}
.cta-panel h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  margin-bottom: 12px;
}
.cta-panel p {
  color: #ccd7f5;
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto 32px;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer {
  background: var(--dark-bg);
  color: #b7c2e2;
  padding: 80px 0 30px;
  margin-top: 90px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.footer-brand p {
  color: #96a3c7;
  font-size: 0.96rem;
  line-height: 1.9;
  max-width: 380px;
}
.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
}
.footer-links {
  display: grid;
  gap: 12px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #96a3c7;
  font-size: 0.95rem;
  transition: color var(--transition), padding-left var(--transition);
}
.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}
.footer-links i {
  font-size: 0.7rem;
  color: var(--primary-light);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 26px;
  color: #6e7ba1;
  font-size: 0.9rem;
}
.legal {
  display: flex;
  gap: 22px;
}
.legal a {
  color: #96a3c7;
  font-size: 0.9rem;
  transition: color var(--transition);
}
.legal a:hover {
  color: var(--accent);
}
:focus-visible {
  outline: 3px solid rgba(245, 185, 66, 0.6);
  outline-offset: 3px;
  border-radius: 8px;
}
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .split-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .security-panel {
    grid-template-columns: 1fr;
    padding: 44px;
  }
  .rank-item {
    grid-template-columns: auto 1fr auto;
  }
  .rank-heat {
    grid-column: 2 / 4;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav-links {
    position: absolute;
    top: 70px;
    right: 20px;
    left: 20px;
    flex-direction: column;
    align-items: stretch;
    background: rgba(8, 14, 32, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 16px;
    gap: 10px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-link {
    text-align: center;
    padding: 13px 18px;
  }
  .nav-cta {
    margin-left: 0;
  }
  .page-hero {
    padding-top: 150px;
    padding-bottom: 70px;
  }
  .section {
    padding: 64px 0;
  }
  .device-card {
    min-width: 250px;
    max-width: 250px;
  }
  .cta-panel {
    padding: 46px 24px;
  }
  .security-panel {
    padding: 36px 24px;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 18px;
  }
  .navbar {
    padding-left: 14px;
  }
  .nav-brand {
    font-size: 1rem;
  }
  .brand-badge {
    width: 34px;
    height: 34px;
    font-size: 1.05rem;
  }
  .hero-title {
    font-size: 1.9rem;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .countdown-time {
    font-size: 2.4rem;
  }
  .step-item {
    gap: 14px;
  }
  .step-icon {
    width: 48px;
    height: 48px;
    font-size: 1.05rem;
    border-radius: 14px;
  }
  .step-item:not(:last-child)::before {
    left: 24px;
  }
  .rank-item {
    grid-template-columns: auto 1fr;
    gap: 12px;
  }
  .rank-heat {
    grid-column: 2;
  }
  .heat-bar {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .cta-actions .btn {
    width: 100%;
  }
}

/* roulang page: category2 */
:root {
  --primary: #6c3df5;
  --primary-dark: #4c1db8;
  --primary-light: #efe8ff;
  --accent: #ffb547;
  --accent-dark: #e69100;
  --success: #22c07e;
  --danger: #ef4d6d;
  --hero-overlay: rgba(22, 12, 52, 0.85);
  --bg-body: #f6f4fb;
  --bg-white: #ffffff;
  --bg-soft: #f0ebfa;
  --bg-dark: #1b0f35;
  --text-main: #2a2340;
  --text-weak: #756d8a;
  --border: #e6e0f0;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(46, 28, 90, 0.06);
  --shadow-md: 0 8px 30px rgba(46, 28, 90, 0.1);
  --shadow-lg: 0 20px 50px rgba(46, 28, 90, 0.16);
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-default: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-default); background: var(--bg-body); color: var(--text-main); line-height: 1.75; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
::selection { background: var(--primary); color: #fff; }

/* ===== Header / 悬浮胶囊导航 ===== */
.site-header { position: sticky; top: 16px; z-index: 100; padding: 0 24px; pointer-events: none; }
.navbar { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 14px 22px; border-radius: 60px; background: rgba(27, 15, 53, 0.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 12px 40px rgba(22, 10, 50, 0.3); pointer-events: auto; transition: var(--transition); }
.nav-brand { display: flex; align-items: center; gap: 10px; font-size: 1.12rem; font-weight: 700; color: #fff; letter-spacing: 0.02em; white-space: nowrap; }
.brand-badge { width: 36px; height: 36px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), #a855f7); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem; box-shadow: 0 4px 14px rgba(108, 61, 245, 0.4); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 40px; color: rgba(255,255,255,0.78); font-size: 0.92rem; font-weight: 500; transition: var(--transition); }
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.12); }
.nav-link.active { color: #fff; background: var(--primary); box-shadow: 0 4px 16px rgba(108, 61, 245, 0.4); }
.nav-cta { padding: 8px 18px; border-radius: 40px; font-size: 0.9rem; }
.nav-toggle { display: none; background: transparent; border: none; color: #fff; font-size: 1.3rem; padding: 6px 10px; border-radius: 10px; }
.nav-toggle:hover { background: rgba(255,255,255,0.1); }

/* ===== Buttons & Badges ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 32px; border-radius: 50px; font-weight: 700; font-size: 1rem; border: none; transition: var(--transition); }
.btn-sm { padding: 8px 18px; font-size: 0.88rem; border-radius: 40px; }
.btn-primary { background: linear-gradient(135deg, var(--primary), #9a5cff); color: #fff; box-shadow: 0 8px 24px rgba(108, 61, 245, 0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(108, 61, 245, 0.45); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-accent { background: linear-gradient(135deg, var(--accent), #ffc46b); color: #1b0f35; box-shadow: 0 8px 24px rgba(255, 181, 71, 0.3); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255, 181, 71, 0.45); }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 30px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; }
.badge-hot { background: #ffe9ee; color: var(--danger); }
.badge-new { background: #e2f9ee; color: var(--success); }
.badge-time { background: var(--primary-light); color: var(--primary); }
.badge-accent { background: #fff3dd; color: var(--accent-dark); }

/* ===== Hero Banner ===== */
.page-hero { position: relative; min-height: 380px; display: flex; align-items: center; justify-content: center; text-align: center; background: url('/assets/images/backpic/back-3.png') center center / cover no-repeat; padding: 80px 0; overflow: hidden; margin-top: -70px; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 10, 40, 0.82), rgba(18, 10, 40, 0.6), rgba(18, 10, 40, 0.88)); }
.page-hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, rgba(108, 61, 245, 0.28), transparent 60%), radial-gradient(circle at 75% 75%, rgba(255, 181, 71, 0.18), transparent 50%); z-index: 1; }
.page-hero-content { position: relative; z-index: 2; max-width: 800px; padding: 40px 24px 20px; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: 0.01em; line-height: 1.3; margin-bottom: 16px; text-shadow: 0 4px 30px rgba(0,0,0,0.3); }
.page-hero h1 .highlight { background: linear-gradient(135deg, var(--accent), #ffd895); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-hero p { color: rgba(255,255,255,0.9); font-size: 1.06rem; max-width: 620px; margin: 0 auto 28px; line-height: 1.8; }
.hero-stats { display: flex; gap: 40px; justify-content: center; margin-top: 30px; }
.hero-stats .stat-item { text-align: center; }
.hero-stats .stat-num { font-size: 1.8rem; font-weight: 800; color: var(--accent); }
.hero-stats .stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.7); }

/* ===== Festival Countdown ===== */
.festival-section { position: relative; padding: 80px 0; background: var(--bg-white); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-header .section-kicker { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.05em; margin-bottom: 12px; text-transform: uppercase; }
.section-header h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 800; color: var(--text-main); line-height: 1.3; margin-bottom: 14px; }
.section-header p { color: var(--text-weak); font-size: 1rem; }
.festival-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.countdown-panel { background: linear-gradient(135deg, #1b0f35, #2d1a56); border-radius: var(--radius-lg); padding: 40px; color: #fff; position: relative; overflow: hidden; }
.countdown-panel::before { content: '🎉'; position: absolute; right: -10px; bottom: -15px; font-size: 130px; opacity: 0.08; transform: rotate(-8deg); }
.countdown-panel h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 6px; }
.countdown-panel .sub { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 26px; }
.countdown-box { display: flex; gap: 14px; margin-bottom: 28px; }
.countdown-item { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-md); padding: 14px 10px; text-align: center; flex: 1; }
.countdown-item .num { font-size: 2rem; font-weight: 800; line-height: 1.2; color: var(--accent); }
.countdown-item .label { font-size: 0.72rem; color: rgba(255,255,255,0.65); margin-top: 4px; }
.festival-list { display: flex; flex-direction: column; gap: 16px; }
.festival-card { display: flex; gap: 18px; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px; box-shadow: var(--shadow-sm); transition: var(--transition); }
.festival-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.festival-card .fest-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.festival-card:nth-child(2) .fest-icon { background: #e2f9ee; color: var(--success); }
.festival-card:nth-child(3) .fest-icon { background: #fff3dd; color: var(--accent-dark); }
.festival-card .fest-content { flex: 1; }
.festival-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.festival-card p { font-size: 0.85rem; color: var(--text-weak); }
.festival-card .fest-meta { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }

/* ===== Category Tabs / 活动分类 ===== */
.category-section { padding: 80px 0; background: var(--bg-soft); }
.tabs-wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 44px; }
.tab-chip { padding: 10px 22px; border-radius: 40px; background: #fff; border: 1px solid var(--border); font-size: 0.9rem; font-weight: 600; color: var(--text-weak); transition: var(--transition); cursor: pointer; }
.tab-chip:hover, .tab-chip.active { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 6px 18px rgba(108, 61, 245, 0.28); }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.category-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--border); }
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.category-card .card-media { position: relative; height: 180px; overflow: hidden; }
.category-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1); }
.category-card:hover .card-media img { transform: scale(1.08); }
.category-card .card-body { padding: 22px; }
.category-card .card-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.category-card .card-body p { font-size: 0.88rem; color: var(--text-weak); margin-bottom: 14px; }
.card-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

/* ===== Timeline / 盛典阶段 ===== */
.timeline-section { padding: 80px 0; background: var(--bg-white); }
.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 22px; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--primary), var(--accent)); border-radius: 3px; }
.timeline-item { display: flex; gap: 30px; padding: 0 0 36px 0; position: relative; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 3px solid var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; z-index: 2; box-shadow: 0 4px 14px rgba(108, 61, 245, 0.3); }
.timeline-item:nth-child(2) .timeline-dot { border-color: var(--accent); }
.timeline-item:nth-child(3) .timeline-dot { border-color: var(--success); }
.timeline-item:last-child .timeline-dot { border-color: var(--danger); }
.timeline-content { flex: 1; background: var(--bg-soft); border-radius: var(--radius-md); padding: 22px 24px; transition: var(--transition); }
.timeline-content:hover { box-shadow: var(--shadow-md); }
.timeline-content .phase-label { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--primary); margin-bottom: 6px; }
.timeline-content h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.timeline-content p { font-size: 0.88rem; color: var(--text-weak); }

/* ===== 福利中心 ===== */
.welfare-section { padding: 80px 0; background: linear-gradient(135deg, #1b0f35, #2d1a56); position: relative; overflow: hidden; }
.welfare-section::before { content: ''; position: absolute; top: -50%; right: -20%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(108, 61, 245, 0.35), transparent 70%); }
.welfare-section .section-header h2 { color: #fff; }
.welfare-section .section-header p { color: rgba(255,255,255,0.7); }
.welfare-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.welfare-item { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-md); padding: 26px 20px; text-align: center; backdrop-filter: blur(8px); transition: var(--transition); }
.welfare-item:hover { background: rgba(255,255,255,0.12); transform: translateY(-4px); }
.welfare-item .w-icon { font-size: 2rem; margin-bottom: 12px; }
.welfare-item h4 { color: #fff; font-size: 1rem; margin-bottom: 8px; }
.welfare-item p { color: rgba(255,255,255,0.6); font-size: 0.82rem; }
.welfare-item .w-value { font-size: 1.5rem; font-weight: 800; color: var(--accent); margin-bottom: 6px; }

/* ===== FAQ ===== */
.faq-section { padding: 80px 0; background: var(--bg-white); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; transition: var(--transition); }
.faq-item:hover { border-color: #d6c5f5; }
.faq-item.active { box-shadow: var(--shadow-md); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: 0.95rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .fa-chevron-down { color: var(--primary); transition: transform 0.3s; }
.faq-item[open] summary .fa-chevron-down { transform: rotate(180deg); }
.faq-item .faq-answer { padding: 0 24px 20px; color: var(--text-weak); font-size: 0.88rem; line-height: 1.8; }

/* ===== CTA ===== */
.cta-section { position: relative; padding: 72px 0; text-align: center; background: linear-gradient(135deg, var(--primary), #7b4dff); overflow: hidden; }
.cta-section::before { content: '🎮'; position: absolute; left: 6%; top: -20px; font-size: 120px; opacity: 0.12; transform: rotate(-15deg); }
.cta-section::after { content: '🏆'; position: absolute; right: 6%; bottom: -15px; font-size: 130px; opacity: 0.1; transform: rotate(12deg); }
.cta-section h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 14px; position: relative; z-index: 2; }
.cta-section p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 28px; position: relative; z-index: 2; font-size: 0.95rem; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 2; }

/* ===== Footer ===== */
.site-footer { background: #130b28; color: rgba(255,255,255,0.72); padding: 70px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.site-footer h3 { font-size: 1.2rem; color: #fff; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; font-weight: 700; }
.site-footer h4 { font-size: 0.95rem; color: #fff; margin-bottom: 18px; font-weight: 700; }
.site-footer p { font-size: 0.88rem; line-height: 1.8; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; transition: var(--transition); color: inherit; }
.footer-links a:hover { color: var(--accent); transform: translateX(3px); }
.footer-links .fa-chevron-right { font-size: 0.7rem; color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.45); }
.footer-bottom .legal { display: flex; gap: 18px; }
.footer-bottom .legal a { font-size: 0.8rem; color: rgba(255,255,255,0.55); transition: var(--transition); }
.footer-bottom .legal a:hover { color: var(--accent); }

/* ===== Focus / A11y ===== */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid rgba(108, 61, 245, 0.45); outline-offset: 3px; border-radius: 6px; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .welfare-grid { grid-template-columns: repeat(2, 1fr); }
  .festival-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .site-header { top: 8px; padding: 0 12px; }
  .navbar { padding: 12px 16px; border-radius: 28px; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: calc(100% + 8px); left: 12px; right: 12px; background: rgba(27, 15, 53, 0.97); border-radius: 18px; padding: 14px; gap: 6px; border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 20px 50px rgba(0,0,0,0.4); backdrop-filter: blur(16px); }
  .nav-links .nav-link { width: 100%; padding: 12px 16px; justify-content: flex-start; }
  .nav-cta { width: 100%; justify-content: center; margin-top: 4px; }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .page-hero { min-height: 320px; margin-top: -56px; padding: 60px 0; }
  .countdown-box { gap: 8px; }
  .countdown-item .num { font-size: 1.4rem; }
  .timeline-item { gap: 16px; }
  .timeline-dot { width: 42px; height: 42px; font-size: 1rem; }
}
@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .category-grid { grid-template-columns: 1fr; }
  .welfare-grid { grid-template-columns: 1fr; }
  .brand-badge { width: 30px; height: 30px; font-size: 0.9rem; border-radius: 10px; }
  .nav-brand { font-size: 0.95rem; }
  .btn { padding: 12px 24px; font-size: 0.92rem; }
  .page-hero h1 { font-size: 1.65rem; }
  .page-hero p { font-size: 0.92rem; }
  .section-header h2 { font-size: 1.4rem; }
  .countdown-panel { padding: 26px 20px; }
  .countdown-box { flex-wrap: wrap; }
  .countdown-item { min-width: 60px; }
  .timeline-content { padding: 16px; }
  .faq-item summary { padding: 16px 16px; font-size: 0.9rem; }
  .faq-item .faq-answer { padding: 0 16px 16px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
