body {
  margin: 0;
  padding: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  overflow: hidden;
  background: linear-gradient(135deg, #a8edea, #fed6e3);
  position: relative;
}

/* 水泡背景 */
.bubbles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.bubble {
  position: absolute;
  bottom: -60px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.7), rgba(255,255,255,0.2));
  box-shadow: 0 0 10px rgba(255,255,255,0.4);
  animation: rise linear infinite;
}
@keyframes rise {
  0%   { transform: translateY(0) scale(1); opacity: 0.8; }
  50%  { opacity: 0.4; }
  100% { transform: translateY(-120vh) scale(1.3); opacity: 0; }
}

/* 头像 */
.avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255,255,255,0.7);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  margin-bottom: 30px;
  z-index: 1;
  position: relative;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 按钮通用样式 */
.btn {
  padding: 14px 36px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
  text-align: center;
  cursor: pointer;
  display: inline-block;
  margin: 0 10px 15px 10px;
}
.btn.left  { background: rgba(0, 172, 193, 0.85); border: 2px solid rgba(255,255,255,0.6); }
.btn.right { background: rgba(255, 140, 0, 0.85); border: 2px solid rgba(255,255,255,0.6); }
.btn.flm { background: rgba(123, 31, 162, 0.85); border: 2px solid rgba(255,255,255,0.6); }

/* 政策扶持按钮 - 强化版 */
.btn.policy {
  background: linear-gradient(135deg, #2196F3, #00BCD4);
  border: 2px solid rgba(255,255,255,0.8);
  box-shadow: 0 0 20px rgba(33,150,243,0.4);
  position: relative;
  overflow: hidden;
  animation: pulseGlow 2s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(33,150,243,0.4); transform: scale(1); }
  50% { box-shadow: 0 0 30px rgba(0,188,212,0.6); transform: scale(1.05); }
}
.btn.policy:hover {
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 0 35px rgba(33,150,243,0.7);
}
.btn.policy::after {
  content: "推荐";
  position: absolute;
  top: -8px;
  right: -8px;
  background: #FF4081;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 10px;
  box-shadow: 0 0 6px rgba(255,64,129,0.6);
  transform: rotate(10deg);
  animation: badgeBlink 1.8s infinite ease-in-out;
}
@keyframes badgeBlink {
  0%, 100% { opacity: 1; transform: rotate(10deg) scale(1); }
  50% { opacity: 0.6; transform: rotate(10deg) scale(1.1); }
}

/* 按钮悬停效果 */
.btn::before {
  content: "";
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(120deg, rgba(255,255,255,0.1), rgba(255,255,255,0.4), rgba(255,255,255,0.1));
  transform: rotate(25deg);
  opacity: 0;
  transition: all 0.6s ease;
}
.btn:hover {
  transform: translateY(-4px) scale(1.05);
}
.btn:hover::before {
  left: -30%;
  opacity: 1;
  animation: shimmer 1.2s linear forwards;
}
@keyframes shimmer {
  0%   { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(100%) rotate(25deg); }
}

/* 按钮涟漪效果 */
.ripple {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.7);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}
@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* 按钮下方文字 */
.worktime {
  font-size: 16px;
  text-align: center;
  max-width: 90%;
  margin-top: 15px;
  z-index: 1;
  position: relative;
  cursor: default;
}
.worktime:hover { cursor: pointer; }
.worktime > div {
  display: block;
  opacity: 0;
  animation: textFade 0.8s forwards;
  margin-bottom: 0.5em;
  position: relative;
  transition: transform 0.3s ease, font-size 0.3s ease;
}
@keyframes textFade {
  0%   { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}
.worktime > div:nth-child(1){ animation-delay:0.2s; }
.worktime > div:nth-child(2){ animation-delay:0.7s; }
.worktime > div:nth-child(3){ animation-delay:1.2s; }
.worktime > div:nth-child(4){ animation-delay:1.7s; }
.worktime > div:nth-child(5){ animation-delay:2.2s; }

.line1 { color: #4A90E2; animation: glow-blue 4s ease-in-out infinite alternate; }
.line2 { color: #50C878; animation: glow-green 4s ease-in-out infinite alternate; }
.line3 { color: #F5A623; animation: glow-orange 4s ease-in-out infinite alternate; }
.line4 { color: #D65DB1; font-weight: bold; animation: glow-pink 4s ease-in-out infinite alternate; }
.line5 { color: #7D5BA6; animation: glow-purple 4s ease-in-out infinite alternate; }

@keyframes glow-blue {
  0%   { text-shadow: 0 0 4px rgba(74, 144, 226, 0.2); transform: scale(1); }
  100% { text-shadow: 0 0 12px rgba(74, 144, 226, 0.5); transform: scale(1.02); }
}
@keyframes glow-green {
  0%   { text-shadow: 0 0 4px rgba(80, 200, 120, 0.2); transform: scale(1); }
  100% { text-shadow: 0 0 12px rgba(80, 200, 120, 0.5); transform: scale(1.02); }
}
@keyframes glow-orange {
  0%   { text-shadow: 0 0 4px rgba(245, 166, 35, 0.2); transform: scale(1); }
  100% { text-shadow: 0 0 12px rgba(245, 166, 35, 0.5); transform: scale(1.02); }
}
@keyframes glow-pink {
  0%   { text-shadow: 0 0 4px rgba(214, 93, 177, 0.2); transform: scale(1); }
  100% { text-shadow: 0 0 12px rgba(214, 93, 177, 0.5); transform: scale(1.02); }
}
@keyframes glow-purple {
  0%   { text-shadow: 0 0 4px rgba(125, 91, 166, 0.2); transform: scale(1); }
  100% { text-shadow: 0 0 12px rgba(125, 91, 166, 0.5); transform: scale(1.02); }
}

/* 页脚版权 */
.copyright {
  font-size: 12px;
  color: rgba(0,0,0,0.6);
  text-align: center;
  position: fixed;
  bottom: 10px;
  width: 100%;
  z-index: 99;
  background: transparent;
}
.copyright a {
  text-decoration: none;
  color: inherit;
}

/* 自定义光标 */
.cursor {
  width: 12px;
  height: 12px;
  position: fixed;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease;
  z-index: 9999;
}

/* 桌面端按钮组容器 */
.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
  z-index: 1;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease forwards 0.3s;
}
.nav .btn {
  flex: 0 0 auto;
  width: 250px;
  max-width: 90vw;
}
.nav-policy {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
  z-index: 1;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease forwards 0.45s;
}
.nav-policy .btn.policy {
  flex: 0 0 auto;
  width: 250px;
  max-width: 90vw;
  padding: 14px 20px;
}
.nav-flm {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
  z-index: 1;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease forwards 0.6s;
}
.nav-flm .btn.flm {
  flex: 0 0 auto;
  width: 250px;
  max-width: 90vw;
  padding: 14px 20px;
}

/* 移动端适配 */
@media (max-width: 600px) {
  .avatar { width: 100px; height: 100px; margin-bottom: 20px; }
  .nav { flex-direction: column; align-items: center; margin-top: 15px; }
  .nav .btn, .nav-policy .btn.policy, .nav-flm .btn.flm {
    width: 80%;
    max-width: 300px;
    font-size: 15px;
    padding: 12px 0;
    margin: 0 0 15px 0;
  }
  .worktime { font-size: 14px; margin-top: 12px; }
}

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

/* ===== 音乐侧滑面板 ===== */
#musicPanel {
  position: fixed;
  top: 80px;
  right: 0;
  width: 260px;
  height: 90px;
  background: #fff;
  border-radius: 20px 0 0 20px;
  box-shadow: -4px 4px 12px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  transform: translateX(200px);
  transition: transform 0.35s ease;
  z-index: 1000;
}

/* 收起状态 */
#musicPanel.collapsed {
  transform: translateX(200px);
}

/* 展开状态 */
#musicPanel.expanded {
  transform: translateX(0);
}

/* 拉手按钮 */
#musicToggle {
  width: 40px;
  height: 100%;
  background: linear-gradient(to bottom, #ff9800, #ff6a00);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 20px 0 0 20px;
  font-size: 18px;
}

/* 面板主体 */
.music-body {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 10px;
  gap: 10px;
}

/* 封面旋转 */
.music-cover img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  animation: rotate 6s linear infinite;
  animation-play-state: paused;
}

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

/* 歌曲信息 */
.music-info {
  flex: 1;
  font-size: 12px;
}

.music-title {
  font-weight: bold;
  color: #ff6a00;
}

.music-artist {
  color: #999;
  margin-top: 4px;
}

/* 控制按钮 */
.music-controls {
  display: flex;
  align-items: center;
  gap: 6px;          /* 缩短按钮间距 */
}

.music-controls button {
  font-size: 16px;   /* 原来 18px，略大 */
  padding: 4px;
}