:root {
  --primary-color: #ff9a9e;     /* 飞天猪粉色 */
  --secondary-color: #fecfef;   /* 辅助粉色 */
  --accent-color: #a18cd1;      /* 点缀紫蓝色 */
  --bg-gradient-top: #87ceeb;   /* 天空蓝 */
  --bg-gradient-bottom: #fff0f5;/* 云朵白/浅粉 */
  --text-dark: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --border-radius: 16px;
  --shadow: 0 10px 30px rgba(255, 154, 158, 0.2);
  --table-border: #f0f0f0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(135deg, var(--bg-gradient-top) 0%, var(--bg-gradient-bottom) 100%);
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* 动态背景修饰：飘动的白云和飞天猪 */
.bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.cloud {
  position: absolute;
  background: white;
  border-radius: 50px;
  opacity: 0.8;
  animation: floatCloud 25s linear infinite;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
}

.cloud::before, .cloud::after {
  content: ''; position: absolute; background: white; border-radius: 50%;
}
.cloud-1 { width: 100px; height: 35px; top: 15%; left: -100px; animation-duration: 35s; }
.cloud-1::before { width: 50px; height: 50px; top: -25px; left: 15px; }
.cloud-1::after { width: 40px; height: 40px; top: -15px; right: 15px; }
.cloud-2 { width: 140px; height: 45px; top: 40%; left: -150px; animation-duration: 45s; animation-delay: 5s; transform: scale(1.2); }
.cloud-2::before { width: 60px; height: 60px; top: -30px; left: 20px; }
.cloud-2::after { width: 55px; height: 55px; top: -20px; right: 25px; }
.cloud-3 { width: 80px; height: 30px; top: 70%; left: -80px; animation-duration: 28s; animation-delay: 10s; transform: scale(0.8); }
.cloud-3::before { width: 40px; height: 40px; top: -20px; left: 10px; }
.cloud-3::after { width: 30px; height: 30px; top: -10px; right: 10px; }

@keyframes floatCloud {
  0% { transform: translateX(0) scale(var(--scale, 1)); }
  100% { transform: translateX(110vw) scale(var(--scale, 1)); }
}

.flying-pig {
  position: absolute;
  font-size: 3rem;
  animation: flyPig 15s ease-in-out infinite alternate;
  filter: drop-shadow(0 5px 5px rgba(0,0,0,0.2));
}

.pig-1 { top: 20%; right: 10%; animation-duration: 8s; }
.pig-2 { top: 60%; left: 15%; animation-duration: 12s; animation-delay: 2s; font-size: 2.5rem; }

@keyframes flyPig {
  0% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
  100% { transform: translateY(0) rotate(-5deg); }
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================= 震撼首屏 (Hero) 融合白天主题 ================= */
.hero-fullscreen {
  text-align: center;
  padding: 100px 20px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-title {
  font-size: 3.5rem;
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 5px;
  text-shadow: 2px 2px 10px rgba(255,255,255,0.8);
}

.hero-subtitle {
  font-size: 5.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-color) 0%, #ff5e62 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 5px 15px rgba(255, 154, 158, 0.4));
  margin-bottom: 25px;
  letter-spacing: 5px;
}

.hero-desc {
  font-size: 1.15rem;
  color: #4a5568;
  max-width: 700px;
  line-height: 1.8;
  margin-bottom: 50px;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
}

.hero-btn-main {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  padding: 16px 45px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(255, 154, 158, 0.5);
  transition: all 0.3s ease;
}

.hero-btn-main:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(255, 154, 158, 0.7);
  color: #fff;
}

/* 其他页面通用 Header */
header:not(.hero-fullscreen) { text-align: center; padding: 40px 0 20px; }
header:not(.hero-fullscreen) h1 { font-size: 2.2rem; color: var(--text-dark); }

/* ================= 核心内容区 ================= */
.main-content {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow);
  margin-bottom: 60px;
  border: 1px solid rgba(255,255,255,0.5);
}

.section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}
.section-title::after {
  content: ''; position: absolute; bottom: -10px; left: 20%; width: 60%; height: 3px; background: var(--primary-color); border-radius: 5px;
}

/* ======== 节点动态状态 UI ======== */
.node-status { margin-bottom: 50px; }
.status-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.status-card {
  background: var(--white); border-radius: 12px; padding: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03); border: 1px solid var(--secondary-color);
  transition: transform 0.3s ease, box-shadow 0.3s;
}
.status-card:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 8px 25px rgba(255,154,158,0.3); }

.status-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--table-border);
}
.status-header .flag {
  background: var(--bg-gradient-top); color: white; padding: 4px 8px; border-radius: 6px; font-size: 0.75rem; font-weight: 700;
}
.status-header .node-name { font-weight: 600; font-size: 0.95rem; color: var(--text-dark); }
.status-body { display: flex; justify-content: space-between; align-items: center; }
.status-indicator { display: flex; align-items: center; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.pulse-green {
  background-color: #00ca65; box-shadow: 0 0 0 0 rgba(0, 202, 101, 0.7); animation: pulseGreen 2s infinite;
}
@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 202, 101, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(0, 202, 101, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 202, 101, 0); }
}
.status-text { font-size: 0.8rem; color: #00ca65; font-weight: 600; }
.ping-rate { font-family: 'Inter', monospace; font-size: 1.05rem; color: var(--primary-color); font-weight: 700; transition: opacity 0.15s ease-out; }

/* ======== 表格 UI ======== */
.table-responsive { overflow-x: auto; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); margin-bottom: 40px; }
table { width: 100%; border-collapse: collapse; background: var(--white); text-align: center; white-space: nowrap; }
th { background: linear-gradient(180deg, #fdfbfb 0%, #ebedee 100%); color: var(--text-dark); font-weight: 600; padding: 18px 15px; border-bottom: 2px solid #ddd; border-right: 1px solid var(--table-border); }
td { padding: 16px 15px; border-bottom: 1px solid var(--table-border); border-right: 1px solid var(--table-border); color: var(--text-light); transition: all 0.3s ease; }
tr:nth-child(even) td { background-color: #fafbfc; }
tr:hover td { background-color: var(--secondary-color); color: var(--text-dark); font-weight: 500; }
td:last-child, th:last-child { border-right: none; }
.highlight-price { color: #e74c3c; font-weight: 700; font-size: 1.1rem; }

.btn-container { text-align: center; margin-top: 30px; }

/* ======== SEO Links ======== */
.seo-links { margin-top: 60px; background: rgba(255,255,255,0.7); padding: 30px; border-radius: var(--border-radius); }
.seo-links h3 { font-size: 1.3rem; margin-bottom: 20px; color: var(--text-dark); }
.link-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; }
.link-grid a {
  display: block; padding: 12px 15px; background: var(--white); color: var(--text-light); text-decoration: none; border-radius: 8px; transition: all 0.2s; border-left: 4px solid var(--primary-color); font-size: 0.95rem; box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.link-grid a:hover { background: var(--secondary-color); color: var(--text-dark); transform: translateX(5px); }

/* 富文本内容页样式 */
.article-content { background: rgba(255,255,255,0.95); padding: 40px; border-radius: var(--border-radius); box-shadow: var(--shadow); margin-bottom: 40px; }
.article-content h1 { font-size: 2.2rem; color: var(--text-dark); margin-bottom: 20px; border-bottom: 2px solid var(--secondary-color); padding-bottom: 10px; }
.article-content h2 { font-size: 1.5rem; color: var(--primary-color); margin: 25px 0 15px; }
.article-content p { margin-bottom: 15px; font-size: 1.05rem; color: var(--text-light); }
.article-content ul, .article-content ol { margin-left: 20px; margin-bottom: 20px; color: var(--text-light); }
.article-content li { margin-bottom: 10px; }
.back-link { display: inline-block; margin-bottom: 20px; color: var(--primary-color); text-decoration: none; font-weight: 600; }
.back-link:hover { text-decoration: underline; }
.btn-cta {
  display: inline-block; background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: var(--white); text-decoration: none; font-size: 1.3rem; font-weight: 600; padding: 18px 50px; border-radius: 50px;
  box-shadow: 0 8px 20px rgba(255, 154, 158, 0.4); transition: all 0.3s ease; position: relative; overflow: hidden;
}
.btn-cta:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 25px rgba(255, 154, 158, 0.6); color: var(--white); }

footer { text-align: center; padding: 20px 0 40px; color: var(--text-light); font-size: 0.9rem; }

@media (max-width: 768px) {
  .hero-fullscreen { padding: 80px 15px 50px; }
  .hero-title { font-size: 2.5rem; }
  .hero-subtitle { font-size: 4rem; }
  .hero-desc { font-size: 1rem; }
  .main-content { padding: 25px 15px; }
  .btn-cta { width: 100%; text-align: center; }
}
