/* ===== 虫洞联盟独立页样式 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: #f8f9fa;
  color: #1a1a2e;
  line-height: 1.6;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; }

/* Header */
.header {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  padding: 40px 0 60px;
  text-align: center;
}
.header h1 { color: white; font-size: 32px; margin-bottom: 8px; }
.header p { color: rgba(255,255,255,0.8); font-size: 16px; }
.header .logo {
  display: inline-flex; align-items: center; gap: 10px;
  color: white; font-size: 18px; font-weight: 600; margin-bottom: 20px;
}
.header .logo i { font-size: 28px; }

/* Stats */
.stats { display: flex; gap: 16px; margin-top: -30px; margin-bottom: 32px; }
.stat-card {
  flex: 1; background: white; border-radius: 16px; padding: 24px;
  text-align: center; box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.stat-card .number { font-size: 36px; font-weight: 700; color: #6366f1; line-height: 1; margin-bottom: 6px; }
.stat-card .label { font-size: 14px; color: #888; }

/* Teleport CTA */
.teleport {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 16px; padding: 40px; text-align: center;
  margin-bottom: 32px; box-shadow: 0 4px 20px rgba(99,102,241,0.3);
}
.teleport h2 { color: white; font-size: 24px; margin-bottom: 8px; }
.teleport p { color: rgba(255,255,255,0.8); font-size: 14px; margin-bottom: 24px; }
.teleport-btn {
  display: inline-block; background: white; color: #6366f1;
  padding: 14px 40px; border-radius: 30px; font-weight: 600; font-size: 16px;
  transition: transform .2s;
}
.teleport-btn:hover { transform: scale(1.05); }

/* Cards */
.card {
  background: white; border-radius: 16px; padding: 28px;
  margin-bottom: 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.card-title {
  font-size: 18px; font-weight: 600; margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.card-title i { color: #6366f1; font-size: 22px; }

/* Join methods */
.method { border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px; margin-bottom: 12px; }
.method:last-child { margin-bottom: 0; }
.method-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.method-num {
  background: #6366f1; color: white; width: 28px; height: 28px;
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; flex-shrink: 0;
}
.method-title { font-weight: 600; font-size: 15px; }
.method-desc { font-size: 13px; color: #888; margin-bottom: 10px; line-height: 1.5; }
.code-block {
  background: #1e293b; color: #e2e8f0; padding: 14px; border-radius: 8px;
  font-size: 13px; font-family: 'SF Mono', 'Fira Code', monospace;
  overflow-x: auto; word-break: break-all;
}

/* Rules */
.rules {
  background: #fef3c7; border-radius: 8px; padding: 16px;
  font-size: 14px; color: #92400e; line-height: 1.6;
}
.rules i { margin-right: 4px; }

/* Members grid */
.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.member-card {
  display: block; padding: 16px; border: 1px solid #e5e7eb;
  border-radius: 10px; transition: all .2s;
}
.member-card:hover { border-color: #6366f1; box-shadow: 0 2px 12px rgba(99,102,241,0.15); }
.member-name { font-size: 15px; font-weight: 600; margin-bottom: 4px; color: #1a1a2e; }
.member-domain { font-size: 13px; color: #888; }

/* Empty state */
.empty { text-align: center; padding: 60px 20px; color: #888; }

/* Footer */
.footer { text-align: center; padding: 40px 0; color: #aaa; font-size: 13px; }
.footer a { color: #6366f1; }

/* Responsive */
@media (max-width: 768px) {
  .stats { flex-direction: column; }
  .header h1 { font-size: 24px; }
  .teleport { padding: 28px; }
  .member-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}
