/* ===================================================
   AI人格测试网站 - 全局样式 v2
   风格：暗黑 + 玻璃拟态 + 霓虹渐变 + 电影感
   Updated: 2026-05
   =================================================== */

:root {
  --bg: #07070f;
  --bg-2: #0d0d1a;
  --bg-card: rgba(255, 255, 255, 0.04);
  --purple: #7c3aed;
  --purple-light: #a855f7;
  --blue: #2563eb;
  --blue-dark: #1e3a8a;
  --neon: #c084fc;
  --neon-blue: #60a5fa;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #475569;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(168, 85, 247, 0.4);
  --glow: 0 0 30px rgba(168, 85, 247, 0.3);
  --glow-strong: 0 0 60px rgba(168, 85, 247, 0.5);
  --glow-blue: 0 0 30px rgba(96, 165, 250, 0.3);
  --radius: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 64px;
}

/* ============ 基础重置 ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

/* 自定义滚动条 */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: rgba(168,85,247,0.4); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(168,85,247,0.7); }

/* 文字选中颜色 */
::selection { background: rgba(124,58,237,0.4); color: #fff; }

a { color: var(--neon); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--purple-light); }

img { max-width: 100%; }

/* Focus outline for accessibility */
:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============ 粒子背景 Canvas ============ */
#particles-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* ============ 通用内容层 ============ */
.content-layer { position: relative; z-index: 1; }

/* ============ 字体 ============ */
.font-display {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* ============ 渐变文字 ============ */
.gradient-text {
  background: linear-gradient(135deg, var(--neon) 0%, var(--neon-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============ 玻璃拟态卡片 ============ */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--border-hover);
  box-shadow:
    0 0 0 1px rgba(168,85,247,0.15),
    0 8px 32px rgba(124,58,237,0.25),
    0 2px 8px rgba(0,0,0,0.4);
  transform: translateY(-4px);
}

/* ============ 主按钮 ============ */
.btn-primary-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 48px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.4);
}

.btn-primary-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 52px;
  background: linear-gradient(135deg, var(--neon), var(--neon-blue));
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.btn-primary-glow:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 40px rgba(124, 58, 237, 0.7);
  color: #fff;
}

.btn-primary-glow:hover::before { opacity: 1; }

.btn-primary-glow:active { transform: translateY(0) scale(0.99); }

.btn-primary-glow:disabled,
.btn-primary-glow[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn-primary-glow.loading {
  pointer-events: none;
  opacity: 0.75;
}

.btn-primary-glow.loading::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin-left: 8px;
}

/* 大号按钮 */
.btn-xl { padding: 20px 64px; font-size: 1.25rem; border-radius: 60px; }

/* ============ 次要按钮 ============ */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-ghost:hover {
  color: var(--neon);
  border-color: var(--border-hover);
  box-shadow: var(--glow);
}

/* ============ 发光进度条 ============ */
.glow-progress {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px;
  overflow: hidden;
}

.glow-progress-bar {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--purple) 0%, var(--neon-blue) 100%);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.6);
  transition: width 0.5s ease;
}

/* ============ 章节标题 ============ */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 12px;
}

/* ============ 分隔线 ============ */
.divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 48px 0;
}

/* ============ 页面淡入动画 ============ */
.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInBounce {
  0%   { opacity: 0; transform: translateY(32px) scale(0.95); }
  60%  { opacity: 1; transform: translateY(-6px) scale(1.02); }
  80%  { transform: translateY(3px) scale(0.99); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes bounce-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

.fade-in-delay-1 { animation-delay: 0.1s; opacity: 0; }
.fade-in-delay-2 { animation-delay: 0.2s; opacity: 0; }
.fade-in-delay-3 { animation-delay: 0.3s; opacity: 0; }
.fade-in-delay-4 { animation-delay: 0.4s; opacity: 0; }
.fade-in-delay-5 { animation-delay: 0.6s; opacity: 0; }

/* Intersection Observer 触发淡入 */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ============ 顶部导航 ============ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7, 7, 15, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, box-shadow 0.3s;
}

.site-nav.scrolled {
  background: rgba(7, 7, 15, 0.95);
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}

.site-logo {
  font-size: 1.05rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--neon), var(--neon-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

/* ============ 英雄区 ============ */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 60px) 24px 80px;
  position: relative;
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  margin-bottom: 48px;
  max-width: 540px;
  line-height: 1.8;
}

.hero-count {
  margin-top: 32px;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.hero-count span {
  color: var(--neon);
  font-weight: 700;
}

/* 宇宙光圈装饰 */
.hero-glow-ring {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.14) 0%, rgba(37,99,235,0.06) 50%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: ring-breathe 6s ease-in-out infinite;
}

@keyframes ring-breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  50% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
}

/* ============ 人格卡片区 ============ */
.section-padded {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-desc {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 64px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.personality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.personality-card {
  padding: 32px 28px;
  text-align: center;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.personality-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--neon-blue));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.personality-card:hover::after { transform: scaleX(1); }

.personality-card-icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
  display: block;
  filter: drop-shadow(0 0 12px rgba(168,85,247,0.4));
  transition: transform 0.3s ease;
}

.personality-card:hover .personality-card-icon {
  transform: scale(1.12) translateY(-2px);
}

.personality-card-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.personality-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============ 流程步骤 ============ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  position: relative;
}

.step-card {
  padding: 28px 24px;
  text-align: center;
}

.step-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--neon);
  margin-bottom: 12px;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ============ 用户评价 ============ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.review-card {
  padding: 28px 24px;
}

.review-avatar {
  font-size: 2rem;
  margin-bottom: 12px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 16px;
}

.review-stars {
  color: #fbbf24;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.review-name {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* ============ 大CTA区 ============ */
.cta-section {
  text-align: center;
  padding: 120px 24px;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(124,58,237,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

/* ============ 介绍页 ============ */
.intro-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
}

.intro-title {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.dimension-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 40px 0;
}

.dimension-tag {
  padding: 10px 20px;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(168,85,247,0.25);
  border-radius: 99px;
  font-size: 0.9rem;
  color: var(--neon);
}

.intro-meta {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* ============ 答题页 ============ */
.quiz-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 80px;
}

.quiz-header {
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.quiz-progress-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.quiz-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.question-text {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 600;
  text-align: center;
  line-height: 1.5;
  max-width: 700px;
  margin-bottom: 56px;
  letter-spacing: -0.01em;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 800px;
}

.option-card {
  padding: 22px 24px;
  cursor: pointer;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-align: left;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
  display: block;
  width: 100%;
  text-align: center;
}

.option-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(37,99,235,0.1));
  opacity: 0;
  transition: var(--transition);
}

.option-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--glow);
  transform: translateY(-2px);
}

.option-card:hover::before { opacity: 1; }

.option-card.selected {
  border-color: var(--purple-light);
  background: rgba(124,58,237,0.18);
  box-shadow:
    0 0 0 2px rgba(168,85,247,0.3),
    0 0 24px rgba(124,58,237,0.4),
    inset 0 0 20px rgba(124,58,237,0.08);
  transform: translateY(-3px);
}

.option-card.selected::before { opacity: 1; }

/* 波纹动画 */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.3);
  transform: scale(0);
  animation: ripple-effect 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-effect {
  to { transform: scale(4); opacity: 0; }
}

/* ============ AI生成中页 ============ */
.generating-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}

.spinner-ring {
  width: 180px;
  height: 180px;
  position: relative;
  margin: 0 auto 48px;
}

.spinner-ring::before,
.spinner-ring::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.spinner-ring::before {
  inset: 0;
  border: 2px solid rgba(255,255,255,0.05);
}

.spinner-ring::after {
  inset: 0;
  border: 2px solid transparent;
  border-top-color: var(--neon);
  border-right-color: var(--neon-blue);
  animation: spin 1.5s linear infinite;
  filter: drop-shadow(0 0 8px var(--neon));
}

.spinner-inner {
  position: absolute;
  inset: 20px;
  border: 1.5px solid transparent;
  border-bottom-color: var(--purple);
  border-left-color: var(--purple-light);
  border-radius: 50%;
  animation: spin 2s linear infinite reverse;
  filter: drop-shadow(0 0 6px var(--purple));
}

.spinner-core {
  position: absolute;
  inset: 40px;
  background: radial-gradient(circle, rgba(168,85,247,0.2), transparent);
  border-radius: 50%;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
}

.generating-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.generating-status {
  color: var(--text-muted);
  font-size: 0.95rem;
  min-height: 28px;
  transition: opacity 0.5s;
}

/* ============ 结果页 ============ */
.result-hero {
  text-align: center;
  padding: 140px 24px 80px;
  position: relative;
}

.result-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at top, rgba(124,58,237,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.result-type-label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.result-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 24px;
}

.result-tagline {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
  font-style: italic;
}

.result-rarity {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(251,191,36,0.1);
  border: 1px solid rgba(251,191,36,0.3);
  border-radius: 99px;
  font-size: 0.85rem;
  color: #fbbf24;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* 属性卡片 */
.attributes-section {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.attribute-item {
  margin-bottom: 20px;
}

.attribute-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.attribute-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.attribute-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--neon);
}

/* 分析模块 */
.analysis-section {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.analysis-card {
  padding: 32px;
  margin-bottom: 20px;
  border-left: 3px solid transparent;
  transition: var(--transition), border-left-color 0.3s;
}

.analysis-card:hover {
  border-left-color: var(--neon);
}

.analysis-card-title {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 16px;
  font-weight: 600;
}

.analysis-card-content {
  color: var(--text-muted);
  line-height: 1.85;
  font-size: 0.95rem;
}

/* 模糊遮罩 */
.blur-overlay {
  position: relative;
}

.blur-content {
  filter: blur(6px);
  user-select: none;
  pointer-events: none;
  opacity: 0.6;
}

.unlock-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, transparent 0%, rgba(7,7,15,0.8) 30%, var(--bg) 60%);
  padding: 20px;
  text-align: center;
}

/* ============ 付费解锁页 ============ */
.unlock-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px;
  text-align: center;
}

.price-display {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 24px 0;
}

.price-display .currency {
  font-size: 1.8rem;
  vertical-align: super;
  margin-right: 4px;
  color: var(--text-muted);
}

.unlock-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

.unlock-item {
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.unlock-item-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.unlock-item-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.unlock-item-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============ 完整结果页 ============ */
.full-result-hero {
  text-align: center;
  padding: 140px 24px 60px;
  position: relative;
}

.full-result-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at top, rgba(124,58,237,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.unlocked-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 99px;
  font-size: 0.8rem;
  color: #4ade80;
  font-weight: 600;
  margin-bottom: 24px;
}

.quote-card {
  max-width: 600px;
  margin: 0 auto 32px;
  padding: 32px;
  text-align: center;
  border-left: 3px solid var(--neon);
}

.quote-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
}

.careers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.career-tag {
  padding: 6px 16px;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(168,85,247,0.2);
  border-radius: 99px;
  font-size: 0.875rem;
  color: var(--neon);
}

.share-section {
  text-align: center;
  padding: 60px 24px 100px;
}

.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-share:hover {
  background: rgba(168,85,247,0.1);
  border-color: var(--border-hover);
  box-shadow: var(--glow);
  color: var(--neon);
}

/* ============ 语言切换器 ============ */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 4px 6px;
  flex-shrink: 0;
}

.lang-switcher a {
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.lang-switcher a.active,
.lang-switcher a:hover {
  background: rgba(124,58,237,0.25);
  color: var(--neon);
}

/* ============ 支付 Toast ============ */
#payment-toast {
  position: fixed;
  top: calc(var(--nav-height) + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  z-index: 9999;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 99px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(15, 5, 35, 0.9);
  border: 1px solid rgba(168,85,247,0.4);
  color: #e9d8fd;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), var(--glow);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

#payment-toast.show {
  display: flex;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

#payment-toast.confirmed {
  border-color: rgba(52,211,153,0.5);
  color: #6ee7b7;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 24px rgba(52,211,153,0.2);
}

.toast-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(168,85,247,0.9);
  animation: toast-pulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}

#payment-toast.confirmed .toast-dot {
  background: #34d399;
  animation: none;
}

@keyframes toast-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.55); }
}

/* ============ 页脚 ============ */
.site-footer {
  text-align: center;
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.825rem;
  letter-spacing: 0.01em;
}

/* ============ 响应式 ============ */
@media (max-width: 768px) {
  .site-nav { padding: 0 16px; gap: 12px; }
  .site-logo { font-size: 0.9rem; }
  .lang-switcher a { padding: 4px 8px; font-size: 0.72rem; }
  .section-padded { padding: 60px 20px; }
  .section-desc { margin-bottom: 40px; }
  .personality-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .options-grid { grid-template-columns: 1fr; }
  .unlock-items-grid { grid-template-columns: 1fr; }
  .quiz-header { padding: 16px 20px; }
  .result-hero, .full-result-hero { padding-top: 100px; padding-bottom: 48px; }
  .analysis-section, .attributes-section { padding-bottom: 48px; }
  .analysis-card { padding: 24px 20px; }
  .spinner-ring { width: 140px; height: 140px; }
}

@media (max-width: 480px) {
  .personality-grid { grid-template-columns: 1fr; }
  .btn-primary-glow { padding: 14px 36px; font-size: 1rem; }
  .btn-xl { padding: 16px 48px; font-size: 1.1rem; }
  .hero-title { letter-spacing: -0.03em; }
  .quote-card { padding: 24px 20px; }
  #payment-toast { width: calc(100% - 48px); text-align: center; }
}

/* ============ 辅助工具类 ============ */
.text-neon { color: var(--neon); }

/* ============ 功能中枢（AI 命运宇宙） ============ */
.function-hub-section {
  position: relative;
  overflow: hidden;
}

.function-hub-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(124,58,237,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.function-hub {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.function-card {
  --fc-color: var(--neon);
  --fc-glow: rgba(192,132,252,0.3);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 24px 22px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.function-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--fc-color) 8%, transparent), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.function-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--fc-color);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 0 1px color-mix(in srgb, var(--fc-color) 40%, transparent), 0 0 32px var(--fc-glow);
  color: var(--text);
  text-decoration: none;
}

.function-card:hover::before { opacity: 1; }

/* 每种测试类型的专属颜色 */
.fc-soul-test  { --fc-color: #c084fc; --fc-glow: rgba(192,132,252,0.3); }
.fc-past-life  { --fc-color: #f59e0b; --fc-glow: rgba(245,158,11,0.25); }
.fc-marriage   { --fc-color: #f472b6; --fc-glow: rgba(244,114,182,0.25); }
.fc-spirit-animal { --fc-color: #34d399; --fc-glow: rgba(52,211,153,0.25); }
.fc-cultivation   { --fc-color: #60a5fa; --fc-glow: rgba(96,165,250,0.25); }
.fc-wealth        { --fc-color: #fbbf24; --fc-glow: rgba(251,191,36,0.25); }
.fc-career        { --fc-color: #a78bfa; --fc-glow: rgba(167,139,250,0.25); }
.fc-default       { --fc-color: #c084fc; --fc-glow: rgba(192,132,252,0.25); }

.fc-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--fc-color) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--fc-color) 25%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  flex-shrink: 0;
}

.fc-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.fc-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--fc-color);
  letter-spacing: -0.01em;
  margin: 0;
}

.fc-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.fc-meta {
  display: flex;
  gap: 14px;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.fc-arrow {
  position: absolute;
  bottom: 22px;
  right: 24px;
  font-size: 1.1rem;
  color: var(--fc-color);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.function-card:hover .fc-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ============ 首屏功能选择聚焦布局 ============ */
.function-select-hero {
  min-height: calc(100vh - var(--nav-height));
  position: relative;
  padding-top: var(--nav-height);
}

.function-select-wrap {
  padding-top: 56px;
  padding-bottom: 72px;
}

.function-hub-top {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.function-hub-top .function-card {
  min-height: 228px;
  padding: 24px 20px 18px;
}

.function-hub-top .fc-name {
  font-size: 1.05rem;
}

.function-hub-top .fc-tagline {
  font-size: 0.84rem;
  line-height: 1.45;
}

.function-hub-top .fc-meta {
  font-size: 0.8rem;
  gap: 10px;
}

.ops-strip {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
  margin: 0 auto 24px;
  max-width: 1040px;
}

.ops-hot,
.ops-limited {
  padding: 16px 18px;
}

.ops-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.ops-hot-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ops-hot-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--text);
  text-decoration: none;
}

.ops-hot-item:hover {
  border-color: rgba(168,85,247,0.35);
  color: var(--neon);
}

.ops-rank {
  font-size: 0.72rem;
  font-weight: 700;
  color: #fbbf24;
}

.ops-name {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.ops-count {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.ops-limited-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124,58,237,0.14), rgba(37,99,235,0.08));
  border: 1px solid rgba(168,85,247,0.28);
  text-decoration: none;
}

.ops-limited-main:hover {
  box-shadow: 0 0 24px rgba(124,58,237,0.25);
}

.ops-limited-name {
  font-size: 1rem;
  color: var(--neon);
  font-weight: 700;
}

.ops-limited-tagline {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.ops-empty {
  color: var(--text-dim);
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .function-hub { grid-template-columns: 1fr; }
  .function-card:hover { transform: translateY(-3px); }

  .function-select-wrap {
    padding-top: 36px;
    padding-bottom: 56px;
  }

  .function-hub-top {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .function-hub-top .function-card {
    min-height: 200px;
    padding: 20px 16px 16px;
  }

  .function-hub-top .fc-meta {
    font-size: 0.78rem;
  }

  .ops-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
.text-muted { color: var(--text-muted); }
.text-dim { color: var(--text-dim); }
.font-bold { font-weight: 700; }
.font-mono { font-family: 'JetBrains Mono', 'Fira Mono', monospace; }
.mt-auto { margin-top: auto; }
.gap-2 { gap: 8px; }

/* ============ 页面统一质感增强 ============ */
body::before,
body::after {
  content: '';
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

body::before {
  width: 62vw;
  height: 62vw;
  right: -18vw;
  top: -16vw;
  background: radial-gradient(circle, rgba(32, 178, 170, 0.16) 0%, rgba(32, 178, 170, 0) 68%);
  filter: blur(4px);
}

body::after {
  width: 54vw;
  height: 54vw;
  left: -16vw;
  bottom: -14vw;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0) 72%);
}

.section-title {
  text-wrap: balance;
}

.section-desc {
  text-wrap: pretty;
}

/* ============ 引导页壳层 ============ */
.intro-shell {
  max-width: 920px;
  width: 100%;
  padding: 36px 34px 30px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.intro-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 26px auto 6px;
  max-width: 720px;
}

.intro-stat {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
}

.intro-stat strong {
  display: block;
  font-size: 1rem;
  color: #f9d87a;
  margin-bottom: 2px;
}

.intro-stat span {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ============ 答题页增强 ============ */
.quiz-header {
  position: sticky;
  top: var(--nav-height);
  z-index: 20;
  margin: 0 14px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(9, 9, 18, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28);
}

.quiz-progress-pill {
  min-width: 92px;
  text-align: center;
  font-size: 0.77rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.03);
}

.quiz-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.quiz-close:hover {
  color: var(--neon);
  border-color: rgba(168, 85, 247, 0.35);
}

.option-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.option-card .option-index {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.72rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.option-card.selected .option-index,
.option-card:hover .option-index {
  border-color: rgba(168, 85, 247, 0.65);
  color: var(--neon);
}

/* ============ 状态页（成功/取消） ============ */
.status-shell {
  min-height: calc(100vh - var(--nav-height));
  display: grid;
  place-items: center;
  padding: calc(var(--nav-height) + 24px) 24px 56px;
}

.status-panel {
  width: min(860px, 100%);
  padding: 32px 28px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at 100% 0%, rgba(32, 178, 170, 0.12), transparent 36%),
    radial-gradient(circle at 0% 100%, rgba(245, 158, 11, 0.1), transparent 34%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.status-emoji {
  font-size: 4.2rem;
  line-height: 1;
  margin-bottom: 10px;
}

.status-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.status-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 680px;
  margin: 0 auto;
}

.status-meta {
  margin-top: 16px;
  color: var(--text-dim);
  font-size: 0.84rem;
}

.status-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.status-actions .btn-primary-glow,
.status-actions .btn-ghost {
  min-width: 220px;
}

/* ============ 信息页 ============ */
.info-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 42px) 24px 80px;
}

.info-hero {
  padding: 24px 22px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  margin-bottom: 14px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 14px;
}

.info-nav {
  padding: 14px;
}

.info-nav-title {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.info-nav-list {
  display: grid;
  gap: 8px;
}

.info-nav-link {
  display: block;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.86rem;
}

.info-nav-link:hover {
  color: var(--neon);
  border-color: rgba(168, 85, 247, 0.35);
}

.info-content {
  padding: 18px 20px;
  line-height: 1.85;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.info-chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0 8px;
}

.info-chip {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8dd3c7;
  border: 1px solid rgba(141, 211, 199, 0.25);
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(141, 211, 199, 0.08);
}

@media (max-width: 768px) {
  .intro-shell {
    padding: 22px 16px 18px;
  }

  .quiz-header {
    margin: 0 8px;
    top: calc(var(--nav-height) - 4px);
    padding: 10px 10px;
  }

  .quiz-progress-pill {
    min-width: 74px;
    font-size: 0.72rem;
    padding: 4px 8px;
  }

  .status-panel {
    padding: 24px 16px;
  }

  .status-actions .btn-primary-glow,
  .status-actions .btn-ghost {
    min-width: 100%;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ 资讯中心（News Hub） v2 — 高大上神秘风格 ============ */

/* --- Keyframe Animations --- */
@keyframes news-nav-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(6,182,212,0), 0 0 14px rgba(6,182,212,0.22); }
  50%       { box-shadow: 0 0 0 4px rgba(6,182,212,0.08), 0 0 26px rgba(6,182,212,0.42); }
}
@keyframes news-shimmer-slide {
  0%   { transform: translateX(-100%) skewX(-12deg); }
  100% { transform: translateX(350%) skewX(-12deg); }
}
@keyframes news-orb-float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.55; }
  50%       { transform: translateY(-18px) scale(1.04); opacity: 0.85; }
}
@keyframes news-star-twinkle {
  0%, 100% { opacity: 0.18; }
  50%       { opacity: 0.55; }
}
@keyframes news-rank-badge {
  0%, 100% { filter: brightness(1); }
  50%       { filter: brightness(1.35) drop-shadow(0 0 4px currentColor); }
}
@keyframes news-top-line-sweep {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* --- Nav: site-nav-left --- */
.site-nav-left {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

/* --- Nav: Home/Page Link (plain ghost pill) --- */
.site-nav-page-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  transition: var(--transition);
}
.site-nav-page-link:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.07);
}
.site-nav-page-link.active {
  color: #e2f4ff;
  border-color: rgba(96,165,250,0.45);
  background: rgba(37,99,235,0.14);
  box-shadow: 0 0 14px rgba(37,99,235,0.2);
}

/* --- Nav: News Link Pill --- */
.site-nav-news-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a5f3ff;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg,
    rgba(6, 182, 212, 0.22) 0%,
    rgba(88, 28, 235, 0.18) 55%,
    rgba(6, 182, 212, 0.16) 100%);
  border: 1px solid rgba(6, 182, 212, 0.4);
  animation: news-nav-pulse 3.2s ease-in-out infinite;
  transition: var(--transition);
}
.site-nav-news-link::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
  transform: translateX(-100%) skewX(-12deg);
  animation: news-shimmer-slide 4s ease-in-out infinite;
  pointer-events: none;
}
.site-nav-news-link:hover {
  color: #d8fbff;
  border-color: rgba(6, 182, 212, 0.75);
  background: linear-gradient(120deg,
    rgba(6, 182, 212, 0.32) 0%,
    rgba(88, 28, 235, 0.26) 55%,
    rgba(6, 182, 212, 0.22) 100%);
  animation: none;
  box-shadow: 0 0 28px rgba(6, 182, 212, 0.5), 0 4px 18px rgba(0,0,0,0.35);
  transform: translateY(-1px);
}
.site-nav-news-icon {
  font-size: 0.88rem;
  color: #7fe8ff;
  filter: drop-shadow(0 0 5px rgba(6,182,212,0.9));
  transition: transform 0.3s;
}
.site-nav-news-link:hover .site-nav-news-icon {
  transform: rotate(20deg) scale(1.15);
}

/* ---- Home News Section ---- */
.home-news-section {
  position: relative;
  overflow: hidden;
}
.home-news-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 5% 0%, rgba(6, 182, 212, 0.18), transparent 50%),
    radial-gradient(ellipse 65% 55% at 90% 35%, rgba(124, 58, 237, 0.16), transparent 50%),
    radial-gradient(ellipse 40% 30% at 50% 100%, rgba(56, 189, 248, 0.1), transparent 50%);
}
.home-news-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 5%,
    rgba(6, 182, 212, 0.55) 38%,
    rgba(124, 58, 237, 0.5) 62%,
    transparent 95%);
}
.home-news-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.home-news-sections {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.home-news-section-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  transition: var(--transition);
}
.home-news-section-chip:hover {
  color: #d8f7ff;
  border-color: rgba(6, 182, 212, 0.5);
  background: rgba(6, 182, 212, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.2);
}
.home-news-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr;
  gap: 20px;
}
.home-news-featured-card {
  padding: 26px;
  min-height: 100%;
  border: 1px solid rgba(6, 182, 212, 0.3);
  background: linear-gradient(160deg,
    rgba(6, 182, 212, 0.16) 0%,
    rgba(17, 22, 40, 0.75) 65%,
    rgba(88, 28, 235, 0.08) 100%);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.home-news-featured-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    rgba(6,182,212,0.85), rgba(88,28,235,0.75), rgba(6,182,212,0.4));
}
.home-news-featured-card:hover {
  border-color: rgba(6, 182, 212, 0.55);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(6,182,212,0.2), 0 4px 20px rgba(0,0,0,0.3);
}
.home-news-featured-card h3 {
  margin-top: 12px;
  margin-bottom: 14px;
  font-size: clamp(1.2rem, 2.1vw, 1.65rem);
  line-height: 1.38;
  color: #edf9ff;
  text-shadow: 0 0 24px rgba(6,182,212,0.3);
}
.home-news-featured-card p {
  color: #c4dce8;
  line-height: 1.85;
}
.home-news-featured-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  color: #92aebb;
  font-size: 0.77rem;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.home-news-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

/* ---- Section Pills ---- */
.news-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 700;
  border: 1px solid transparent;
}
.news-pill-trending {
  color: #ffdfb2;
  border-color: rgba(245,158,11,0.52);
  background: rgba(245,158,11,0.13);
  text-shadow: 0 0 10px rgba(245,158,11,0.45);
}
.news-pill-horoscope {
  color: #e6daff;
  border-color: rgba(139,92,246,0.52);
  background: rgba(139,92,246,0.15);
  text-shadow: 0 0 10px rgba(139,92,246,0.45);
}
.news-pill-psychology {
  color: #c5ffe4;
  border-color: rgba(16,185,129,0.52);
  background: rgba(16,185,129,0.14);
  text-shadow: 0 0 10px rgba(16,185,129,0.4);
}
.news-pill-destiny {
  color: #c5faff;
  border-color: rgba(6,182,212,0.52);
  background: rgba(6,182,212,0.14);
  text-shadow: 0 0 10px rgba(6,182,212,0.45);
}

/* ---- News Cards ---- */
.news-card {
  padding: 18px 16px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.06);
}
.news-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  border-radius: 3px 0 0 3px;
  background: rgba(6,182,212,0.3);
  transition: background 0.3s;
}
.news-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6,182,212,0), transparent);
  transition: background 0.4s;
}
.news-card:hover {
  transform: translateY(-5px);
  border-color: rgba(6,182,212,0.28);
  box-shadow: 0 14px 44px rgba(6,182,212,0.14), 0 4px 16px rgba(0,0,0,0.35);
}
.news-card:hover::before { background: rgba(6,182,212,0.7); }
.news-card:hover::after  { background: linear-gradient(90deg, transparent, rgba(6,182,212,0.45), transparent); }
.news-card:has(.news-pill-horoscope)::before { background: rgba(139,92,246,0.3); }
.news-card:has(.news-pill-horoscope):hover { border-color: rgba(139,92,246,0.35); box-shadow: 0 14px 44px rgba(139,92,246,0.14), 0 4px 16px rgba(0,0,0,0.35); }
.news-card:has(.news-pill-horoscope):hover::before { background: rgba(139,92,246,0.75); }
.news-card:has(.news-pill-trending)::before { background: rgba(245,158,11,0.3); }
.news-card:has(.news-pill-trending):hover { border-color: rgba(245,158,11,0.32); box-shadow: 0 14px 44px rgba(245,158,11,0.12), 0 4px 16px rgba(0,0,0,0.35); }
.news-card:has(.news-pill-trending):hover::before { background: rgba(245,158,11,0.7); }
.news-card:has(.news-pill-psychology)::before { background: rgba(16,185,129,0.3); }
.news-card:has(.news-pill-psychology):hover { border-color: rgba(16,185,129,0.32); box-shadow: 0 14px 44px rgba(16,185,129,0.12), 0 4px 16px rgba(0,0,0,0.35); }
.news-card:has(.news-pill-psychology):hover::before { background: rgba(16,185,129,0.7); }
.news-card-link-wrap { display: block; height: 100%; }
.news-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 8px;
}
.news-time {
  color: var(--text-dim);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}
.news-card-title {
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.5;
  color: #daeeff;
  transition: color 0.2s;
}
.news-card:hover .news-card-title { color: #b6eaff; }
.news-card-summary {
  color: #94b4c4;
  font-size: 0.86rem;
  line-height: 1.74;
  min-height: 2.9em;
}
.news-card-meta {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #637c8a;
  font-size: 0.74rem;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.news-card-meta-arrow {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(6,182,212,0.3);
  color: #4ed8f5;
  font-size: 0.68rem;
  transition: var(--transition);
  flex-shrink: 0;
}
.news-card:hover .news-card-meta-arrow {
  background: rgba(6,182,212,0.2);
  border-color: rgba(6,182,212,0.7);
  transform: translateX(2px);
  box-shadow: 0 0 8px rgba(6,182,212,0.4);
}

/* ---- News Page Hero ---- */
.news-page-hero {
  padding-top: calc(var(--nav-height) + 12px);
  padding-bottom: 4px;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.news-page-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 90% at 88% 0%, rgba(124,58,237,0.35), transparent 50%),
    radial-gradient(ellipse 60% 75% at 10% 35%, rgba(6,182,212,0.28), transparent 50%),
    radial-gradient(ellipse 40% 50% at 50% 90%, rgba(56,189,248,0.14), transparent 50%);
}
.news-page-hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.news-page-hero-orbs .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(55px);
  animation: news-orb-float 7s ease-in-out infinite;
}
.news-page-hero-orbs .orb-1 {
  width: 340px; height: 340px;
  top: -100px; right: 8%;
  background: radial-gradient(circle, rgba(124,58,237,0.3), transparent 70%);
  animation-delay: 0s;
}
.news-page-hero-orbs .orb-2 {
  width: 220px; height: 220px;
  bottom: -40px; left: 12%;
  background: radial-gradient(circle, rgba(6,182,212,0.25), transparent 70%);
  animation-delay: 2.5s;
}
.news-page-hero-orbs .orb-3 {
  width: 140px; height: 140px;
  top: 30%; right: 35%;
  background: radial-gradient(circle, rgba(56,189,248,0.2), transparent 70%);
  animation-delay: 4s;
}
.news-page-hero-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.news-page-hero-stars::before {
  content: '✦  ✧  ✦  ✧  ✦  ✧  ✦  ✧  ✦  ✧  ✦';
  position: absolute;
  top: 28%;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(6,182,212,0.22);
  font-size: 0.75rem;
  letter-spacing: 2.4rem;
  white-space: nowrap;
  animation: news-star-twinkle 4.5s ease-in-out infinite;
}
.news-page-hero-stars::after {
  content: '✧  ✦  ✧  ✦  ✧  ✦  ✧';
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(139,92,246,0.18);
  font-size: 0.65rem;
  letter-spacing: 3rem;
  white-space: nowrap;
  animation: news-star-twinkle 5.5s ease-in-out infinite 1.2s;
}
.news-hero-divider {
  width: 90px;
  height: 2px;
  background: linear-gradient(90deg, rgba(6,182,212,0.85), rgba(139,92,246,0.65), transparent);
  border: none;
  margin: 16px 0 20px;
}

/* ---- Filter Bar ---- */
.news-filter-bar {
  margin-top: 24px;
  padding: 8px 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(14px);
  border-radius: var(--radius);
}
.news-filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 16px;
  border-radius: 999px;
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.news-filter-chip:hover {
  color: #e5f8ff;
  border-color: rgba(6,182,212,0.42);
  background: rgba(6,182,212,0.1);
  transform: translateY(-2px);
}
.news-filter-chip.active {
  color: #e5f8ff;
  border-color: rgba(6,182,212,0.65);
  background: linear-gradient(135deg, rgba(6,182,212,0.22), rgba(56,189,248,0.1));
  box-shadow: 0 0 18px rgba(6,182,212,0.28), inset 0 0 10px rgba(6,182,212,0.08);
}

/* ---- Page Grid ---- */
.news-page-grid-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(270px, 0.8fr);
  gap: 20px;
}

/* ---- Featured Banner ---- */
.news-featured-banner {
  padding: 26px;
  margin-bottom: 16px;
  background: linear-gradient(148deg,
    rgba(124,58,237,0.17) 0%,
    rgba(11,15,36,0.8) 55%,
    rgba(6,182,212,0.1) 100%);
  border: 1px solid rgba(139,92,246,0.32);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.news-featured-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    rgba(139,92,246,0.85), rgba(6,182,212,0.75), rgba(139,92,246,0.4));
  background-size: 200% 100%;
  animation: news-top-line-sweep 6s linear infinite;
}
.news-featured-banner:hover {
  border-color: rgba(139,92,246,0.58);
  box-shadow: 0 14px 50px rgba(124,58,237,0.22), 0 4px 20px rgba(0,0,0,0.35);
}
.news-featured-kicker {
  color: #b8a8f5;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.news-featured-kicker::before {
  content: '◈';
  color: rgba(139,92,246,0.9);
  font-size: 0.78rem;
  filter: drop-shadow(0 0 4px rgba(139,92,246,0.8));
}
.news-featured-banner h2 a {
  color: #f2f7ff;
  line-height: 1.42;
  font-size: clamp(1.22rem, 2.4vw, 1.75rem);
  transition: color 0.2s;
  text-shadow: 0 0 32px rgba(139,92,246,0.28);
}
.news-featured-banner h2 a:hover { color: #ccdfff; }
.news-featured-banner > p {
  margin-top: 14px;
  color: #c4d8e8;
  line-height: 1.84;
}
.news-featured-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: #8daabb;
  font-size: 0.75rem;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

/* ---- Cards Grid ---- */
.news-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

/* ---- Aside / Rank Card ---- */
.news-rank-card {
  padding: 18px 16px;
  position: relative;
  overflow: hidden;
}
.news-rank-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    rgba(6,182,212,0.75), rgba(139,92,246,0.55), transparent);
}
.news-rank-card h3 {
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #bde9f8;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 7px;
}
.news-rank-card h3::before {
  content: '✦';
  color: rgba(6,182,212,0.7);
  font-size: 0.68rem;
  filter: drop-shadow(0 0 4px rgba(6,182,212,0.7));
}
.news-rank-card ol {
  list-style: none;
  margin: 0; padding: 0;
  counter-reset: news-rank;
}
.news-rank-card li {
  margin-bottom: 8px;
  padding: 9px 10px 9px 38px;
  position: relative;
  border-radius: 9px;
  border: 1px solid transparent;
  transition: var(--transition);
  counter-increment: news-rank;
}
.news-rank-card li::before {
  content: counter(news-rank);
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.67rem;
  font-weight: 800;
  background: rgba(6,182,212,0.16);
  color: #70daf0;
  border: 1px solid rgba(6,182,212,0.32);
}
.news-rank-card li:nth-child(1)::before {
  background: rgba(245,158,11,0.2);
  color: #fcd34d;
  border-color: rgba(245,158,11,0.48);
  animation: news-rank-badge 2.5s ease-in-out infinite;
}
.news-rank-card li:nth-child(2)::before {
  background: rgba(148,163,184,0.18);
  color: #d4dde8;
  border-color: rgba(148,163,184,0.38);
}
.news-rank-card li:nth-child(3)::before {
  background: rgba(180,115,55,0.18);
  color: #f5a45e;
  border-color: rgba(180,115,55,0.38);
}
.news-rank-card li:hover {
  background: rgba(6,182,212,0.06);
  border-color: rgba(6,182,212,0.2);
}
.news-rank-card li a {
  color: #b4d0e0;
  font-size: 0.83rem;
  line-height: 1.55;
}
.news-rank-card li:hover a { color: #dbf8ff; }

/* ---- Nav Links, Related Links, Test Links ---- */
.news-nav-links, .news-related-links, .news-test-links {
  display: grid;
  gap: 8px;
}
.news-nav-links a, .news-related-links a, .news-test-links a {
  display: block;
  padding: 10px 34px 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
  color: #b8d0de;
  font-size: 0.86rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.news-nav-links a::after, .news-related-links a::after {
  content: '→';
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%) translateX(4px);
  color: transparent;
  transition: var(--transition);
}
.news-nav-links a:hover::after, .news-related-links a:hover::after {
  color: rgba(6,182,212,0.8);
  transform: translateY(-50%) translateX(0);
}
.news-test-links a {
  padding: 12px;
}
.news-test-links a strong {
  display: block;
  color: #e5f6ff;
  margin-bottom: 3px;
  font-size: 0.92rem;
}
.news-test-links a span {
  display: block;
  color: #728c9a;
  font-size: 0.78rem;
  line-height: 1.55;
}
.news-nav-links a:hover, .news-related-links a:hover, .news-test-links a:hover {
  border-color: rgba(6,182,212,0.32);
  background: rgba(6,182,212,0.06);
  color: #def8ff;
  transform: translateX(2px);
}

/* ---- Section Block (bottom list page) ---- */
.news-section-block {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.news-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.news-section-head h2 {
  font-size: 1.08rem;
  font-weight: 700;
  color: #e4f6ff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.news-section-head h2::before {
  content: '◈';
  color: rgba(6,182,212,0.72);
  font-size: 0.72rem;
  filter: drop-shadow(0 0 3px rgba(6,182,212,0.65));
}
.news-section-head a {
  font-size: 0.82rem;
  color: #6ddfff;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}
.news-section-head a::after { content: '→'; }
.news-section-head a:hover { color: #a5f3ff; transform: translateX(2px); }

/* ---- Detail Hero ---- */
.news-detail-hero {
  padding-top: calc(var(--nav-height) + 12px);
  padding-bottom: 4px;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.news-detail-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 80% at 15% 5%, rgba(6,182,212,0.28), transparent 50%),
    radial-gradient(ellipse 55% 75% at 85% 22%, rgba(124,58,237,0.28), transparent 50%),
    radial-gradient(ellipse 35% 40% at 50% 100%, rgba(56,189,248,0.12), transparent 50%);
}
.news-detail-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 25%, rgba(7,7,15,0.65) 100%);
}
.news-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.news-breadcrumb a {
  color: var(--text-muted);
  transition: color 0.2s;
}
.news-breadcrumb a:hover { color: var(--neon-blue); }
.news-breadcrumb-sep { color: rgba(255,255,255,0.2); font-size: 0.7rem; }
.news-detail-meta-row {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: #8eaab8;
  font-size: 0.82rem;
  align-items: center;
}
.news-detail-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.news-detail-meta-item > i { font-size: 0.78rem; opacity: 0.7; }

/* ---- Detail Layout ---- */
.news-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(260px, 0.75fr);
  gap: 20px;
}
.news-detail-main {
  padding: 28px 30px;
}
.news-detail-summary {
  color: #d4edf9;
  line-height: 1.88;
  padding: 18px 20px;
  border: 1px solid rgba(6,182,212,0.28);
  background: linear-gradient(135deg, rgba(6,182,212,0.11), rgba(56,189,248,0.06));
  border-radius: 14px;
  margin-bottom: 22px;
  position: relative;
  font-size: 1.02rem;
}
.news-detail-summary::before {
  content: '◈';
  position: absolute;
  top: -9px; left: 18px;
  background: var(--bg);
  padding: 0 6px;
  color: rgba(6,182,212,0.85);
  font-size: 0.78rem;
  filter: drop-shadow(0 0 4px rgba(6,182,212,0.7));
}
.news-detail-content {
  color: #c0d6e3;
  line-height: 2.05;
  font-size: 1rem;
}
.news-detail-footer {
  margin-top: 26px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.news-side-card {
  padding: 18px 16px;
  position: relative;
  overflow: hidden;
}
.news-side-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(139,92,246,0.75), rgba(6,182,212,0.55), transparent);
}
.news-side-card h3 {
  color: #c8eeff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.news-side-card h3::before {
  content: '✦';
  color: rgba(139,92,246,0.75);
  font-size: 0.65rem;
  filter: drop-shadow(0 0 4px rgba(139,92,246,0.75));
}

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .home-news-grid { grid-template-columns: 1fr; }
  .news-page-grid-wrap, .news-detail-layout { grid-template-columns: 1fr; }
  .news-page-hero, .news-detail-hero { min-height: 200px; }
  .news-page-hero-orbs .orb-1 { width: 200px; height: 200px; top: -60px; }
  .news-page-hero-orbs .orb-3 { display: none; }
}

@media (max-width: 768px) {
  .site-nav-left { gap: 8px; }
  .site-nav-news-link { padding: 5px 10px; font-size: 0.72rem; }
  .home-news-head { flex-direction: column; align-items: flex-start; }
  .home-news-list, .news-cards-grid { grid-template-columns: 1fr; }
  .news-filter-bar { padding: 8px; }
  .news-detail-main { padding: 18px 16px; }
  .news-page-hero-stars::before,
  .news-page-hero-stars::after { display: none; }
}
