/* -------------------------------------------------------------
 * AICreates - SoloLaunch Premium Theme
 * 一人OPC 免费创业 从此开始 - 赛博流光极光 & 钛金拐角 UI
 * ------------------------------------------------------------- */

/* Google Font: Outfit & Inter for high-tech premium feel */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* 极致奢华的赛博深渊黑 */
  --bg-color: #030408;
  
  /* 极致模糊的黑金双层卡片 */
  --card-bg: rgba(9, 11, 18, 0.68);
  --card-border: rgba(255, 255, 255, 0.04);
  --card-border-glow: rgba(245, 158, 11, 0.15); /* 琥珀金微光 */
  
  /* 精美文字分层 */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #475569;
  
  /* 耀金 & 珊瑚霓虹色彩 */
  --color-amber: #f59e0b;       /* 琥珀暖金 */
  --color-orange: #f97316;      /* 活力橙 */
  --color-coral: #ef4444;       /* 霓虹珊瑚红 */
  --color-rose: #ec4899;        /* 玫瑰金 */
  --color-cyan: #06b6d4;        /* 电光青 */
  --color-emerald: #10b981;     /* 翡翠绿 */
  
  /* 3D 琥珀耀金炫光渐变 (财富与科技结合) */
  --gradient-primary: linear-gradient(135deg, #f59e0b 0%, #f97316 45%, #ef4444 100%);
  --gradient-hover: linear-gradient(135deg, #fbbf24 0%, #ea580c 50%, #dc2626 100%);
  --gradient-text: linear-gradient(135deg, #ffd54f 0%, #f97316 50%, #ff4081 100%);
  --gradient-card-top: linear-gradient(90deg, #f59e0b, #ef4444, #06b6d4, #f59e0b);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* 🌌 宇宙流光极光背景 */
.tech-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background: #020306;
}

/* 网格背景，带有更强的极客扫描线感 */
.tech-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image: 
    linear-gradient(rgba(245, 158, 11, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 158, 11, 0.015) 1px, transparent 1px);
  background-size: 55px 55px;
  transform: perspective(500px) rotateX(25deg);
  animation: gridScroll 40s linear infinite;
  opacity: 0.7;
}


/* 🌟 新增：微型数据粒子闪烁层 (Sparkling Cyber Grid) */
.tech-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle, rgba(245, 158, 11, 0.22) 1px, transparent 1.5px),
    radial-gradient(circle, rgba(239, 68, 68, 0.16) 1px, transparent 1.5px);
  background-size: 80px 80px;
  background-position: 0 0, 40px 40px;
  animation: starsBlink 12s ease-in-out infinite alternate;
  opacity: 0.65;
  pointer-events: none;
}

@keyframes starsBlink {
  0% { opacity: 0.35; transform: scale(1) translateY(0); }
  50% { opacity: 0.75; transform: scale(1.03) translateY(-10px); }
  100% { opacity: 0.45; transform: scale(0.97) translateY(5px); }
}

/* 🪐 巨大的漂移极光气泡 (Liquid Aurora) */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  mix-blend-mode: screen;
}

.orb-1 {
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.16) 0%, transparent 80%);
  animation: orbMove1 28s ease-in-out infinite;
}

.orb-2 {
  bottom: -10%;
  left: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.14) 0%, transparent 80%);
  animation: orbMove2 32s ease-in-out infinite reverse;
}

.orb-3 {
  top: 40%;
  left: 30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 80%);
  animation: orbMove3 24s ease-in-out infinite;
}

/* ✨ 耀金炫光渐变文字 (带微妙发光特效) */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 15px rgba(245, 158, 11, 0.35));
}

/* 容器布局 */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

/* 头部样式 */
header {
  text-align: center;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.logo-container {
  width: 80px;
  height: 80px;
  margin-bottom: 14px;
  animation: logoPulse 6s ease-in-out infinite;
  position: relative;
}

/* 内层红色点状反向旋转科技环 */
.logo-container::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  border-radius: 50%;
  border: 1px dotted rgba(239, 68, 68, 0.35);
  animation: rotateDashedReverse 30s linear infinite;
}

/* 外围金色虚线科技环 */
.logo-container::after {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(245, 158, 11, 0.4);
  animation: rotateDashed 24s linear infinite;
}

.brand-title {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.8px;
  margin-bottom: 4px;
  color: #fff;
  text-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
}

.brand-tagline {
  font-size: 13.5px;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(245, 158, 11, 0.05);
  padding: 4px 18px;
  border-radius: 99px;
  border: 1px solid rgba(245, 158, 11, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}

/* 🚀 一人OPC 宣传 Banner (耀金高档渐变框) */
.opc-banner {
  width: 100%;
  max-width: 820px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(239, 68, 68, 0.08) 100%);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 12px;
  padding: 8px 14px;
  text-align: center;
  margin-bottom: 12px;
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.45),
    inset 0 0 15px rgba(245, 158, 11, 0.08);
  position: relative;
  backdrop-filter: blur(10px);
}

.opc-banner::after {
  content: '';
  position: absolute;
  top: 0;
  right: 30px;
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-amber), transparent);
}

.opc-banner h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.opc-banner p {
  font-size: 11px;
  line-height: 1.4;
  color: var(--text-secondary);
  margin-top: 4px;
  opacity: 0.9;
}

/* 💎 极致模糊玻璃拟态卡片 (Ultra-Glassmorphism) */
.glass-card {
  width: 100%;
  max-width: 820px;
  background: var(--card-bg);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--card-border);
  border-radius: 26px;
  padding: 36px 32px;
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.6),
    0 0 0 1px var(--card-border-glow),
    inset 0 1px 3px rgba(255, 255, 255, 0.08);
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: rgba(245, 158, 11, 0.25);
  box-shadow: 
    0 40px 85px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(245, 158, 11, 0.16),
    inset 0 1px 3px rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* 顶部炫彩跑马灯流光边线 */
.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 2px;
  background: var(--gradient-card-top);
  animation: borderGlow 6s linear infinite;
}

/* 🛠️ 高科技拐角定位装饰线 (Tech Corner Accents) */
.tech-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(245, 158, 11, 0.25);
  pointer-events: none;
  transition: all 0.4s ease;
  z-index: 5;
}
.glass-card:hover .tech-corner {
  border-color: var(--color-amber);
  filter: drop-shadow(0 0 5px var(--color-amber));
}
.tech-corner.top-left {
  top: 10px;
  left: 10px;
  border-right: none;
  border-bottom: none;
}
.tech-corner.top-right {
  top: 10px;
  right: 10px;
  border-left: none;
  border-bottom: none;
}
.tech-corner.bottom-left {
  bottom: 10px;
  left: 10px;
  border-right: none;
  border-top: none;
}
.tech-corner.bottom-right {
  bottom: 10px;
  right: 10px;
  border-left: none;
  border-top: none;
}

/* 表单字段容器 */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #fff;
  letter-spacing: 0.5px;
  opacity: 0.95;
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 17px;
  height: 17px;
  transition: color 0.3s;
}

/* 极致质感的输入框 & 文本框 */
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(4, 5, 10, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #fff;
  padding: 14px 16px 14px 40px;
  font-size: 14.5px;
  font-family: inherit;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.form-group textarea {
  padding-left: 16px;
  resize: vertical;
  min-height: 160px;
}

/* 输入框聚焦样式 (琥珀金环绕发光) */
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-amber);
  box-shadow: 
    0 0 18px rgba(245, 158, 11, 0.3),
    inset 0 1px 4px rgba(245, 158, 11, 0.15);
  background: rgba(4, 5, 10, 0.95);
}

.form-group input:focus + .input-icon {
  color: var(--color-amber);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}

/* 🎨 快捷模版标签 (琥珀金极简发光 - 移动端支持左右滑动) */
.template-tags {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 8px;
  margin-top: 12px;
  padding: 4px 2px 8px 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}

.template-tags::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.template-tag {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 11.5px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.template-tag:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--color-amber);
  color: #fff;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
  transform: translateY(-1px);
}

/* 🔮 3D 耀金流光主按钮 (极富视觉冲击) */
.btn-primary {
  width: 100%;
  background: var(--gradient-primary);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 16.5px;
  font-weight: 800;
  padding: 16.5px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 
    0 10px 25px rgba(245, 158, 11, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* 扫光反光层 */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: buttonShine 4s infinite ease-in-out;
}

@keyframes buttonShine {
  0% { left: -100%; }
  25% { left: 100%; }
  100% { left: 100%; }
}

.btn-primary:hover {
  background: var(--gradient-hover);
  transform: translateY(-1.5px);
  box-shadow: 
    0 14px 35px rgba(245, 158, 11, 0.6),
    0 0 20px rgba(249, 115, 22, 0.35);
}

.btn-primary:active {
  transform: translateY(1px);
}

/* 💬 香槟金微光微信群指示牌 */
.wechat-support-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  background: rgba(245, 158, 11, 0.03);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 10px;
  transition: all 0.3s;
  box-shadow: inset 0 0 8px rgba(245, 158, 11, 0.05);
}

.wechat-support-tag:hover {
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.08);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.15);
}

.wechat-support-tag .wechat-name {
  color: var(--color-amber);
  font-weight: 800;
  margin-left: 6px;
  background: rgba(245, 158, 11, 0.15);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.2);
}

/* -------------------------------------------------------------
 * 2. 看板卡片：自动开发面板
 * ------------------------------------------------------------- */
.status-panel {
  display: none;
}

.panel-header h2 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}

/* 环形进度条 */
.progress-container {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 24px;
}

.progress-svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.progress-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.03);
  stroke-width: 6;
}

.progress-bar {
  fill: none;
  stroke: url(#progress-grad);
  stroke-width: 6;
  stroke-dasharray: 377;
  stroke-dashoffset: 377;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.5s ease;
}

.progress-text-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.countdown-time {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.countdown-label {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: -1px;
}

/* 步进指示器 */
.step-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 0 15px;
}

.step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.step-dot.active {
  background: var(--color-amber);
  box-shadow: 0 0 12px var(--color-amber);
  transform: scale(1.2);
}

.step-dot.completed {
  background: var(--color-emerald);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

/* 编译控制台 */
.console-log {
  background: rgba(4, 5, 8, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: "Courier New", Courier, monospace;
  font-size: 11.5px;
  height: 155px;
  overflow-y: auto;
  margin-bottom: 24px;
  color: #ffe082; /* 控制台为舒适微黄绿 */
  box-shadow: inset 0 3px 10px rgba(0, 0, 0, 0.65);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.console-log::-webkit-scrollbar {
  width: 4px;
}
.console-log::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.log-entry {
  margin-bottom: 5px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(4px);
  animation: logFadeIn 0.35s forwards;
}

.log-entry.info { color: #f59e0b; }
.log-entry.warn { color: #f97316; }
.log-entry.success { color: #10b981; }

/* 微信群卡片 (更具高质感的黑金样式) */
.wechat-group-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.01);
}

.qr-container {
  width: 86px;
  height: 86px;
  background: #fff;
  border-radius: 10px;
  padding: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.qr-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wechat-info h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.wechat-info p {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 6px;
  line-height: 1.5;
}

.wechat-badge {
  background: var(--color-amber);
  color: #000;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* 模拟加速小齿轮按钮 */
.quick-demo-tool {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 9px;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
}

.quick-demo-tool:hover {
  background: var(--color-amber);
  border-color: var(--color-amber);
  color: #000;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

/* 页脚 */
footer {
  text-align: center;
  padding: 32px 0;
  margin-top: auto;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* -------------------------------------------------------------
 * 动画关键帧
 * ------------------------------------------------------------- */
@keyframes gridScroll {
  from { background-position: 0 0; }
  to { background-position: 0 1000px; }
}

@keyframes orbMove1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(12%, 18%) scale(1.2); }
  66% { transform: translate(-8%, -12%) scale(0.85); }
}

@keyframes orbMove2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-15%, 10%) scale(1.15); }
}

@keyframes orbMove3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(18%, -15%) scale(1.25); }
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-40px) scale(1.08); }
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.35)); }
  50% { transform: scale(1.04); filter: drop-shadow(0 0 24px rgba(239, 68, 68, 0.55)); }
}

@keyframes borderGlow {
  0% { left: -50%; }
  100% { left: 150%; }
}

@keyframes logFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rotateDashed {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotateDashedReverse {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

/* 宽屏响应式微调 (PC/Tablet) */
@media (min-width: 768px) {
  .container {
    padding: 60px 24px;
  }
  .brand-title {
    font-size: 38px;
    margin-bottom: 6px;
  }
  .brand-tagline {
    font-size: 15.5px;
  }
  .logo-container {
    width: 90px;
    height: 90px;
    margin-bottom: 16px;
  }
  .opc-banner {
    padding: 10px 18px;
    margin-bottom: 14px;
  }
  .opc-banner h3 {
    font-size: 15.5px;
  }
  .opc-banner p {
    font-size: 11.5px;
  }
  .glass-card {
    padding: 44px 40px;
    border-radius: 30px;
  }
  .form-group label {
    font-size: 14.5px;
  }
  .template-tags {
    flex-wrap: wrap;
    overflow-x: visible;
    padding: 4px 2px 2px 2px;
  }
}

/* 窄屏响应式调整 (Mobile H5) */
@media (max-width: 480px) {
  .container {
    padding: 24px 12px;
  }
  .brand-title {
    font-size: 26px;
  }
  .brand-tagline {
    font-size: 12.5px;
  }
  .glass-card {
    padding: 24px 18px;
  }
  .form-actions {
    flex-direction: column;
    gap: 10px;
  }
}

/* ==========================================================================
   🤖 微信复制、进度查询 Modal 弹窗及 SVG 火箭高级 CSS 动画
   ========================================================================== */

/* 💬 微信复制组件 */
.wechat-copy-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 16px;
  margin-top: 8px;
  transition: all 0.3s ease;
}
.wechat-copy-box:hover {
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(255, 255, 255, 0.04);
}
.wechat-info {
  display: flex;
  align-items: center;
  font-size: 13.5px;
  color: var(--text-secondary);
}
.wechat-value {
  color: var(--color-amber);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.btn-copy {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--color-amber);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-copy:hover {
  background: var(--color-amber);
  color: #000;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
}
.btn-copy:active {
  transform: scale(0.95);
}

/* 🚀 按钮组合布局 */
.form-actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}
.form-actions .btn-primary,
.form-actions .btn-secondary {
  flex: 1;
  margin: 0 !important;
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.btn-secondary:active {
  transform: translateY(1px);
}

/* 🔍 进度查询弹窗 (Modal) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 90%;
  max-width: 480px;
  background: rgba(18, 18, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(245, 158, 11, 0.05),
    inset 0 1px 3px rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 32px 28px;
  position: relative;
  transform: scale(0.92) translateY(15px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 12px;
}

.modal-header h3 {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}

.btn-close-modal {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 26px;
  cursor: pointer;
  transition: color 0.2s ease;
  line-height: 1;
  padding: 4px;
}

.btn-close-modal:hover {
  color: var(--color-coral);
}

/* 查询结果 HUD 展示 */
.query-result-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: 12px;
  padding: 16px;
  margin-top: 20px;
  font-size: 13.5px;
  box-shadow: inset 0 0 15px rgba(245, 158, 11, 0.03);
}

.hud-status-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
}

.hud-label {
  color: var(--text-muted);
}

.hud-value {
  font-weight: 700;
}

.status-glow {
  color: var(--color-amber);
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.status-glow.completed {
  color: #10b981;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.hud-details {
  margin-top: 10px;
}

.hud-detail-item {
  display: flex;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

.hud-time {
  color: var(--color-coral);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
}

.hud-link-area {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.hud-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.hud-link {
  display: inline-block;
  color: var(--color-amber);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.2s ease;
  border-bottom: 1px dashed var(--color-amber);
}

.hud-link:hover {
  color: #fff;
  border-bottom-color: #fff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* 🚀 SVG 火箭内部高级 CSS 动画 */
.rocket-wrapper {
  transform-origin: 50px 50px;
  animation: floatRocket 4s ease-in-out infinite;
}

.rocket-flame-main {
  transform-origin: 50px 68px;
  animation: mainFlame 0.12s ease-in-out infinite alternate;
}

.rocket-flame-sub-l {
  transform-origin: 43px 66px;
  animation: subFlame 0.16s ease-in-out infinite alternate;
}

.rocket-flame-sub-r {
  transform-origin: 57px 66px;
  animation: subFlame 0.16s ease-in-out infinite alternate 0.06s;
}

.rocket-energy-line {
  animation: energyPulse 2s ease-in-out infinite;
}

.rocket-core {
  animation: coreGlow 1.5s ease-in-out infinite alternate;
}

.rocket-core-ring {
  transform-origin: 50px 44px;
  animation: ringPulse 1.5s ease-in-out infinite alternate;
}

/* 动画关键帧 */
@keyframes floatRocket {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes mainFlame {
  0% { transform: scaleY(0.9) scaleX(0.95); opacity: 0.85; }
  100% { transform: scaleY(1.15) scaleX(1.05); opacity: 1; }
}

@keyframes subFlame {
  0% { transform: scaleY(0.85); opacity: 0.6; }
  100% { transform: scaleY(1.1); opacity: 0.85; }
}

@keyframes energyPulse {
  0%, 100% { opacity: 0.4; stroke-width: 1.2px; }
  50% { opacity: 0.9; stroke-width: 1.8px; filter: drop-shadow(0 0 3px #fff); }
}

@keyframes coreGlow {
  0% { opacity: 0.8; filter: drop-shadow(0 0 2px #fff); }
  100% { opacity: 1; filter: drop-shadow(0 0 8px rgba(255,255,255,0.8)); }
}

@keyframes ringPulse {
  0% { transform: scale(0.9); opacity: 0.4; }
  100% { transform: scale(1.1); opacity: 0.7; }
}

/* 🌐 多语言切换器 */
.lang-switch-container {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(13, 17, 26, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.lang-switch-container:hover {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.15);
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  padding: 2px 6px;
  transition: all 0.2s ease;
  outline: none;
  letter-spacing: 0.5px;
}

.lang-btn:hover {
  color: var(--text-primary);
}

.lang-btn.active {
  color: var(--color-amber);
  text-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

.lang-separator {
  color: rgba(255, 255, 255, 0.15);
  font-size: 10px;
  user-select: none;
}

@media (max-width: 768px) {
  .lang-switch-container {
    top: 14px;
    right: 14px;
    padding: 3px 8px;
  }
}

