/*
Theme Name: EPHXZ - 心脏电生理技术站
Theme URI: https://ephxz.cn
Author: EP好学者
Author URI: https://ephxz.cn
Description: 心脏电生理技术站 WordPress 主题，支持文章管理、审核流程、自动编号
Version: 2.1
License: GNU GPL v3
Text Domain: ephxz
*/

/*! EPHXZ.CN 原创主题样式 | 版权指纹 EPHXZ_FP_20260822_7c3a9e41 | 未经授权禁止复制仿制 */
/* ===== CSS Variables ===== */
:root {
  --neon-cyan: #00f0ff;
  --neon-purple: #b829ff;
  --neon-pink: #ff0080;
  --neon-green: #00ff88;
  --neon-orange: #ffaa00;
  --neon-red: #ff3333;
  --dark-bg: #030308;
  --panel-bg: rgba(8, 12, 25, 0.95);
  --grid-color: rgba(0, 240, 255, 0.03);
  --card-bg: rgba(8, 12, 25, 0.98);
  --border-color: rgba(0, 240, 255, 0.12);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.4);
}

/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark-bg);
  color: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-purple));
  border-radius: 3px;
}

::selection {
  background: rgba(0, 240, 255, 0.3);
  color: white;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.5s ease;
  padding: 1rem 0;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(3, 3, 8, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 240, 255, 0.2);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.logo-pulse {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: var(--neon-cyan);
  border-radius: 50%;
  animation: logo-pulse 1.5s ease-in-out infinite;
  opacity: 0.5;
}

@keyframes logo-pulse {
  0%, 100% { transform: translateY(-50%) scale(1); opacity: 0.5; }
  50% { transform: translateY(-50%) scale(1.5); opacity: 0; }
}

.logo-icon {
  width: 32px;
  height: 32px;
  color: var(--neon-cyan);
  position: relative;
  z-index: 1;
}

.logo-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
}

.logo-accent {
  color: var(--neon-cyan);
}

.logo-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  color: var(--neon-cyan);
  padding: 0.125rem 0.375rem;
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 4px;
  margin-left: 0.5rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--neon-cyan);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--neon-cyan);
  transition: width 0.3s ease;
  box-shadow: 0 0 10px var(--neon-cyan);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 60%;
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 4px;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: status-pulse 2s ease-in-out infinite;
}

.status-indicator.online {
  background: var(--neon-green);
  box-shadow: 0 0 10px var(--neon-green);
}

@keyframes status-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.status-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  color: var(--neon-green);
  letter-spacing: 0.1em;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 1rem;
  right: 1rem;
  background: rgba(5, 5, 16, 0.98);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  z-index: 999;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu li {
  margin-bottom: 0.5rem;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-menu a:hover {
  background: rgba(0, 240, 255, 0.1);
  color: var(--neon-cyan);
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.5);
  color: var(--neon-cyan);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: rgba(0, 240, 255, 0.2);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
  transform: translateY(-2px);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: transparent;
  border: 1px solid rgba(184, 41, 255, 0.5);
  color: var(--neon-purple);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-secondary:hover {
  background: rgba(184, 41, 255, 0.1);
  box-shadow: 0 0 30px rgba(184, 41, 255, 0.3);
  transform: translateY(-2px);
}

.btn-tertiary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: transparent;
  border: 1px solid rgba(255, 0, 128, 0.5);
  color: var(--neon-pink);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-tertiary:hover {
  background: rgba(255, 0, 128, 0.1);
  box-shadow: 0 0 30px rgba(255, 0, 128, 0.3);
  transform: translateY(-2px);
}

.btn-tertiary svg {
  width: 18px;
  height: 18px;
}

/* ===== Common Styles ===== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  border: 1px solid rgba(0, 240, 255, 0.3);
  background: rgba(0, 240, 255, 0.05);
  margin-bottom: 1.5rem;
}

.badge svg {
  width: 14px;
  height: 14px;
  color: var(--neon-cyan);
}

.badge span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--neon-cyan);
  letter-spacing: 0.15em;
}

.section-header h2 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.0625rem;
  max-width: 600px;
  margin: 0 auto;
}

.gradient-text {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 5s ease infinite;
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.text-cyan { color: var(--neon-cyan); }
.text-purple { color: var(--neon-purple); }
.text-pink { color: var(--neon-pink); }

.glow-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.08;
  pointer-events: none;
}

.glow-orb.left {
  top: 10%;
  left: -10%;
  background: radial-gradient(circle, var(--neon-cyan), transparent);
}

.glow-orb.right {
  bottom: 10%;
  right: -10%;
  background: radial-gradient(circle, var(--neon-purple), transparent);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6rem 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 30% 50%, rgba(0, 240, 255, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(184, 41, 255, 0.1) 0%, transparent 50%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(3, 3, 8, 0.7), rgba(3, 3, 8, 0.5), rgba(3, 3, 8, 0.95));
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 1000px;
  padding: 0 1.5rem;
}

.hero-brand {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  margin-bottom: 0.3rem;
  letter-spacing: 0.15em;
}

.hero-brand .brand-main {
  color: var(--neon-cyan);
  font-weight: 700;
  text-shadow: 0 0 15px rgba(0, 240, 255, 0.6);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title span {
  display: block;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  max-width: 900px;
  margin: 0 auto 2.5rem;
}

.huaxia-title {
  display: inline-block;
  margin-top: 0.5rem;
}

.huaxia-img {
  height: 80px;
  width: auto;
  filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.5));
}

.stat-box {
  background: linear-gradient(135deg, rgba(8, 12, 25, 0.9), rgba(3, 5, 12, 0.95));
  border: 1px solid rgba(0, 240, 255, 0.2);
  padding: 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stat-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
}

.stat-icon {
  width: 24px;
  height: 24px;
  margin: 0 auto 0.5rem;
  color: var(--neon-cyan);
}

.stat-icon svg {
  width: 100%;
  height: 100%;
}

.stat-data {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
}

.stat-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neon-cyan);
}

.stat-unit {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.5);
}

.stat-label {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.4);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-buttons .btn-primary,
.hero-buttons .btn-secondary,
.hero-buttons .btn-tertiary {
  min-width: 180px;
  height: 60px;
  justify-content: center;
  white-space: nowrap;
}

.hero-ecg-preview {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 800px;
  height: 100px;
  background: #ffffff;
  border: 1px solid rgba(204, 0, 0, 0.3);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(204, 0, 0, 0.1);
}

.hero-ecg-preview canvas {
  width: 100%;
  height: 100%;
}

.ecg-overlay {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  right: 0.5rem;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.lead-label, .gain-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  color: #cc0000;
  padding: 0.125rem 0.375rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 2px;
  border: 1px solid rgba(204, 0, 0, 0.2);
}

.side-decoration {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.side-decoration.left {
  left: 1.5rem;
}

.side-decoration.right {
  right: 1.5rem;
}

.data-stream, .system-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  color: rgba(0, 240, 255, 0.5);
  letter-spacing: 0.1em;
}

.system-info {
  text-align: right;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(0, 240, 255, 0.5);
}

.scroll-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--neon-cyan), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; height: 40px; }
  50% { opacity: 1; height: 50px; }
}

/* ===== Footer ===== */
.footer {
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.footer-links a:hover {
  color: var(--neon-cyan);
}

.footer-kefu-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.25rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(0, 240, 255, 0.1);
  text-decoration: none;
}

.kefu-qr-img {
  width: 55px;
  height: 55px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.kefu-qr-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
}

.footer-bottom .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--neon-cyan);
}

.legal-divider {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
}

.gongan-beian {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.gongan-beian img {
  width: 14px;
  height: 14px;
}

.footer-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.3), transparent);
  margin-top: 1rem;
}

.footer-icp {
  text-align: center;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-icp a {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: none;
}

.footer-icp a:hover {
  color: var(--neon-cyan);
}

.system-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.3);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 6px var(--neon-green);
  animation: status-pulse 2s ease-in-out infinite;
}

/* ===== Community Page ===== */
.community-hero {
  padding: 8rem 0 2rem;
  text-align: center;
}

.community-hero-inner h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
}

.community-hero-inner p {
  color: var(--text-muted);
  font-size: 1rem;
}

.community-summary {
  padding: 0 0 3rem;
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 2rem 2.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.summary-grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), var(--neon-purple), transparent);
}

.summary-brand-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--neon-cyan);
}

.summary-brand-desc {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 480px;
}

.summary-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
}

.s-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--neon-cyan);
}

.s-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.summary-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.summary-qr img {
  width: 90px;
  height: 90px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  object-fit: cover;
}

.summary-categories {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}

.sum-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sum-cat:hover {
  background: rgba(0, 240, 255, 0.04);
  border-color: rgba(0, 240, 255, 0.2);
}

.sum-cat-name {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.sum-cat-num {
  font-size: 0.75rem;
  color: var(--neon-cyan);
  font-weight: 600;
}

.community-search {
  margin-bottom: 1.5rem;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 10px;
  transition: all 0.3s ease;
  width: 100%;
}

.search-box:focus-within {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.search-box svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

.search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.search-count {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===== Article List ===== */
.ep-articles-grid {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.ep-list-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.ep-list-row:hover {
  border-color: rgba(0, 240, 255, 0.2);
  background: rgba(0, 240, 255, 0.02);
}

.ep-list-num {
  position: relative;
  width: 40px;
  height: 40px;
  color: var(--neon-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.3));
}

.ep-list-img {
  width: 100px;
  height: 72px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.ep-list-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ep-list-body {
  flex: 1;
  min-width: 0;
}

.ep-list-cat {
  font-size: 0.82rem;
  color: var(--neon-cyan);
  font-weight: 500;
}

.ep-list-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  margin: 0.25rem 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ep-list-meta {
  display: flex;
  gap: 1.2rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.ep-list-upload,
.ep-list-views,
.ep-list-likes {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.ep-list-arrow {
  flex-shrink: 0;
  color: var(--neon-cyan);
  font-size: 1.2rem;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.ep-list-row:hover .ep-list-arrow {
  opacity: 1;
}

.ep-view-more-cell {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 1.5rem 0;
}

.btn-view-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 3rem;
  background: transparent;
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.4s ease;
  letter-spacing: 0.05em;
  min-width: 180px;
}

.btn-view-more:hover {
  background: rgba(0, 240, 255, 0.1);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
  transform: translateY(-2px);
}

.community-placeholder {
  text-align: center;
  padding: 4rem;
  color: rgba(255, 255, 255, 0.3);
}

.placeholder-inner svg {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  opacity: 0.3;
}

/* ===== Admin Page ===== */
.admin-wrap {
  padding: 2rem 1.5rem;
  max-width: 1200px;
  margin: 80px auto 2rem;
}

.admin-header {
  text-align: center;
  margin-bottom: 2rem;
}

.admin-header h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  color: var(--neon-cyan);
  margin-bottom: 0.5rem;
}

.admin-header p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.stats-bar {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  background: var(--card-bg);
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  text-align: center;
  min-width: 140px;
}

.stat-item .num {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  color: var(--neon-cyan);
  font-weight: 700;
}

.stat-item .label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.3rem;
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  color: var(--neon-cyan);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 240, 255, 0.2);
}

.pending-list {
  margin-bottom: 3rem;
}

.pending-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  margin-bottom: 0.75rem;
}

.pending-item .info h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.pending-item .info .meta {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.pending-item .info .meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.pending-item .actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn-approve, .btn-reject {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-approve {
  background: rgba(0, 240, 255, 0.15);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.btn-approve:hover {
  background: rgba(0, 240, 255, 0.3);
}

.btn-reject {
  background: rgba(255, 0, 128, 0.1);
  color: var(--neon-pink);
  border: 1px solid rgba(255, 0, 128, 0.2);
}

.btn-reject:hover {
  background: rgba(255, 0, 128, 0.2);
}

.empty-msg {
  text-align: center;
  padding: 2rem;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.9rem;
}

.bot-info {
  background: var(--card-bg);
  border: 1px solid rgba(0, 240, 255, 0.1);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.bot-info h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  color: var(--neon-cyan);
  margin-bottom: 0.5rem;
}

.bot-info pre {
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem;
  border-radius: 6px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  overflow-x: auto;
  margin-top: 0.5rem;
}

/* ===== Scroll Animations ===== */
.node-card, .phase-card, .arrhythmia-card, .research-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.node-card.visible, .phase-card.visible, .arrhythmia-card.visible, .research-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .nav-status { display: none; }
  .hero { padding: 6rem 0 3rem; }
  .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .side-decoration { display: none; }
  .hero-ecg-preview { display: none; }
  .summary-grid { grid-template-columns: 1fr; padding: 1.5rem; }
  .summary-categories { grid-template-columns: repeat(3, 1fr); }
  .ep-list-row { padding: 0.7rem 0.8rem; gap: 0.7rem; }
  .ep-list-img { width: 80px; height: 58px; }
  .ep-list-title { font-size: 0.92rem; }
  .footer-grid { flex-direction: column; gap: 0.25rem; }
  .footer-bottom .container { flex-direction: column; gap: 0.5rem; }
  .section-header h2 { font-size: 1.8rem; }
}

.footer-system {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== 内页（page.php）样式 ===== */
.page-section {
  padding: 140px 0 80px;
  min-height: 70vh;
  position: relative;
}
.page-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,240,255,0.06), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(184,41,255,0.06), transparent 40%);
  pointer-events: none;
}
.page-inner { position: relative; z-index: 1; }
.page-header { margin-bottom: 2.5rem; }
.page-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--neon-cyan);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.page-badge svg { width: 16px; height: 16px; }
.page-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.page-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  border-radius: 2px;
}
.page-content {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-secondary);
  max-width: 820px;
}
.page-content p { margin-bottom: 1.2rem; }
.page-content h2,
.page-content h3 { color: var(--text-primary); margin: 2rem 0 1rem; }
.page-content strong { color: var(--neon-cyan); }
.page-content a { color: var(--neon-cyan); text-decoration: underline; }
.page-content ul,
.page-content ol { margin: 0 0 1.2rem 1.4rem; }
@media (max-width: 768px) {
  .page-section { padding: 110px 0 60px; }
}

/* ===== 内页两栏布局：左侧目录 + 右侧正文 ===== */
.page-layout { display: flex; gap: 48px; align-items: flex-start; }
.page-toc { flex: 0 0 240px; position: sticky; top: 100px; align-self: flex-start; }
.page-layout.has-toc .page-content { max-width: none; flex: 1 1 auto; min-width: 0; }
.page-toc .toc-title { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--neon-cyan); margin: 0 0 1rem; }
.page-toc ul { list-style: none; margin: 0; padding: 0; }
.page-toc li a { display: block; padding: 0.5rem 0 0.5rem 1rem; color: var(--text-secondary); font-size: 0.95rem; line-height: 1.5; border-left: 2px solid rgba(255,255,255,0.12); margin-left: -1px; transition: color .2s, border-color .2s; }
.page-toc li a:hover, .page-toc li a.active { color: var(--neon-cyan); border-left-color: var(--neon-cyan); }
h2[id], h3[id] { scroll-margin-top: 100px; }
@media (max-width: 860px) {
  .page-layout { flex-direction: column; gap: 24px; }
  .page-toc { position: static; flex: none; width: 100%; top: auto; }
  .page-toc ul { border-left: none; }
}
