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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #ffffff;
  min-height: 100vh;
}

.home-page {
  width: 100%;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
}

.bg-decoration {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 20s infinite ease-in-out;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.6), rgba(168, 85, 247, 0.3));
  top: -200px;
  left: -200px;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.6), rgba(79, 70, 229, 0.3));
  bottom: -150px;
  right: -150px;
  animation-delay: 5s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.5), rgba(124, 58, 237, 0.3));
  top: 50%;
  right: 10%;
  animation-delay: 10s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -50px) scale(1.1); }
  66% { transform: translate(-30px, 30px) scale(0.9); }
}

.page-header {
  position: relative;
  z-index: 10;
  padding: 20px clamp(20px, 4vw, 60px);
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 80px;
  width: auto;
  border-radius: 24px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid rgba(167, 139, 250, 0.45);
  background: rgba(139, 92, 246, 0.12);
  color: #e9d5ff;
}

.header-btn:hover {
  color: #fff;
  border-color: #a78bfa;
  background: rgba(139, 92, 246, 0.35);
  transform: translateY(-2px);
}

.header-btn.primary {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: #fff;
  border-color: rgba(139, 92, 246, 0.3);
}

.header-btn.primary:hover {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  border-color: #8b5cf6;
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

.register-wrap {
  position: relative;
}

.register-popover {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #fff;
  color: #303133;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 20;
  text-align: center;
}

.register-wrap.open .register-popover {
  display: block;
}

.qr-img {
  width: 160px;
  height: 160px;
  border-radius: 8px;
  display: block;
  margin: 0 auto 10px;
}

.qr-tip {
  margin: 0;
  font-size: 13px;
  color: #606266;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px clamp(20px, 4vw, 60px) 80px;
}

.hero-section {
  text-align: center;
  margin-bottom: 100px;
  padding-top: 40px;
  animation: fadeInUp 0.8s ease-out;
}

.main-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.title-text {
  background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-accent {
  background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 20px;
  color: #c4b5fd;
  font-weight: 300;
  letter-spacing: 1px;
}

.intro-section,
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.intro-section {
  margin-bottom: 100px;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.intro-card,
.platform-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 8px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s ease;
}

.intro-card:hover,
.platform-card:hover {
  transform: translateY(-10px);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.card-icon {
  font-size: 42px;
  margin-bottom: 20px;
}

.card-title,
.platform-name {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
}

.card-desc,
.platform-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #c4b5fd;
}

.platforms-section {
  margin-bottom: 80px;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.section-title {
  font-size: 36px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 50px;
  background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.platform-icon {
  font-size: 56px;
  margin-bottom: 20px;
}

.platform-douyin .platform-icon { color: #ff0050; }
.platform-kuaishou .platform-icon { color: #ff6600; }
.platform-xiaohongshu .platform-icon { color: #ff2442; }

.mcp-hint {
  margin-top: 48px;
  text-align: center;
  font-size: 16px;
  color: #c4b5fd;
}

.migrate-banner {
  margin-top: 32px;
  text-align: center;
}

.migrate-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.35);
  transition: transform 0.2s ease;
}

.migrate-link:hover {
  transform: translateY(-2px);
}

.home-page--minimal .minimal-center {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
}

.minimal-logo {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  margin-bottom: 28px;
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.25);
}

.minimal-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}

.minimal-subtitle {
  font-size: 18px;
  color: #c4b5fd;
  margin-bottom: 36px;
  font-weight: 300;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .intro-section,
  .platforms-grid {
    grid-template-columns: 1fr;
  }
}

/* 登录后简易页 */
.simple-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
  padding: 24px;
}

.simple-card {
  max-width: 720px;
  margin: 40px auto;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 12px;
  padding: 32px;
  backdrop-filter: blur(16px);
}

.simple-card h1 {
  font-size: 28px;
  margin-bottom: 12px;
}

.simple-card p {
  color: #c4b5fd;
  line-height: 1.7;
  margin-bottom: 16px;
}

.token-box {
  display: flex;
  gap: 8px;
  margin: 16px 0 24px;
}

.token-box input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(167, 139, 250, 0.35);
  background: rgba(15, 12, 41, 0.6);
  color: #fff;
  font-size: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.copy-btn,
.action-btn {
  padding: 12px 18px;
  border: none;
  border-radius: 8px;
  background: #8b5cf6;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.copy-btn:hover,
.action-btn:hover {
  background: #7c3aed;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.action-btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(167, 139, 250, 0.35);
}

.action-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.redirect-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
  padding: 24px;
}

.redirect-card {
  max-width: 520px;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 12px;
  padding: 40px 32px;
}

.redirect-card h1 {
  font-size: 24px;
  margin-bottom: 12px;
}

.redirect-card p {
  color: #c4b5fd;
  line-height: 1.7;
  margin-bottom: 20px;
}
