/* roulang page: index */
:root {
  --primary: #1E5B94;
  --secondary: #C9A063;
  --dark: #0C1B2E;
  --neon: #00E5D1;
  --bg: #F5F7FA;
  --card-bg: #FFFFFF;
  --text: #2C3A4B;
  --text-secondary: #5A6B7F;
  --border: #E5EAF0;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-tag: 4px;
  --shadow: 0 4px 20px rgba(12, 27, 46, 0.06);
  --shadow-hover: 0 12px 32px rgba(12, 27, 46, 0.12);
  --space-section: 80px;
  --space-section-mobile: 48px;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-top: 64px;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; }
ul, ol { list-style: none; }

::selection { background: rgba(30, 91, 148, 0.2); color: var(--dark); }
::-webkit-scrollbar { width: 10px; height: 10px; background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--secondary); }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section { padding: var(--space-section) 0; }
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
}
.section-title h2 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
  color: var(--dark);
  letter-spacing: -0.5px;
}
.link-more {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 500;
  transition: color .2s;
  white-space: nowrap;
}
.link-more:hover { color: var(--secondary); }
.update-indicator {
  font-size: 0.75rem;
  color: var(--secondary);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  transition: all .25s ease;
  white-space: nowrap;
  min-height: 44px;
}
.btn-primary { background: var(--secondary); color: var(--dark); }
.btn-primary:hover { background: var(--neon); box-shadow: 0 0 12px rgba(0, 229, 209, 0.4); }
.btn-primary:active { transform: scale(0.98); }
.btn-outline { border: 1px solid rgba(255,255,255,0.85); color: #fff; background: transparent; }
.btn-outline:hover { border-color: var(--secondary); color: var(--secondary); }
.btn-outline:active { transform: scale(0.98); }
.btn-ghost { border: 1px solid var(--primary); color: var(--primary); background: transparent; }
.btn-ghost:hover { border-color: var(--secondary); color: var(--secondary); background: rgba(201,160,99,0.08); }
.btn-disable { background: var(--border); color: var(--text-secondary); cursor: not-allowed; box-shadow: none; }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }

/* ===== Header / Nav ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  background: var(--dark);
  z-index: 1000;
}
.site-header::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon), var(--secondary));
}
.header-inner {
  max-width: 1200px;
  height: 64px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
}
.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}
.logo-num { color: var(--secondary); font-weight: 800; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.nav-link {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color .25s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { transform: scaleX(1); box-shadow: 0 0 6px rgba(201,160,99,0.6); }
.nav-link.active { color: #fff; }
.nav-link.active::after {
  background: var(--neon);
  box-shadow: 0 0 8px rgba(0, 229, 209, 0.6);
  transform: scaleX(1);
}
.btn-nav {
  background: var(--secondary);
  color: var(--dark);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all .25s;
  white-space: nowrap;
}
.btn-nav:hover { background: var(--neon); box-shadow: 0 0 12px rgba(0, 229, 209, 0.4); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  margin-left: auto;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: all .3s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--dark);
  z-index: 999;
  padding: 12px 24px 24px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}
.mobile-menu.open { display: block; }
.mobile-link {
  display: block;
  line-height: 48px;
  padding-left: 18px;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  border-left: 3px solid transparent;
  transition: all .25s;
}
.mobile-link:hover { color: #fff; }
.mobile-link.active { border-left-color: var(--neon); color: #fff; }
.mobile-cta { margin-top: 16px; width: 100%; }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: url('/assets/images/backpic/back-1.webp') center center / cover no-repeat;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12,27,46,0.88) 0%, rgba(12,27,46,0.45) 60%, rgba(12,27,46,0.1) 100%);
}
.hero-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  z-index: 1;
}
.hero-content { max-width: 640px; padding: 40px 0; }
.hero-content h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.5px;
}
.hero-sub {
  margin-top: 20px;
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  line-height: 1.6;
}
.hero-buttons { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.hero-badge {
  position: absolute;
  right: 24px; bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(12,27,46,0.6);
  color: #fff;
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 0.8125rem;
  letter-spacing: 0.5px;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(201,160,99,0.8);
}

/* ===== Channels Horizontal Scroll ===== */
.channels-scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding-bottom: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--secondary) var(--bg);
}
.channels-scroll::-webkit-scrollbar { height: 4px; }
.channels-scroll::-webkit-scrollbar-track { background: var(--bg); }
.channels-scroll::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 2px; }
.channel-card {
  flex: 0 0 240px;
  scroll-snap-align: start;
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all .25s ease;
  display: block;
}
.channel-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.channel-cover {
  position: relative;
  height: 160px;
  overflow: hidden;
}
.channel-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.channel-card:hover .channel-cover img { transform: scale(1.03); }
.channel-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--secondary);
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}
.channel-body { padding: 16px 20px 18px; }
.channel-body h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.4; }
.channel-body p { font-size: 0.8125rem; color: var(--text-secondary); margin-top: 4px; line-height: 1.5; }

/* ===== Hot Recommended ===== */
.hot-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 24px;
  align-items: stretch;
}
.hot-featured {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  height: 100%;
  min-height: 280px;
  display: block;
  box-shadow: var(--shadow);
}
.hot-featured > img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.hot-featured:hover > img { transform: scale(1.02); }
.hot-featured-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  background: linear-gradient(180deg, rgba(12,27,46,0) 0%, rgba(12,27,46,0.88) 100%);
}
.hot-featured-overlay h3 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}
.hot-featured-overlay p {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.btn-read {
  display: inline-block;
  margin-top: 14px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 0.875rem;
  transition: all .25s;
}
.hot-featured:hover .btn-read { background: var(--secondary); color: var(--dark); border-color: var(--secondary); }

.hot-side { display: flex; flex-direction: column; gap: 24px; }
.hot-side-card {
  flex: 1;
  display: flex;
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all .25s ease;
  min-height: 0;
}
.hot-side-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.hot-side-card img {
  width: 96px;
  flex-shrink: 0;
  object-fit: cover;
}
.hot-side-text {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}
.hot-side-text h4 {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hot-side-text h4:hover { color: var(--primary); }
.date-tag { font-size: 0.75rem; color: var(--text-secondary); }

/* ===== Feed Cards ===== */
.feed-section + .feed-section { padding-top: 0; }
.feed-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feed-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all .25s ease;
}
.feed-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.feed-cover {
  position: relative;
  height: 140px;
  overflow: hidden;
}
.feed-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.feed-card:hover .feed-cover img { transform: scale(1.03); }
.feed-body { padding: 18px 20px 20px; }
.feed-badge {
  display: inline-block;
  background: var(--secondary);
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.feed-body h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feed-body h3:hover { color: var(--primary); }
.feed-body p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feed-card--more .feed-cover { border-top: 4px solid var(--primary); }

/* ===== CTA ===== */
.cta-section {
  background: var(--dark);
  padding: 64px 24px;
  text-align: center;
}
.cta-inner h2 {
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
}
.cta-inner p {
  color: rgba(255,255,255,0.7);
  margin-top: 14px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cta-inner .btn { margin-top: 28px; }
.cta-social {
  display: block;
  margin-top: 16px;
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
}

/* ===== Latest News CMS ===== */
.latest-grid {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 40px;
  align-items: start;
}
.latest-list { display: flex; flex-direction: column; }
.news-list-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: all .25s ease;
}
.news-list-item:first-child { padding-top: 0; }
.news-list-item:hover {
  transform: translateX(4px);
  background: #fff;
  box-shadow: 0 2px 12px rgba(12,27,46,0.06);
  padding-left: 16px;
  padding-right: 16px;
  border-radius: 8px;
}
.news-item-date {
  flex-shrink: 0;
  min-width: 70px;
  background: rgba(201,160,99,0.12);
  border-radius: 8px;
  padding: 10px 12px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--secondary);
}
.news-item-body { flex: 1; min-width: 0; }
.news-item-body h3 { font-size: 1.05rem; font-weight: 600; line-height: 1.4; }
.news-item-body h3 a:hover { color: var(--primary); }
.news-item-body p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 6px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-item-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
}
.tag-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
  transition: background .2s;
}
.tag-outline:hover { background: rgba(30,91,148,0.1); }
.read-more { font-size: 0.875rem; color: var(--primary); font-weight: 500; }
.read-more:hover { color: var(--secondary); }

.news-empty {
  border: 2px dashed var(--border);
  border-radius: 12px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(255,255,255,0.6);
}
.empty-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--secondary);
  position: relative;
}
.empty-icon::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--secondary);
}
.news-empty p { color: var(--text-secondary); font-size: 0.95rem; }

.hot-rank {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.hot-rank h3 {
  font-size: 1.25rem;
  font-weight: 700;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
  margin-bottom: 20px;
  color: var(--dark);
}
.rank-list { list-style: none; }
.rank-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.rank-list li:last-child { border-bottom: none; }
.rank-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
  flex-shrink: 0;
  min-width: 32px;
}
.rank-list a {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.5;
  transition: color .2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rank-list a:hover { color: var(--primary); }

/* ===== FAQ ===== */
.faq-grid {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow .25s;
}
.faq-item.open { box-shadow: var(--shadow-hover); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: all .25s;
}
.faq-q:hover { color: var(--primary); }
.faq-icon {
  font-size: 1.4rem;
  color: var(--secondary);
  transition: transform .3s ease;
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-item.open .faq-q { color: var(--primary); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 24px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--dark);
  margin-top: 40px;
}
.site-footer::before {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--neon), var(--secondary));
}
.footer-grid {
  display: grid;
  grid-template-columns: 5fr 3fr 4fr;
  gap: 48px;
  padding: 56px 24px 40px;
}
.footer-logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: baseline;
}
.footer-brand p {
  color: rgba(255,255,255,0.7);
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}
.footer-nav h4, .footer-subscribe h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.footer-nav a {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  padding: 6px 0;
  transition: color .2s;
}
.footer-nav a:hover { color: var(--secondary); }
.footer-subscribe p { color: rgba(255,255,255,0.5); font-size: 0.875rem; margin-bottom: 16px; }
.subscribe-form { display: flex; gap: 10px; max-width: 340px; }
.subscribe-form input {
  flex: 1;
  min-width: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  font-size: 0.875rem;
  transition: all .25s;
}
.subscribe-form input::placeholder { color: rgba(255,255,255,0.4); }
.subscribe-form input:focus {
  border-color: var(--primary);
  background: rgba(255,255,255,0.14);
  box-shadow: 0 0 0 3px rgba(30,91,148,0.2);
  outline: none;
}
.subscribe-form .btn { min-height: 40px; flex-shrink: 0; }
.footer-copyright {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .feed-grid { grid-template-columns: repeat(2, 1fr); }
  .latest-grid { gap: 24px; }
  .hot-grid { grid-template-columns: 1fr; }
  .hot-side { flex-direction: row; }
  .hot-side-card { flex: 1; }
  .hot-side-card img { height: 100%; }
}

@media (max-width: 768px) {
  body { padding-top: 56px; }
  .site-header { height: 56px; }
  .header-inner { height: 56px; }
  .main-nav, .btn-nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu { top: 56px; }
  .hero { min-height: 440px; }
  .hero-content h1 { font-size: 2rem; line-height: 1.2; }
  .hero-sub { font-size: 1rem; }
  .hero-container { flex-direction: column; justify-content: center; }
  .hero-badge { right: 16px; bottom: 16px; }
  .section { padding: var(--space-section-mobile) 0; }
  .section-title h2 { font-size: 1.4rem; }
  .section-title { flex-wrap: wrap; }
  .channels-scroll { gap: 16px; }
  .channel-card { flex-basis: 78vw; }
  .feed-grid { grid-template-columns: 1fr; gap: 16px; }
  .latest-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px 32px; }
  .subscribe-form { max-width: 100%; }
  .hot-side { flex-direction: column; }
  .hot-side-card { min-height: 90px; }
  .cta-section { padding: 48px 24px; }
  .cta-inner h2 { font-size: 1.4rem; }
  .btn { width: 100%; max-width: 320px; }
  .hero-buttons .btn { width: auto; min-width: 140px; }
  .hero-badge { display: none; }
}

@media (max-width: 520px) {
  .hero-content h1 { font-size: 1.7rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .rank-num { font-size: 1.2rem; }
  .news-list-item { flex-direction: column; gap: 12px; }
  .news-item-date { align-self: flex-start; }
  .section-title h2 { font-size: 1.25rem; }
  .cta-inner p { font-size: 0.9rem; }
}

/* roulang page: article */
:root {
    --primary: #1E5B94;
    --primary-light: rgba(30, 91, 148, 0.1);
    --secondary: #C9A063;
    --secondary-hover: #00E5D1;
    --navy: #0C1B2E;
    --neon: #00E5D1;
    --bg: #F5F7FA;
    --card-bg: #FFFFFF;
    --text: #2C3A4B;
    --text-secondary: #5A6B7F;
    --border: #E5EAF0;
    --input-border: #D9E0E8;
    --radius-card: 12px;
    --radius-btn: 8px;
    --radius-tag: 4px;
    --shadow-card: 0 4px 20px rgba(12, 27, 46, 0.06);
    --shadow-hover: 0 12px 32px rgba(12, 27, 46, 0.12);
    --neon-glow: 0 0 8px rgba(0, 229, 209, 0.5);
    --font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    --container-width: 1200px;
    --space-section: 80px;
    --space-mobile: 48px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-family);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.75;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--primary); text-decoration: none; transition: color 0.25s ease; }

a:hover { color: var(--secondary); }

button { font-family: var(--font-family); cursor: pointer; }

input { font-family: var(--font-family); }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }

::selection { background: rgba(30, 91, 148, 0.2); color: var(--navy); }

/* 导航 */
.site-header {
    background: var(--navy);
    position: sticky;
    top: 0;
    z-index: 999;
    height: 64px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--neon), var(--secondary)) 1;
}

.header-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.logo .logo-num {
    color: var(--secondary);
    font-weight: 800;
}

.logo:hover { color: #fff; opacity: 0.9; }

.main-nav { display: flex; align-items: center; gap: 32px; }

.main-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 500;
    padding: 6px 2px;
    position: relative;
    border-bottom: 2px solid transparent;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.main-nav .nav-link:hover {
    color: #fff;
    border-bottom-color: var(--secondary);
    box-shadow: 0 4px 6px rgba(201, 160, 99, 0.2);
}

.main-nav .nav-link.active {
    color: #fff;
    border-bottom-color: var(--neon);
    box-shadow: 0 2px 10px rgba(0, 229, 209, 0.3);
}

.btn-nav {
    background: var(--secondary);
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: var(--radius-btn);
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
    border: none;
    white-space: nowrap;
}

.btn-nav:hover {
    background: var(--neon);
    color: var(--navy);
    box-shadow: 0 0 12px rgba(0, 229, 209, 0.4);
    transform: scale(0.98);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 24px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
    .site-header { height: 56px; }
    .main-nav {
        display: none;
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        background: var(--navy);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 12px 24px 16px;
        border-bottom: 2px solid var(--secondary);
        box-shadow: 0 12px 28px rgba(12, 27, 46, 0.28);
        z-index: 998;
    }
    .main-nav.nav-open { display: flex; }
    .main-nav .nav-link {
        display: block;
        width: 100%;
        line-height: 48px;
        font-size: 15px;
        border-bottom: none;
        border-left: 3px solid transparent;
        padding: 0 12px;
    }
    .main-nav .nav-link.active {
        border-left: 3px solid var(--neon);
        background: rgba(0, 229, 209, 0.06);
        box-shadow: none;
    }
    .main-nav .nav-link:hover { border-left-color: var(--secondary); }
    .btn-nav { display: none; }
    .nav-toggle { display: flex; }
}

/* 面包屑 */
.breadcrumb-bar {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

.breadcrumb-bar .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-secondary);
    gap: 6px;
}

.breadcrumb-bar a { color: var(--text-secondary); transition: color 0.2s; }
.breadcrumb-bar a:hover { color: var(--primary); }
.breadcrumb-sep { color: #B0B8C4; font-size: 14px; }
.breadcrumb-current {
    color: var(--primary);
    font-weight: 500;
    max-width: 360px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 文章头部信息区 */
.article-header-section {
    background: #fff;
    padding: 48px 0 40px;
    border-bottom: 1px solid var(--border);
}

.article-header-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

.badge-category {
    display: inline-block;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: var(--radius-tag);
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 18px;
    background: transparent;
    transition: background 0.25s;
    cursor: default;
}

.badge-category:hover { background: var(--primary-light); }

.article-title {
    font-size: 2.25rem;
    line-height: 1.25;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}

.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--text-secondary);
}

.article-meta .meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #B0B8C4;
    display: inline-block;
}

@media (max-width: 768px) {
    .article-title { font-size: 1.75rem; }
    .article-header-section { padding: 32px 0 28px; }
}

/* 正文主区域 */
.article-main {
    padding: 56px 0 72px;
}

.article-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.article-content {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    padding: 48px 56px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
}

.article-content p {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--text);
    margin-bottom: 28px;
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 40px 0 18px;
    line-height: 1.3;
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin: 28px 0 14px;
}

.article-content blockquote {
    border-left: 4px solid var(--secondary);
    background: #F8F9FB;
    padding: 16px 20px;
    border-radius: var(--radius-btn);
    margin: 28px 0;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

.article-content img {
    border-radius: var(--radius-card);
    margin: 28px 0;
    width: 100%;
    height: auto;
}

.article-content ul,
.article-content ol {
    margin: 0 0 28px 1.5em;
    line-height: 1.8;
}

.article-content li { margin-bottom: 8px; }

.article-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-content a:hover { color: var(--secondary); }

.article-end {
    text-align: center;
    font-size: 14px;
    color: #9AA6B5;
    margin-top: 48px;
    letter-spacing: 4px;
}

.article-empty {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border: 2px dashed var(--border);
    border-radius: var(--radius-card);
    padding: 80px 24px;
    text-align: center;
}

.article-empty .empty-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid var(--secondary);
    margin: 0 auto 20px;
    position: relative;
}

.article-empty .empty-icon::after {
    content: "!";
    font-size: 28px;
    font-weight: 800;
    color: var(--secondary);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.article-empty h2 {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 12px;
}

.article-empty p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 15px;
}

@media (max-width: 768px) {
    .article-main { padding: 40px 0 56px; }
    .article-content { padding: 28px 20px; }
    .article-content p { font-size: 1rem; }
}

/* 按钮 */
.btn {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 26px;
    border-radius: var(--radius-btn);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
}

.btn-primary {
    background: var(--secondary);
    color: var(--navy);
    box-shadow: 0 2px 8px rgba(201, 160, 99, 0.3);
}

.btn-primary:hover {
    background: var(--neon);
    color: var(--navy);
    box-shadow: 0 0 12px rgba(0, 229, 209, 0.4);
    transform: translateY(-2px);
}

.btn-primary:active { transform: scale(0.98); }

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    background: rgba(201, 160, 99, 0.06);
    transform: translateY(-2px);
}

.btn-outline:active { transform: scale(0.98); }

.btn-sm { padding: 10px 18px; font-size: 13px; }

/* 相关推荐 */
.related-section {
    max-width: 1000px;
    margin: 56px auto 0;
    padding: 0 24px;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    padding-left: 14px;
    border-left: 4px solid var(--primary);
    margin-bottom: 32px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-card {
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.related-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.related-cover {
    height: 120px;
    overflow: hidden;
}

.related-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.related-card:hover .related-cover img { transform: scale(1.04); }

.related-info {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.related-info .card-tag {
    align-self: flex-start;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-tag);
    padding: 3px 10px;
}

.related-info h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 46px;
    transition: color 0.25s;
}

.related-card:hover .related-info h3 { color: var(--primary); }

.related-info p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .related-grid { grid-template-columns: 1fr; gap: 16px; }
    .section-title { font-size: 1.5rem; }
}

@media (min-width: 769px) and (max-width: 1023px) {
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .related-card:last-child { grid-column: 1 / -1; max-width: 50%; }
}

/* 返回入口 */
.article-return {
    text-align: center;
    margin-top: 48px;
}

.article-return .btn {
    padding: 12px 36px;
}

/* 页脚 */
.site-footer {
    background: var(--navy);
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, #00E5D1, #C9A063) 1;
    padding-top: 56px;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.4fr;
    gap: 48px;
    padding-bottom: 40px;
}

.footer-brand .footer-logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 16px;
    display: inline-block;
}

.footer-brand .footer-logo .logo-num { color: var(--secondary); }

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
    max-width: 360px;
}

.footer-nav h4,
.footer-subscribe h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 18px;
}

.footer-nav a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    padding: 6px 0;
    transition: color 0.25s, padding-left 0.25s;
}

.footer-nav a:hover {
    color: var(--secondary);
    padding-left: 6px;
}

.footer-subscribe p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin-bottom: 16px;
}

.subscribe-form {
    display: flex;
    gap: 8px;
}

.subscribe-form input[type="email"] {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-btn);
    padding: 10px 14px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
    min-width: 0;
}

.subscribe-form input[type="email"]::placeholder { color: rgba(255, 255, 255, 0.4); }

.subscribe-form input[type="email"]:focus {
    border-color: var(--neon);
    box-shadow: 0 0 0 3px rgba(0, 229, 209, 0.15);
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 24px;
    }
    .subscribe-form { flex-direction: column; }
    .subscribe-form .btn { width: 100%; }
}

@media (min-width: 769px) and (max-width: 1023px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-subscribe { grid-column: 1 / -1; }
}

/* CTA 区块（页脚前） */
.article-cta {
    background: var(--navy);
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--neon), var(--secondary)) 1;
    padding: 36px 24px;
    text-align: center;
}

.article-cta-inner {
    max-width: 760px;
    margin: 0 auto;
}

.article-cta h2 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.article-cta p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 20px;
}

.article-cta .btn {
    min-width: 140px;
}

.article-cta .btn-primary {
    background: var(--secondary);
    color: var(--navy);
}

.article-cta .btn-primary:hover {
    background: var(--neon);
    color: var(--navy);
    box-shadow: 0 0 16px rgba(0, 229, 209, 0.4);
}

/* 焦点可见性 */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(30, 91, 148, 0.35);
    outline-offset: 2px;
}

@media (max-width: 520px) {
    .container { padding: 0 16px; }
    .article-header-inner,
    .article-container,
    .related-section { padding-left: 16px; padding-right: 16px; }
    .article-content { padding: 24px 16px; }
    .article-cta { padding: 32px 16px; }
}

/* roulang page: category1 */
:root {
  --primary: #1E5B94;
  --primary-dark: #164A78;
  --secondary: #C9A063;
  --neon: #00E5D1;
  --dark-bg: #0C1B2E;
  --bg: #F5F7FA;
  --card: #FFFFFF;
  --text: #2C3A4B;
  --text-muted: #5A6B7F;
  --border: #E5EAF0;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(12, 27, 46, 0.06);
  --shadow-hover: 0 12px 32px rgba(12, 27, 46, 0.12);
  --space: 80px;
  --space-mobile: 48px;
  --container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 400;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--secondary);
}

button,
input {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background: rgba(30, 91, 148, 0.2);
  color: var(--dark-bg);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ---------- 导航 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--dark-bg);
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--neon), var(--secondary)) 1;
  box-shadow: 0 2px 10px rgba(0, 229, 209, 0.15);
  height: 64px;
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 24px;
}

.logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  white-space: nowrap;
}

.logo-num {
  color: var(--secondary);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
  margin-left: 16px;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--secondary);
  box-shadow: 0 0 6px rgba(201, 160, 99, 0.6);
  transition: width 0.25s ease;
}

.nav-link:hover {
  color: #fff;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: #fff;
}

.nav-link.active::after {
  width: 100%;
  background: var(--neon);
  box-shadow: 0 0 10px rgba(0, 229, 209, 0.4);
}

.btn-nav {
  margin-left: auto;
  background: var(--secondary);
  color: var(--dark-bg);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.btn-nav:hover {
  background: var(--neon);
  color: var(--dark-bg);
  box-shadow: 0 0 12px rgba(0, 229, 209, 0.4);
  transform: translateY(-2px);
}

.btn-nav:active {
  transform: scale(0.98);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: none;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.btn:focus-visible {
  outline: 3px solid rgba(30, 91, 148, 0.35);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--secondary);
  color: var(--dark-bg);
}

.btn-primary:hover {
  background: var(--neon);
  color: var(--dark-bg);
  box-shadow: 0 0 12px rgba(0, 229, 209, 0.4);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  background: rgba(201, 160, 99, 0.06);
}

.btn-large {
  padding: 14px 34px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.875rem;
}

/* ---------- 通用标题 ---------- */
.section {
  padding: var(--space) 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark-bg);
  padding-left: 16px;
  border-left: 4px solid var(--primary);
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 8px;
}

.section-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}

.section-link:hover {
  color: var(--secondary);
}

/* ---------- 分类 Hero ---------- */
.category-hero {
  margin-top: 64px;
  background: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), url('/assets/images/backpic/back-1.webp') center center / cover no-repeat;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  min-height: 260px;
}

.category-hero-inner {
  max-width: 760px;
}

.category-badge {
  display: inline-block;
  background: var(--secondary);
  color: var(--dark-bg);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 4px;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.category-hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 12px;
}

.category-hero p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 620px;
  margin: 0 auto;
}

.category-hero .hero-line {
  width: 40px;
  height: 1px;
  background: var(--secondary);
  margin: 22px auto 0;
}

/* ---------- 特色板块 ---------- */
.features-section {
  background: transparent;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px 28px;
  border: 1px solid rgba(229, 234, 240, 0.8);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(30, 91, 148, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-bg);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---------- 内容主题网格 ---------- */
.theme-section {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.theme-card {
  background: var(--card);
  border: 1px solid rgba(229, 234, 240, 0.9);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.theme-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.theme-cover {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.theme-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.theme-card:hover .theme-cover img {
  transform: scale(1.03);
}

.theme-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--secondary);
  color: var(--dark-bg);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(12, 27, 46, 0.18);
}

.theme-body {
  padding: 20px 24px 24px;
}

.theme-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark-bg);
  margin-bottom: 8px;
}

.theme-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- 每日节奏 ---------- */
.timeline-section {
  background: transparent;
}

.timeline-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.timeline {
  position: relative;
  padding-left: 24px;
  margin-top: 32px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  opacity: 0.35;
}

.timeline-item {
  position: relative;
  padding: 0 0 36px 30px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -29px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 0 4px rgba(201, 160, 99, 0.18);
}

.timeline-time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.timeline-time i {
  color: var(--primary);
  font-size: 0.95rem;
}

.timeline-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-bg);
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- 精选与排行 ---------- */
.split-section {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.split-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 32px;
  align-items: start;
}

.split-heading {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-bg);
  margin-bottom: 20px;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
}

.split-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.split-main {
  position: relative;
  height: 170px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(90deg, rgba(12, 27, 46, 0.72), rgba(12, 27, 46, 0.15)), url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
  color: #fff;
  padding: 20px 24px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.split-main:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.split-main .split-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--secondary);
  color: var(--dark-bg);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
}

.split-main h3 {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
}

.split-main p {
  font-size: 0.85rem;
  opacity: 0.9;
  line-height: 1.6;
}

.split-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.split-sub-card {
  position: relative;
  height: 170px;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  padding: 16px;
  display: flex;
  align-items: flex-end;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.split-sub-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.split-sub-card-1 {
  background: linear-gradient(0deg, rgba(12, 27, 46, 0.78), rgba(12, 27, 46, 0.05)), url('/assets/images/coverpic/cover-5.png') center center / cover no-repeat;
}

.split-sub-card-2 {
  background: linear-gradient(0deg, rgba(12, 27, 46, 0.78), rgba(12, 27, 46, 0.05)), url('/assets/images/coverpic/cover-6.webp') center center / cover no-repeat;
}

.split-sub-card .split-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 4px;
}

.split-sub-card h4 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

/* 排行 */
.hot-list {
  list-style: none;
  counter-reset: hot;
}

.hot-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(229, 234, 240, 0.9);
  align-items: flex-start;
  transition: background 0.25s ease, padding-left 0.25s ease;
}

.hot-item:last-child {
  border-bottom: none;
}

.hot-item:hover {
  background: rgba(245, 247, 250, 0.7);
  padding-left: 8px;
  border-radius: 8px;
}

.hot-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.2;
  min-width: 34px;
}

.hot-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark-bg);
  margin-bottom: 2px;
}

.hot-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 6px;
}

.hot-tag {
  display: inline-block;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 4px;
  transition: background 0.25s ease;
}

.hot-tag:hover {
  background: rgba(30, 91, 148, 0.08);
}

/* ---------- FAQ ---------- */
.faq-section {
  background: transparent;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--card);
  border: 1px solid rgba(229, 234, 240, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-hover);
}

.faq-item.active {
  border-color: rgba(30, 91, 148, 0.2);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: color 0.25s ease;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question .faq-icon {
  color: var(--secondary);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-question {
  color: var(--primary);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.faq-item.active .faq-answer {
  padding-bottom: 20px;
}

/* ---------- CTA ---------- */
.cta-section {
  background: var(--dark-bg);
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--neon), var(--secondary)) 1;
  padding: 64px 24px;
  text-align: center;
}

.cta-inner {
  max-width: 720px;
  margin: 0 auto;
}

.cta-inner h2 {
  color: #fff;
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-inner > p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  margin-bottom: 28px;
}

.cta-form {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto 20px;
}

.cta-form input {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.cta-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.cta-form input:focus {
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(0, 229, 209, 0.18);
}

.cta-social {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--dark-bg);
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--neon), var(--secondary)) 1;
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 48px;
}

.footer-brand .footer-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}

.footer-brand .footer-logo .logo-num {
  color: var(--secondary);
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 300px;
}

.footer-nav h4,
.footer-subscribe h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-nav a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  padding: 5px 0;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-nav a:hover {
  color: var(--secondary);
  padding-left: 6px;
}

.footer-subscribe p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 14px;
}

.subscribe-form {
  display: flex;
  gap: 8px;
  max-width: 340px;
}

.subscribe-form input {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: #fff;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.subscribe-form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.subscribe-form input:focus {
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(0, 229, 209, 0.15);
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1023px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .theme-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --space: var(--space-mobile);
  }

  .site-header {
    height: 56px;
  }

  .header-inner {
    height: 56px;
    gap: 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--dark-bg);
    flex-direction: column;
    align-items: stretch;
    height: auto;
    margin: 0;
    gap: 0;
    padding: 8px 24px 20px;
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    z-index: 998;
    border-bottom: 2px solid var(--neon);
    box-shadow: 0 12px 32px rgba(12, 27, 46, 0.4);
  }

  .main-nav.open {
    transform: translateY(0);
  }

  .nav-link {
    height: auto;
    padding: 13px 4px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    justify-content: flex-start;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link.active {
    color: var(--neon);
    padding-left: 12px;
    border-left: 3px solid var(--neon);
  }

  .btn-nav {
    display: none;
  }

  .category-hero {
    margin-top: 56px;
    min-height: 220px;
    padding: 32px 20px;
  }

  .category-hero h1 {
    font-size: 1.9rem;
  }

  .section-title {
    font-size: 1.45rem;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 24px 18px 20px;
  }

  .theme-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .split-sub-grid {
    grid-template-columns: 1fr;
  }

  .split-main,
  .split-sub-card {
    height: 150px;
  }

  .cta-form {
    flex-direction: column;
    gap: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 40px;
  }

  .subscribe-form {
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    padding: 0 16px;
  }

  .logo {
    font-size: 1.15rem;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .category-hero h1 {
    font-size: 1.7rem;
  }

  .category-hero p {
    font-size: 0.9rem;
  }

  .timeline {
    padding-left: 18px;
  }

  .timeline-item {
    padding-left: 24px;
  }

  .hot-item {
    gap: 12px;
  }

  .faq-question {
    padding: 16px 18px;
    font-size: 0.95rem;
  }

  .faq-answer {
    padding: 0 18px;
  }

  .faq-item.active .faq-answer {
    padding-bottom: 16px;
  }

  .btn-large {
    width: 100%;
  }
}

/* 滚动条 */
::-webkit-scrollbar {
  width: 8px;
  height: 4px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 4px;
}

/* roulang page: category2 */
:root {
  --primary: #1E5B94;
  --secondary: #C9A063;
  --dark: #0C1B2E;
  --neon: #00E5D1;
  --bg: #F5F7FA;
  --card-bg: #FFFFFF;
  --text: #2C3A4B;
  --text-secondary: #5A6B7F;
  --border: #E5EAF0;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 4px;
  --shadow: 0 4px 20px rgba(12, 27, 46, 0.06);
  --shadow-hover: 0 12px 32px rgba(12, 27, 46, 0.12);
  --space-section: 80px;
  --space-section-mobile: 48px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

img {
  max-width: 100%;
  display: block;
}

button, input {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

::selection {
  background: rgba(30, 91, 148, 0.2);
  color: var(--dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--dark);
  height: 64px;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, #00E5D1, #C9A063) 1;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 2px;
}

.logo .logo-num {
  color: var(--secondary);
}

.logo:hover {
  color: #fff;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #fff;
}

.nav-link:hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--secondary);
  box-shadow: 0 0 6px rgba(201, 160, 99, 0.6);
}

.nav-link.active {
  color: #fff;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--neon);
  box-shadow: 0 0 10px rgba(0, 229, 209, 0.5);
}

.btn-nav {
  background: var(--secondary);
  color: var(--dark);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: var(--radius-sm);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
  white-space: nowrap;
}

.btn-nav:hover {
  background: var(--neon);
  box-shadow: 0 0 12px rgba(0, 229, 209, 0.4);
  color: var(--dark);
}

.btn-nav:active {
  transform: scale(0.98);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle:hover span {
  background: var(--secondary);
}

/* ===== Page Hero ===== */
.page-hero {
  margin-top: 64px;
  background: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-hero-inner {
  padding: 60px 24px;
}

.page-hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.hero-divider {
  width: 40px;
  height: 1px;
  background: var(--secondary);
  margin: 18px auto;
}

.page-hero .hero-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== Section common ===== */
.section {
  padding: var(--space-section) 0;
}

.section-title-wrap {
  margin-bottom: 40px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -0.5px;
  padding-left: 16px;
  border-left: 4px solid var(--primary);
}

.section-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 12px;
}

/* ===== Feature cards ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px 28px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  border: 1px solid transparent;
}

.feature-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: rgba(30, 91, 148, 0.3);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(30, 91, 148, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ===== Card grid ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.content-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  border: 1px solid var(--border);
}

.content-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.content-card .cover {
  height: 160px;
  overflow: hidden;
  position: relative;
}

.content-card .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.content-card:hover .cover img {
  transform: scale(1.03);
}

.content-card .card-body {
  padding: 20px 20px 24px;
}

.card-badge {
  display: inline-block;
  background: var(--secondary);
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-xs);
  padding: 3px 10px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.content-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.content-card .desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== Mixed layout ===== */
.mixed-section {
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-section) 0;
}

.mixed-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
}

.mixed-left h2, .mixed-right h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
  line-height: 1.3;
}

.featured-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.featured-item-large {
  grid-column: 1 / -1;
  height: 180px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  display: block;
}

.featured-item-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-item-large .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,27,46,0) 40%, rgba(12,27,46,0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.featured-item-large .overlay span {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
}

.featured-item-small {
  height: 120px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  display: block;
}

.featured-item-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-item-small .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,27,46,0) 30%, rgba(12,27,46,0.8) 100%);
  display: flex;
  align-items: flex-end;
  padding: 12px;
}

.featured-item-small .overlay span {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
}

.rank-list {
  list-style: none;
  padding: 0;
}

.rank-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease;
}

.rank-list li:last-child {
  border-bottom: none;
}

.rank-list .num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.2;
  min-width: 36px;
  font-style: italic;
}

.rank-list .rank-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
  transition: color 0.2s ease;
}

.rank-list li:hover .rank-title {
  color: var(--primary);
}

/* ===== FAQ ===== */
.faq-grid {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.faq-item {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s ease;
}

.faq-question .faq-icon {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--secondary);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-question {
  color: var(--primary);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== CTA ===== */
.cta-section {
  background: var(--dark);
  padding: 64px 24px;
  text-align: center;
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, #00E5D1, #C9A063) 1;
}

.cta-section h2 {
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.btn-primary {
  display: inline-block;
  background: var(--secondary);
  color: var(--dark);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--neon);
  box-shadow: 0 0 12px rgba(0, 229, 209, 0.4);
  color: var(--dark);
}

.btn-primary:active {
  transform: scale(0.98);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--dark);
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, #00E5D1, #C9A063) 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding: 56px 24px 40px;
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 14px;
}

.footer-logo .logo-num {
  color: var(--secondary);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 360px;
}

.footer-nav h4,
.footer-subscribe h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-nav a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  padding: 5px 0;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--secondary);
}

.footer-subscribe p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.subscribe-form {
  display: flex;
  gap: 8px;
  max-width: 320px;
}

.subscribe-form input {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 10px 14px;
  font-size: 0.85rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.subscribe-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.subscribe-form input:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(201, 160, 99, 0.15);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
  white-space: nowrap;
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
  text-align: center;
}

.footer-copyright .container {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ===== Mobile nav drawer ===== */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--dark);
  z-index: 999;
  padding: 16px 24px 24px;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, #00E5D1, #C9A063) 1;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer a {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-drawer a:last-child {
  border-bottom: none;
}

.mobile-drawer a:hover {
  color: var(--secondary);
  padding-left: 8px;
}

.mobile-drawer a.active {
  color: #fff;
  border-left: 3px solid var(--neon);
  padding-left: 12px;
}

/* ===== Back to top ===== */
.back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--dark);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, background 0.2s ease;
  box-shadow: 0 4px 16px rgba(12, 27, 46, 0.3);
  z-index: 999;
}

.back-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-top:hover {
  background: var(--secondary);
  color: var(--dark);
}

/* ===== Responsive ===== */
@media (max-width: 1023px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mixed-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .site-header {
    height: 56px;
  }
  .main-nav {
    display: none;
  }
  .btn-nav {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .mobile-drawer {
    top: 56px;
  }
  .page-hero {
    margin-top: 56px;
    min-height: 200px;
  }
  .page-hero h1 {
    font-size: 2rem;
  }
  .section {
    padding: var(--space-section-mobile) 0;
  }
  .section-title {
    font-size: 1.4rem;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .featured-items {
    grid-template-columns: 1fr;
  }
  .featured-item-large,
  .featured-item-small {
    grid-column: 1 / -1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 24px 32px;
  }
  .subscribe-form {
    max-width: 100%;
  }
  .cta-section {
    padding: 48px 24px;
  }
  .cta-section h2 {
    font-size: 1.4rem;
  }
  .back-top {
    bottom: 20px;
    right: 20px;
  }
}
