/* roulang page: index */
:root {
  --primary: #00E5FF;
  --secondary: #8B5CF6;
  --bg-dark: #070E1F;
  --bg-panel: #0F1A35;
  --text-primary: #ffffff;
  --text-secondary: #94A3B8;
  --border-glass: rgba(255, 255, 255, 0.08);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --radius-card: 16px;
  --radius-btn: 10px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container-site {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
@media (min-width: 1024px) {
  .container-site { padding-left: 32px; padding-right: 32px; }
}
.section-padding { padding: 80px 0; }
@media (min-width: 768px) {
  .section-padding { padding: 112px 0; }
}
.glass-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(0, 229, 255, 0.3);
}
.btn-gradient {
  background: linear-gradient(135deg, #00E5FF, #8B5CF6);
  border-radius: 10px;
  font-weight: 600;
  padding: 12px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  color: #fff;
}
.btn-gradient:hover {
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.35);
  filter: brightness(1.1);
  transform: translateY(-2px);
}
.btn-gradient:active { transform: translateY(0); }
.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  font-weight: 500;
  padding: 12px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  color: #fff;
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}
.text-gradient {
  background: linear-gradient(120deg, #fff, #a5f3fc, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-link {
  position: relative;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #00E5FF, #8B5CF6);
  transition: width 0.2s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { color: #67e8f9; }
.input-field {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 16px;
  color: #fff;
  font-size: 14px;
  transition: all 0.2s ease;
  outline: none;
}
.input-field::placeholder { color: #64748b; }
.input-field:focus {
  border-color: rgba(0, 229, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
}
@keyframes float-slow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
.animate-float-slow { animation: float-slow 6s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 3s ease-in-out infinite; }

/* roulang page: category1 */
:root {
            --primary: #00E5FF;
            --secondary: #8B5CF6;
            --base: #070E1F;
            --block: #0F1A35;
            --deep: #050A18;
            --text-main: rgba(255, 255, 255, 0.92);
            --text-sub: rgba(255, 255, 255, 0.6);
            --border-glass: rgba(255, 255, 255, 0.08);
        }
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', 'Inter', sans-serif;
            background: var(--base);
            color: var(--text-main);
            line-height: 1.65;
            -webkit-font-smoothing: antialiased;
        }
        .container-site {
            max-width: 1280px;
            margin: 0 auto;
            padding-left: 1.5rem;
            padding-right: 1.5rem;
        }
        .text-gradient {
            background: linear-gradient(90deg, rgba(255,255,255,0.95), rgba(0,229,255,0.8), rgba(139,92,246,0.85));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        .btn-primary {
            background: linear-gradient(135deg, #00E5FF, #8B5CF6);
            font-weight: 600;
            padding: 0.75rem 1.5rem;
            border-radius: 10px;
            color: #fff;
            transition: all 0.2s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            border: none;
            cursor: pointer;
            box-shadow: 0 4px 20px rgba(0, 229, 255, 0.2);
        }
        .btn-primary:hover {
            filter: brightness(1.1);
            box-shadow: 0 0 25px rgba(0, 229, 255, 0.35);
            transform: translateY(-1px);
        }
        .btn-primary:active {
            transform: translateY(0);
            filter: brightness(0.95);
        }
        .btn-glass {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.12);
            font-weight: 500;
            padding: 0.75rem 1.5rem;
            border-radius: 10px;
            color: rgba(255, 255, 255, 0.9);
            transition: all 0.2s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            cursor: pointer;
            backdrop-filter: blur(8px);
        }
        .btn-glass:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(0, 229, 255, 0.4);
            box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
        }
        .glass-card {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid var(--border-glass);
            border-radius: 16px;
            backdrop-filter: blur(12px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
            transition: all 0.25s ease;
        }
        .glass-card:hover {
            transform: translateY(-4px);
            border-color: rgba(0, 229, 255, 0.35);
            box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
        }
        .section-padding {
            padding-top: 5rem;
            padding-bottom: 5rem;
        }
        .nav-link {
            position: relative;
            color: rgba(255, 255, 255, 0.75);
            transition: color 0.2s ease;
            font-size: 0.875rem;
            font-weight: 500;
        }
        .nav-link:hover {
            color: #00E5FF;
        }
        .nav-link.active {
            color: #fff;
        }
        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            right: 0;
            height: 2px;
            border-radius: 2px;
            background: linear-gradient(90deg, #00E5FF, #8B5CF6);
        }
        .hero-band {
            background-image: url('/assets/images/backpic/back-2.webp');
            background-size: cover;
            background-position: center;
            position: relative;
        }
        .hero-band::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, #070E1F 30%, rgba(7,14,31,0.75) 60%, rgba(7,14,31,0.4));
            z-index: 1;
        }
        .hero-band::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(0deg, #070E1F 0%, transparent 40%);
            z-index: 1;
        }
        .floating-dot {
            position: absolute;
            border-radius: 9999px;
            filter: blur(30px);
            opacity: 0.5;
            animation: floatDot 6s ease-in-out infinite;
            pointer-events: none;
            z-index: 0;
        }
        @keyframes floatDot {
            0%, 100% { transform: translateY(0) scale(1); }
            50% { transform: translateY(-20px) scale(1.05); }
        }
        @keyframes pulseGlow {
            0%, 100% { box-shadow: 0 0 18px rgba(0, 229, 255, 0.2); }
            50% { box-shadow: 0 0 30px rgba(0, 229, 255, 0.45); }
        }
        @media (max-width: 1024px) {
            .hero-band::before {
                background: linear-gradient(0deg, #070E1F 5%, rgba(7,14,31,0.8) 60%, rgba(7,14,31,0.55));
            }
        }
        .cover-img {
            background-color: #1e293b;
            position: relative;
            overflow: hidden;
        }
        .cover-img img {
            transition: transform 0.4s ease;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .cover-img:hover img {
            transform: scale(1.05);
        }
        @media (max-width: 768px) {
            .nav-menu {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: rgba(7, 14, 31, 0.96);
                backdrop-filter: blur(20px);
                border-bottom: 1px solid rgba(255, 255, 255, 0.08);
                padding: 1rem 1.5rem;
                flex-direction: column;
                gap: 1rem;
                z-index: 100;
            }
            .nav-menu.open {
                display: flex;
            }
        }

/* roulang page: category2 */
:root {
    --primary: #00E5FF;
    --secondary: #8B5CF6;
    --success: #10B981;
    --warning: #F59E0B;
    --bg-primary: #070E1F;
    --bg-secondary: #0F1A35;
    --bg-header: #0B1426;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --border-glass: rgba(255,255,255,0.08);
    --card-bg: rgba(255,255,255,0.04);
    --radius-lg: 10px;
    --radius-xl: 16px;
    --radius-2xl: 20px;
    --radius-3xl: 24px;
    --shadow-glow: 0 0 25px rgba(0, 229, 255, 0.35);
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    margin: 0;
  }
  img, a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
  a { text-decoration: none; color: inherit; }
  .container-site { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
  section[id] { scroll-margin-top: 88px; }

  .text-gradient {
    background: linear-gradient(90deg, #00E5FF, #8B5CF6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 10px;
    background: linear-gradient(135deg, #00E5FF, #8B5CF6);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    transition: all 0.2s ease;
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.2);
    border: none;
    cursor: pointer;
  }
  .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
    filter: brightness(1.1);
  }
  .btn-primary:active { transform: translateY(0) scale(0.98); }
  .btn-primary:focus-visible { outline: 3px solid rgba(0, 229, 255, 0.4); outline-offset: 2px; }

  .btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    color: #E2E8F0;
    font-weight: 500;
    font-size: 15px;
    line-height: 1;
    transition: all 0.2s ease;
    backdrop-filter: blur(12px);
    cursor: pointer;
  }
  .btn-ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(0, 229, 255, 0.4);
    color: #fff;
  }
  .btn-ghost:focus-visible { outline: 3px solid rgba(0, 229, 255, 0.3); outline-offset: 2px; }

  .glass-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
  }
  .glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 229, 255, 0.4);
  }

  .nav-link {
    position: relative;
    color: #94A3B8;
    transition: color 0.2s;
    padding: 8px 0;
  }
  .nav-link:hover { color: #00E5FF; }
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00E5FF, #8B5CF6);
    transition: width 0.3s ease;
    border-radius: 2px;
  }
  .nav-link:hover::after, .nav-link.active::after { width: 100%; }
  .nav-link.active { color: #00E5FF; }

  .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.2);
    color: #00E5FF;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
  }

  .tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(0, 229, 255, 0.12);
    border: 1px solid rgba(0, 229, 255, 0.2);
    color: #00E5FF;
    font-size: 12px;
    font-weight: 500;
  }

  .metric-card { text-align: center; padding: 32px 20px; }
  .metric-card .metric-num {
    font-family: 'Roboto Mono', 'Inter', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: #00E5FF;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
  }

  .faq-item { transition: all 0.3s ease; }
  .faq-item .faq-icon { transition: transform 0.3s ease; }
  .faq-item.open .faq-icon { transform: rotate(180deg); color: #00E5FF; }
  .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
  .faq-item.open .faq-answer { max-height: 300px; }
  .faq-item.open { border-color: rgba(0, 229, 255, 0.3); background: rgba(255,255,255,0.06); }

  .input-field {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 12px 16px;
    color: #fff;
    font-size: 14px;
    transition: all 0.2s ease;
  }
  .input-field::placeholder { color: #64748B; }
  .input-field:focus {
    outline: none;
    border-color: rgba(0, 229, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
  }
  .input-field option { background: #0B1426; color: #E2E8F0; }

  .step-line::before {
    content: '';
    position: absolute;
    top: 28px;
    left: -24px;
    right: auto;
    width: 48px;
    height: 1px;
    background: linear-gradient(90deg, rgba(0,229,255,0.2), transparent);
  }
  @media (min-width: 768px) {
    .step-line::before { left: -48px; width: 48px; }
  }

  @keyframes pulse-glow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.9; }
  }
  .pulse-glow { animation: pulse-glow 2.4s ease-in-out infinite; }

  @keyframes float-slow {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-14px) scale(1.03); }
  }
  .float-slow { animation: float-slow 7s ease-in-out infinite; }

  @media (max-width: 768px) {
    .container-site { padding: 0 16px; }
    .metric-card .metric-num { font-size: 1.5rem; }
  }

/* roulang page: article */
:root {
  --bg-primary: #070E1F;
  --bg-secondary: #0F1A35;
  --bg-tertiary: #0B1426;
  --primary: #00E5FF;
  --secondary: #8B5CF6;
  --success: #10B981;
  --warning: #F59E0B;
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --border-light: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.04);
  --radius-card: 16px;
  --radius-btn: 10px;
  --shadow-glow: 0 0 25px rgba(0, 229, 255, 0.35);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
  background-color: #1e293b;
}

button, input, select, textarea {
  font-family: inherit;
}

.container-site {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (max-width: 640px) {
  .container-site {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* 顶部信息条 */
.top-info {
  background-color: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-light);
  font-size: 12px;
  color: var(--text-muted);
}

.top-info .container-site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
}

.top-info .top-info-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-info a {
  color: var(--text-secondary);
  transition: color 0.2s;
}

.top-info a:hover {
  color: var(--primary);
}

/* 主导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(7, 14, 31, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.25);
}

.nav-link {
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #00E5FF, #8B5CF6);
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
  padding: 10px 22px;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
}

.btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  font-weight: 500;
  border-radius: 10px;
  padding: 10px 22px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 768px) {
  .hamburger-btn {
    display: flex;
  }
  .desktop-nav {
    display: none !important;
  }
  .header-cta {
    display: none !important;
  }
}

/* 移动端抽屉 */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background-color: rgba(7, 14, 31, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer.open {
  opacity: 1;
  visibility: visible;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 78%;
  max-width: 320px;
  height: 100%;
  background-color: var(--bg-secondary);
  border-left: 1px solid var(--border-light);
  padding: 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-drawer.open .drawer-panel {
  transform: translateX(0);
}

.drawer-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 22px;
  cursor: pointer;
}

/* 面包屑 */
.breadcrumb {
  padding: 22px 0 4px;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-secondary);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb .sep {
  margin: 0 8px;
  color: var(--text-muted);
  opacity: 0.5;
}

.breadcrumb .current {
  color: var(--text-secondary);
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
  display: inline-block;
}

/* 文章头图 */
.article-hero {
  position: relative;
  height: 360px;
  border-radius: 24px;
  overflow: hidden;
  background-color: #0f172a;
  margin-top: 28px;
}

.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 14, 31, 0.1) 0%, rgba(7, 14, 31, 0.5) 70%, var(--bg-primary) 100%);
}

@media (max-width: 768px) {
  .article-hero {
    height: 240px;
  }
}

/* 文章标题 */
.article-header {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 24px 0;
  text-align: center;
}

.article-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 900;
  line-height: 1.3;
  color: #fff;
  margin: 0 0 18px;
  letter-spacing: 0.01em;
}

.meta-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.meta-list .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.meta-list .meta-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 640px) {
  .meta-list {
    gap: 10px;
  }
}

/* 正文 */
.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 36px 24px 0;
}

.prose-article {
  font-size: 17px;
  line-height: 2;
  color: #CBD5E1;
}

.prose-article p {
  margin-bottom: 1.6rem;
}

.prose-article h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #F8FAFC;
  margin: 2.8rem 0 1rem;
  line-height: 1.4;
}

.prose-article h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #F1F5F9;
  margin: 2rem 0 0.8rem;
}

.prose-article img {
  border-radius: 16px;
  margin: 2rem auto;
}

.prose-article a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.prose-article a:hover {
  color: var(--secondary);
}

.prose-article blockquote {
  border-left: 4px solid var(--primary);
  background: rgba(255, 255, 255, 0.04);
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: #E2E8F0;
  margin: 2rem 0;
}

.prose-article ul,
.prose-article ol {
  margin: 1.2rem 0 1.6rem;
  padding-left: 1.5rem;
}

.prose-article li {
  margin-bottom: 0.5rem;
}

.prose-article ul li::marker {
  color: var(--primary);
}

.prose-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  overflow: hidden;
}

.prose-article th,
.prose-article td {
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 14px;
  text-align: left;
}

.prose-article th {
  background: rgba(255, 255, 255, 0.06);
  color: #F1F5F9;
  font-weight: 600;
}

.prose-article code {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 6px;
  padding: 3px 7px;
  font-size: 0.9em;
  font-family: 'Roboto Mono', Consolas, monospace;
  color: var(--primary);
}

.prose-article pre {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  padding: 18px;
  overflow-x: auto;
  margin: 1.8rem 0;
}

.prose-article pre code {
  background: none;
  padding: 0;
  color: #E2E8F0;
}

@media (max-width: 768px) {
  .prose-article {
    font-size: 15.5px;
    line-height: 1.85;
  }
}

/* 上一篇 / 下一篇 */
.article-pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 40px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* 空状态 */
.not-found {
  text-align: center;
  padding: 80px 20px;
}

.not-found .not-found-icon {
  width: 80px;
  height: 80px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 32px;
  color: var(--primary);
}

.not-found h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.not-found p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* 相关推荐 */
.related-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 24px 40px;
}

.related-section .section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.related-section .section-title::before {
  content: '';
  width: 4px;
  height: 20px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-card {
  background: var(--glass-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.related-card .card-img {
  height: 160px;
  overflow: hidden;
}

.related-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.related-card:hover .card-img img {
  transform: scale(1.05);
}

.related-card .card-body {
  padding: 18px 20px;
}

.related-card .card-body h3 {
  font-size: 15px;
  font-weight: 600;
  color: #F1F5F9;
  margin: 0 0 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-card .card-body .card-date {
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 返回按钮 */
.back-entry {
  text-align: center;
  padding: 20px 24px 60px;
}

/* 页脚 */
.site-footer {
  position: relative;
  background-color: #050A18;
  padding: 64px 0 32px;
  margin-top: 40px;
}

.site-footer .footer-glow-line {
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
}

.site-footer h4 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.site-footer .footer-link {
  color: var(--text-muted);
  transition: color 0.2s;
}

.site-footer .footer-link:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.floating {
  animation: float 6s ease-in-out infinite;
}
