/* roulang page: index */
:root {
    --primary: #FF6B3D;
    --primary-dark: #E8551F;
    --primary-light: #FFF0EA;
    --secondary: #00B8A9;
    --secondary-light: #E6F7F5;
    --accent: #FFC53D;
    --dark: #1B1B3A;
    --text: #3C3C58;
    --text-muted: #8E8EA0;
    --bg: #F7F8FC;
    --white: #FFFFFF;
    --border: #ECEAF2;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --shadow-card: 0 4px 24px rgba(27, 27, 58, 0.06);
    --shadow-hover: 0 10px 36px rgba(27, 27, 58, 0.12);
    --transition: all 0.3s ease;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "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; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
button { border: none; cursor: pointer; font-family: inherit; }
input, textarea { font-family: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-pad { padding: 90px 0; }
.section-title { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.section-title .subtitle { display: inline-block; background: var(--primary-light); color: var(--primary); font-size: 13px; font-weight: 600; padding: 5px 16px; border-radius: 999px; margin-bottom: 14px; }
.section-title h2 { font-size: 36px; font-weight: 800; color: var(--dark); line-height: 1.25; margin-bottom: 12px; }
.section-title p { color: var(--text-muted); font-size: 16px; line-height: 1.7; }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(236,234,242,0.8); transition: var(--transition); }
.site-header.scrolled { box-shadow: 0 2px 20px rgba(27,27,58,0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 800; color: var(--dark); white-space: nowrap; }
.logo .logo-icon { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), var(--secondary)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; flex-shrink: 0; }
.logo span { color: var(--primary); }
.main-nav { display: flex; align-items: center; gap: 6px; }
.nav-link { padding: 8px 18px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--text); transition: var(--transition); }
.nav-link:hover { background: var(--primary-light); color: var(--primary); }
.nav-link.active { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(255,107,61,0.3); }
.nav-cta { padding: 8px 24px; border-radius: 999px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff !important; font-weight: 600; box-shadow: 0 4px 16px rgba(255,107,61,0.3); margin-left: 10px; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(255,107,61,0.4); }
.mobile-toggle { display: none; background: var(--primary-light); color: var(--primary); width: 40px; height: 40px; border-radius: 10px; font-size: 18px; align-items: center; justify-content: center; }

/* Hero */
.hero { position: relative; padding: 160px 0 100px; background: linear-gradient(135deg, #f5f7ff 0%, #fff0ea 100%); overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: url('/assets/images/backpic/back-1.png'); background-size: cover; background-position: center; opacity: 0.15; }
.hero-inner { position: relative; z-index: 2; display: flex; align-items: center; gap: 60px; }
.hero-text { flex: 1.2; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.85); border: 1px solid var(--border); padding: 6px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--primary); box-shadow: 0 2px 8px rgba(0,0,0,0.04); margin-bottom: 24px; }
.hero-badge i { color: var(--accent); }
.hero-text h1 { font-size: 52px; font-weight: 900; color: var(--dark); line-height: 1.15; margin-bottom: 20px; letter-spacing: -1px; }
.hero-text h1 .highlight { background: linear-gradient(120deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-text p { font-size: 18px; color: var(--text-muted); line-height: 1.7; max-width: 520px; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; font-size: 16px; font-weight: 600; border-radius: 999px; box-shadow: 0 6px 20px rgba(255,107,61,0.3); transition: var(--transition); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,107,61,0.4); }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; background: #fff; color: var(--dark); font-size: 16px; font-weight: 600; border-radius: 999px; border: 1px solid var(--border); box-shadow: 0 2px 10px rgba(0,0,0,0.04); transition: var(--transition); }
.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); border-color: var(--primary); color: var(--primary); }
.hero-visual { flex: 1; position: relative; }
.hero-visual img { border-radius: 24px; box-shadow: 0 20px 60px rgba(27,27,58,0.15); }
.hero-visual .float-card { position: absolute; background: #fff; border-radius: 16px; padding: 16px 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); font-size: 14px; font-weight: 600; color: var(--dark); display: flex; align-items: center; gap: 8px; }
.hero-visual .float-card.fc-1 { top: -18px; left: -12px; }
.hero-visual .float-card.fc-2 { bottom: 30px; right: -15px; }
.hero-visual .float-card i { color: var(--secondary); font-size: 18px; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card { background: #fff; border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow-card); transition: var(--transition); border: 1px solid transparent; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--border); }
.feature-icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; }
.feature-card h3 { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.fi-1 { background: var(--primary-light); color: var(--primary); }
.fi-2 { background: var(--secondary-light); color: var(--secondary); }
.fi-3 { background: #FFF8E1; color: #F5A623; }
.fi-4 { background: #EEF0FF; color: #6C63FF; }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.cat-card { position: relative; border-radius: 24px; overflow: hidden; min-height: 320px; display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow-card); transition: var(--transition); }
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.cat-card img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.cat-card:hover img { transform: scale(1.05); }
.cat-card .overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(27,27,58,0.75) 100%); }
.cat-card .card-content { position: relative; z-index: 2; padding: 36px 32px; width: 100%; }
.cat-card .cat-tag { display: inline-block; background: rgba(255,255,255,0.25); backdrop-filter: blur(4px); padding: 4px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; margin-bottom: 14px; }
.cat-card h3 { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.cat-card p { font-size: 15px; opacity: 0.9; max-width: 280px; margin-bottom: 20px; }
.cat-card .cat-link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: #fff; padding: 8px 22px; background: rgba(255,255,255,0.2); border-radius: 999px; transition: var(--transition); }
.cat-card .cat-link:hover { background: var(--primary); }

/* News */
.news-wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.news-card { background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-card); transition: var(--transition); border-left: 4px solid transparent; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-left-color: var(--primary); }
.news-card .news-badge { display: inline-block; background: var(--primary-light); color: var(--primary); font-size: 12px; font-weight: 600; padding: 3px 12px; border-radius: 999px; margin-bottom: 12px; }
.news-card h3 { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 10px; line-height: 1.4; }
.news-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .news-time { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.empty-tip { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--text-muted); font-size: 16px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }

/* Process */
.process-section { background: linear-gradient(135deg, #1B1B3A 0%, #2D2D5E 100%); color: #fff; }
.process-section .section-title h2 { color: #fff; }
.process-section .section-title p { color: rgba(255,255,255,0.6); }
.process-section .section-title .subtitle { background: rgba(255,255,255,0.15); color: #fff; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.process-grid::before { content: ''; position: absolute; top: 40px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--primary), var(--secondary)); opacity: 0.4; }
.process-step { text-align: center; position: relative; z-index: 2; }
.step-num { width: 80px; height: 80px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 24px; display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 900; margin: 0 auto 24px; box-shadow: 0 10px 40px rgba(255,107,61,0.3); border: 4px solid rgba(255,255,255,0.15); }
.process-step h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.process-step p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.6; max-width: 220px; margin: 0 auto; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-box { text-align: center; background: #fff; border-radius: var(--radius-lg); padding: 40px 24px; box-shadow: var(--shadow-card); transition: var(--transition); }
.stat-box:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.stat-num { font-size: 44px; font-weight: 900; color: var(--dark); line-height: 1; margin-bottom: 8px; background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: 15px; color: var(--text-muted); font-weight: 500; }

/* Hot Games */
.hot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hot-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); transition: var(--transition); border: 1px solid transparent; }
.hot-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: var(--border); }
.hot-card .hot-img { position: relative; height: 200px; overflow: hidden; }
.hot-card .hot-img img { width: 100%; height: 100%; object-fit: cover; }
.hot-card .hot-tag { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,0.9); color: var(--primary); font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 999px; }
.hot-card .hot-body { padding: 24px; }
.hot-card h3 { font-size: 20px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.hot-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.hot-card .hot-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-muted); }
.hot-card .hot-play { color: var(--primary); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.hot-card .hot-play:hover { gap: 8px; }

/* FAQ */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: var(--radius-md); padding: 24px 28px; margin-bottom: 16px; box-shadow: var(--shadow-card); transition: var(--transition); border: 1px solid transparent; }
.faq-item:hover { border-color: var(--border); box-shadow: var(--shadow-hover); }
.faq-item summary { font-size: 16px; font-weight: 600; color: var(--dark); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; transition: var(--transition); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 14px; color: var(--primary); transition: transform 0.3s; }
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item .faq-answer { padding-top: 16px; border-top: 1px solid var(--border); margin-top: 16px; color: var(--text-muted); font-size: 15px; line-height: 1.7; }

/* CTA */
.cta-section { position: relative; padding: 80px 0; background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); color: #fff; text-align: center; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: url('/assets/images/backpic/back-3.png'); background-size: cover; background-position: center; opacity: 0.1; }
.cta-inner { position: relative; z-index: 2; max-width: 600px; margin: 0 auto; }
.cta-section h2 { font-size: 36px; font-weight: 800; margin-bottom: 16px; }
.cta-section p { font-size: 18px; opacity: 0.95; margin-bottom: 32px; }
.cta-btn { display: inline-flex; align-items: center; gap: 8px; padding: 16px 42px; background: #fff; color: var(--primary); font-size: 16px; font-weight: 700; border-radius: 999px; box-shadow: 0 8px 30px rgba(0,0,0,0.15); transition: var(--transition); }
.cta-btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 12px 40px rgba(0,0,0,0.2); }

/* Footer */
.site-footer { background: #1B1B3A; color: rgba(255,255,255,0.7); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .footer-logo { font-size: 22px; font-weight: 800; color: #fff; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.footer-brand .footer-logo span { color: var(--primary); }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 320px; }
.footer-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; transition: var(--transition); }
.footer-links a:hover { color: var(--primary); padding-left: 4px; }
.footer-bottom { padding: 24px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 14px; }

/* Page Banner (for inner pages) */
.page-banner { position: relative; padding: 140px 0 70px; background: linear-gradient(135deg, #f5f7ff, #fff0ea); overflow: hidden; }
.page-banner::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-size: cover; background-position: center; opacity: 0.15; }
.page-banner.b1::before { background-image: url('/assets/images/backpic/back-2.png'); }
.page-banner.b2::before { background-image: url('/assets/images/backpic/back-3.png'); }
.page-banner .container { position: relative; z-index: 2; text-align: center; }
.page-banner h1 { font-size: 40px; font-weight: 900; color: var(--dark); margin-bottom: 12px; }
.page-banner p { font-size: 17px; color: var(--text-muted); max-width: 560px; margin: 0 auto; }
.page-banner .breadcrumb { display: flex; justify-content: center; gap: 8px; margin-top: 20px; font-size: 14px; color: var(--text-muted); }
.page-banner .breadcrumb a { color: var(--primary); }
.page-banner .breadcrumb .sep { color: var(--text-muted); }

/* Article */
.article-wrap { max-width: 860px; margin: 0 auto; }
.article-header { background: #fff; border-radius: var(--radius-lg); padding: 40px 48px; box-shadow: var(--shadow-card); margin-bottom: 32px; }
.article-header .cat-badge { display: inline-block; background: var(--primary-light); color: var(--primary); font-size: 13px; font-weight: 600; padding: 4px 14px; border-radius: 999px; margin-bottom: 16px; }
.article-header h1 { font-size: 34px; font-weight: 800; color: var(--dark); line-height: 1.3; margin-bottom: 16px; }
.article-header .meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: var(--text-muted); }
.article-header .meta i { margin-right: 4px; color: var(--primary); }
.article-body { background: #fff; border-radius: var(--radius-lg); padding: 48px; box-shadow: var(--shadow-card); }
.article-body p { margin-bottom: 20px; line-height: 1.8; color: var(--text); font-size: 16px; }
.article-body h2 { font-size: 24px; font-weight: 700; color: var(--dark); margin: 36px 0 16px; }
.article-body h3 { font-size: 20px; font-weight: 700; color: var(--dark); margin: 28px 0 12px; }
.article-body ul, .article-body ol { margin: 0 0 20px 20px; line-height: 1.8; }
.article-body li { margin-bottom: 8px; }
.article-body img { border-radius: 16px; margin: 24px 0; }
.article-body blockquote { border-left: 4px solid var(--primary); background: var(--primary-light); padding: 16px 24px; border-radius: 0 12px 12px 0; margin: 24px 0; color: var(--text); }
.article-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.article-tags .tag { display: inline-flex; align-items: center; gap: 4px; background: var(--bg); border: 1px solid var(--border); padding: 6px 16px; border-radius: 999px; font-size: 13px; color: var(--text-muted); }
.article-share { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.article-share span { font-size: 14px; color: var(--text-muted); font-weight: 600; }
.share-btn { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #fff; transition: var(--transition); }
.share-btn:hover { transform: translateY(-3px); }
.share-btn.wechat { background: #07C160; }
.share-btn.weibo { background: #E6162D; }
.share-btn.qq { background: #12B7F5; }
.share-btn.link { background: var(--text-muted); }

/* Not Found */
.not-found { text-align: center; background: #fff; border-radius: var(--radius-lg); padding: 80px 40px; box-shadow: var(--shadow-card); }
.not-found .nf-icon { font-size: 64px; color: var(--primary); margin-bottom: 20px; }
.not-found h2 { font-size: 32px; font-weight: 800; color: var(--dark); margin-bottom: 12px; }
.not-found p { font-size: 16px; color: var(--text-muted); margin-bottom: 24px; }

/* Related */
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.related-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); transition: var(--transition); }
.related-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.related-card img { height: 200px; object-fit: cover; width: 100%; }
.related-card .related-body { padding: 24px; }
.related-card h3 { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.related-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* Category list */
.cat-intro-card { background: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-card); }
.cat-intro-card h2 { font-size: 24px; font-weight: 800; color: var(--dark); margin-bottom: 14px; }
.cat-intro-card p { font-size: 15px; color: var(--text-muted); line-height: 1.8; }
.guide-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.guide-step { background: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-card); transition: var(--transition); position: relative; overflow: hidden; }
.guide-step::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: linear-gradient(180deg, var(--primary), var(--secondary)); }
.guide-step:hover { transform: translateX(4px); box-shadow: var(--shadow-hover); }
.guide-step .step-num-lg { width: 56px; height: 56px; border-radius: 16px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; margin-bottom: 16px; }
.guide-step h3 { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.guide-step p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* Game ranking */
.rank-list { background: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-card); }
.rank-item { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); transition: var(--transition); }
.rank-item:last-child { border-bottom: none; }
.rank-item:hover { padding-left: 8px; }
.rank-num { width: 36px; height: 36px; border-radius: 10px; background: var(--bg); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; color: var(--text-muted); }
.rank-item:nth-child(1) .rank-num { background: linear-gradient(135deg, #FFC53D, #FF8A00); color: #fff; }
.rank-item:nth-child(2) .rank-num { background: linear-gradient(135deg, #C0C0C0, #A0A0A0); color: #fff; }
.rank-item:nth-child(3) .rank-num { background: linear-gradient(135deg, #CD7F32, #A0522D); color: #fff; }
.rank-item .rank-info { flex: 1; }
.rank-item .rank-info h4 { font-size: 16px; font-weight: 700; color: var(--dark); }
.rank-item .rank-info p { font-size: 13px; color: var(--text-muted); }
.rank-item .rank-score { font-size: 18px; font-weight: 800; color: var(--primary); }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card { background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-card); transition: var(--transition); }
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.testi-card .stars { color: var(--accent); font-size: 14px; margin-bottom: 16px; }
.testi-card p { font-size: 14px; color: var(--text); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testi-card .testi-user { display: flex; align-items: center; gap: 12px; }
.testi-card .testi-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 16px; }
.testi-card .testi-user .name { font-size: 14px; font-weight: 600; color: var(--dark); }
.testi-card .testi-user .role { font-size: 12px; color: var(--text-muted); }

/* Notice */
.notice-list { background: #fff; border-radius: var(--radius-lg); padding: 32px 40px; box-shadow: var(--shadow-card); }
.notice-list li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 15px; line-height: 1.7; }
.notice-list li:last-child { border-bottom: none; }
.notice-list i { color: var(--primary); margin-top: 4px; }

/* Responsive */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { gap: 20px; }
    .process-grid::before { display: none; }
    .hot-grid { grid-template-columns: repeat(2, 1fr); }
    .testi-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-text h1 { font-size: 42px; }
    .hero-inner { flex-direction: column; gap: 40px; }
    .hero-visual { width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .section-pad { padding: 60px 0; }
    .section-title h2 { font-size: 30px; }
    .section-title { margin-bottom: 40px; }
    .main-nav { position: fixed; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); display: none; z-index: 99; }
    .main-nav.open { display: flex; }
    .nav-link { width: 100%; text-align: center; padding: 12px; }
    .mobile-toggle { display: flex; }
    .hero { padding: 130px 0 60px; }
    .hero-text h1 { font-size: 34px; }
    .hero-text p { font-size: 16px; }
    .cat-grid { grid-template-columns: 1fr; }
    .news-wrap { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hot-grid { grid-template-columns: 1fr; }
    .guide-steps { grid-template-columns: 1fr; }
    .testi-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .article-wrap { padding: 0 16px; }
    .article-header, .article-body { padding: 28px 20px; }
    .article-header h1 { font-size: 26px; }
    .page-banner h1 { font-size: 30px; }
}
@media (max-width: 520px) {
    .features-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .stat-num { font-size: 32px; }
    .logo { font-size: 18px; }
    .logo .logo-icon { width: 32px; height: 32px; font-size: 14px; }
    .hero-btns { flex-direction: column; align-items: stretch; }
    .btn-primary, .btn-secondary { justify-content: center; }
    .cat-card { min-height: 240px; }
    .cat-card h3 { font-size: 22px; }
    .article-header .meta { flex-direction: column; gap: 8px; }
    .cta-section h2 { font-size: 28px; }
    .cta-section p { font-size: 16px; }
}

/* roulang page: article */
:root {
            --primary: #6366f1;
            --primary-dark: #4f46e5;
            --primary-light: #e0e7ff;
            --accent: #f59e0b;
            --accent-light: #fef3c7;
            --bg: #f1f5f9;
            --card-bg: #ffffff;
            --text: #1e293b;
            --text-muted: #64748b;
            --border: #e2e8f0;
            --radius: 16px;
            --radius-sm: 10px;
            --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
            --shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.12);
            --transition: all 0.3s ease;
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
            background: var(--bg);
            color: var(--text);
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }

        button {
            border: none;
            background: none;
            cursor: pointer;
            font-family: inherit;
        }

        /* ===== Header / Navigation ===== */
        .site-header {
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border);
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 2px 16px rgba(99, 102, 241, 0.06);
        }

        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 72px;
            gap: 20px;
        }

        .site-logo {
            display: flex;
            align-items: center;
            font-size: 22px;
            font-weight: 800;
            color: var(--text);
            gap: 8px;
            white-space: nowrap;
        }

        .site-logo i {
            color: var(--primary);
            font-size: 26px;
        }

        .site-logo span {
            color: var(--primary);
            font-weight: 600;
        }

        .main-nav {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .nav-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 9px 18px;
            border-radius: 50px;
            font-size: 15px;
            font-weight: 500;
            color: var(--text-muted);
            transition: var(--transition);
            position: relative;
        }

        .nav-link:hover {
            color: var(--primary);
            background: var(--primary-light);
        }

        .nav-link.active {
            color: #fff;
            background: var(--primary);
            box-shadow: 0 6px 16px rgba(99, 102, 241, 0.35);
        }

        .nav-toggle {
            display: none;
            width: 42px;
            height: 42px;
            border-radius: 10px;
            background: var(--primary-light);
            color: var(--primary);
            font-size: 18px;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }

        .nav-toggle:hover {
            background: var(--primary);
            color: #fff;
        }

        /* ===== Article Banner ===== */
        .article-banner {
            background: linear-gradient(135deg, rgba(49, 46, 129, 0.92), rgba(79, 70, 229, 0.82)),
                url('/assets/images/backpic/back-1.png') center/cover no-repeat;
            padding: 80px 0 64px;
            color: #fff;
            position: relative;
            overflow: hidden;
        }

        .article-banner::after {
            content: '';
            position: absolute;
            right: -60px;
            bottom: -60px;
            width: 220px;
            height: 220px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.08);
        }

        .article-banner .container {
            position: relative;
            z-index: 2;
        }

        .breadcrumb {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 16px;
            flex-wrap: wrap;
        }

        .breadcrumb a {
            color: rgba(255, 255, 255, 0.8);
        }

        .breadcrumb a:hover {
            color: #fff;
        }

        .breadcrumb i {
            font-size: 10px;
            color: rgba(255, 255, 255, 0.5);
        }

        .article-banner h1 {
            font-size: 42px;
            font-weight: 800;
            line-height: 1.3;
            max-width: 860px;
            margin-bottom: 16px;
            text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
        }

        .article-meta-line {
            display: flex;
            align-items: center;
            gap: 18px;
            font-size: 14px;
            color: rgba(255, 255, 255, 0.85);
            flex-wrap: wrap;
        }

        .article-meta-line i {
            margin-right: 5px;
        }

        .cat-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 4px 14px;
            border-radius: 50px;
            background: rgba(255, 255, 255, 0.2);
            color: #fff;
            font-size: 13px;
            font-weight: 600;
            backdrop-filter: blur(4px);
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        /* ===== Article Main ===== */
        .article-section {
            padding: 56px 0;
        }

        .article-layout {
            display: grid;
            grid-template-columns: 1fr;
            gap: 0;
            max-width: 860px;
            margin: 0 auto;
        }

        .article-card {
            background: var(--card-bg);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            padding: 48px 52px;
            margin-top: -36px;
            position: relative;
            z-index: 5;
            border: 1px solid rgba(226, 232, 240, 0.6);
        }

        .article-content {
            font-size: 16px;
            line-height: 1.9;
            color: #334155;
        }

        .article-content p {
            margin-bottom: 1.35rem;
        }

        .article-content h2 {
            font-size: 26px;
            font-weight: 700;
            color: #1e293b;
            margin: 2rem 0 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--primary-light);
        }

        .article-content h3 {
            font-size: 20px;
            font-weight: 600;
            color: #1e293b;
            margin: 1.6rem 0 0.8rem;
        }

        .article-content ul,
        .article-content ol {
            margin-bottom: 1.4rem;
            padding-left: 1.5rem;
        }

        .article-content li {
            margin-bottom: 0.4rem;
        }

        .article-content img {
            border-radius: 12px;
            margin: 1.6rem 0;
            box-shadow: var(--shadow);
        }

        .article-content a {
            color: var(--primary);
            text-decoration: underline;
            text-underline-offset: 3px;
        }

        .article-content a:hover {
            color: var(--primary-dark);
        }

        .article-content blockquote {
            border-left: 4px solid var(--primary);
            background: #f1f0fe;
            padding: 1rem 1.5rem;
            border-radius: 0 12px 12px 0;
            margin: 1.5rem 0;
            color: #475569;
            font-style: italic;
        }

        .article-content table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
            font-size: 14px;
        }

        .article-content table th,
        .article-content table td {
            border: 1px solid var(--border);
            padding: 10px 14px;
            text-align: left;
        }

        .article-content table th {
            background: var(--primary-light);
            font-weight: 600;
            color: #1e293b;
        }

        /* Not found */
        .not-found-box {
            text-align: center;
            padding: 56px 24px;
        }

        .not-found-box i {
            font-size: 52px;
            color: var(--primary-light);
            margin-bottom: 16px;
            display: inline-block;
        }

        .not-found-box h2 {
            font-size: 26px;
            font-weight: 700;
            margin-bottom: 12px;
            color: #1e293b;
        }

        .not-found-box p {
            color: var(--text-muted);
            margin-bottom: 24px;
        }

        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 28px;
            border-radius: 50px;
            background: var(--primary);
            color: #fff;
            font-size: 15px;
            font-weight: 600;
            box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
            transition: var(--transition);
            border: none;
            cursor: pointer;
        }

        .btn-primary:hover {
            background: var(--primary-dark);
            box-shadow: 0 10px 28px rgba(79, 70, 229, 0.4);
            transform: translateY(-2px);
        }

        .btn-primary:focus-visible,
        .nav-link:focus-visible,
        .nav-toggle:focus-visible,
        .share-btn:focus-visible {
            outline: 3px solid var(--primary-light);
            outline-offset: 2px;
        }

        /* Article action bar */
        .article-action-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 14px;
            padding-top: 24px;
            margin-top: 24px;
            border-top: 1px solid var(--border);
        }

        .article-tags {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }

        .article-tags .tag-label {
            font-size: 14px;
            color: var(--text-muted);
            margin-right: 4px;
        }

        .tag-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 4px 12px;
            border-radius: 30px;
            background: var(--primary-light);
            color: var(--primary-dark);
            font-size: 13px;
            font-weight: 500;
            border: 1px solid rgba(99, 102, 241, 0.15);
        }

        .share-buttons {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .share-label {
            font-size: 14px;
            color: var(--text-muted);
            margin-right: 4px;
        }

        .share-btn {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            background: var(--bg);
            color: var(--text-muted);
            border: 1px solid var(--border);
            transition: var(--transition);
        }

        .share-btn:hover {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
        }

        /* ===== Section Heading ===== */
        .section-heading {
            text-align: center;
            margin-bottom: 40px;
        }

        .section-heading .section-label {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 5px 16px;
            border-radius: 50px;
            background: var(--primary-light);
            color: var(--primary-dark);
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 1px;
            margin-bottom: 12px;
        }

        .section-heading h2 {
            font-size: 32px;
            font-weight: 800;
            color: #1e293b;
            line-height: 1.3;
            margin-bottom: 10px;
        }

        .section-heading p {
            color: var(--text-muted);
            font-size: 15px;
            max-width: 560px;
            margin: 0 auto;
        }

        /* ===== Related Cards ===== */
        .related-section {
            padding: 56px 0 20px;
        }

        .related-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }

        .related-card {
            background: var(--card-bg);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            border: 1px solid rgba(226, 232, 240, 0.6);
            transition: var(--transition);
            display: flex;
            flex-direction: column;
        }

        .related-card:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-4px);
        }

        .related-card .thumb {
            height: 170px;
            overflow: hidden;
            position: relative;
        }

        .related-card .thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .related-card:hover .thumb img {
            transform: scale(1.05);
        }

        .related-card .card-body {
            padding: 20px 20px 24px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .related-card h3 {
            font-size: 17px;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 8px;
            line-height: 1.4;
        }

        .related-card p {
            font-size: 14px;
            color: var(--text-muted);
            flex: 1;
            margin-bottom: 14px;
        }

        .related-card .card-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: var(--primary);
            font-size: 14px;
            font-weight: 600;
        }

        .related-card .card-link:hover {
            color: var(--primary-dark);
            gap: 10px;
        }

        .related-card .card-link i {
            font-size: 12px;
            transition: var(--transition);
        }

        /* ===== FAQ ===== */
        .faq-section {
            padding: 56px 0;
        }

        .faq-list {
            max-width: 820px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .faq-item {
            background: var(--card-bg);
            border-radius: 14px;
            padding: 20px 24px;
            box-shadow: var(--shadow);
            border: 1px solid rgba(226, 232, 240, 0.6);
            transition: var(--transition);
        }

        .faq-item:hover {
            box-shadow: var(--shadow-hover);
            border-color: var(--primary-light);
        }

        .faq-item summary {
            font-size: 16px;
            font-weight: 600;
            color: #1e293b;
            cursor: pointer;
            list-style: none;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }

        .faq-item summary::-webkit-details-marker {
            display: none;
        }

        .faq-item summary .faq-icon {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: var(--primary-light);
            color: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            flex-shrink: 0;
            transition: var(--transition);
        }

        .faq-item[open] summary .faq-icon {
            background: var(--primary);
            color: #fff;
            transform: rotate(45deg);
        }

        .faq-item .faq-answer {
            padding: 14px 0 4px;
            font-size: 15px;
            color: var(--text-muted);
            line-height: 1.7;
        }

        /* ===== CTA ===== */
        .cta-section {
            padding: 60px 0;
        }

        .cta-card {
            background: linear-gradient(135deg, #6366f1, #8b5cf6);
            border-radius: 24px;
            padding: 48px 56px;
            color: #fff;
            text-align: center;
            position: relative;
            overflow: hidden;
            box-shadow: 0 20px 50px rgba(99, 102, 241, 0.35);
        }

        .cta-card::before {
            content: '';
            position: absolute;
            top: -40px;
            right: -40px;
            width: 160px;
            height: 160px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
        }

        .cta-card h2 {
            font-size: 30px;
            font-weight: 800;
            margin-bottom: 12px;
            position: relative;
            z-index: 2;
        }

        .cta-card p {
            font-size: 16px;
            opacity: 0.9;
            max-width: 560px;
            margin: 0 auto 28px;
            position: relative;
            z-index: 2;
        }

        .btn-white {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 14px 36px;
            border-radius: 50px;
            background: #fff;
            color: var(--primary);
            font-size: 16px;
            font-weight: 700;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
            transition: var(--transition);
            position: relative;
            z-index: 2;
        }

        .btn-white:hover {
            transform: translateY(-3px);
            box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
        }

        /* ===== Footer ===== */
        .site-footer {
            background: #0f172a;
            color: #94a3b8;
            padding: 56px 0 0;
            margin-top: 20px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.4fr 0.8fr 0.8fr;
            gap: 40px;
            padding-bottom: 36px;
            border-bottom: 1px solid rgba(148, 163, 184, 0.15);
        }

        .footer-brand .footer-logo {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 20px;
            font-weight: 800;
            color: #fff;
            margin-bottom: 12px;
        }

        .footer-brand .footer-logo span {
            color: var(--primary);
        }

        .footer-brand p {
            font-size: 14px;
            line-height: 1.7;
            color: #94a3b8;
            max-width: 320px;
        }

        .footer-title {
            color: #fff;
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 16px;
        }

        .footer-links {
            display: flex;
            flex-direction: column;
            gap: 8px;
            font-size: 14px;
        }

        .footer-links a {
            color: #94a3b8;
        }

        .footer-links a:hover {
            color: #fff;
        }

        .footer-links span {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: #94a3b8;
        }

        .footer-links i {
            color: var(--primary);
            width: 16px;
            text-align: center;
        }

        .footer-bottom {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 8px;
            padding: 20px 0;
            font-size: 13px;
            color: #64748b;
        }

        /* ===== Responsive ===== */
        @media (max-width: 1024px) {
            .related-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .article-card {
                padding: 36px 32px;
            }
        }

        @media (max-width: 768px) {
            .header-inner {
                height: 64px;
            }

            .main-nav {
                display: none;
                position: absolute;
                top: 64px;
                left: 0;
                right: 0;
                background: #fff;
                flex-direction: column;
                align-items: stretch;
                padding: 14px 20px;
                box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
                border-bottom: 1px solid var(--border);
                border-radius: 0 0 20px 20px;
            }

            .main-nav.open {
                display: flex;
            }

            .nav-link {
                padding: 12px 16px;
                border-radius: 10px;
            }

            .nav-toggle {
                display: flex;
            }

            .article-banner {
                padding: 56px 0 44px;
            }

            .article-banner h1 {
                font-size: 28px;
            }

            .article-card {
                padding: 28px 20px;
                margin-top: -20px;
            }

            .article-content {
                font-size: 15px;
            }

            .article-content h2 {
                font-size: 22px;
            }

            .article-content h3 {
                font-size: 18px;
            }

            .section-heading h2 {
                font-size: 26px;
            }

            .cta-card {
                padding: 36px 24px;
            }

            .cta-card h2 {
                font-size: 24px;
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 24px;
            }

            .footer-brand {
                grid-column: 1 / -1;
            }
        }

        @media (max-width: 520px) {
            .container {
                padding: 0 16px;
            }

            .article-meta-line {
                gap: 10px;
                font-size: 13px;
            }

            .related-grid {
                grid-template-columns: 1fr;
            }

            .article-action-bar {
                flex-direction: column;
                align-items: flex-start;
            }

            .footer-grid {
                grid-template-columns: 1fr;
            }

            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }

            .site-logo {
                font-size: 18px;
            }

            .site-logo i {
                font-size: 22px;
            }
        }

/* roulang page: category1 */
:root {
            --primary: #5b5ff5;
            --primary-dark: #4548d6;
            --primary-light: #eef0ff;
            --accent: #22d3ee;
            --bg: #f8faff;
            --surface: #ffffff;
            --text: #1e2035;
            --text-soft: #5d6078;
            --text-light: #8a8ea8;
            --border: #e6e9f5;
            --radius: 16px;
            --radius-sm: 10px;
            --shadow: 0 10px 30px rgba(55, 60, 140, 0.08);
            --shadow-hover: 0 18px 40px rgba(55, 60, 140, 0.14);
            --space-section: 96px;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
            background: var(--bg);
            color: var(--text);
            line-height: 1.75;
            -webkit-font-smoothing: antialiased;
        }

        img {
            max-width: 100%;
            display: block;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        button {
            font-family: inherit;
            cursor: pointer;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
        }

        .section {
            padding: var(--space-section) 0;
        }

        .section-head {
            max-width: 680px;
            margin: 0 auto 52px;
            text-align: center;
        }

        .section-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 0.85rem;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--primary);
            background: var(--primary-light);
            border-radius: 999px;
            padding: 6px 18px;
            margin-bottom: 16px;
        }

        .section-head h2 {
            font-size: 2.1rem;
            font-weight: 800;
            line-height: 1.3;
            color: var(--text);
            margin-bottom: 12px;
        }

        .section-head p {
            font-size: 1.05rem;
            color: var(--text-soft);
        }

        /* Header & Nav */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border-bottom: 1px solid var(--border);
        }

        .header-wrap {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 72px;
            gap: 16px;
        }

        .brand-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.28rem;
            font-weight: 800;
            color: var(--text);
            white-space: nowrap;
            transition: opacity .3s ease;
        }

        .brand-logo i {
            color: var(--primary);
            font-size: 1.35rem;
        }

        .brand-logo span {
            color: var(--primary);
            font-weight: 700;
        }

        .brand-logo:hover {
            opacity: 0.82;
        }

        .main-nav {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .nav-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 9px 20px;
            border-radius: 999px;
            font-size: 0.94rem;
            font-weight: 600;
            color: var(--text-soft);
            border: 1px solid transparent;
            box-shadow: 0 0 0 0 transparent;
            transition: all .3s ease;
        }

        .nav-link:hover {
            color: var(--primary);
            background: var(--primary-light);
            transform: translateY(-1px);
        }

        .nav-link.active {
            color: #fff;
            background: var(--primary);
            box-shadow: 0 6px 16px rgba(91, 95, 245, 0.3);
        }

        .nav-toggle {
            display: none;
            align-items: center;
            justify-content: center;
            width: 42px;
            height: 42px;
            border-radius: 10px;
            border: 1px solid var(--border);
            background: #fff;
            color: var(--text);
            font-size: 1.15rem;
            transition: all .3s ease;
        }

        .nav-toggle:hover {
            border-color: var(--primary);
            color: var(--primary);
        }

        /* Buttons */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px 30px;
            border-radius: 999px;
            font-weight: 700;
            font-size: 0.95rem;
            border: 2px solid transparent;
            cursor: pointer;
            transition: all .3s ease;
            text-align: center;
            white-space: nowrap;
            line-height: 1.4;
        }

        .btn-primary {
            background: var(--primary);
            color: #fff;
            box-shadow: 0 8px 20px rgba(91, 95, 245, 0.25);
        }

        .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 12px 28px rgba(91, 95, 245, 0.35);
        }

        .btn-primary:active {
            transform: translateY(0);
            box-shadow: 0 6px 14px rgba(91, 95, 245, 0.25);
        }

        .btn-ghost {
            background: transparent;
            border-color: rgba(255, 255, 255, 0.55);
            color: #fff;
        }

        .btn-ghost:hover {
            background: rgba(255, 255, 255, 0.14);
            border-color: #fff;
            transform: translateY(-2px);
        }

        .btn-ghost:active {
            transform: translateY(0);
        }

        .btn-lg {
            padding: 15px 38px;
            font-size: 1.02rem;
        }

        /* Page Banner */
        .page-banner {
            position: relative;
            padding: 110px 0;
            background: linear-gradient(120deg, #2b2a70 0%, #4548d6 60%, #22d3ee 130%) center/cover no-repeat;
            color: #fff;
            overflow: hidden;
        }

        .page-banner::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(105deg, rgba(26, 23, 74, 0.9) 0%, rgba(57, 60, 165, 0.72) 50%, rgba(34, 211, 238, 0.28) 100%);
        }

        .banner-inner {
            position: relative;
            z-index: 2;
            max-width: 760px;
        }

        .banner-tag {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255, 255, 255, 0.15);
            border: 1px solid rgba(255, 255, 255, 0.25);
            padding: 8px 18px;
            border-radius: 999px;
            font-size: 0.82rem;
            font-weight: 600;
            letter-spacing: 0.06em;
            backdrop-filter: blur(6px);
            margin-bottom: 22px;
        }

        .banner-inner h1 {
            font-size: 2.7rem;
            font-weight: 900;
            line-height: 1.25;
            margin-bottom: 16px;
            letter-spacing: -0.01em;
        }

        .banner-inner p {
            font-size: 1.12rem;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 30px;
            max-width: 620px;
        }

        .banner-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
            margin-bottom: 34px;
        }

        .banner-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 22px;
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.85);
        }

        .banner-meta span {
            display: inline-flex;
            align-items: center;
            gap: 7px;
        }

        .banner-meta i {
            color: var(--accent);
        }

        /* Entry Methods */
        .method-card {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 34px 28px;
            box-shadow: var(--shadow);
            transition: all .35s ease;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .method-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(91, 95, 245, 0.35);
        }

        .method-icon {
            width: 58px;
            height: 58px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.55rem;
            color: var(--primary);
            background: var(--primary-light);
            margin-bottom: 20px;
            transition: all .35s ease;
        }

        .method-card:hover .method-icon {
            background: var(--primary);
            color: #fff;
            transform: scale(1.05);
        }

        .method-card h3 {
            font-size: 1.14rem;
            font-weight: 800;
            margin-bottom: 10px;
            color: var(--text);
        }

        .method-card>p {
            font-size: 0.94rem;
            color: var(--text-soft);
            margin-bottom: 18px;
            flex: 1;
        }

        .method-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .method-tags span {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            font-size: 0.78rem;
            font-weight: 600;
            padding: 5px 12px;
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: 999px;
            color: var(--text-soft);
        }

        /* Steps */
        .steps-section {
            background: linear-gradient(180deg, #f0f2ff 0%, #f8faff 100%);
            padding: var(--space-section) 0;
            position: relative;
        }

        .steps-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 28px;
        }

        .step-item {
            background: var(--surface);
            border-radius: var(--radius);
            border: 1px solid var(--border);
            padding: 32px 26px;
            box-shadow: var(--shadow);
            position: relative;
            transition: all .3s ease;
        }

        .step-item:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
        }

        .step-num {
            display: inline-block;
            font-size: 0.88rem;
            font-weight: 800;
            color: var(--primary);
            background: var(--primary-light);
            border-radius: 8px;
            padding: 4px 12px;
            margin-bottom: 18px;
            letter-spacing: 0.04em;
        }

        .step-item h4 {
            font-size: 1.1rem;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 10px;
        }

        .step-item p {
            font-size: 0.92rem;
            color: var(--text-soft);
        }

        /* Game Cards */
        .game-card {
            background: var(--surface);
            border-radius: var(--radius);
            overflow: hidden;
            border: 1px solid var(--border);
            box-shadow: var(--shadow);
            transition: all .35s ease;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .game-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
        }

        .game-card img {
            height: 170px;
            width: 100%;
            object-fit: cover;
            transition: transform .45s ease;
        }

        .game-card:hover img {
            transform: scale(1.04);
        }

        .game-info {
            padding: 22px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .game-cat {
            display: inline-flex;
            align-items: center;
            font-size: 0.78rem;
            font-weight: 700;
            color: var(--primary);
            background: var(--primary-light);
            padding: 4px 12px;
            border-radius: 999px;
            align-self: flex-start;
            margin-bottom: 12px;
        }

        .game-info h3 {
            font-size: 1.08rem;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 8px;
        }

        .game-info p {
            font-size: 0.88rem;
            color: var(--text-soft);
            margin-bottom: 16px;
            flex: 1;
        }

        .game-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 0.9rem;
            font-weight: 700;
            color: var(--primary);
            transition: all .3s ease;
        }

        .game-link:hover {
            gap: 10px;
            color: var(--primary-dark);
        }

        /* FAQ */
        .faq-section {
            background: #eef1fc;
            padding: var(--space-section) 0;
        }

        .faq-list {
            max-width: 820px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .faq-item {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 0;
            overflow: hidden;
            box-shadow: 0 4px 14px rgba(55, 60, 140, 0.06);
            transition: all .3s ease;
        }

        .faq-item:hover {
            border-color: rgba(91, 95, 245, 0.3);
            box-shadow: 0 8px 24px rgba(55, 60, 140, 0.1);
        }

        .faq-item summary {
            position: relative;
            list-style: none;
            cursor: pointer;
            padding: 22px 28px;
            font-size: 1rem;
            font-weight: 700;
            color: var(--text);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
        }

        .faq-item summary::-webkit-details-marker {
            display: none;
        }

        .faq-item summary::after {
            content: "\f078";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            font-size: 0.9rem;
            color: var(--primary);
            transition: transform .35s ease;
            flex-shrink: 0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: var(--primary-light);
        }

        .faq-item[open] summary::after {
            transform: rotate(180deg);
        }

        .faq-item .faq-body {
            padding: 0 28px 24px;
            font-size: 0.94rem;
            color: var(--text-soft);
            line-height: 1.85;
        }

        /* CTA */
        .cta-section {
            position: relative;
            padding: 110px 0;
            background: linear-gradient(120deg, #25256e, #4548d6 55%, #22d3ee 130%) center/cover no-repeat;
            color: #fff;
            text-align: center;
            overflow: hidden;
        }

        .cta-section::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(30, 28, 90, 0.6), rgba(45, 45, 130, 0.3));
        }

        .cta-inner {
            position: relative;
            z-index: 2;
            max-width: 700px;
            margin: 0 auto;
        }

        .cta-inner h2 {
            font-size: 2.2rem;
            font-weight: 900;
            margin-bottom: 14px;
        }

        .cta-inner p {
            font-size: 1.08rem;
            color: rgba(255, 255, 255, 0.92);
            margin-bottom: 32px;
        }

        .cta-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            justify-content: center;
        }

        .cta-section .btn-ghost {
            border-color: rgba(255, 255, 255, 0.6);
        }

        /* Footer */
        .site-footer {
            background: #131432;
            color: #a7a9c4;
            padding: 70px 0 30px;
            font-size: 0.92rem;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.4fr 1fr 1fr;
            gap: 44px;
            padding-bottom: 40px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .footer-brand .footer-logo {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-size: 1.25rem;
            font-weight: 800;
            color: #fff;
            margin-bottom: 16px;
        }

        .footer-logo span {
            color: var(--primary);
            font-weight: 700;
        }

        .footer-brand p {
            color: #8b8eae;
            line-height: 1.85;
            max-width: 320px;
        }

        .footer-title {
            color: #fff;
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 18px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-title::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 32px;
            height: 3px;
            border-radius: 3px;
            background: var(--primary);
        }

        .footer-links {
            display: flex;
            flex-direction: column;
            gap: 10px;
            align-items: flex-start;
        }

        .footer-links a {
            position: relative;
            transition: all .3s ease;
            color: #a7a9c4;
        }

        .footer-links a:hover {
            color: #fff;
            padding-left: 6px;
        }

        .footer-links a::before {
            content: "\f105";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            font-size: 0.75rem;
            color: var(--primary);
            margin-right: 8px;
            opacity: 0.85;
        }

        .footer-links span {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: #a7a9c4;
            transition: color .3s ease;
        }

        .footer-links span i {
            color: var(--primary);
            width: 18px;
            text-align: center;
        }

        .footer-bottom {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 10px;
            padding-top: 28px;
            color: #6d6f93;
            font-size: 0.86rem;
        }

        .footer-bottom span {
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        /* Focus accessibility */
        a:focus-visible,
        button:focus-visible,
        summary:focus-visible {
            outline: 3px solid rgba(91, 95, 245, 0.4);
            outline-offset: 2px;
            border-radius: 6px;
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .steps-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr 1fr;
            }
        }

        @media (max-width: 820px) {
            .nav-toggle {
                display: inline-flex;
            }

            .main-nav {
                position: absolute;
                top: 72px;
                left: 0;
                right: 0;
                background: #fff;
                border-bottom: 1px solid var(--border);
                flex-direction: column;
                align-items: stretch;
                padding: 16px 24px 26px;
                gap: 8px;
                display: none;
                box-shadow: 0 24px 40px rgba(20, 20, 60, 0.12);
            }

            .main-nav.open {
                display: flex;
            }

            .nav-link {
                justify-content: center;
                padding: 12px 18px;
                font-size: 1rem;
            }

            .banner-inner h1 {
                font-size: 2rem;
            }

            .section {
                padding: 64px 0;
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 36px;
            }

            .cta-section {
                padding: 84px 0;
            }

            .cta-inner h2 {
                font-size: 1.7rem;
            }
        }

        @media (max-width: 640px) {
            .container {
                padding: 0 18px;
            }

            .page-banner {
                padding: 72px 0;
            }

            .banner-inner h1 {
                font-size: 1.65rem;
            }

            .banner-inner p {
                font-size: 1rem;
            }

            .banner-actions {
                flex-direction: column;
                align-items: stretch;
            }

            .banner-actions .btn {
                width: 100%;
            }

            .banner-meta {
                gap: 12px;
                font-size: 0.82rem;
            }

            .steps-grid {
                grid-template-columns: 1fr;
                gap: 18px;
            }

            .section-head h2 {
                font-size: 1.65rem;
            }

            .section-head p {
                font-size: 0.96rem;
            }

            .method-card {
                padding: 26px 22px;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 32px;
            }

            .footer-bottom {
                flex-direction: column;
                text-align: center;
                justify-content: center;
            }

            .cta-buttons {
                flex-direction: column;
                align-items: stretch;
            }

            .cta-buttons .btn {
                width: 100%;
            }
        }

/* roulang page: category2 */
/* ========== Design Tokens ========== */
        :root {
            --primary: #6d5efc;
            --primary-dark: #5241e0;
            --primary-soft: #ece9ff;
            --secondary: #f7b32b;
            --secondary-soft: #fff4d6;
            --ink: #1a1c2e;
            --ink-light: #5f6379;
            --mist: #f6f5ff;
            --white: #ffffff;
            --border: #e8e6f5;
            --radius: 18px;
            --radius-sm: 12px;
            --shadow-soft: 0 8px 30px rgba(109, 94, 252, 0.10);
            --shadow-hover: 0 16px 40px rgba(31, 35, 76, 0.12);
            --transition: all 0.3s ease;
        }

        /* ========== Base Reset ========== */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
        }

        body {
            font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', system-ui, sans-serif;
            color: var(--ink);
            background: var(--mist);
            line-height: 1.7;
            overflow-x: hidden;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }

        a:hover {
            color: var(--primary);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        button,
        input,
        select,
        textarea {
            font: inherit;
            color: inherit;
        }

        button {
            cursor: pointer;
            border: none;
            background: none;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
        }

        /* ========== Header ========== */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(232, 230, 245, 0.8);
            box-shadow: 0 2px 20px rgba(31, 35, 76, 0.05);
        }

        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 76px;
            gap: 32px;
        }

        .brand-logo {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-size: 1.35rem;
            font-weight: 800;
            color: var(--ink);
            white-space: nowrap;
        }

        .brand-logo .icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: #fff;
            border-radius: 12px;
            font-size: 18px;
            box-shadow: 0 6px 16px rgba(109, 94, 252, 0.3);
            flex-shrink: 0;
        }

        .brand-logo span {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .main-nav {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .nav-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 18px;
            border-radius: 50rem;
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--ink-light);
            transition: var(--transition);
            white-space: nowrap;
        }

        .nav-link:hover {
            color: var(--primary);
            background: var(--primary-soft);
        }

        .nav-link.active {
            color: #fff;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            box-shadow: 0 6px 18px rgba(109, 94, 252, 0.32);
        }

        .nav-toggle {
            display: none;
            width: 42px;
            height: 42px;
            border-radius: 12px;
            background: var(--primary-soft);
            color: var(--primary);
            font-size: 18px;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
            border: 1px solid transparent;
        }

        .nav-toggle:hover {
            background: var(--primary);
            color: #fff;
        }

        /* ========== Category Hero ========== */
        .cat-hero {
            position: relative;
            padding: 90px 0 80px;
            background: linear-gradient(rgba(26, 28, 46, 0.65), rgba(26, 28, 46, 0.75)), url('/assets/images/backpic/back-1.png') center/cover no-repeat;
            color: #fff;
            text-align: center;
            overflow: hidden;
        }

        .cat-hero::after {
            content: '';
            position: absolute;
            bottom: -40px;
            right: -40px;
            width: 220px;
            height: 220px;
            background: radial-gradient(circle, rgba(247, 179, 43, 0.3), transparent 70%);
            pointer-events: none;
        }

        .cat-hero .inner {
            position: relative;
            z-index: 2;
            max-width: 780px;
            margin: 0 auto;
        }

        .cat-hero h1 {
            font-size: 3rem;
            font-weight: 900;
            line-height: 1.2;
            margin-bottom: 20px;
            letter-spacing: -0.5px;
        }

        .cat-hero h1 .highlight {
            background: linear-gradient(135deg, var(--secondary), #ffd166);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .cat-hero p {
            font-size: 1.12rem;
            line-height: 1.8;
            opacity: 0.92;
            margin-bottom: 36px;
        }

        .cat-hero .hero-actions {
            display: flex;
            justify-content: center;
            gap: 16px;
            flex-wrap: wrap;
        }

        .hero-actions .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 14px 28px;
            border-radius: 50rem;
            font-size: 1rem;
            font-weight: 700;
            transition: var(--transition);
        }

        .hero-actions .btn-primary {
            background: linear-gradient(135deg, var(--secondary), #f59e0b);
            color: #1a1c2e;
            box-shadow: 0 10px 30px rgba(247, 179, 43, 0.35);
        }

        .hero-actions .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 14px 36px rgba(247, 179, 43, 0.45);
            color: #1a1c2e;
        }

        .hero-actions .btn-ghost {
            border: 2px solid rgba(255, 255, 255, 0.4);
            color: #fff;
            background: rgba(255, 255, 255, 0.08);
        }

        .hero-actions .btn-ghost:hover {
            background: rgba(255, 255, 255, 0.18);
            border-color: rgba(255, 255, 255, 0.7);
            transform: translateY(-3px);
        }

        /* ========== Section ========== */
        .section {
            padding: 80px 0;
        }

        .section-header {
            text-align: center;
            max-width: 680px;
            margin: 0 auto 52px;
        }

        .section-tag {
            display: inline-block;
            padding: 6px 18px;
            border-radius: 50rem;
            background: var(--primary-soft);
            color: var(--primary);
            font-size: 0.85rem;
            font-weight: 700;
            letter-spacing: 0.5px;
            margin-bottom: 14px;
            text-transform: uppercase;
        }

        .section-header h2 {
            font-size: 2.2rem;
            font-weight: 800;
            line-height: 1.3;
            color: var(--ink);
            margin-bottom: 16px;
        }

        .section-header p {
            font-size: 1.05rem;
            color: var(--ink-light);
            line-height: 1.8;
        }

        /* ========== Games Grid ========== */
        .games-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
        }

        .game-card {
            background: #fff;
            border-radius: var(--radius);
            border: 1px solid var(--border);
            box-shadow: var(--shadow-soft);
            overflow: hidden;
            transition: var(--transition);
        }

        .game-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(109, 94, 252, 0.4);
        }

        .game-card .cover {
            position: relative;
            aspect-ratio: 16 / 9;
            overflow: hidden;
        }

        .game-card .cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .game-card:hover .cover img {
            transform: scale(1.06);
        }

        .game-card .cover::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(26, 28, 46, 0.25), transparent 60%);
            pointer-events: none;
        }

        .game-card .badge {
            position: absolute;
            top: 14px;
            left: 14px;
            z-index: 2;
            padding: 6px 14px;
            border-radius: 50rem;
            font-size: 0.78rem;
            font-weight: 700;
            background: rgba(255, 255, 255, 0.94);
            color: var(--primary);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
        }

        .game-card .rating {
            position: absolute;
            bottom: 14px;
            right: 14px;
            z-index: 2;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(26, 28, 46, 0.75);
            backdrop-filter: blur(4px);
            color: #fff;
            padding: 5px 12px;
            border-radius: 50rem;
            font-size: 0.82rem;
            font-weight: 600;
        }

        .game-card .rating i {
            color: var(--secondary);
        }

        .game-card .body {
            padding: 24px 24px 26px;
        }

        .game-card .body h3 {
            font-size: 1.15rem;
            font-weight: 800;
            margin-bottom: 8px;
            color: var(--ink);
        }

        .game-card .body p {
            font-size: 0.9rem;
            color: var(--ink-light);
            line-height: 1.7;
            margin-bottom: 18px;
        }

        .game-card .meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 16px;
            border-top: 1px solid var(--border);
        }

        .game-card .meta .players {
            font-size: 0.82rem;
            color: var(--ink-light);
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .game-card .play-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 18px;
            border-radius: 50rem;
            background: var(--primary);
            color: #fff;
            font-size: 0.88rem;
            font-weight: 700;
            transition: var(--transition);
        }

        .game-card .play-btn:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(109, 94, 252, 0.35);
            color: #fff;
        }

        /* ========== Hot Ranking ========== */
        .rank-section {
            background: linear-gradient(160deg, #f6f5ff 0%, #ffffff 100%);
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }

        .rank-list {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .rank-item {
            display: flex;
            align-items: center;
            gap: 18px;
            background: #fff;
            border-radius: 16px;
            border: 1px solid var(--border);
            padding: 20px 24px;
            transition: var(--transition);
        }

        .rank-item:hover {
            box-shadow: var(--shadow-soft);
            transform: translateY(-3px);
            border-color: rgba(109, 94, 252, 0.35);
        }

        .rank-number {
            width: 40px;
            height: 40px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            font-weight: 800;
            background: var(--primary-soft);
            color: var(--primary);
            flex-shrink: 0;
        }

        .rank-item:nth-child(1) .rank-number {
            background: linear-gradient(135deg, var(--secondary), #ffd166);
            color: #fff;
            box-shadow: 0 6px 16px rgba(247, 179, 43, 0.4);
        }

        .rank-item:nth-child(2) .rank-number {
            background: linear-gradient(135deg, #a8a8b5, #8e8ea0);
            color: #fff;
        }

        .rank-item:nth-child(3) .rank-number {
            background: linear-gradient(135deg, #d68f5c, #c47a4a);
            color: #fff;
        }

        .rank-info {
            flex: 1;
            min-width: 0;
        }

        .rank-info .name {
            font-size: 1rem;
            font-weight: 800;
            color: var(--ink);
            margin-bottom: 2px;
        }

        .rank-info .type {
            font-size: 0.82rem;
            color: var(--ink-light);
        }

        .rank-stats {
            text-align: right;
            flex-shrink: 0;
        }

        .rank-stats .hot {
            font-size: 0.9rem;
            font-weight: 800;
            color: var(--primary);
        }

        .rank-stats .hot i {
            color: var(--secondary);
            margin-right: 4px;
        }

        .rank-stats .label {
            font-size: 0.78rem;
            color: var(--ink-light);
        }

        /* ========== Category Tags ========== */
        .tags-wrap {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 14px;
            max-width: 880px;
            margin: 0 auto;
        }

        .tag-item {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 12px 20px;
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 50rem;
            font-size: 0.92rem;
            font-weight: 600;
            color: var(--ink-light);
            transition: var(--transition);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
        }

        .tag-item i {
            font-size: 1.05rem;
            color: var(--primary);
        }

        .tag-item:hover {
            border-color: var(--primary);
            color: var(--primary);
            transform: translateY(-3px);
            box-shadow: 0 8px 24px rgba(109, 94, 252, 0.15);
        }

        /* ========== FAQ ========== */
        .faq-list {
            max-width: 820px;
            margin: 0 auto;
        }

        .faq-item {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 24px 30px;
            margin-bottom: 16px;
            transition: var(--transition);
        }

        .faq-item:hover {
            border-color: rgba(109, 94, 252, 0.35);
            box-shadow: var(--shadow-soft);
        }

        .faq-item details {
            list-style: none;
        }

        .faq-item summary {
            list-style: none;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--ink);
        }

        .faq-item summary::-webkit-details-marker {
            display: none;
        }

        .faq-item summary::after {
            content: '\f078';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            transition: transform 0.3s ease;
            color: var(--primary);
            font-size: 0.9rem;
            flex-shrink: 0;
        }

        .faq-item details[open] summary::after {
            transform: rotate(180deg);
        }

        .faq-item .answer {
            margin-top: 14px;
            padding-top: 14px;
            border-top: 1px solid var(--border);
            font-size: 0.95rem;
            color: var(--ink-light);
            line-height: 1.8;
        }

        /* ========== CTA ========== */
        .cta-section {
            position: relative;
            padding: 80px 0;
            background: linear-gradient(135deg, rgba(109, 94, 252, 0.92), rgba(82, 65, 224, 0.95)), url('/assets/images/backpic/back-2.png') center/cover no-repeat;
            color: #fff;
            text-align: center;
        }

        .cta-section h2 {
            font-size: 2.2rem;
            font-weight: 800;
            margin-bottom: 16px;
        }

        .cta-section p {
            font-size: 1.1rem;
            opacity: 0.92;
            max-width: 600px;
            margin: 0 auto 30px;
        }

        .cta-section .btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 15px 32px;
            border-radius: 50rem;
            font-size: 1rem;
            font-weight: 700;
            background: var(--secondary);
            color: #1a1c2e;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            transition: var(--transition);
        }

        .cta-section .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
            color: #1a1c2e;
        }

        /* ========== Footer ========== */
        .site-footer {
            background: #14162a;
            color: rgba(255, 255, 255, 0.8);
            padding: 70px 0 0;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr;
            gap: 48px;
            padding-bottom: 48px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .footer-logo {
            font-size: 1.3rem;
            font-weight: 800;
            color: #fff;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 16px;
        }

        .footer-logo span {
            color: var(--secondary);
        }

        .footer-brand p {
            font-size: 0.92rem;
            line-height: 1.8;
            color: rgba(255, 255, 255, 0.6);
            max-width: 360px;
        }

        .footer-title {
            font-size: 1.05rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 28px;
            height: 3px;
            background: var(--secondary);
            border-radius: 4px;
        }

        .footer-links {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .footer-links a,
        .footer-links span {
            font-size: 0.92rem;
            color: rgba(255, 255, 255, 0.6);
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .footer-links a:hover {
            color: var(--secondary);
            padding-left: 6px;
        }

        .footer-links i {
            color: var(--secondary);
            width: 18px;
            text-align: center;
        }

        .footer-bottom {
            padding: 24px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 16px;
            flex-wrap: wrap;
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.4);
        }

        .footer-bottom .domain {
            font-weight: 600;
            color: rgba(255, 255, 255, 0.5);
        }

        /* ========== Mobile Menu ========== */
        @media (max-width: 768px) {
            .nav-toggle {
                display: inline-flex;
            }

            .main-nav {
                position: absolute;
                top: 76px;
                left: 0;
                right: 0;
                background: #fff;
                flex-direction: column;
                align-items: stretch;
                padding: 20px;
                gap: 10px;
                border-bottom: 1px solid var(--border);
                box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
                display: none;
            }

            .main-nav.open {
                display: flex;
            }

            .nav-link {
                justify-content: center;
                padding: 12px 16px;
                font-size: 1rem;
            }

            .header-inner {
                height: 68px;
            }

            .cat-hero {
                padding: 60px 0 50px;
            }

            .cat-hero h1 {
                font-size: 2.2rem;
            }

            .section {
                padding: 56px 0;
            }

            .games-grid {
                grid-template-columns: 1fr;
            }

            .rank-list {
                grid-template-columns: 1fr;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 32px;
                padding-bottom: 32px;
            }

            .footer-bottom {
                justify-content: center;
                text-align: center;
            }
        }

        @media (max-width: 520px) {
            .container {
                padding: 0 16px;
            }

            .cat-hero h1 {
                font-size: 1.8rem;
            }

            .cat-hero p {
                font-size: 1rem;
            }

            .section-header h2 {
                font-size: 1.7rem;
            }

            .games-grid {
                gap: 20px;
            }

            .rank-item {
                padding: 16px;
                gap: 12px;
            }

            .rank-stats .hot {
                font-size: 0.8rem;
            }

            .faq-item {
                padding: 18px 20px;
            }

            .hero-actions .btn {
                padding: 12px 22px;
                font-size: 0.92rem;
            }
        }

        /* Focus Accessibility */
        a:focus-visible,
        button:focus-visible,
        summary:focus-visible {
            outline: 3px solid rgba(109, 94, 252, 0.5);
            outline-offset: 2px;
        }

        /* Scrollbar */
        ::-webkit-scrollbar {
            width: 10px;
        }

        ::-webkit-scrollbar-track {
            background: var(--mist);
        }

        ::-webkit-scrollbar-thumb {
            background: linear-gradient(180deg, var(--primary), var(--primary-dark));
            border-radius: 10px;
        }
