/* roulang page: index */
:root {
  --brand: #0f172a;
  --brand-light: #1e293b;
  --accent: #f59e0b;
  --accent-deep: #d97706;
  --soft: #f8fafc;
  --muted: #64748b;
  --line: #e2e8f0;
  --radius: 1rem;
  --radius-lg: 1.25rem;
  --shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 16px 40px rgba(15, 23, 42, 0.14);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--brand);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s ease;
}

button,
input,
select {
  font-family: inherit;
  outline: none;
}

.container-x {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 96px 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(245, 158, 11, .12);
  color: var(--accent-deep);
  border: 1px solid rgba(245, 158, 11, .25);
}

.badge-dark {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
  backdrop-filter: blur(4px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 999px;
  padding: 14px 30px;
  font-size: 15px;
  line-height: 1;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--brand);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(217, 119, 6, .3);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .14);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.btn-dark:hover {
  background: var(--brand-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, .22);
}

.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.text-muted {
  color: var(--muted);
}

.section-head {
  margin-bottom: 48px;
}

.section-head .section-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--brand);
}

.section-head .section-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 680px;
  margin-top: 12px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(15, 23, 42, .04);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-logo .logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), #1e3a5f);
  color: var(--accent);
  font-size: 18px;
  flex-shrink: 0;
}

.header-search {
  flex: 1;
  max-width: 520px;
  position: relative;
  margin: 0 auto;
}

.header-search input {
  width: 100%;
  height: 46px;
  padding: 0 46px 0 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--brand);
  transition: all .3s ease;
}

.header-search input::placeholder {
  color: #94a3b8;
}

.header-search input:focus {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, .15);
}

.header-search button {
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: none;
  background: var(--accent);
  color: var(--brand);
  border-radius: 50%;
  cursor: pointer;
  transition: background .25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-search button:hover {
  background: var(--accent-deep);
  color: #fff;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 999px;
  position: relative;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--brand);
  background: var(--soft);
}

.main-nav a.active {
  color: var(--brand);
  font-weight: 700;
  background: rgba(245, 158, 11, .12);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  font-size: 18px;
  color: var(--brand);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .25s ease;
}

.nav-toggle:hover {
  background: var(--soft);
  border-color: var(--accent);
}

.mobile-menu {
  display: none;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 16px 24px;
}

.mobile-menu a {
  display: block;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--brand);
  border-radius: 12px;
  margin-bottom: 4px;
}

.mobile-menu a:hover {
  background: var(--soft);
}

.mobile-menu a.active {
  background: rgba(245, 158, 11, .12);
  color: var(--brand);
  font-weight: 700;
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0b1220 0%, #16233c 100%);
  background-image: url('/assets/images/backpic/back-1.png');
  background-size: cover;
  background-position: center;
  padding: 130px 0 110px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 18, 32, .92) 0%, rgba(11, 18, 32, .72) 45%, rgba(11, 18, 32, .45) 100%);
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -40px;
  right: -20px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 158, 11, .25) 0%, transparent 70%);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 720px;
}

.hero .badge {
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, .82);
  max-width: 600px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 70px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  padding-top: 40px;
  max-width: 720px;
}

.hero-stats .stat-item {
  padding: 8px 20px 8px 0;
}

.hero-stats .stat-item:not(:first-child) {
  padding-left: 32px;
  border-left: 1px solid rgba(255, 255, 255, .14);
}

.hero-stats .stat-num {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.hero-stats .stat-num span {
  color: var(--accent);
}

.hero-stats .stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, .62);
  margin-top: 4px;
}

/* Category Entry */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.cat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
}

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(245, 158, 11, .4);
}

.cat-card .cat-img {
  height: 190px;
  position: relative;
  overflow: hidden;
}

.cat-card .cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.cat-card:hover .cat-img img {
  transform: scale(1.05);
}

.cat-card .cat-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, .35) 100%);
}

.cat-card .cat-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cat-card .cat-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--brand);
}

.cat-card .cat-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 18px;
}

.cat-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-deep);
}

.cat-link .arrow {
  transition: transform .25s ease;
}

.cat-link:hover .arrow {
  transform: translateX(4px);
}

/* Feature */
.feature-section {
  background: var(--soft);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all .3s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, .35);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(245, 158, 11, .12);
  color: var(--accent-deep);
  font-size: 20px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--brand);
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* Content cards */
.content-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.content-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
}

.content-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.content-card .card-img {
  height: 160px;
  position: relative;
  overflow: hidden;
}

.content-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.content-card:hover .card-img img {
  transform: scale(1.04);
}

.content-card .card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 10px;
  background: rgba(15, 23, 42, .75);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.content-card .card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.content-card .card-body h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--brand);
  margin-bottom: 10px;
}

.content-card .card-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #94a3b8;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

/* CMS list */
.cms-section {
  background: linear-gradient(180deg, #fff 0%, var(--soft) 100%);
}

.cms-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cms-item {
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .3s ease;
}

.cms-item:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(245, 158, 11, .35);
  transform: translateX(4px);
}

.cms-item .cms-thumb {
  width: 220px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.cms-item .cms-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cms-item .cms-content {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.cms-item .cms-cat {
  display: inline-block;
  width: fit-content;
  padding: 3px 12px;
  background: rgba(245, 158, 11, .12);
  color: var(--accent-deep);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.cms-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 8px;
  line-height: 1.4;
}

.cms-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cms-item time {
  font-size: 12px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cms-empty {
  grid-column: 1 / -1;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  padding: 60px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 16px;
}

/* Leaderboard */
.rank-section {
  background: var(--brand);
  color: #fff;
  background-image: url('/assets/images/backpic/back-2.png');
  background-size: cover;
  background-position: center;
  position: relative;
}

.rank-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, .92);
}

.rank-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}

.rank-board {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(8px);
}

.rank-board h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rank-board h3 i {
  color: var(--accent);
}

.rank-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rank-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  transition: background .25s ease;
}

.rank-row:hover {
  background: rgba(255, 255, 255, .09);
}

.rank-num {
  font-size: 20px;
  font-weight: 800;
  width: 32px;
  color: var(--accent);
  text-align: center;
}

.rank-row .rank-name {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
}

.rank-row .rank-score {
  font-size: 14px;
  color: rgba(255, 255, 255, .7);
}

.rank-row .rank-bar {
  flex-shrink: 0;
}

.steps-wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
}

.step-item .step-dot {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(245, 158, 11, .35);
}

.step-item .step-body h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-item .step-body p {
  font-size: 14px;
  color: rgba(255, 255, 255, .66);
  line-height: 1.6;
}

/* FAQ */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .03);
  transition: box-shadow .25s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  font-size: 16px;
  font-weight: 600;
  color: var(--brand);
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-deep);
  font-size: 14px;
  flex-shrink: 0;
  transition: transform .3s ease, background .3s ease;
}

.faq-item[open] summary .faq-icon {
  transform: rotate(45deg);
  background: rgba(245, 158, 11, .15);
}

.faq-item .faq-body {
  padding: 0 26px 24px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

/* CTA */
.cta-section {
  background: var(--brand);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -40px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(245, 158, 11, .12);
  filter: blur(60px);
}

.cta-section::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: 30%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(245, 158, 11, .08);
  filter: blur(50px);
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta-inner p {
  color: rgba(255, 255, 255, .72);
  font-size: 16px;
  margin-bottom: 32px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: #0b1220;
  color: rgba(255, 255, 255, .6);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand .logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--brand);
  font-size: 16px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.8;
  max-width: 360px;
}

.footer-col h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .25s ease;
}

.footer-col ul a:hover {
  color: var(--accent);
}

.footer-col ul a i {
  width: 16px;
  font-size: 13px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, .5);
}

.footer-bottom a:hover {
  color: var(--accent);
}

.footer-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1024px) {
  .container-x {
    padding: 0 20px;
  }

  .header-inner {
    gap: 14px;
  }

  .main-nav {
    gap: 0;
  }

  .main-nav a {
    padding: 8px 12px;
    font-size: 13px;
  }

  .brand-logo {
    font-size: 16px;
  }

  .brand-logo .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .rank-wrap {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero h1 {
    font-size: 44px;
  }
}

@media (max-width: 768px) {
  .section-pad {
    padding: 64px 0;
  }

  .header-inner {
    min-height: 64px;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav,
  .header-search {
    display: none;
  }

  .mobile-menu.open {
    display: block;
  }

  .hero {
    padding: 80px 0 64px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 48px;
    padding-top: 28px;
  }

  .hero-stats .stat-num {
    font-size: 24px;
  }

  .hero-stats .stat-item:not(:first-child) {
    padding-left: 16px;
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .cms-item {
    flex-direction: column;
  }

  .cms-item .cms-thumb {
    width: 100%;
    height: 180px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .section-head .section-title {
    font-size: 28px;
  }

  .cta-inner h2 {
    font-size: 28px;
  }
}

@media (max-width: 520px) {
  .container-x {
    padding: 0 16px;
  }

  .brand-logo .logo-text {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-stats .stat-item {
    padding: 12px 0 !important;
    border-left: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* roulang page: article */
:root {
            --primary: #4f46e5;
            --primary-dark: #3730a3;
            --secondary: #f59e0b;
            --secondary-light: #fbbf24;
            --dark: #0f172a;
            --dark-soft: #1e293b;
            --text: #334155;
            --text-light: #64748b;
            --text-lighter: #94a3b8;
            --bg: #f8fafc;
            --white: #ffffff;
            --border: #e2e8f0;
            --radius: 14px;
            --radius-sm: 8px;
            --radius-lg: 20px;
            --shadow: 0 4px 24px rgba(15, 23, 42, .06);
            --shadow-lg: 0 12px 40px rgba(15, 23, 42, .12);
            --transition: .3s ease;
            --font: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
        }

        *,
        *::before,
        *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font);
            background: var(--bg);
            color: var(--text);
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
        }

        img {
            max-width: 100%;
            display: block;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        ul,
        ol {
            list-style: none;
        }

        button,
        input,
        textarea,
        select {
            font: inherit;
        }

        ::selection {
            background: rgba(79, 70, 229, .2);
            color: var(--primary-dark);
        }

        .container-x {
            width: 100%;
            max-width: 1240px;
            margin: 0 auto;
            padding: 0 24px;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px 28px;
            border-radius: 999px;
            font-weight: 600;
            font-size: 15px;
            line-height: 1.4;
            border: 2px solid transparent;
            cursor: pointer;
            transition: all var(--transition);
            white-space: nowrap;
        }

        .btn-primary {
            background: var(--primary);
            color: #fff;
            box-shadow: 0 4px 16px rgba(79, 70, 229, .3);
        }

        .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(79, 70, 229, .4);
        }

        .btn-light {
            background: #fff;
            color: var(--primary);
        }

        .btn-light:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(255, 255, 255, .25);
        }

        .btn-outline-light {
            background: transparent;
            color: #fff;
            border-color: rgba(255, 255, 255, .6);
        }

        .btn-outline-light:hover {
            background: rgba(255, 255, 255, .1);
            border-color: #fff;
            transform: translateY(-2px);
        }

        .btn-sm {
            padding: 8px 18px;
            font-size: 14px;
        }

        .site-header {
            background: rgba(255, 255, 255, .92);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .header-top {
            display: flex;
            align-items: center;
            gap: 24px;
            padding: 14px 0;
        }

        .header-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 20px;
            font-weight: 800;
            color: var(--dark);
            flex-shrink: 0;
            transition: opacity .3s;
        }

        .header-logo:hover {
            opacity: .85;
        }

        .logo-icon {
            width: 42px;
            height: 42px;
            border-radius: 12px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--primary), #8b5cf6);
            color: #fff;
            font-size: 18px;
            box-shadow: 0 4px 12px rgba(79, 70, 229, .35);
        }

        .header-search {
            flex: 1;
            max-width: 480px;
        }

        .search-form {
            display: flex;
            background: var(--bg);
            border-radius: 999px;
            border: 1px solid var(--border);
            padding: 4px 4px 4px 18px;
            transition: all var(--transition);
        }

        .search-form:focus-within {
            border-color: var(--primary);
            background: #fff;
            box-shadow: 0 0 0 4px rgba(79, 70, 229, .12);
        }

        .search-form input {
            flex: 1;
            border: none;
            background: transparent;
            padding: 8px 0;
            font-size: 14px;
            outline: none;
            color: var(--text);
        }

        .search-form input::placeholder {
            color: var(--text-lighter);
        }

        .search-form button {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--primary);
            color: #fff;
            border: none;
            cursor: pointer;
            transition: all var(--transition);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .search-form button:hover {
            background: var(--primary-dark);
            transform: rotate(90deg);
        }

        .header-action {
            flex-shrink: 0;
        }

        .nav-toggle {
            display: none;
            width: 42px;
            height: 42px;
            border-radius: 12px;
            border: 1px solid var(--border);
            background: var(--white);
            color: var(--dark);
            font-size: 18px;
            cursor: pointer;
            align-items: center;
            justify-content: center;
            transition: all var(--transition);
        }

        .nav-toggle:hover {
            background: var(--bg);
            border-color: var(--primary);
        }

        .main-nav {
            display: flex;
            gap: 4px;
            padding: 8px 0 12px;
            border-top: 1px solid rgba(226, 232, 240, .6);
        }

        .main-nav a {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 20px;
            border-radius: 999px;
            font-size: 14px;
            font-weight: 600;
            color: var(--text-light);
            transition: all var(--transition);
            white-space: nowrap;
        }

        .main-nav a:hover {
            color: var(--primary);
            background: rgba(79, 70, 229, .06);
        }

        .main-nav a.active {
            color: #fff;
            background: var(--primary);
            box-shadow: 0 4px 14px rgba(79, 70, 229, .3);
        }

        .article-hero {
            position: relative;
            padding: 88px 0 72px;
            background: url('/assets/images/backpic/back-2.png') center / cover no-repeat;
        }

        .article-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(15, 23, 42, .92), rgba(79, 70, 229, .72));
        }

        .breadcrumb {
            position: relative;
            z-index: 1;
            display: flex;
            align-items: center;
            gap: 8px;
            color: rgba(255, 255, 255, .7);
            font-size: 14px;
            flex-wrap: wrap;
        }

        .breadcrumb a {
            color: rgba(255, 255, 255, .8);
            transition: color .3s;
        }

        .breadcrumb a:hover {
            color: #fff;
        }

        .breadcrumb i {
            font-size: 12px;
        }

        .article-hero h1 {
            position: relative;
            z-index: 1;
            color: #fff;
            font-size: 36px;
            line-height: 1.32;
            font-weight: 800;
            margin-top: 18px;
            max-width: 860px;
            letter-spacing: .5px;
        }

        .article-meta {
            position: relative;
            z-index: 1;
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            color: rgba(255, 255, 255, .78);
            font-size: 14px;
            margin-top: 22px;
        }

        .article-meta span {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255, 255, 255, .1);
            border: 1px solid rgba(255, 255, 255, .15);
            padding: 5px 16px;
            border-radius: 999px;
            backdrop-filter: blur(6px);
        }

        .article-body {
            padding: 56px 0 72px;
        }

        .article-layout {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 340px;
            gap: 48px;
            align-items: start;
        }

        .article-main {
            min-width: 0;
        }

        .article-content {
            background: #fff;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow);
            padding: 44px 48px;
            overflow: hidden;
        }

        .article-content p {
            margin-bottom: 1.35rem;
            line-height: 1.85;
            color: var(--text);
            font-size: 16px;
        }

        .article-content h2 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--dark);
            margin: 2.2rem 0 1rem;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--border);
            position: relative;
        }

        .article-content h2::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 56px;
            height: 2px;
            background: var(--primary);
            border-radius: 2px;
        }

        .article-content h3 {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--dark);
            margin: 1.8rem 0 .75rem;
        }

        .article-content h4 {
            font-size: 1.08rem;
            font-weight: 700;
            color: var(--dark);
            margin: 1.4rem 0 .6rem;
        }

        .article-content ul,
        .article-content ol {
            margin: 0 0 1.35rem;
            padding-left: 1.5rem;
        }

        .article-content ul {
            list-style: disc;
        }

        .article-content ol {
            list-style: decimal;
        }

        .article-content li {
            margin-bottom: .5rem;
            line-height: 1.8;
        }

        .article-content img {
            border-radius: 12px;
            box-shadow: var(--shadow);
            margin: 1.6rem 0;
        }

        .article-content blockquote {
            border-left: 4px solid var(--primary);
            background: rgba(79, 70, 229, .04);
            padding: 16px 24px;
            border-radius: 0 12px 12px 0;
            margin: 1.5rem 0;
            color: var(--text-light);
            font-style: italic;
        }

        .article-content a {
            color: var(--primary);
            text-decoration: underline;
            text-underline-offset: 3px;
            text-decoration-thickness: 1px;
        }

        .article-content a:hover {
            color: var(--primary-dark);
        }

        .article-content table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
        }

        .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(--bg);
            font-weight: 600;
        }

        .article-content code {
            background: var(--bg);
            padding: 2px 8px;
            border-radius: 4px;
            font-size: .9em;
        }

        .article-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 32px;
            padding-top: 24px;
            border-top: 1px solid var(--border);
        }

        .article-tags .tag {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 16px;
            border-radius: 999px;
            background: var(--bg);
            border: 1px solid var(--border);
            font-size: 13px;
            font-weight: 600;
            color: var(--text-light);
            transition: all var(--transition);
        }

        .article-tags .tag:hover {
            background: rgba(79, 70, 229, .08);
            border-color: var(--primary);
            color: var(--primary);
        }

        .not-found {
            text-align: center;
            padding: 80px 40px;
            background: #fff;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow);
        }

        .not-found .nf-icon {
            width: 72px;
            height: 72px;
            border-radius: 50%;
            background: rgba(79, 70, 229, .1);
            color: var(--primary);
            font-size: 30px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
        }

        .not-found h2 {
            font-size: 24px;
            font-weight: 800;
            color: var(--dark);
            margin-bottom: 10px;
        }

        .not-found p {
            color: var(--text-light);
            margin-bottom: 28px;
        }

        .article-sidebar {
            display: grid;
            gap: 24px;
            position: sticky;
            top: 120px;
        }

        .side-widget {
            background: #fff;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow);
            padding: 28px;
        }

        .side-widget:has(img) {
            padding: 0;
            overflow: hidden;
        }

        .side-title {
            font-size: 18px;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 18px;
            padding-bottom: 12px;
            border-bottom: 2px solid var(--border);
            position: relative;
        }

        .side-title::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 42px;
            height: 2px;
            background: var(--primary);
        }

        .side-list {
            display: grid;
            gap: 2px;
        }

        .side-list li {
            border-radius: var(--radius-sm);
            transition: all var(--transition);
        }

        .side-list li:hover {
            background: rgba(79, 70, 229, .05);
        }

        .side-list a {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 12px;
            font-size: 14px;
            font-weight: 500;
            color: var(--text);
            border-radius: var(--radius-sm);
            transition: color .3s;
        }

        .side-list a:hover {
            color: var(--primary);
        }

        .side-list i {
            color: var(--primary);
            font-size: 14px;
            width: 20px;
            text-align: center;
        }

        .side-news {
            display: grid;
            gap: 14px;
        }

        .side-news a {
            font-size: 14px;
            line-height: 1.6;
            color: var(--text);
            transition: color .3s;
            display: flex;
            gap: 8px;
            align-items: flex-start;
        }

        .side-news a::before {
            content: '›';
            color: var(--primary);
            font-weight: 700;
            flex-shrink: 0;
        }

        .side-news a:hover {
            color: var(--primary);
        }

        .side-cta .side-cta-img {
            width: 100%;
            height: 160px;
            object-fit: cover;
        }

        .side-cta .side-cta-body {
            padding: 24px;
            text-align: center;
        }

        .side-cta h3 {
            font-size: 18px;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 8px;
        }

        .side-cta p {
            font-size: 13px;
            color: var(--text-light);
            margin-bottom: 16px;
        }

        .related-section {
            padding: 72px 0 88px;
            background: #fff;
            border-top: 1px solid var(--border);
        }

        .section-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 36px;
            gap: 16px;
        }

        .section-head h2 {
            font-size: 28px;
            font-weight: 800;
            color: var(--dark);
            position: relative;
        }

        .section-head h2::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 48px;
            height: 3px;
            border-radius: 3px;
            background: var(--secondary);
        }

        .section-link {
            font-size: 14px;
            font-weight: 600;
            color: var(--primary);
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: all .3s;
        }

        .section-link:hover {
            gap: 10px;
            color: var(--primary-dark);
        }

        .related-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 32px;
        }

        .related-card {
            background: var(--bg);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: all var(--transition);
            display: block;
        }

        .related-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
        }

        .related-img {
            height: 190px;
            overflow: hidden;
        }

        .related-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform .5s ease;
        }

        .related-card:hover .related-img img {
            transform: scale(1.06);
        }

        .related-info {
            padding: 24px;
        }

        .badge {
            display: inline-block;
            padding: 4px 12px;
            border-radius: 999px;
            background: rgba(79, 70, 229, .12);
            color: var(--primary);
            font-size: 12px;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .related-info h3 {
            font-size: 17px;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 6px;
            line-height: 1.4;
        }

        .related-info p {
            font-size: 13px;
            color: var(--text-light);
            line-height: 1.6;
        }

        .cta-section {
            padding: 76px 0;
            background: linear-gradient(135deg, var(--dark-soft), #312e81);
            position: relative;
            overflow: hidden;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            width: 300px;
            height: 300px;
            background: rgba(79, 70, 229, .35);
            border-radius: 50%;
            top: -150px;
            left: -80px;
            filter: blur(80px);
        }

        .cta-section::after {
            content: '';
            position: absolute;
            width: 400px;
            height: 400px;
            background: rgba(245, 158, 11, .15);
            border-radius: 50%;
            bottom: -200px;
            right: -100px;
            filter: blur(90px);
        }

        .cta-box {
            position: relative;
            z-index: 1;
            text-align: center;
            max-width: 680px;
            margin: 0 auto;
        }

        .cta-box h2 {
            font-size: 32px;
            font-weight: 800;
            color: #fff;
            margin-bottom: 16px;
        }

        .cta-box p {
            color: rgba(255, 255, 255, .75);
            font-size: 16px;
            margin-bottom: 32px;
        }

        .cta-buttons {
            display: flex;
            gap: 16px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .site-footer {
            background: var(--dark);
            color: rgba(255, 255, 255, .85);
            padding-top: 64px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 48px;
            padding-bottom: 40px;
            border-bottom: 1px solid rgba(255, 255, 255, .08);
        }

        .footer-brand {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 20px;
            font-weight: 800;
            color: #fff;
            margin-bottom: 16px;
        }

        .footer-brand .logo-icon {
            background: linear-gradient(135deg, var(--secondary), #ef4444);
            box-shadow: 0 4px 12px rgba(245, 158, 11, .3);
        }

        .footer-desc {
            font-size: 14px;
            line-height: 1.8;
            color: rgba(255, 255, 255, .6);
            max-width: 380px;
        }

        .footer-col h4 {
            color: #fff;
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 18px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-col h4::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 32px;
            height: 2px;
            background: var(--secondary);
        }

        .footer-col ul {
            display: grid;
            gap: 12px;
        }

        .footer-col a {
            font-size: 14px;
            color: rgba(255, 255, 255, .65);
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: color .3s;
        }

        .footer-col a:hover {
            color: var(--secondary);
        }

        .footer-bottom {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            padding: 24px 0;
            flex-wrap: wrap;
        }

        .footer-bottom span {
            font-size: 13px;
            color: rgba(255, 255, 255, .5);
        }

        .footer-tags {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }

        .footer-tags a {
            font-size: 12px;
            color: rgba(255, 255, 255, .5);
            border: 1px solid rgba(255, 255, 255, .15);
            padding: 4px 12px;
            border-radius: 999px;
            transition: all .3s;
        }

        .footer-tags a:hover {
            color: var(--secondary);
            border-color: var(--secondary);
        }

        @media (max-width: 1200px) {
            .article-layout {
                grid-template-columns: minmax(0, 1fr) 300px;
                gap: 32px;
            }
        }

        @media (max-width: 1024px) {
            .article-layout {
                grid-template-columns: 1fr;
            }
            .article-sidebar {
                position: static;
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }
            .side-widget:last-child {
                grid-column: span 2;
            }
            .related-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .container-x {
                padding: 0 16px;
            }
            .header-top {
                flex-wrap: wrap;
                gap: 12px;
                padding: 12px 0;
            }
            .header-search {
                order: 3;
                flex-basis: 100%;
                max-width: none;
            }
            .header-action {
                display: none;
            }
            .nav-toggle {
                display: inline-flex;
                margin-left: auto;
            }
            .main-nav {
                overflow-x: auto;
                scrollbar-width: none;
                padding-bottom: 10px;
                gap: 2px;
            }
            .main-nav::-webkit-scrollbar {
                display: none;
            }
            .main-nav a {
                flex-shrink: 0;
                padding: 8px 16px;
                font-size: 13px;
            }
            .article-hero {
                padding: 48px 0 40px;
            }
            .article-hero h1 {
                font-size: 24px;
            }
            .article-hero {
                background-position: center;
            }
            .article-meta {
                gap: 10px;
            }
            .article-meta span {
                font-size: 13px;
                padding: 4px 12px;
            }
            .article-body {
                padding: 40px 0 56px;
            }
            .article-content {
                padding: 24px 20px;
                border-radius: var(--radius);
            }
            .article-content h2 {
                font-size: 1.25rem;
            }
            .article-content h3 {
                font-size: 1.1rem;
            }
            .article-content p {
                font-size: 15px;
            }
            .article-sidebar {
                grid-template-columns: 1fr;
            }
            .side-widget:last-child {
                grid-column: span 1;
            }
            .related-section {
                padding: 48px 0 64px;
            }
            .section-head h2 {
                font-size: 22px;
            }
            .related-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            .related-img {
                height: 160px;
            }
            .cta-section {
                padding: 48px 0;
            }
            .cta-box h2 {
                font-size: 24px;
            }
            .cta-box p {
                font-size: 14px;
            }
            .cta-buttons .btn {
                padding: 10px 22px;
                font-size: 14px;
            }
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 32px;
            }
            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
            .footer-tags {
                justify-content: center;
            }
        }

        @media (max-width: 520px) {
            .header-logo {
                font-size: 17px;
            }
            .logo-icon {
                width: 36px;
                height: 36px;
                font-size: 15px;
            }
            .header-logo {
                max-width: 240px;
            }
            .article-hero h1 {
                font-size: 21px;
            }
            .article-meta {
                gap: 8px;
            }
            .article-meta span {
                padding: 3px 10px;
                font-size: 12px;
            }
            .article-content {
                padding: 20px 16px;
            }
            .side-widget {
                padding: 20px;
            }
            .side-cta .side-cta-body {
                padding: 18px;
            }
        }

/* roulang page: category1 */
:root {
    --brand: #4f46e5;
    --brand-600: #4f46e5;
    --brand-700: #4338ca;
    --brand-800: #3730a3;
    --accent: #f59e0b;
    --accent-500: #f59e0b;
    --accent-600: #d97706;
    --bg-body: #f4f6fb;
    --bg-alt: #eef1f8;
    --bg-dark: #0e1428;
    --text-main: #1e293b;
    --text-muted: #5b6b82;
    --border: #e2e8f0;
    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 6px 24px rgba(15, 23, 42, .07);
    --shadow-hover: 0 16px 40px rgba(15, 23, 42, .12);
    --transition: .25s ease;
    --font-sans: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { font-family: var(--font-sans); background: var(--bg-body); color: var(--text-main); line-height: 1.75; -webkit-font-smoothing: antialiased; }
  img { max-width: 100%; height: auto; display: block; }
  a { color: inherit; text-decoration: none; transition: color var(--transition); }
  ul, ol { list-style: none; }
  button, input, select, textarea { font-family: inherit; font-size: inherit; }

  .container-x { width: min(1200px, 92%); margin-inline: auto; }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(15, 23, 42, .05);
  }
  .header-top { display: flex; align-items: center; gap: 24px; padding: 14px 0; }
  .logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.18rem; color: var(--brand-800); white-space: nowrap; flex-shrink: 0; }
  .logo-icon {
    display: grid; place-items: center; width: 40px; height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand-600), var(--brand-800));
    color: #fff; font-size: 1.1rem;
    box-shadow: 0 8px 18px rgba(79, 70, 229, .3);
  }
  .header-search {
    flex: 1; max-width: 560px; margin-inline: auto;
    display: flex; align-items: center;
    background: #f1f4f9;
    border: 1px solid transparent;
    border-radius: 999px;
    min-height: 42px;
    padding: 0 8px 0 18px;
    transition: border-color var(--transition), box-shadow var(--transition);
  }
  .header-search:focus-within { border-color: var(--brand-500); background: #fff; box-shadow: 0 0 0 4px rgba(79, 70, 229, .12); }
  .header-search i { color: #94a3b8; margin-right: 10px; font-size: .9rem; }
  .header-search input { flex: 1; border: none; background: transparent; outline: none; color: var(--text-main); font-size: .92rem; min-width: 0; }
  .header-search input::placeholder { color: #9aa8bd; }
  .search-submit { border: none; background: var(--brand-600); color: #fff; border-radius: 999px; padding: 7px 18px; font-size: .83rem; font-weight: 600; cursor: pointer; transition: background var(--transition), transform var(--transition); }
  .search-submit:hover { background: var(--brand-700); transform: scale(1.03); }
  .header-action {
    display: inline-flex; align-items: center; gap: 6px;
    background: linear-gradient(135deg, var(--accent-500), var(--accent-600));
    color: #fff; font-weight: 700; font-size: .83rem;
    padding: 9px 18px; border-radius: 999px;
    box-shadow: 0 8px 18px rgba(245, 158, 11, .35);
    transition: transform var(--transition), box-shadow var(--transition);
    white-space: nowrap; flex-shrink: 0;
  }
  .header-action:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(245, 158, 11, .4); }
  .header-bottom { border-top: 1px solid #eef1f6; }
  .main-nav { display: flex; justify-content: center; gap: 4px; padding: 0; }
  .main-nav a {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 11px 18px; font-size: .92rem; color: var(--text-muted);
    font-weight: 500; border-radius: 8px; position: relative;
    transition: color var(--transition), background var(--transition);
  }
  .main-nav a:hover { color: var(--brand-700); background: rgba(79, 70, 229, .06); }
  .main-nav a.active { color: var(--brand-700); font-weight: 700; }
  .main-nav a.active::after { content: ''; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--brand-600); }
  .hamburger { display: none; border: none; background: transparent; font-size: 1.2rem; color: var(--text-main); cursor: pointer; padding: 8px 10px; border-radius: 8px; }
  .hamburger:hover { background: #f1f5f9; }

  .page-hero {
    position: relative;
    padding: 90px 0 70px;
    background-size: cover;
    background-position: center;
    color: #fff;
    isolation: isolate;
  }
  .page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(14, 20, 40, .92) 20%, rgba(30, 27, 75, .72) 55%, rgba(79, 70, 229, .35) 100%); z-index: -1; }
  .breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: rgba(255, 255, 255, .7); margin-bottom: 18px; }
  .breadcrumb a:hover { color: #fcd34d; }
  .breadcrumb i { font-size: .7rem; color: rgba(255, 255, 255, .5); }
  .page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.2; letter-spacing: .5px; margin-bottom: 16px; }
  .page-hero p { max-width: 620px; color: rgba(255, 255, 255, .85); font-size: 1.02rem; margin-bottom: 26px; }
  .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: none; cursor: pointer; padding: 12px 24px;
    border-radius: 12px; font-weight: 700; font-size: .92rem;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  }
  .btn:focus-visible, .main-nav a:focus-visible, a:focus-visible { outline: 3px solid rgba(79, 70, 229, .4); outline-offset: 2px; }
  .btn-primary { background: linear-gradient(135deg, var(--brand-600), var(--brand-700)); color: #fff; box-shadow: 0 10px 24px rgba(79, 70, 229, .28); }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(79, 70, 229, .35); }
  .btn-outline { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(4px); }
  .btn-outline:hover { background: rgba(255, 255, 255, .15); transform: translateY(-2px); }
  .btn-accent { background: linear-gradient(135deg, var(--accent-500), var(--accent-600)); color: #fff; box-shadow: 0 10px 24px rgba(245, 158, 11, .3); }
  .btn-accent:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(245, 158, 11, .38); }

  .section { padding: 72px 0; }
  .section-alt { background: var(--bg-alt); }
  .section-head { text-align: center; max-width: 680px; margin: 0 auto 46px; }
  .section-tag {
    display: inline-block; background: rgba(79, 70, 229, .1); color: var(--brand-700);
    font-weight: 700; font-size: .78rem; padding: 6px 14px; border-radius: 999px;
    letter-spacing: 1px; margin-bottom: 12px;
  }
  .section-head h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; line-height: 1.3; margin-bottom: 12px; color: var(--text-main); }
  .section-head p { color: var(--text-muted); font-size: .98rem; }

  .stats-section { position: relative; z-index: 2; margin-top: -36px; padding: 0 0 40px; }
  .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; background: #fff; border-radius: var(--radius-lg); padding: 28px 30px; box-shadow: var(--shadow); border: 1px solid var(--border); }
  .stat-item { text-align: center; padding: 10px 6px; }
  .stat-item + .stat-item { border-left: 1px dashed var(--border); }
  .stat-num { display: block; font-size: 2rem; font-weight: 800; color: var(--brand-700); line-height: 1.2; letter-spacing: .5px; }
  .stat-label { font-size: .86rem; color: var(--text-muted); }

  .rank-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 26px; }
  .rank-card { position: relative; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); }
  .rank-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
  .rank-cover { height: 190px; overflow: hidden; position: relative; display: grid; place-items: center; }
  .rank-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
  .rank-card:hover .rank-cover img { transform: scale(1.05); }
  .rank-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 23, 42, .1), rgba(15, 23, 42, .5)); z-index: 1; }
  .rank-hero-icon { position: relative; z-index: 2; width: 76px; height: 76px; border-radius: 24px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); display: grid; place-items: center; font-size: 1.7rem; color: #fff; border: 1px solid rgba(255, 255, 255, .25); box-shadow: 0 12px 30px rgba(15, 23, 42, .25); }
  .rank-badge { position: absolute; top: 14px; left: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 5px; background: linear-gradient(135deg, var(--accent-500), var(--accent-600)); color: #fff; font-size: .8rem; font-weight: 800; padding: 6px 12px; border-radius: 999px; box-shadow: 0 6px 14px rgba(245, 158, 11, .4); }
  .rank-badge.gold { background: linear-gradient(135deg, #fbbf24, #d97706); }
  .rank-badge.silver { background: linear-gradient(135deg, #94a3b8, #64748b); }
  .rank-badge.bronze { background: linear-gradient(135deg, #d97706, #92400e); }
  .rank-card-body { padding: 20px; }
  .rank-card-body h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
  .rank-card-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
  .tag { display: inline-block; background: #eef2ff; color: var(--brand-700); font-size: .76rem; font-weight: 600; padding: 4px 10px; border-radius: 6px; }
  .tag-accent { background: #fff7ed; color: var(--accent-600); }
  .tag-green { background: #ecfdf5; color: #059669; }
  .rank-score { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #f1f5f9; padding-top: 14px; }
  .score-num { font-size: 1.4rem; font-weight: 800; color: var(--accent-600); }
  .score-label { font-size: .82rem; color: var(--text-muted); }
  .rank-list { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden; }
  .rank-row { display: flex; align-items: center; gap: 16px; padding: 16px 22px; transition: background var(--transition); border-bottom: 1px solid #f1f5f9; }
  .rank-row:last-child { border-bottom: none; }
  .rank-row:hover { background: #f8fafc; }
  .rank-num { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #f1f5f9; font-weight: 800; color: var(--text-muted); font-size: .92rem; flex-shrink: 0; }
  .rank-num.top { background: #fff7ed; color: var(--accent-600); }
  .rank-row-info { flex: 1; min-width: 0; }
  .rank-row-info h4 { font-size: .98rem; font-weight: 700; }
  .rank-row-info span { font-size: .8rem; color: var(--text-muted); }
  .rank-row-score { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent-600); }
  .rank-row-score .fa-star { color: #fbbf24; }

  .category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .category-card { position: relative; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); display: block; }
  .category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
  .category-card img { width: 100%; height: 170px; object-fit: cover; transition: transform .5s ease; }
  .category-card:hover img { transform: scale(1.05); }
  .category-body { padding: 20px; position: relative; }
  .category-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
  .category-body p { font-size: .88rem; color: var(--text-muted); margin-bottom: 12px; }
  .category-count { display: inline-block; background: #eef2ff; color: var(--brand-700); font-size: .78rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; }

  .match-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .match-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow); padding: 24px 20px; text-align: center; transition: transform var(--transition), box-shadow var(--transition); position: relative; overflow: hidden; }
  .match-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--brand-600), var(--accent-500), var(--brand-600)); }
  .match-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
  .match-time { font-size: .82rem; color: var(--brand-700); background: #eef2ff; display: inline-block; padding: 4px 14px; border-radius: 999px; font-weight: 700; margin-bottom: 18px; }
  .match-teams { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 16px; }
  .team { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; }
  .team-icon { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-600), var(--brand-800)); color: #fff; display: grid; place-items: center; font-size: 1.1rem; box-shadow: 0 8px 16px rgba(79, 70, 229, .25); }
  .team + .team .team-icon { background: linear-gradient(135deg, var(--accent-500), var(--accent-600)); }
  .vs { font-weight: 800; font-size: 1rem; color: var(--text-muted); background: #f1f5f9; border-radius: 999px; padding: 8px 12px; flex-shrink: 0; }
  .match-meta { font-size: .85rem; color: var(--text-muted); border-top: 1px dashed var(--border); padding-top: 14px; }
  .match-prize { color: var(--accent-600); font-weight: 700; }

  .game-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .game-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
  .game-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
  .game-card-cover { height: 190px; overflow: hidden; position: relative; }
  .game-card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
  .game-card:hover .game-card-cover img { transform: scale(1.05); }
  .game-card-new { position: absolute; top: 14px; right: 14px; background: rgba(14, 20, 40, .75); color: #fff; font-size: .75rem; padding: 5px 12px; border-radius: 999px; backdrop-filter: blur(4px); }
  .game-card-body { padding: 20px; }
  .game-card-body h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 6px; }
  .game-card-body p { font-size: .86rem; color: var(--text-muted); margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .game-card-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #f1f5f9; padding-top: 14px; }
  .rating { color: #f59e0b; font-weight: 700; font-size: .92rem; }
  .rating i { margin-right: 4px; }
  .players { font-size: .8rem; color: var(--text-muted); }

  .testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .testimonial-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 28px 24px; box-shadow: var(--shadow); }
  .testimonial-card .stars { color: #fbbf24; margin-bottom: 14px; font-size: .9rem; }
  .testimonial-card blockquote { font-size: .92rem; color: var(--text-main); line-height: 1.75; margin-bottom: 16px; }
  .testimonial-author { display: flex; align-items: center; gap: 12px; }
  .testimonial-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .9rem; }
  .t-avatar-1 { background: linear-gradient(135deg, var(--brand-600), var(--brand-800)); }
  .t-avatar-2 { background: linear-gradient(135deg, var(--accent-500), var(--accent-600)); }
  .t-avatar-3 { background: linear-gradient(135deg, #10b981, #047857); }
  .testimonial-author span { font-size: .85rem; font-weight: 600; }
  .testimonial-author small { font-size: .76rem; color: var(--text-muted); }

  .faq-wrap { max-width: 820px; margin-inline: auto; }
  .faq-list { display: flex; flex-direction: column; gap: 12px; }
  .faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: box-shadow var(--transition); }
  .faq-item:hover { box-shadow: var(--shadow-hover); }
  .faq-item summary { display: flex; align-items: center; gap: 14px; cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: .98rem; list-style: none; transition: background 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; margin-left: auto; color: var(--brand-600); transition: transform var(--transition); font-size: .8rem; }
  .faq-item[open] summary::after { transform: rotate(180deg); }
  .faq-item[open] summary { background: #f8fafc; color: var(--brand-700); }
  .faq-item .faq-answer { padding: 0 22px 20px; font-size: .92rem; color: var(--text-muted); line-height: 1.8; }

  .cta-section { background-size: cover; background-position: center; position: relative; isolation: isolate; padding: 80px 0; text-align: center; color: #fff; }
  .cta-section::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 20, 40, .85), rgba(30, 27, 75, .88)); z-index: -1; }
  .cta-section h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: 14px; }
  .cta-section p { max-width: 560px; margin: 0 auto 28px; color: rgba(255, 255, 255, .8); }
  .cta-section .btn-lg { padding: 16px 34px; font-size: 1rem; }

  .site-footer { background: #101828; color: #94a3b8; padding: 60px 0 0; }
  .footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 36px; }
  .footer-brand { font-size: 1.15rem; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
  .footer-brand .logo-icon { width: 36px; height: 36px; font-size: .95rem; border-radius: 10px; }
  .footer-desc { font-size: .88rem; line-height: 1.8; }
  .footer-col h4 { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: 16px; }
  .footer-col ul li { margin-bottom: 10px; }
  .footer-col ul a { font-size: .88rem; color: #94a3b8; display: inline-block; transition: color var(--transition), transform var(--transition); }
  .footer-col ul a:hover { color: #fbbf24; transform: translateX(3px); }
  .footer-col ul a i { font-size: .7rem; margin-right: 8px; color: #818cf8; }
  .footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem; }
  .footer-tags { display: flex; gap: 10px; flex-wrap: wrap; }
  .footer-tags a { color: #cbd5e1; background: rgba(255, 255, 255, .06); padding: 5px 12px; border-radius: 999px; font-size: .78rem; transition: background var(--transition), color var(--transition); }
  .footer-tags a:hover { background: rgba(255, 255, 255, .14); color: #fff; }

  @media (max-width: 1024px) {
    .header-top { flex-wrap: wrap; }
    .header-search { order: 3; flex-basis: 100%; max-width: 100%; }
    .header-action { margin-left: auto; }
    .rank-grid, .category-grid, .match-grid, .game-card-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 768px) {
    .section { padding: 56px 0; }
    .page-hero { padding: 70px 0 56px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); padding: 20px; }
    .stat-item + .stat-item { border-left: none; }
    .stat-item:nth-child(odd) { border-right: 1px dashed var(--border); }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .hamburger { display: block; }
    .nav-wrap { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
    .nav-wrap.open { display: block; }
    .main-nav { flex-direction: column; padding: 12px 16px; }
    .main-nav a { padding: 14px 16px; border-radius: 10px; }
    .main-nav a.active { background: #eef2ff; }
    .main-nav a.active::after { display: none; }
  }
  @media (max-width: 520px) {
    .rank-grid, .category-grid, .match-grid, .game-card-grid, .testimonial-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .btn { text-align: center; }
    .page-hero h1 { font-size: 2rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .rank-row { flex-wrap: wrap; gap: 10px; }
  }

/* roulang page: category3 */
:root {
            --primary: #7c3aed;
            --primary-deep: #5b21b6;
            --accent: #f59e0b;
            --dark: #14142b;
            --light-bg: #f6f5fb;
            --text: #1e1b2e;
            --muted: #6b7280;
            --border: #e5e7eb;
            --radius: 18px;
            --radius-sm: 12px;
            --shadow: 0 20px 45px rgba(20, 20, 43, 0.08);
            --shadow-lg: 0 30px 60px rgba(20, 20, 43, 0.12);
            --nav-h: 76px;
        }
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", system-ui, sans-serif;
            background: #fff;
            color: var(--text);
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
        }
        a {
            text-decoration: none;
            color: inherit;
            transition: all .25s ease;
        }
        img {
            max-width: 100%;
            display: block;
        }
        button,
        input {
            font-family: inherit;
            outline: none;
        }
        .container-x {
            max-width: 1240px;
            margin: 0 auto;
            padding: 0 24px;
        }
        .site-header {
            position: sticky;
            top: 0;
            z-index: 50;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(14px);
            border-bottom: 1px solid rgba(229, 231, 235, 0.6);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
        }
        .header-row {
            display: flex;
            align-items: center;
            gap: 20px;
            min-height: var(--nav-h);
            flex-wrap: wrap;
        }
        .brand-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.35rem;
            font-weight: 800;
            letter-spacing: -0.5px;
            color: var(--dark);
            white-space: nowrap;
        }
        .brand-logo .logo-icon {
            width: 40px;
            height: 40px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: #fff;
            font-size: 1.1rem;
            box-shadow: 0 8px 20px rgba(124, 58, 237, .25);
        }
        .main-nav {
            display: flex;
            align-items: center;
            gap: 4px;
            flex: 1;
            overflow-x: auto;
            scrollbar-width: none;
            padding: 10px 0;
        }
        .main-nav::-webkit-scrollbar {
            display: none;
        }
        .main-nav a {
            display: inline-flex;
            align-items: center;
            padding: 9px 18px;
            border-radius: 999px;
            font-size: 0.95rem;
            font-weight: 600;
            color: #4b5563;
            white-space: nowrap;
            transition: all .25s ease;
        }
        .main-nav a:hover {
            color: var(--primary);
            background: rgba(124, 58, 237, .08);
        }
        .main-nav a.active {
            color: #fff;
            background: linear-gradient(135deg, var(--primary), var(--primary-deep));
            box-shadow: 0 8px 20px rgba(124, 58, 237, .3);
        }
        .header-search {
            display: flex;
            align-items: center;
            background: var(--light-bg);
            border: 1px solid var(--border);
            border-radius: 999px;
            padding: 6px 6px 6px 18px;
            width: 280px;
            transition: box-shadow .3s, border-color .3s;
        }
        .header-search:focus-within {
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(124, 58, 237, .12);
        }
        .header-search input {
            flex: 1;
            border: none;
            background: transparent;
            font-size: .9rem;
            color: var(--text);
            min-width: 0;
        }
        .header-search input::placeholder {
            color: #9ca3af;
        }
        .header-search button {
            width: 36px;
            height: 36px;
            border: none;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--primary-deep));
            color: #fff;
            font-size: .85rem;
            cursor: pointer;
            transition: transform .25s, box-shadow .25s;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .header-search button:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 14px rgba(124, 58, 237, .4);
        }
        .nav-toggle {
            display: none;
            width: 42px;
            height: 42px;
            border: 1px solid var(--border);
            border-radius: 12px;
            background: #fff;
            color: var(--dark);
            font-size: 1.1rem;
            cursor: pointer;
            align-items: center;
            justify-content: center;
            transition: all .25s;
        }
        .nav-toggle:hover {
            background: var(--light-bg);
            border-color: var(--primary);
        }
        /* Hero */
        .hero {
            background:
                linear-gradient(135deg, rgba(20, 20, 43, .86), rgba(91, 33, 182, .78)),
                url('/assets/images/backpic/back-1.png') center/cover no-repeat;
            color: #fff;
            padding: 96px 0 84px;
            position: relative;
            overflow: hidden;
        }
        .hero::after {
            content: '';
            position: absolute;
            right: -20%;
            top: -30%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(245, 158, 11, .25), transparent 60%);
            border-radius: 50%;
            pointer-events: none;
        }
        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255, 255, 255, .14);
            border: 1px solid rgba(255, 255, 255, .25);
            padding: 6px 18px;
            border-radius: 999px;
            font-size: .82rem;
            letter-spacing: .5px;
            backdrop-filter: blur(8px);
        }
        .hero h1 {
            font-size: clamp(2.2rem, 5vw, 3.5rem);
            font-weight: 900;
            line-height: 1.15;
            letter-spacing: -1px;
            margin: 22px 0 18px;
        }
        .hero h1 span {
            color: var(--accent);
        }
        .hero-desc {
            font-size: 1.1rem;
            line-height: 1.8;
            max-width: 560px;
            color: rgba(255, 255, 255, .85);
            margin-bottom: 32px;
        }
        .hero-actions {
            display: flex;
            gap: 14px;
            flex-wrap: wrap;
        }
        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 13px 30px;
            border-radius: 999px;
            font-weight: 700;
            font-size: .95rem;
            border: none;
            cursor: pointer;
            background: linear-gradient(135deg, var(--accent), #f97316);
            color: #14142b;
            box-shadow: 0 12px 30px rgba(245, 158, 11, .35);
            transition: transform .25s, box-shadow .25s;
        }
        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 16px 36px rgba(245, 158, 11, .45);
        }
        .btn-outline {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 13px 28px;
            border-radius: 999px;
            font-weight: 600;
            font-size: .95rem;
            border: 1px solid rgba(255, 255, 255, .4);
            background: transparent;
            color: #fff;
            cursor: pointer;
            transition: all .25s;
        }
        .btn-outline:hover {
            background: rgba(255, 255, 255, .12);
            border-color: #fff;
        }
        .hero-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-top: 48px;
            max-width: 560px;
        }
        .hero-stat {
            background: rgba(255, 255, 255, .1);
            border: 1px solid rgba(255, 255, 255, .15);
            border-radius: var(--radius);
            padding: 20px 18px;
            backdrop-filter: blur(10px);
            text-align: center;
            transition: background .3s;
        }
        .hero-stat:hover {
            background: rgba(255, 255, 255, .18);
        }
        .hero-stat .num {
            font-size: 1.7rem;
            font-weight: 900;
            color: var(--accent);
        }
        .hero-stat .label {
            font-size: .82rem;
            color: rgba(255, 255, 255, .75);
            margin-top: 4px;
        }
        .hero-stats-mobile {
            display: none;
        }
        /* Section */
        .section {
            padding: 84px 0;
        }
        .section-alt {
            background: var(--light-bg);
        }
        .section-title {
            font-size: 2.1rem;
            font-weight: 800;
            letter-spacing: -0.5px;
            text-align: center;
            margin-bottom: 12px;
        }
        .section-sub {
            text-align: center;
            color: var(--muted);
            max-width: 640px;
            margin: 0 auto 46px;
            font-size: 1rem;
        }
        .section-head {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 20px;
            margin-bottom: 32px;
            flex-wrap: wrap;
        }
        .section-title-left {
            text-align: left;
            margin-bottom: 0;
            font-size: 1.9rem;
        }
        /* Category Cards */
        .category-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
        }
        .category-card {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 30px 24px;
            position: relative;
            overflow: hidden;
            transition: transform .3s, box-shadow .3s, border-color .3s;
        }
        .category-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            border-radius: 0 0 8px 8px;
            opacity: 0;
            transition: opacity .3s;
        }
        .category-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-lg);
            border-color: rgba(124, 58, 237, .3);
        }
        .category-card:hover::before {
            opacity: 1;
        }
        .category-card .icon-wrap {
            width: 54px;
            height: 54px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.35rem;
            margin-bottom: 18px;
            color: #fff;
        }
        .cat-icon-purple {
            background: linear-gradient(135deg, #8b5cf6, #6d28d9);
        }
        .cat-icon-orange {
            background: linear-gradient(135deg, #f59e0b, #ea580c);
        }
        .cat-icon-cyan {
            background: linear-gradient(135deg, #06b6d4, #0e7490);
        }
        .cat-icon-green {
            background: linear-gradient(135deg, #10b981, #047857);
        }
        .category-card h3 {
            font-size: 1.15rem;
            font-weight: 700;
            margin-bottom: 8px;
        }
        .category-card p {
            font-size: .9rem;
            color: var(--muted);
            margin-bottom: 16px;
        }
        .category-card .tag-list {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }
        .tag {
            display: inline-flex;
            align-items: center;
            padding: 4px 12px;
            border-radius: 999px;
            background: var(--light-bg);
            color: #4b5563;
            font-size: .78rem;
            font-weight: 600;
            border: 1px solid var(--border);
        }
        /* Hot events */
        .hot-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
        }
        .hot-card {
            background: #fff;
            border-radius: var(--radius);
            overflow: hidden;
            border: 1px solid var(--border);
            transition: all .3s;
        }
        .hot-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-lg);
        }
        .hot-cover {
            height: 180px;
            overflow: hidden;
            position: relative;
        }
        .hot-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform .4s;
        }
        .hot-card:hover .hot-cover img {
            transform: scale(1.05);
        }
        .hot-badge {
            position: absolute;
            top: 14px;
            left: 14px;
            background: rgba(20, 20, 43, .75);
            backdrop-filter: blur(6px);
            color: #fff;
            padding: 5px 14px;
            border-radius: 999px;
            font-size: .75rem;
            font-weight: 600;
            border: 1px solid rgba(255, 255, 255, .25);
        }
        .hot-body {
            padding: 22px;
        }
        .hot-body h3 {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 8px;
        }
        .hot-body .meta {
            display: flex;
            align-items: center;
            gap: 14px;
            color: var(--muted);
            font-size: .82rem;
            margin-bottom: 12px;
        }
        .hot-body .meta i {
            color: var(--primary);
        }
        .hot-body .meta span {
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }
        .hot-body p {
            color: var(--muted);
            font-size: .9rem;
            margin-bottom: 18px;
        }
        .hot-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: auto;
        }
        .hot-link {
            color: var(--primary);
            font-weight: 700;
            font-size: .9rem;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: gap .2s;
        }
        .hot-link:hover {
            gap: 10px;
            color: var(--primary-deep);
        }
        /* Ranking */
        .rank-wrap {
            display: grid;
            grid-template-columns: 1.2fr 0.8fr;
            gap: 40px;
            align-items: start;
        }
        .rank-panel {
            background: linear-gradient(145deg, #1a1a2e, #201335);
            border-radius: var(--radius);
            padding: 32px;
            color: #fff;
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-lg);
        }
        .rank-panel::before {
            content: '';
            position: absolute;
            right: -40px;
            bottom: -40px;
            width: 180px;
            height: 180px;
            background: radial-gradient(circle, rgba(245, 158, 11, .3), transparent 70%);
            border-radius: 50%;
        }
        .rank-title {
            font-size: 1.3rem;
            font-weight: 800;
            margin-bottom: 24px;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .rank-title i {
            color: var(--accent);
        }
        .rank-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .rank-item {
            display: flex;
            align-items: center;
            gap: 14px;
            background: rgba(255, 255, 255, .06);
            border: 1px solid rgba(255, 255, 255, .08);
            border-radius: 14px;
            padding: 12px 16px;
            transition: background .3s, transform .3s;
        }
        .rank-item:hover {
            background: rgba(255, 255, 255, .12);
            transform: translateX(4px);
        }
        .rank-num {
            width: 34px;
            height: 34px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: .9rem;
            background: rgba(255, 255, 255, .1);
            color: var(--accent);
        }
        .rank-item:nth-child(1) .rank-num {
            background: linear-gradient(135deg, #f59e0b, #f97316);
            color: #14142b;
        }
        .rank-item:nth-child(2) .rank-num {
            background: linear-gradient(135deg, #94a3b8, #64748b);
            color: #14142b;
        }
        .rank-item:nth-child(3) .rank-num {
            background: linear-gradient(135deg, #b45309, #92400e);
            color: #fff;
        }
        .rank-info {
            flex: 1;
            min-width: 0;
        }
        .rank-info h4 {
            font-size: .95rem;
            font-weight: 700;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .rank-info .rank-meta {
            font-size: .78rem;
            color: rgba(255, 255, 255, .6);
        }
        .rank-value {
            text-align: right;
        }
        .rank-value .val {
            font-weight: 800;
            color: var(--accent);
        }
        .rank-value .unit {
            font-size: .75rem;
            color: rgba(255, 255, 255, .5);
        }
        .rank-value .trend {
            font-size: .75rem;
            display: block;
            color: #34d399;
        }
        .rank-aside {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        .rank-stat-card {
            background: #fff;
            border-radius: var(--radius);
            padding: 24px;
            border: 1px solid var(--border);
            box-shadow: var(--shadow);
        }
        .rank-stat-card h4 {
            font-weight: 700;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .rank-stat-card .big {
            font-size: 2rem;
            font-weight: 900;
            color: var(--primary);
            line-height: 1.2;
        }
        .rank-stat-card p {
            font-size: .85rem;
            color: var(--muted);
        }
        /* Process */
        .process-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
            counter-reset: step;
        }
        .process-step {
            position: relative;
            background: #fff;
            border-radius: var(--radius);
            padding: 30px 22px 24px;
            border: 1px solid var(--border);
            text-align: center;
            transition: all .3s;
        }
        .process-step:hover {
            box-shadow: var(--shadow);
            transform: translateY(-4px);
        }
        .process-step::before {
            counter-increment: step;
            content: counter(step, decimal-leading-zero);
            display: block;
            font-size: 2.6rem;
            font-weight: 900;
            line-height: 1;
            color: rgba(124, 58, 237, .15);
            margin-bottom: 12px;
            font-style: italic;
        }
        .process-step .icon {
            width: 52px;
            height: 52px;
            border-radius: 16px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 1.2rem;
            margin-bottom: 14px;
            box-shadow: 0 10px 20px rgba(124, 58, 237, .2);
        }
        .process-step h3 {
            font-size: 1.05rem;
            font-weight: 700;
            margin-bottom: 8px;
        }
        .process-step p {
            font-size: .85rem;
            color: var(--muted);
        }
        /* Stats band */
        .stats-band {
            background: linear-gradient(135deg, #14142b, #1e1040);
            border-radius: var(--radius);
            color: #fff;
            padding: 48px 40px;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            position: relative;
            overflow: hidden;
        }
        .stats-band::before {
            content: '';
            position: absolute;
            top: -50px;
            right: 10%;
            width: 260px;
            height: 260px;
            background: radial-gradient(circle, rgba(245, 158, 11, .3), transparent 65%);
            border-radius: 50%;
        }
        .stat-block {
            text-align: center;
            position: relative;
            z-index: 1;
        }
        .stat-block .stat-icon {
            font-size: 1.4rem;
            color: var(--accent);
            margin-bottom: 8px;
        }
        .stat-block .stat-num {
            font-size: 2.2rem;
            font-weight: 900;
        }
        .stat-block .stat-label {
            font-size: .85rem;
            color: rgba(255, 255, 255, .7);
            margin-top: 4px;
        }
        /* FAQ */
        .faq-wrap {
            max-width: 800px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 16px;
        }
        .faq-item {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            padding: 0;
            overflow: hidden;
            transition: box-shadow .3s, border-color .3s;
        }
        .faq-item:hover {
            box-shadow: var(--shadow);
            border-color: rgba(124, 58, 237, .3);
        }
        .faq-question {
            padding: 20px 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: pointer;
            font-weight: 700;
            font-size: 1rem;
            gap: 16px;
        }
        .faq-question .arrow {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: var(--light-bg);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: .8rem;
            color: var(--primary);
            transition: transform .3s, background .3s;
            flex-shrink: 0;
        }
        .faq-item.open .faq-question .arrow {
            transform: rotate(180deg);
            background: var(--primary);
            color: #fff;
        }
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height .35s ease;
            padding: 0 24px;
            color: var(--muted);
            font-size: .93rem;
            line-height: 1.75;
        }
        .faq-item.open .faq-answer {
            max-height: 300px;
            padding: 0 24px 20px;
        }
        /* CTA */
        .cta-section {
            padding: 70px 0;
            background: var(--dark);
            position: relative;
            overflow: hidden;
        }
        .cta-section::before {
            content: '';
            position: absolute;
            left: 10%;
            top: -80px;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(124, 58, 237, .35), transparent 60%);
            border-radius: 50%;
        }
        .cta-inner {
            position: relative;
            z-index: 1;
            text-align: center;
            color: #fff;
            max-width: 720px;
            margin: 0 auto;
        }
        .cta-inner h2 {
            font-size: 2.2rem;
            font-weight: 900;
            letter-spacing: -0.5px;
            margin-bottom: 16px;
        }
        .cta-inner p {
            color: rgba(255, 255, 255, .75);
            margin-bottom: 28px;
            font-size: 1.05rem;
        }
        .cta-buttons {
            display: flex;
            justify-content: center;
            gap: 16px;
            flex-wrap: wrap;
        }
        /* Footer */
        .site-footer {
            background: #0d0d1a;
            color: #a1a1aa;
            padding: 60px 0 30px;
            font-size: .9rem;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 1.4fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 36px;
        }
        .footer-brand {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.3rem;
            font-weight: 800;
            color: #fff;
            margin-bottom: 14px;
        }
        .footer-brand .logo-icon {
            width: 38px;
            height: 38px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: #fff;
        }
        .footer-desc {
            color: #71717a;
            line-height: 1.8;
            max-width: 360px;
        }
        .footer-col h4 {
            color: #fff;
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 16px;
            position: relative;
            padding-bottom: 10px;
        }
        .footer-col h4::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 30px;
            height: 3px;
            border-radius: 3px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
        }
        .footer-col ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .footer-col ul li a {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: #a1a1aa;
            transition: color .2s;
        }
        .footer-col ul li a:hover {
            color: var(--accent);
        }
        .footer-col ul li a i {
            font-size: .75rem;
            color: var(--primary);
        }
        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, .08);
            padding-top: 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 14px;
            flex-wrap: wrap;
            color: #71717a;
            font-size: .8rem;
        }
        .footer-tags {
            display: flex;
            gap: 14px;
        }
        .footer-tags a {
            color: #71717a;
            transition: color .2s;
        }
        .footer-tags a:hover {
            color: var(--accent);
        }
        /* Responsive */
        @media (max-width: 1024px) {
            .category-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .hot-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .rank-wrap {
                grid-template-columns: 1fr;
            }
            .process-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .stats-band {
                grid-template-columns: repeat(2, 1fr);
            }
            .header-search {
                width: 220px;
            }
        }
        @media (max-width: 768px) {
            .site-header {
                position: relative;
            }
            .header-row {
                flex-wrap: wrap;
                gap: 10px;
                padding: 10px 0;
            }
            .brand-logo {
                font-size: 1.1rem;
                order: 1;
            }
            .nav-toggle {
                display: flex;
                order: 3;
                margin-left: auto;
            }
            .header-search {
                order: 4;
                width: 100%;
            }
            .main-nav {
                order: 5;
                display: none;
                width: 100%;
                flex-direction: column;
                align-items: stretch;
                padding: 10px 0;
                border-top: 1px solid var(--border);
                gap: 6px;
            }
            .main-nav.open {
                display: flex;
            }
            .main-nav a {
                border-radius: 12px;
                padding: 12px 16px;
            }
            .hero {
                padding: 64px 0 56px;
            }
            .hero-stats {
                display: none;
            }
            .hero-stats-mobile {
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                gap: 12px;
                margin-top: 30px;
            }
            .section {
                padding: 56px 0;
            }
            .section-title {
                font-size: 1.6rem;
            }
            .category-grid,
            .hot-grid,
            .process-grid {
                grid-template-columns: 1fr;
            }
            .stats-band {
                grid-template-columns: 1fr 1fr;
                gap: 20px;
                padding: 32px 20px;
            }
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 28px;
            }
            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
            .footer-tags {
                justify-content: center;
            }
            .rank-panel {
                padding: 22px;
            }
        }
        @media (max-width: 520px) {
            .container-x {
                padding: 0 16px;
            }
            .hero h1 {
                font-size: 1.85rem;
            }
            .hero-desc {
                font-size: .95rem;
            }
            .hero-actions .btn-primary,
            .hero-actions .btn-outline {
                width: 100%;
                justify-content: center;
            }
            .stats-band {
                grid-template-columns: 1fr;
            }
            .section-title {
                font-size: 1.4rem;
            }
            .rank-item {
                flex-wrap: wrap;
            }
            .rank-value {
                width: 100%;
                text-align: left;
                padding-left: 48px;
            }
            .process-grid {
                grid-template-columns: 1fr;
            }
            .cta-inner h2 {
                font-size: 1.6rem;
            }
            .cta-buttons .btn-primary,
            .cta-buttons .btn-outline {
                width: 100%;
                justify-content: center;
            }
            .main-nav a {
                font-size: .88rem;
            }
            .footer-grid {
                gap: 22px;
            }
        }

/* roulang page: category2 */
:root {
  --primary: #f59e0b;
  --primary-dark: #d97706;
  --primary-light: #fcd34d;
  --dark: #0b1220;
  --dark-2: #1e293b;
  --light: #f5f7fa;
  --white: #ffffff;
  --text: #1e293b;
  --text-light: #64748b;
  --border: #e2e8f0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
  --font-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); background: var(--light); color: var(--text); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button, input { font-family: inherit; }
ul { list-style: none; }
.container-x { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header { background: var(--dark); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 72px; position: relative; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 20px; white-space: nowrap; letter-spacing: -0.3px; flex-shrink: 0; }
.logo-icon { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), #f97316); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 17px; box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35); }
.header-search { flex: 1; max-width: 340px; margin-left: auto; position: relative; }
.header-search input { width: 100%; height: 40px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.08); color: #fff; padding: 0 18px 0 42px; font-size: 14px; outline: none; transition: all 0.3s; }
.header-search input::placeholder { color: rgba(255, 255, 255, 0.45); }
.header-search input:focus { border-color: var(--primary); background: rgba(255, 255, 255, 0.14); box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.16); }
.header-search .search-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: rgba(255, 255, 255, 0.45); font-size: 14px; pointer-events: none; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 10px; color: rgba(255, 255, 255, 0.75); font-size: 15px; font-weight: 500; transition: all 0.3s; white-space: nowrap; }
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.main-nav a:active { transform: scale(0.97); }
.main-nav a.active { color: #fff; background: rgba(245, 158, 11, 0.18); box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.4); }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); color: #fff; align-items: center; justify-content: center; font-size: 16px; cursor: pointer; transition: all 0.3s; }
.nav-toggle:hover { background: rgba(255, 255, 255, 0.14); }
.mobile-menu { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--dark); padding: 16px 20px 20px; flex-direction: column; gap: 4px; border-top: 1px solid rgba(255, 255, 255, 0.06); box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4); }
.mobile-menu.open { display: flex; }
.mobile-menu a { display: block; padding: 12px 16px; border-radius: 10px; color: rgba(255, 255, 255, 0.75); font-size: 15px; font-weight: 500; transition: all 0.3s; }
.mobile-menu a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.mobile-menu a.active { background: rgba(245, 158, 11, 0.18); color: #fff; box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.3); }

/* ---------- Page Hero ---------- */
.page-hero { position: relative; min-height: 480px; display: flex; align-items: center; background-size: cover; background-position: center; background-repeat: no-repeat; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(11, 18, 32, 0.94) 0%, rgba(11, 18, 32, 0.82) 50%, rgba(11, 18, 32, 0.58) 100%); }
.page-hero-content { position: relative; z-index: 2; color: #fff; max-width: 800px; padding: 88px 0; }
.breadcrumb { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.6); font-size: 14px; margin-bottom: 20px; }
.breadcrumb a { color: var(--primary); font-weight: 500; transition: color 0.3s; }
.breadcrumb a:hover { color: var(--primary-light); }
.breadcrumb i { font-size: 11px; color: rgba(255, 255, 255, 0.4); }
.page-hero h1 { font-size: 46px; line-height: 1.2; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 18px; }
.page-hero h1 .accent { color: var(--primary); }
.page-hero p { font-size: 17px; line-height: 1.8; color: rgba(255, 255, 255, 0.8); max-width: 620px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 28px; border-radius: 14px; background: linear-gradient(135deg, var(--primary), #f97316); color: #fff; font-weight: 600; font-size: 15px; box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35); transition: all 0.3s; border: none; cursor: pointer; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(245, 158, 11, 0.45); }
.btn-primary:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3); }
.btn-primary:focus-visible { outline: 3px solid rgba(245, 158, 11, 0.4); outline-offset: 2px; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 28px; border-radius: 14px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25); color: #fff; font-weight: 600; font-size: 15px; transition: all 0.3s; cursor: pointer; backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.2); border-color: var(--primary); }
.btn-ghost:active { transform: scale(0.97); }
.btn-ghost:focus-visible { outline: 3px solid rgba(255, 255, 255, 0.3); outline-offset: 2px; }

/* ---------- Section Common ---------- */
.section-pad { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--primary-dark); background: rgba(245, 158, 11, 0.12); padding: 4px 14px; border-radius: 20px; margin-bottom: 10px; }
.section-head h2 { font-size: 32px; font-weight: 800; color: var(--text); letter-spacing: -0.4px; line-height: 1.3; }
.section-head p { color: var(--text-light); font-size: 16px; margin-top: 10px; }

/* ---------- Steps ---------- */
.steps-section { padding: 80px 0; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card { background: var(--white); border-radius: var(--radius); padding: 34px 26px; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--border); transition: all 0.35s; position: relative; }
.step-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(245, 158, 11, 0.35); }
.step-num { width: 58px; height: 58px; margin: 0 auto 20px; border-radius: 18px; background: linear-gradient(135deg, var(--primary), #f97316); color: #fff; font-size: 22px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(245, 158, 11, 0.32); }
.step-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.step-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ---------- Categories ---------- */
.tutorial-categories { padding: 80px 0; background: var(--white); border-top: 1px solid var(--border); }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.category-card { border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow); transition: all 0.35s; }
.category-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.category-card .cover-wrap { position: relative; overflow: hidden; }
.category-card .cover-wrap img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.5s ease; }
.category-card:hover .cover-wrap img { transform: scale(1.06); }
.category-card .cover-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent); }
.category-body { padding: 26px; }
.category-body .badge { display: inline-block; padding: 5px 14px; border-radius: 20px; font-size: 12px; font-weight: 600; background: rgba(245, 158, 11, 0.14); color: var(--primary-dark); margin-bottom: 12px; letter-spacing: 0.02em; }
.category-body h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.category-body p { font-size: 14px; color: var(--text-light); line-height: 1.75; margin-bottom: 18px; }
.category-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary-dark); font-weight: 600; font-size: 14px; transition: gap 0.3s; }
.category-link:hover { gap: 12px; }
.category-link i { transition: transform 0.3s; }
.category-link:hover i { transform: translateX(2px); }

/* ---------- Tutorial List ---------- */
.tutorial-list-section { padding: 80px 0; }
.tutorial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.tutorial-card { display: flex; gap: 20px; background: var(--white); border-radius: var(--radius); padding: 18px; border: 1px solid var(--border); box-shadow: var(--shadow); transition: all 0.35s; }
.tutorial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(245, 158, 11, 0.3); }
.tutorial-card img { width: 200px; height: 142px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.tutorial-content { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.tutorial-content .badge { align-self: flex-start; display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; background: rgba(245, 158, 11, 0.13); color: var(--primary-dark); }
.tutorial-content h3 { font-size: 17px; font-weight: 700; margin: 10px 0 8px; line-height: 1.4; color: var(--text); }
.tutorial-content h3 a { transition: color 0.3s; }
.tutorial-content h3 a:hover { color: var(--primary-dark); }
.tutorial-content p { font-size: 14px; color: var(--text-light); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tutorial-meta { display: flex; gap: 16px; margin-top: auto; padding-top: 12px; font-size: 13px; color: var(--text-light); }
.tutorial-meta span { display: inline-flex; align-items: center; gap: 6px; }
.tutorial-meta i { color: var(--primary); font-size: 13px; }

/* ---------- Stats ---------- */
.stats-section { padding: 72px 0; background: var(--dark); background-size: cover; background-position: center; position: relative; }
.stats-section::before { content: ""; position: absolute; inset: 0; background: rgba(11, 18, 32, 0.9); }
.stats-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-number { font-size: 40px; font-weight: 800; color: var(--primary); line-height: 1.2; letter-spacing: -0.5px; }
.stat-label { display: block; color: rgba(255, 255, 255, 0.7); font-size: 14px; margin-top: 8px; letter-spacing: 0.02em; }

/* ---------- FAQ ---------- */
.faq-section { padding: 80px 0; }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: 14px; border: 1px solid var(--border); margin-bottom: 14px; overflow: hidden; transition: box-shadow 0.3s, border-color 0.3s; }
.faq-item.active { box-shadow: var(--shadow); border-color: rgba(245, 158, 11, 0.35); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; background: none; border: none; text-align: left; font-size: 16px; font-weight: 600; color: var(--text); cursor: pointer; transition: color 0.3s; }
.faq-question:hover { color: var(--primary-dark); }
.faq-question:focus-visible { outline: 3px solid rgba(245, 158, 11, 0.35); outline-offset: -2px; border-radius: 14px; }
.faq-question i { transition: transform 0.35s, color 0.3s; color: var(--text-light); font-size: 13px; flex-shrink: 0; }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer p { padding: 0 24px 22px; color: var(--text-light); font-size: 15px; line-height: 1.85; }

/* ---------- CTA ---------- */
.cta-section { padding: 80px 0; background-size: cover; background-position: center; position: relative; }
.cta-section::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(11, 18, 32, 0.95) 0%, rgba(11, 18, 32, 0.82) 55%, rgba(245, 158, 11, 0.2) 100%); }
.cta-content { position: relative; z-index: 2; text-align: center; color: #fff; max-width: 620px; margin: 0 auto; }
.cta-content h2 { font-size: 34px; font-weight: 800; margin-bottom: 14px; letter-spacing: -0.4px; }
.cta-content p { font-size: 16px; color: rgba(255, 255, 255, 0.82); margin-bottom: 34px; line-height: 1.8; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, 0.7); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 16px; }
.footer-brand .logo-icon { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), #f97316); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 15px; box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3); }
.footer-desc { font-size: 14px; line-height: 1.85; color: rgba(255, 255, 255, 0.55); max-width: 380px; }
.footer-col h4 { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: rgba(255, 255, 255, 0.6); font-size: 14px; transition: color 0.3s; display: flex; align-items: center; gap: 8px; }
.footer-col ul a i { font-size: 11px; color: rgba(255, 255, 255, 0.3); transition: color 0.3s; }
.footer-col ul a:hover { color: var(--primary); }
.footer-col ul a:hover i { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255, 255, 255, 0.4); flex-wrap: wrap; gap: 12px; }
.footer-tags { display: flex; gap: 16px; }
.footer-tags a { color: rgba(255, 255, 255, 0.4); transition: color 0.3s; }
.footer-tags a:hover { color: var(--primary); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .header-search { display: none; }
  .main-nav { margin-left: auto; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .category-card .cover-wrap img { height: 190px; }
  .tutorial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .logo-text { font-size: 18px; }
  .page-hero { min-height: 400px; }
  .page-hero h1 { font-size: 34px; }
  .page-hero p { font-size: 15px; }
  .section-head h2 { font-size: 27px; }
  .steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .category-grid { grid-template-columns: 1fr; }
  .tutorial-card { flex-direction: column; }
  .tutorial-card img { width: 100%; height: 190px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .stat-number { font-size: 32px; }
  .cta-content h2 { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 520px) {
  .container-x { padding: 0 16px; }
  .header-inner { gap: 12px; height: 64px; }
  .logo-icon { width: 34px; height: 34px; font-size: 14px; }
  .logo-text { font-size: 16px; }
  .logo-text .full { display: none; }
  .page-hero { min-height: 340px; }
  .page-hero h1 { font-size: 27px; }
  .page-hero p { font-size: 14px; margin-bottom: 24px; }
  .hero-actions { gap: 12px; }
  .btn-primary, .btn-ghost { height: 44px; padding: 0 20px; font-size: 14px; }
  .section-pad, .steps-section, .tutorial-categories, .tutorial-list-section, .faq-section, .cta-section { padding: 56px 0; }
  .steps-grid { gap: 14px; }
  .category-grid { gap: 16px; }
  .tutorial-grid { gap: 18px; }
  .stats-grid { gap: 20px; }
  .stat-number { font-size: 26px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .footer-grid { gap: 24px; }
}
