* {margin:0;padding:0;box-sizing:border-box}
body {
  font-family:system-ui,-apple-system,Arial,sans-serif;
  background:#0a0518;
  color:#fff;
  min-height:100vh;
  background:linear-gradient(135deg,#1a0033 0%,#000428 40%,#0a1a3a 100%);
  background-attachment:fixed;
  position:relative;
  overflow-x:hidden;
}
.container {
  max-width:480px;
  margin:0 auto;
  padding:16px;
  text-align:center;
  position:relative;
  z-index:2;
}

/* 英雄区 */
.hero {
  padding:40px 20px;
  background:linear-gradient(135deg,rgba(138,43,226,0.3),rgba(0,212,255,0.15));
  border-radius:32px;
  border:1px solid rgba(138,43,226,0.4);
  box-shadow:0 20px 60px rgba(138,43,226,0.25);
  backdrop-filter:blur(12px);
  margin-bottom:24px;
}
.live-badge {
  display:inline-block;
  background:#ff2d55;
  color:#fff;
  padding:10px 28px;
  border-radius:50px;
  font-weight:900;
  font-size:1.1rem;
  box-shadow:0 0 30px rgba(255,45,85,0.6);
  animation:pulse 2s infinite;
}
.main-title {
  font-size:2.9rem;
  font-weight:900;
  line-height:1.1;
  margin:16px 0;
  background:linear-gradient(90deg,#ff8c00,#ff2d55,#9c27b0,#00d4ff,#00ff88);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  text-shadow:0 0 30px rgba(255,45,85,0.4);
}
.hero-subtitle {
  font-size:1.5rem;
  margin:12px 0;
}
.no-tension {
  font-size:2rem;
  font-weight:900;
  color:#00ff88;
  margin:12px 0;
  text-shadow:0 0 20px #00ff88;
}
.hero-tagline {
  margin:16px 0;
  font-size:1.1rem;
  line-height:1.6;
}
.hero-tagline strong {
  color:#ff2d55;
}
.hero-cta {
  background:#25d366;
  color:#fff;
  font-size:1.4rem;
  font-weight:900;
  padding:20px 40px;
  border:none;
  border-radius:50px;
  width:92%;
  max-width:380px;
  margin:20px auto 0;
  box-shadow:0 15px 40px rgba(37,211,102,0.5);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  transition:all 0.3s;
}
.hero-cta:hover {
  transform:translateY(-4px);
  box-shadow:0 20px 50px rgba(37,211,102,0.6);
}
.wa-icon {
  width:32px;
  height:32px;
}

/* 实时人数 */
.live-proof {
  background:rgba(255,255,255,0.08);
  border-radius:24px;
  padding:24px;
  margin:20px 0;
  border:1px solid rgba(255,255,255,0.15);
  backdrop-filter:blur(8px);
  box-shadow:0 10px 30px rgba(0,0,0,0.3);
}
.avatars {
  display:flex;
  justify-content:center;
  align-items:center;
  margin:16px 0;
}
.avatars img {
  width:56px;
  height:56px;
  border-radius:50%;
  border:4px solid #1a0033;
  margin-left:-16px;
  box-shadow:0 0 20px rgba(0,212,255,0.4);
}
.avatars img:first-child {
  margin-left:0;
}
.plus {
  background:#00ff88;
  color:#000;
  width:64px;
  height:64px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-weight:900;
  font-size:1rem;
  border:4px solid #1a0033;
  margin-left:-16px;
  box-shadow:0 0 25px #00ff88;
}
.live-count {
  font-size:1.4rem;
  font-weight:800;
  margin:8px 0;
}
.live-count span {
  color:#ff2d55;
  font-size:2rem;
  animation:glow 1.5s infinite;
}
.highlight {
  color:#00ff88;
}

/* 高密度功能 */
.features {
  background:rgba(255,255,255,0.06);
  border-radius:24px;
  padding:28px;
  margin:24px 0;
  border:1px solid rgba(255,255,255,0.1);
}
.features h3 {
  font-size:1.4rem;
  margin-bottom:20px;
  color:#00d4ff;
  font-weight:700;
}
.feature-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  text-align:left;
}
.feature-item {
  background:rgba(255,255,255,0.05);
  border-radius:16px;
  padding:16px;
  border:1px solid rgba(0,212,255,0.2);
}
.feature-item strong {
  display:block;
  font-size:1.1rem;
  margin-bottom:6px;
  color:#00ff88;
}

/* 用户反馈 */
.testimonials {
  margin:24px 0;
}
.testimonial {
  background:rgba(255,255,255,0.07);
  border-radius:20px;
  padding:20px;
  margin:12px 0;
  border-left:5px solid #ff2d55;
}
.testimonial p {
  font-size:1rem;
  line-height:1.5;
  margin-bottom:8px;
}
.testimonial cite {
  display:block;
  font-size:0.9rem;
  color:#aaa;
  margin-top:8px;
}

/* 信任徽章 */
.trust-badges {
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:16px;
  margin:30px 0;
}
.badge {
  background:rgba(0,255,136,0.15);
  color:#00ff88;
  padding:10px 20px;
  border-radius:50px;
  font-weight:700;
  font-size:0.9rem;
  border:1px solid rgba(0,255,136,0.4);
}

/* 页脚链接 */
.footer-links {
  margin:40px 0 120px;
  font-size:0.9rem;
}
.footer-links a {
  color:#aaa;
  text-decoration:none;
  margin:0 14px;
}
.footer-links a:hover {
  color:#fff;
  text-decoration:underline;
}

/* 固定底部按钮 */
.bottom-cta {
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  padding:16px;
  background:rgba(10,5,24,0.95);
  backdrop-filter:blur(12px);
  z-index:999;
  text-align:center;
  border-top:1px solid rgba(138,43,226,0.3);
}
.bottom-cta button {
  background:#25d366;
  color:#fff;
  font-size:1.3rem;
  font-weight:900;
  padding:18px 36px;
  border:none;
  border-radius:50px;
  width:92%;
  max-width:400px;
  box-shadow:0 12px 40px rgba(37,211,102,0.5);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
}

/* 动画 */
@keyframes pulse {0%,100%{transform:scale(1)}50%{transform:scale(1.05)}}
@keyframes glow {0%,100%{text-shadow:0 0 10px #ff2d55}50%{text-shadow:0 0 30px #ff2d55}}

.disclaimer {
  font-size:0.8rem;
  color:#888;
  margin:20px 0 100px;
  line-height:1.5;
}

.Personal {
  text-align: center;
  padding: 20px 0;
}

.Personal img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* ==================== 搜索输入框优化 ==================== */

/* 整体容器 */
.search-container {
  width: 100%;
  margin: 24px auto 20px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* 滚动消息条 */
.marquee {
  width: 100%;
  height: 48px;
  overflow: hidden;
  background: #001deb;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e0e0e0;
}

.marquee-track {
  display: flex;
  animation: scroll 35s linear infinite;
  padding-left: 100%; /* 确保起始无空白 */
}

.marquee-item {
  padding: 0 40px;
  font-size: 15px;
  color: #ffffff;
  white-space: nowrap;
  flex-shrink: 0;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 输入区域 */
.input-area {
  background: #ffffff;
  padding: 16px 24px 24px;
}

/* 标签行 */
.input-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
  color: #ffffff;
}

.label-tip {
  display: flex;
  align-items: center;
}

.dot {
  width: 10px;
  height: 10px;
  background: #4285f4;
  border-radius: 50%;
  margin-right: 8px;
  flex-shrink: 0;
}

/* 输入框 */
.question-input {
  width: 100%;
  height: 52px;
  padding: 0 20px;
  font-size: 18px;
  border: 1px solid #b4b4b6;
  border-radius: 28px;
  outline: none;
  box-sizing: border-box;
  transition: all 0.2s;
}

.question-input:hover {
  border-color: #9aa0a6;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.question-input:focus {
  border-color: #4285f4;
  box-shadow: 0 2px 10px rgba(66,133,244,0.3);
}

/* 移动端优化 */
@media (max-width: 480px) {
  .hero {
    padding: 32px 16px;
    border-radius: 24px;
  }
  .main-title {
    font-size: 2.5rem;
  }
  .marquee {
    height: 44px;
  }
  .marquee-item {
    padding: 0 24px;
    font-size: 14px;
  }
  .input-area {
    background: #001deb;
    padding: 14px 20px 20px;
  }
  .question-input {
    height: 48px;
    font-size: 16px;
  }
  .hero-cta {
    font-size: 1.3rem;
    padding: 18px 32px;
  }
}










/* 响应式网格布局 */
.gallery {
    display: none;                /* 配合 JS show */
    grid-template-columns: repeat(auto-fit, minmax(320px, 600px));
    gap: 40px;
    justify-content: center;
    padding: 40px 0;
    max-width: 1400px;
    margin: 0 auto;
}

#myGallery.show {
    display: grid;
}





.imgBox {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    width: 100%;
    max-width: 620px;

    position: relative;
}

.imgBox:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
}

.imgTitle {
    padding: 18px;
    font-size: 1.4em;
    font-weight: bold;
    color: #333;
    background: #f8f9fa;
}

canvas.imgCanvas {
    display: block;
    width: 100%;
    height: auto;
    max-width: 600px;
    margin: 0 auto;
    background: #f0f0f0; /* 加载时背景 */
}

/* 小屏幕优化 */
@media (max-width: 600px) {
    .gallery {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    h1 { font-size: 2em; }
    .subtitle { font-size: 1em; }
}






.corner-button {
    position: absolute;
    left: 16px;
    bottom: 5%;                 /* 你原来的垂直位置，保持不变 */
    background-color: #046b01fb;   /* 绿色 */
    color: white;
    border: none;
    padding: 18px 36px;          /* 显著增大（原 12px 24px → 18px 36px） */
    font-size: 25px;             /* 字体从 16px → 20px，更突出 */
    font-weight: 700;            /* 略加粗 */
    cursor: pointer;
    border-radius: 16px;         /* 圆角稍大，与更大按钮更协调 */
    box-shadow: 0 6px 16px rgba(17, 134, 42, 0.4); /* 阴影颜色改为绿色系，更匹配 */
    transition: all 0.3s ease;
    z-index: 10;
    
    animation: moveLeftRight 6s ease-in-out infinite;
}

.corner-button:hover {
    background-color: #043308;
    transform: translateY(-4px);       
    box-shadow: 0 10px 24px rgba(17, 134, 42, 0.5);
}


@keyframes moveLeftRight {
    0%, 100% {
        left: 16px;                             
    }
    50% {
        left: calc(100% - 30% - 180px);        

       
    }
}



