/* roulang page: index */
:root {
    --primary: #7C6CFF;
    --primary-dark: #5B4FE9;
    --secondary: #FFB84D;
    --accent: #22D3EE;
    --bg: #0B0B1F;
    --bg-soft: #131330;
    --card: #181838;
    --border: rgba(255,255,255,0.08);
    --text: #EDEAF7;
    --muted: #9A97B8;
    --radius: 18px;
    --shadow: 0 20px 60px rgba(0,0,0,0.45);
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
  }
  a { color: inherit; text-decoration: none; transition: all .2s ease; }
  img { max-width: 100%; display: block; }
  button { cursor: pointer; }
  .container-x { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
  .glass {
    background: rgba(21,21,48,0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .hero-grad {
    background: linear-gradient(135deg, #0B0B1F 0%, #141437 50%, #1D1648 100%);
  }
  .text-grad {
    background: linear-gradient(120deg, #FFB84D 0%, #FF7A59 50%, #7C6CFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: linear-gradient(135deg, #7C6CFF, #5B4FE9);
    color: #fff;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 8px 30px rgba(124,108,255,0.35);
    transition: all .25s ease;
  }
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(124,108,255,0.48);
  }
  .btn-primary:focus-visible {
    outline: 3px solid #7C6CFF;
    outline-offset: 3px;
  }
  .btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: rgba(255,255,255,0.06);
    color: #EDEAF7;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.14);
    transition: all .25s ease;
  }
  .btn-ghost:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-2px);
  }
  .btn-ghost:focus-visible {
    outline: 3px solid rgba(255,255,255,0.4);
    outline-offset: 3px;
  }
  .card-base {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform .3s ease, box-shadow .3s ease;
  }
  .card-base:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
  }
  .chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(124,108,255,0.14);
    color: #B3A6FF;
    border: 1px solid rgba(124,108,255,0.25);
  }
  .chip-hot {
    background: rgba(255,184,77,0.14);
    color: #FFD489;
    border-color: rgba(255,184,77,0.25);
  }
  .hot-bar {
    height: 6px;
    border-radius: 99px;
    background: rgba(255,255,255,0.08);
    overflow: hidden;
  }
  .hot-bar span {
    display: block;
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, #FFB84D, #FF6B35);
  }
  .section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
  }
  .section-sub {
    color: var(--muted);
    max-width: 640px;
  }
  .input-search {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    padding: 10px 18px 10px 42px;
    color: #EDEAF7;
    font-size: 14px;
    outline: none;
    transition: all .2s;
    width: 220px;
  }
  .input-search:focus {
    background: rgba(255,255,255,0.1);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124,108,255,0.2);
  }
  .input-search::placeholder { color: #6F6E8C; }
  .faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color .2s;
  }
  .faq-item:hover { border-color: rgba(124,108,255,0.3); }
  .faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 26px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
  }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary .fa-chevron-down {
    transition: transform .25s;
    color: var(--muted);
  }
  .faq-item[open] summary .fa-chevron-down { transform: rotate(180deg); }
  .faq-item .faq-answer {
    padding: 0 26px 22px;
    color: var(--muted);
    line-height: 1.8;
  }
  .timeline-item {
    position: relative;
    padding: 0 0 36px 40px;
  }
  .timeline-item::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 6px;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), rgba(124,108,255,0.1));
    border-radius: 2px;
  }
  .timeline-item::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid #12122E;
    box-shadow: 0 0 0 2px rgba(124,108,255,0.4);
  }
  .mobile-nav {
    display: none;
  }
  @media (max-width: 1024px) {
    .nav-links { display: none !important; }
    .mobile-nav { display: flex; }
    .desktop-search { display: none !important; }
    .input-search { width: 100%; }
  }
  @media (max-width: 768px) {
    .container-x { padding: 0 18px; }
    .btn-primary, .btn-ghost { padding: 12px 22px; font-size: 14px; }
    .timeline-item { padding-left: 34px; }
  }
  @media (max-width: 520px) {
    .section-title { font-size: 26px; }
    .faq-item summary { padding: 18px 20px; }
    .faq-item .faq-answer { padding: 0 20px 18px; }
  }
  .nav-link {
    position: relative;
    padding: 6px 4px;
    font-weight: 500;
    color: #B9B6D4;
    transition: color .2s;
  }
  .nav-link:hover { color: #FFFFFF; }
  .nav-link.active {
    color: #FFFFFF;
  }
  .nav-link.active::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -4px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
  }
  .mobile-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #101027;
    border-left: 1px solid rgba(255,255,255,0.08);
    transition: right .3s ease;
    z-index: 999;
    padding: 80px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .mobile-panel.open { right: 0; }
  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
    z-index: 998;
  }
  .mobile-overlay.open { opacity: 1; pointer-events: auto; }
  .hero-card {
    background: rgba(23,23,48,0.78);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
  }
  .stat-num {
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
  }
  .cover-overlay {
    background: linear-gradient(180deg, rgba(11,11,31,0) 30%, rgba(11,11,31,0.9) 100%);
  }
  .badge-live::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22C55E;
    margin-right: 6px;
    animation: pulse-dot 1.5s infinite;
  }
  @keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
  }

/* roulang page: article */
:root {
  --primary: #7C6CFF;
  --primary-dark: #5B4FE9;
  --bg: #090914;
  --bg-soft: #0D0D24;
  --card: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.08);
  --text: #E8E6FF;
  --text-weak: #8A87AC;
  --text-mute: #6F6E8C;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  --shadow-primary: 0 10px 40px rgba(124, 108, 255, 0.25);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}
input {
  font-family: inherit;
}
.container-x {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}
.glass {
  background: rgba(9, 9, 22, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-links {
  gap: 8px;
}
.nav-link {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #9A97B8;
  transition: all 0.3s ease;
}
.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(124, 108, 255, 0.2), rgba(91, 79, 233, 0.1));
  box-shadow: inset 0 0 0 1px rgba(124, 108, 255, 0.3);
}
.input-search {
  width: 200px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 16px 0 42px;
  font-size: 13px;
  color: #fff;
  outline: none;
  transition: all 0.3s ease;
}
.input-search:focus {
  border-color: rgba(124, 108, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(124, 108, 255, 0.1);
  width: 240px;
}
.input-search::placeholder {
  color: #6F6E8C;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 28px;
  border-radius: 14px;
  background: linear-gradient(135deg, #7C6CFF, #5B4FE9);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  box-shadow: var(--shadow-primary);
  transition: all 0.3s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 50px rgba(124, 108, 255, 0.4);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 28px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #E8E6FF;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(124, 108, 255, 0.4);
  transform: translateY(-2px);
}
.btn-ghost:active {
  transform: translateY(0);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: linear-gradient(135deg, rgba(124, 108, 255, 0.2), rgba(91, 79, 233, 0.1));
  color: #B8B0FF;
  border: 1px solid rgba(124, 108, 255, 0.25);
}
.badge-live {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.mobile-nav {
  display: none;
}
#mobileOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
#mobileOverlay.open {
  opacity: 1;
  pointer-events: auto;
}
#mobilePanel {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: #12122A;
  z-index: 100;
  padding: 24px;
  transition: right 0.35s ease;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  overflow-y: auto;
}
#mobilePanel.open {
  right: 0;
}
.article-banner {
  background-image: linear-gradient(to bottom, rgba(9, 9, 22, 0.75), rgba(9, 9, 22, 0.92)), url('/assets/images/backpic/back-1.png');
  background-size: cover;
  background-position: center;
  padding: 80px 0 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #8A87AC;
}
.breadcrumb a {
  color: #7C6CFF;
}
.breadcrumb a:hover {
  color: #fff;
}
.article-main {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  box-shadow: var(--shadow);
}
.article-content {
  font-size: 16px;
  line-height: 1.9;
  color: #C9C6E5;
  margin-top: 32px;
}
.article-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 40px 0 16px;
  padding-left: 16px;
  border-left: 4px solid var(--primary);
  line-height: 1.4;
}
.article-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 28px 0 12px;
}
.article-content p {
  margin-bottom: 20px;
}
.article-content img {
  border-radius: 16px;
  margin: 28px 0;
  box-shadow: var(--shadow);
}
.article-content ul,
.article-content ol {
  margin: 16px 0 24px;
  padding-left: 24px;
}
.article-content li {
  margin-bottom: 8px;
}
.article-content ul li::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
.article-content ul li {
  position: relative;
}
.article-content blockquote {
  border-left: 4px solid var(--primary);
  background: rgba(124, 108, 255, 0.06);
  padding: 20px 24px;
  border-radius: 0 16px 16px 0;
  margin: 28px 0;
  font-style: italic;
  color: #BDB9E0;
}
.article-content a {
  color: #7C6CFF;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.article-content code {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 14px;
  color: #E8E6FF;
}
.tag-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 12px;
  color: #9A97B8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s;
}
.tag-item:hover {
  color: #fff;
  border-color: rgba(124, 108, 255, 0.4);
  background: rgba(124, 108, 255, 0.1);
}
.recommend-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.4s ease;
}
.recommend-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 108, 255, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.recommend-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.recommend-card:hover img {
  transform: scale(1.05);
}
.cta-section {
  background: linear-gradient(135deg, rgba(124, 108, 255, 0.15), transparent, rgba(91, 79, 233, 0.1));
  border: 1px solid rgba(124, 108, 255, 0.15);
  border-radius: 24px;
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(124, 108, 255, 0.1), transparent 70%);
}
.not-found {
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
@media (max-width: 1024px) {
  .nav-links {
    gap: 4px;
  }
  .nav-link {
    padding: 8px 12px;
    font-size: 13px;
  }
  .article-main {
    padding: 36px;
  }
}
@media (max-width: 768px) {
  .desktop-search {
    display: none;
  }
  .mobile-nav {
    display: flex;
  }
  .nav-links {
    display: none;
  }
  .article-main {
    padding: 28px;
  }
  .cta-section {
    padding: 40px 24px;
  }
  .article-banner {
    padding: 56px 0 40px;
  }
}
@media (max-width: 520px) {
  .container-x {
    padding: 0 16px;
  }
  .article-main {
    padding: 20px;
    border-radius: 16px;
  }
  .article-banner {
    padding: 48px 0 32px;
  }
  .cta-section {
    padding: 32px 20px;
  }
  .article-content {
    font-size: 15px;
    line-height: 1.85;
  }
  .article-content h2 {
    font-size: 20px;
  }
  .article-content h3 {
    font-size: 18px;
  }
}

/* roulang page: category1 */
:root {
            --primary: #7C6CFF;
            --primary-dark: #5B4FE9;
            --primary-light: #B8ADFF;
            --accent-pink: #FF6B9A;
            --accent-amber: #FBBF24;
            --accent-green: #4ADE80;
            --bg-deep: #0B0B1F;
            --bg-body: #12122A;
            --bg-card: #171733;
            --text-main: #FFFFFF;
            --text-sub: #8A87AC;
            --text-weak: #6F6E8C;
            --border-light: rgba(255,255,255,0.06);
            --border-mid: rgba(255,255,255,0.10);
            --radius-lg: 1.25rem;
            --radius-xl: 1.75rem;
            --viewport: 1200px;
        }
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
            background: var(--bg-body);
            color: var(--text-main);
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }
        img {
            display: block;
            max-width: 100%;
        }
        a {
            text-decoration: none;
            color: inherit;
        }
        button {
            font-family: inherit;
            cursor: pointer;
        }
        input {
            font-family: inherit;
        }
        ::-webkit-scrollbar {
            width: 8px;
        }
        ::-webkit-scrollbar-track {
            background: #10102a;
        }
        ::-webkit-scrollbar-thumb {
            background: linear-gradient(180deg, #7C6CFF, #5B4FE9);
            border-radius: 4px;
        }
        .container-x {
            max-width: var(--viewport);
            margin: 0 auto;
            padding-left: 1.5rem;
            padding-right: 1.5rem;
        }
        .glass {
            background: rgba(11, 11, 31, 0.82);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border-bottom: 1px solid var(--border-light);
        }
        .nav-links {
            gap: 2rem;
        }
        .nav-link {
            color: var(--text-sub);
            font-weight: 500;
            font-size: 0.925rem;
            letter-spacing: 0.01em;
            padding: 0.25rem 0.125rem;
            transition: color 0.25s ease;
            position: relative;
            white-space: nowrap;
        }
        .nav-link:hover {
            color: #fff;
        }
        .nav-link.active {
            color: #fff;
        }
        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, #7C6CFF, #5B4FE9);
            border-radius: 2px;
        }
        .input-search {
            background: rgba(255,255,255,0.06);
            border: 1px solid var(--border-mid);
            border-radius: 999px;
            padding: 0.5rem 1rem 0.5rem 2.5rem;
            color: #fff;
            font-size: 0.85rem;
            width: 180px;
            transition: all 0.25s ease;
        }
        .input-search::placeholder {
            color: var(--text-weak);
        }
        .input-search:focus {
            outline: none;
            border-color: rgba(124,108,255,0.5);
            background: rgba(124,108,255,0.08);
            width: 220px;
        }
        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: linear-gradient(135deg, #7C6CFF, #5B4FE9);
            color: #fff;
            font-weight: 600;
            border-radius: 999px;
            padding: 0.75rem 1.5rem;
            box-shadow: 0 8px 24px rgba(124,108,255,0.28);
            transition: all 0.3s ease;
            border: none;
            font-size: 0.95rem;
        }
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 32px rgba(124,108,255,0.40);
            color: #fff;
        }
        .btn-primary:active {
            transform: translateY(0);
            box-shadow: 0 4px 12px rgba(124,108,255,0.20);
        }
        .btn-ghost {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.12);
            color: #fff;
            font-weight: 500;
            border-radius: 999px;
            padding: 0.75rem 1.5rem;
            transition: all 0.3s ease;
            font-size: 0.95rem;
        }
        .btn-ghost:hover {
            background: rgba(255,255,255,0.10);
            border-color: rgba(255,255,255,0.22);
            color: #fff;
        }
        .btn-white {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: #fff;
            color: #4C3DB8;
            font-weight: 700;
            border-radius: 999px;
            padding: 0.85rem 2rem;
            box-shadow: 0 8px 30px rgba(0,0,0,0.15);
            transition: all 0.3s ease;
            border: none;
        }
        .btn-white:hover {
            transform: translateY(-3px);
            box-shadow: 0 14px 40px rgba(0,0,0,0.25);
            background: #F0EEFF;
            color: #4338CA;
        }
        .section-tag {
            display: inline-flex;
            align-items: center;
            gap: 0.375rem;
            background: rgba(124,108,255,0.12);
            border: 1px solid rgba(124,108,255,0.25);
            color: var(--primary-light);
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.06em;
            padding: 0.25rem 0.9rem;
            border-radius: 999px;
            text-transform: uppercase;
        }
        .section-title {
            font-size: 2rem;
            font-weight: 800;
            letter-spacing: -0.02em;
            line-height: 1.2;
            margin-top: 0.75rem;
        }
        .section-desc {
            color: var(--text-sub);
            font-size: 0.95rem;
            margin-top: 0.5rem;
            max-width: 560px;
        }
        .text-gradient {
            background: linear-gradient(90deg, #B8ADFF, #7C6CFF, #5B4FE9);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            color: transparent;
        }
        .card-hover {
            transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
        }
        .card-hover:hover {
            transform: translateY(-6px);
            box-shadow: 0 16px 44px rgba(0,0,0,0.35);
            border-color: rgba(124,108,255,0.25) !important;
        }
        .tag-pill {
            display: inline-flex;
            align-items: center;
            gap: 0.25rem;
            font-size: 0.7rem;
            font-weight: 600;
            padding: 0.25rem 0.65rem;
            border-radius: 999px;
            border: 1px solid transparent;
            white-space: nowrap;
        }
        .badge-live {
            display: inline-block;
            width: 0.5rem;
            height: 0.5rem;
            border-radius: 999px;
            background: #4ADE80;
            box-shadow: 0 0 0 3px rgba(74,222,128,0.15);
            animation: pulse 2s infinite;
        }
        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.45; }
        }
        .mobile-nav {
            display: none;
        }
        .mobile-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.65);
            z-index: 90;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }
        .mobile-overlay.open {
            opacity: 1;
            visibility: visible;
        }
        .mobile-panel {
            position: fixed;
            top: 0;
            right: 0;
            width: 300px;
            height: 100vh;
            background: rgba(11,11,31,0.96);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            z-index: 100;
            padding: 2rem 1.5rem;
            transform: translateX(100%);
            transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
            overflow-y: auto;
        }
        .mobile-panel.open {
            transform: translateX(0);
        }
        .faq-item {
            background: rgba(255,255,255,0.03);
            border: 1px solid var(--border-light);
            border-radius: 1rem;
            padding: 0.25rem 0;
            transition: border-color 0.3s ease, background 0.3s ease;
        }
        .faq-item:hover {
            border-color: rgba(124,108,255,0.25);
            background: rgba(124,108,255,0.04);
        }
        .faq-item summary {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1.1rem 1.5rem;
            font-weight: 600;
            font-size: 0.95rem;
            color: #fff;
            cursor: pointer;
            list-style: none;
            gap: 1rem;
        }
        .faq-item summary::-webkit-details-marker {
            display: none;
        }
        .faq-item summary i {
            font-size: 0.75rem;
            color: var(--text-sub);
            transition: transform 0.3s ease;
        }
        .faq-item[open] summary i {
            transform: rotate(180deg);
        }
        .faq-item p {
            padding: 0 1.5rem 1.25rem;
            color: var(--text-sub);
            font-size: 0.875rem;
            line-height: 1.8;
        }
        .hero-bg-overlay {
            background: linear-gradient(90deg, rgba(11,11,31,0.96) 0%, rgba(11,11,31,0.82) 45%, rgba(11,11,31,0.35) 100%);
        }
        .stat-block {
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.06);
            border-radius: var(--radius-xl);
            padding: 2rem 1.5rem;
            text-align: center;
            transition: all 0.3s ease;
        }
        .stat-block:hover {
            transform: translateY(-4px);
            border-color: rgba(124,108,255,0.25);
            background: rgba(124,108,255,0.06);
        }
        .progress-track {
            background: rgba(255,255,255,0.07);
            border-radius: 999px;
            height: 8px;
            overflow: hidden;
        }
        .progress-bar {
            background: linear-gradient(90deg, #7C6CFF, #5B4FE9);
            border-radius: 999px;
            height: 100%;
            width: 0;
            transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
        }
        .cta-block {
            background: linear-gradient(135deg, #7C6CFF 0%, #5B4FE9 50%, #4338CA 100%);
            border-radius: 2rem;
            position: relative;
            overflow: hidden;
        }
        .cta-block::after {
            content: '';
            position: absolute;
            top: -40%;
            right: -10%;
            width: 320px;
            height: 320px;
            background: rgba(255,255,255,0.08);
            border-radius: 50%;
            filter: blur(40px);
            pointer-events: none;
        }
        @media (max-width: 1024px) {
            .desktop-search {
                display: none !important;
            }
            .nav-links {
                display: none !important;
            }
            .nav-cta-desktop {
                display: none !important;
            }
            .mobile-nav {
                display: flex !important;
            }
            :root {
                --viewport: 100%;
            }
            .section-title {
                font-size: 1.7rem;
            }
        }
        @media (max-width: 640px) {
            .section-title {
                font-size: 1.4rem;
            }
            .hero-title {
                font-size: 2rem !important;
            }
            .stat-block {
                padding: 1.25rem 1rem;
            }
        }

/* roulang page: category2 */
:root {
  --primary: #7C6CFF;
  --primary-dark: #5B4FE9;
  --bg-dark: #0B0B1F;
  --bg-deep: #080814;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --text-main: #FFFFFF;
  --text-secondary: #8A87AC;
  --text-muted: #6F6E8C;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.3);
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

.container-x {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

::selection {
  background: rgba(124, 108, 255, 0.35);
  color: #fff;
}

.glass {
  background: rgba(11, 11, 31, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-link {
  position: relative;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.5rem 0.25rem;
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.nav-link:hover {
  color: #fff;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), #9B8CFF);
  transition: width 0.35s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: #fff;
}

.input-search {
  width: 220px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  padding: 0 1rem 0 2.75rem;
  font-size: 0.875rem;
  color: #fff;
  outline: none;
  transition: var(--transition);
}

.input-search::placeholder {
  color: var(--text-muted);
}

.input-search:focus {
  border-color: rgba(124, 108, 255, 0.5);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 4px rgba(124, 108, 255, 0.12);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.875rem 1.75rem;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(124, 108, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(124, 108, 255, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 16px rgba(124, 108, 255, 0.3);
}

.btn-primary:focus-visible {
  outline: 3px solid rgba(124, 108, 255, 0.5);
  outline-offset: 2px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: #E4E2F5;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.875rem 1.75rem;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-ghost:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.2);
  outline-offset: 2px;
}

.mobile-nav {
  display: none;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-panel {
  position: fixed;
  top: 0;
  right: -80%;
  width: 76%;
  max-width: 340px;
  height: 100vh;
  background: #12122A;
  z-index: 100;
  padding: 1.5rem;
  box-shadow: -16px 0 50px rgba(0, 0, 0, 0.4);
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-panel.open {
  right: 0;
}

.badge-live {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #4ADE80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.2);
  animation: pulse-live 2s ease-in-out infinite;
}

@keyframes pulse-live {
  0%, 100% { box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25); }
  50% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0.08); }
}

.hero-bg {
  background-image:
    linear-gradient(90deg, rgba(11, 11, 31, 0.92) 0%, rgba(11, 11, 31, 0.72) 50%, rgba(11, 11, 31, 0.45) 100%),
    url('/assets/images/backpic/back-2.png');
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(124, 108, 255, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}

.card-base {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.card-base:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.rank-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  transition: var(--transition);
  cursor: default;
}

.rank-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(124, 108, 255, 0.25);
  transform: translateX(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.rank-number {
  width: auto;
  min-width: 2.75rem;
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  line-height: 1;
  color: rgba(255, 255, 255, 0.18);
  transition: var(--transition);
  font-style: italic;
  letter-spacing: -0.04em;
}

.rank-card:hover .rank-number {
  color: rgba(124, 108, 255, 0.7);
}

.rank-number.top-1 {
  color: #FFC95E;
  text-shadow: 0 0 20px rgba(255, 201, 94, 0.4);
}

.rank-number.top-2 {
  color: #C9CCE0;
}

.rank-number.top-3 {
  color: #E8A882;
}

.progress-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), #9B8CFF);
  transition: width 1s ease;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
}

.tag-hot {
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.tag-up {
  background: rgba(34, 197, 94, 0.15);
  color: #4ADE80;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.tag-down {
  background: rgba(59, 130, 246, 0.12);
  color: #60A5FA;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.tag-primary {
  background: rgba(124, 108, 255, 0.15);
  color: #B7ADFF;
  border: 1px solid rgba(124, 108, 255, 0.25);
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(124, 108, 255, 0.2);
}

.faq-item.open {
  border-color: rgba(124, 108, 255, 0.3);
  background: rgba(124, 108, 255, 0.04);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--primary);
}

.tab-btn {
  padding: 0.625rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: var(--transition);
  cursor: pointer;
}

.tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 16px rgba(124, 108, 255, 0.3);
}

.stat-item {
  text-align: center;
  padding: 1.75rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.stat-item:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  border-color: rgba(124, 108, 255, 0.25);
}

.cta-bg {
  background-image:
    linear-gradient(120deg, rgba(11, 11, 31, 0.85) 0%, rgba(30, 27, 75, 0.85) 100%),
    url('/assets/images/backpic/back-3.png');
  background-size: cover;
  background-position: center;
}

.footer-link {
  transition: color 0.25s ease;
}

.footer-link:hover {
  color: #fff;
  padding-left: 4px;
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  .desktop-search {
    display: none;
  }
  .mobile-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .container-x {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .rank-card {
    padding: 0.75rem 0.875rem;
    gap: 0.625rem;
  }
  .rank-number {
    font-size: 1.4rem;
    min-width: 1.75rem;
  }
}
