/* ========== 超级无敌蓝白炫酷吊炸天样式 ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: 'Poppins', 'Segoe UI', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
  position: relative;
  background: linear-gradient(145deg, #cfe9ff 0%, #e6f4ff 30%, #ffffff 100%);
  overflow-x: hidden;
}

/* 动态流动光线背景 - 蓝白炫光 */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(0, 150, 255, 0.2) 0%, rgba(0, 212, 255, 0.1) 40%, transparent 70%),
              repeating-linear-gradient(45deg, rgba(255,255,255,0.3) 0px, rgba(255,255,255,0.3) 2px, transparent 2px, transparent 8px);
  animation: flowBg 20s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes flowBg {
  0% { transform: rotate(0deg) translate(0, 0); }
  100% { transform: rotate(360deg) translate(10%, 10%); }
}

/* 蓝白高光云纹 */
body::after {
  content: '';
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800" opacity="0.08"><path fill="none" stroke="%2300aaff" stroke-width="2" d="M0,400 Q300,200 600,400 T1200,300" /><path fill="none" stroke="%2344bbff" stroke-width="1.5" d="M0,500 Q400,300 800,500 T1200,450" /><circle cx="200" cy="150" r="60" fill="%23aaffff" opacity="0.2"/><circle cx="900" cy="650" r="100" fill="%23aaddff" opacity="0.15"/></svg>') repeat;
  pointer-events: none;
  z-index: 0;
}

/* 超级水泡背景 */
.bubbles {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.bubble {
  position: absolute;
  bottom: -120px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.95), rgba(100,200,255,0.4));
  box-shadow: 0 0 25px rgba(0,160,255,0.5), inset 0 0 8px rgba(255,255,255,0.8);
  animation: rise linear infinite;
  backdrop-filter: blur(1px);
}

@keyframes rise {
  0% {
    transform: translateY(0) scale(0.8);
    opacity: 0.7;
  }
  50% {
    opacity: 0.4;
    transform: translateY(-60vh) scale(1.1);
  }
  100% {
    transform: translateY(-130vh) scale(1.6);
    opacity: 0;
  }
}

/* SEO隐藏h1 */
.seo-h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
  white-space: nowrap;
}

/* 主标题 - 使用flex布局，闪电在两侧（修复手机端跑偏问题） */
.hero-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  text-align: center;
  font-size: 2.6rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #0066ff, #00ccff, #2eb8ff, #b3e0ff, #0066ff);
  background-size: 300% 300%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  z-index: 2;
  position: relative;
  letter-spacing: 4px;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.9s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards 0.1s, gradientFlow 4s ease infinite;
  text-shadow: 0 0 15px rgba(0,100,255,0.4);
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 左右闪电独立元素 - 不再使用绝对定位 */
.lightning-left,
.lightning-right {
  display: inline-block;
  font-size: 2rem;
  filter: drop-shadow(0 0 6px #00aaff);
  animation: lightningFlash 1.2s ease-in-out infinite;
  line-height: 1;
  user-select: none;
}

.lightning-left {
  animation-delay: 0s;
}

.lightning-right {
  animation-delay: 0.3s;
}

@keyframes lightningFlash {
  0%, 100% { opacity: 0.5; text-shadow: 0 0 5px #0099ff; transform: scale(1);}
  50% { opacity: 1; text-shadow: 0 0 20px #00e0ff, 0 0 30px #0077ff; transform: scale(1.1);}
}

.hero-sub {
  text-align: center;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #0077ff, #00c3ff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  z-index: 2;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards 0.2s;
  font-weight: 600;
  letter-spacing: 2px;
}

/* 头像 - 蓝白光晕 */
.avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid white;
  box-shadow: 0 0 0 0 rgba(0,160,255,0.6), 0 0 0 0 rgba(0,200,255,0.4), 0 15px 35px rgba(0,0,0,0.2);
  margin-bottom: 30px;
  z-index: 2;
  position: relative;
  animation: avatarGlowBlue 2.2s ease-in-out infinite, avatarFloat 3.5s ease-in-out infinite;
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.6, 1.1);
  background: #fff;
}

.avatar:hover {
  transform: scale(1.08);
}

@keyframes avatarGlowBlue {
  0% { box-shadow: 0 0 0 0 rgba(0,140,255,0.5), 0 0 0 0 rgba(0,200,245,0.4), 0 15px 30px rgba(0,0,0,0.1);}
  50% { box-shadow: 0 0 0 12px rgba(0,150,255,0.25), 0 0 0 20px rgba(0,200,240,0.15), 0 20px 45px rgba(0,0,0,0.2);}
  100% { box-shadow: 0 0 0 0 rgba(0,140,255,0), 0 0 0 0 rgba(0,200,245,0), 0 15px 30px rgba(0,0,0,0.1);}
}

@keyframes avatarFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== 按钮布局 - 超级炫酷蓝白风格 ========== */
.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 25px;
  width: 100%;
  max-width: 800px;
  margin: 20px auto 0;
  padding: 0 20px;
  z-index: 2;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease forwards 0.3s;
}

/* 按钮通用样式 - 蓝白炫光 */
.btn {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border-radius: 60px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15), 0 0 15px rgba(0,160,255,0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 240px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.5);
  letter-spacing: 2px;
}

/* 172号卡按钮 - 深海蓝渐变+炫光 */
.btn.left {
  background: linear-gradient(135deg, #0088ff, #0055cc, #003399);
  background-size: 200% 100%;
  animation: btnFlow 3s ease infinite;
  box-shadow: 0 0 15px rgba(0,136,255,0.5);
}

/* 飞利猫按钮 - 冰蓝+电光紫蓝调 */
.btn.right {
  background: linear-gradient(135deg, #1e88e5, #42a5f5, #0d47a1);
  background-size: 200% 100%;
  animation: btnFlow 3s ease infinite 0.5s;
  box-shadow: 0 0 15px rgba(66,165,245,0.5);
}

/* 号卡之家（靓号）按钮 - 橙蓝撞色更炫酷 */
.btn.haoka {
  background: linear-gradient(135deg, #ff8c00, #ffaa33, #ff6600, #0099ff);
  background-size: 300% 100%;
  animation: btnFlow 3s ease infinite 1s;
  position: relative;
  box-shadow: 0 0 20px rgba(255,140,0,0.6);
}

/* 热点角标 */
.btn.haoka::after {
  content: '🔥 热门 🔥';
  position: absolute;
  top: -12px;
  right: -12px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #222;
  font-size: 10px;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 30px;
  box-shadow: 0 2px 15px rgba(255,215,0,0.8);
  transform: rotate(8deg);
  letter-spacing: 1px;
  animation: badgeBounce 1.2s ease-in-out infinite;
}

@keyframes badgeBounce {
  0%, 100% { transform: rotate(8deg) scale(1); }
  50% { transform: rotate(8deg) scale(1.12); }
}

@keyframes btnFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.btn:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 35px rgba(0,0,0,0.25), 0 0 30px rgba(0,180,255,0.6);
}

/* 按钮炫光扫过效果 */
.btn::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg, rgba(255,255,255,0.2), rgba(255,255,255,0.6), rgba(255,255,255,0.2));
  transform: rotate(25deg);
  opacity: 0;
  transition: all 0.6s ease;
}

.btn:hover::before {
  left: 30%;
  opacity: 1;
  animation: shimmer 0.8s linear forwards;
}

@keyframes shimmer {
  0% { transform: translateX(-50%) rotate(25deg); }
  100% { transform: translateX(50%) rotate(25deg); }
}

/* 按钮涟漪效果 */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.9), rgba(0,180,255,0.4));
  transform: scale(0);
  animation: rippleAnim 0.6s linear forwards;
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(8);
    opacity: 0;
  }
}

/* 工作时间说明 - 蓝白炫彩卡片 */
.worktime {
  font-size: 15px;
  text-align: center;
  max-width: 90%;
  margin-top: 40px;
  z-index: 2;
  position: relative;
  cursor: default;
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(12px);
  border-radius: 40px;
  padding: 22px 28px;
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1), 0 0 30px rgba(0,150,255,0.2);
  transition: all 0.3s ease;
}

.worktime:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.6);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15), 0 0 40px rgba(0,160,255,0.4);
}

.worktime > div {
  display: block;
  opacity: 0;
  animation: textFade 0.8s forwards;
  margin-bottom: 0.6em;
  position: relative;
  transition: all 0.3s ease;
  padding: 5px 10px;
  border-radius: 30px;
}

.worktime > div:hover {
  transform: translateX(8px);
  background: rgba(0,150,255,0.1);
}

@keyframes textFade {
  0% { opacity: 0; transform: translateY(15px); }
  100% { opacity: 1; transform: translateY(0); }
}

.worktime > div:nth-child(1){ animation-delay:0.2s; }
.worktime > div:nth-child(2){ animation-delay:0.5s; }
.worktime > div:nth-child(3){ animation-delay:0.8s; }
.worktime > div:nth-child(4){ animation-delay:1.1s; }
.worktime > div:nth-child(5){ animation-delay:1.4s; }

.line1 {
  color: #0066cc;
  font-size: 1.2rem;
  font-weight: 800;
  text-shadow: 0 0 8px rgba(0,102,204,0.3);
}
.line2 { color: #0088dd; font-weight: 600; }
.line3 { color: #ff69b4; }
.line4 { color: #ff9900; }
.line5 { color: #00aaff; font-weight: 600; }

/* 页脚版权 */
.copyright {
  font-size: 12px;
  color: rgba(0,0,0,0.5);
  text-align: center;
  position: fixed;
  bottom: 15px;
  width: 100%;
  z-index: 99;
  background: transparent;
  letter-spacing: 1px;
}

.copyright a {
  text-decoration: none;
  color: rgba(0,100,200,0.8);
  transition: color 0.3s ease;
}

.copyright a:hover {
  color: #0066ff;
  text-shadow: 0 0 8px rgba(0,102,255,0.5);
}

/* 自定义炫酷光标 - 蓝白渐变 */
.cursor {
  width: 22px;
  height: 22px;
  position: fixed;
  border-radius: 50%;
  background: radial-gradient(circle, #00aaff, #66ccff);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease, width 0.2s, height 0.2s;
  z-index: 9999;
  mix-blend-mode: difference;
  box-shadow: 0 0 20px rgba(0,170,255,0.8);
}

/* 移动端适配 - 修复闪电在各屏幕的表现 */
@media (max-width: 600px) {
  .avatar { width: 100px; height: 100px; margin-bottom: 20px; }
  
  .hero-title {
    font-size: 1.7rem;
    gap: 0.4rem;
    letter-spacing: 2px;
  }
  
  .lightning-left,
  .lightning-right {
    font-size: 1.4rem;
  }
  
  .hero-sub { font-size: 0.8rem; }
  
  .nav {
    flex-direction: column;
    gap: 18px;
    width: 100%;
    margin: 15px 0 0;
    padding: 0 16px;
  }
  
  .btn {
    width: 280px;
    min-width: auto;
    padding: 12px 20px;
    font-size: 14px;
  }
  
  .worktime {
    font-size: 12px;
    padding: 18px 20px;
    margin-top: 30px;
  }
  
  .line1 { font-size: 1rem; }
}

/* 超小屏幕额外优化（折叠屏等） */
@media (max-width: 380px) {
  .hero-title {
    font-size: 1.4rem;
    gap: 0.3rem;
  }
  .lightning-left,
  .lightning-right {
    font-size: 1.2rem;
  }
  .btn {
    width: 260px;
    padding: 10px 16px;
  }
}

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