/* index.html中<style>标签的全部CSS样式已提取至此 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 50%, #e0c3fc 100%);
}
#main {
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
}
#click-section {
  width: 25%;
  height: 95vh;
  padding: 20px 0;
  position: relative;
  margin-top: 40px;
  margin-bottom: 40px;
  background: linear-gradient(135deg, #151e3d 0%, #223a5e 60%, #0a1931 100%);
  box-shadow: 0 0 32px 0 rgba(34,58,94,0.12);
}
#drawerboxes {
  margin-left: 10%;
  width: 100%;
  height: 90vh;
  position: relative;
  overflow-y: auto;
  padding-right: 10px;
  padding-top: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}
#drawerboxes::before {
  content: "";
  width: 8px;
  height: 94%;
  position: absolute;
  left: -10px;
  top: 3%;
  z-index: 120;
}
.drawerbox {
  height: 80px;
  width: 70%;
  position: relative;
  z-index: 100;
  transform: translateX(-70%);
  transition: transform .5s ease-in-out;
  margin-bottom: 200px;
}
.drawerbox.active {
  transform: translateX(0);
}
.drawer-btn {
  width: 100%;
  height: 100%;
  font-size: 36px;
  font-weight: 800;
  padding: 0 40px;
  background-color: #a1c4fd;
  border: none;
  transition: background-color .5s ease-in-out;
  color: #333;
}
.drawer-btn.active {
  background-image: linear-gradient(120deg, #c2e9fb 0%, #e0c3fc 100%);
  background-size: cover;
  color: #333;
}
.drawer-btn:hover {
  cursor: pointer;
}
.drawer-head {
  position: absolute;
  color: rgb(255, 255, 255);
  font-size: 200px;
  font-weight: 700;
  right: -38px;
  top: calc(50% - 135px);
  -webkit-text-stroke: 4px #fff;
  text-stroke: 4px #fff;
  text-shadow:
    0 0 16px #7ecaff,
    0 0 32px #223a5e,
    2px -1px 8px rgba(250, 80, 193, 0.323);
}
#slide-section {
  position: relative;
  height: 100%;
  width: 75%;
  display: flex;
  justify-content: flex-start;
  padding: 0;
  background: none !important;
  overflow: visible;
}
#slide-bar {
  position: absolute;
  top: 10%;
  left: 40px;
  height: 80%;
  width: 1px;
  background-color: rgb(223, 223, 223);
}
#bar {
  position: absolute;
  height: calc(100% / 10);
  width: 5px;
  top: 0;
  left: -1.2px;
  background-color: rgb(175, 190, 255);
  transition: transform .5s ease-in-out;
}
#card-section {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
  overflow: hidden;
  z-index: 2;
}
.card:first-child { display: block; }
#card1.card { background: linear-gradient(135deg, #223a5e 0%, #274472 100%); }
#card1 .card-title, #card1 .card-content { color: #fff; }
#card2.card { background: linear-gradient(135deg, #7ecaff 0%, #b3e0ff 100%); }
#card2 .card-title, #card2 .card-content { color: #223a5e; }
#card3.card { background: linear-gradient(135deg, #232526 0%, #414345 100%); }
#card3 .card-title, #card3 .card-content { color: #fff; }
#card4.card { background: linear-gradient(135deg, #3a2a5e 0%, #232043 100%); }
#card4 .card-title, #card4 .card-content { color: #fff; }
#card5.card { background: linear-gradient(135deg, #223a5e 0%, #274472 100%); }
#card5 .card-title, #card5 .card-content { color: #fff; }
#card6.card { background: linear-gradient(135deg, #ffe259 0%, #ffa751 100%); }
#card6 .card-title, #card6 .card-content { color: #223a5e; }
#card7.card { background: linear-gradient(135deg, #3a1c1c 0%, #b31217 100%); }
#card7 .card-title, #card7 .card-content { color: #fff; }
#card8.card { background: linear-gradient(135deg, #223a5e 0%, #274472 100%); }
#card8 .card-title, #card8 .card-content { color: #fff; }
#card9.card { background: linear-gradient(135deg, #e0eafc 0%, #cfdef3 100%); }
#card9 .card-title, #card9 .card-content { color: #223a5e; }
#card10.card { background: linear-gradient(135deg, #223a5e 0%, #274472 100%); }
#card10 .card-title, #card10 .card-content { color: #fff; }
.card-small-title {
  font-size: 30px;
  font-weight: 600;
  padding-bottom: min(5%, 10px);
  color: rgb(70, 100, 180);
}
.card-title {
  font-size: 80px;
  font-weight: 700;
  padding-bottom: min(20%, 40px);
  color: rgb(70, 100, 180);
  margin-left: 48px;
  position: relative;
  z-index: 3;
  font-family: 'HarmonyOS Sans SC', '思源黑体', 'MiSans', 'PingFang SC', 'Heiti SC', '微软雅黑', 'Noto Sans SC', 'Futura', 'Arial', 'sans-serif';
  letter-spacing: 2px;
  text-shadow: 0 0 12px #b3e0ff, 0 0 32px #e0c3fc, 0 2px 8px #fff8;
  transition: color 0.3s, text-shadow 0.3s;
}
#card1 .card-title {
  font-family: 'Alibaba PuHuiTi', 'Noto Sans SC', 'MiSans', 'HarmonyOS Sans SC', '思源黑体', 'PingFang SC', 'Heiti SC', '微软雅黑', 'Futura', 'Arial', 'sans-serif';
  color: #fff;
  background: linear-gradient(90deg, #7ecaff 0%, #b388ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  text-shadow: 0 0 24px #7ecaff, 0 0 48px #b388ff, 0 2px 12px #fff8;
}
.card-content {
  font-size: 24px;
  font-weight: 400;
  color: rgb(94, 123, 255);
  margin-bottom: 60px;
  margin-left: 24px;
  margin-top: -16px;
  position: relative;
  z-index: 3;
}
.card-img {
  width: 75%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.audio-btn {
  font-size: 32px;
  background: #4a90e2;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  cursor: pointer;
  margin-top: 16px;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.audio-btn:hover {
  background: #357ab8;
}
.custom-audio {
  display: none;
}
.stars {
  position: fixed;
  left: 0; top: 0; width: 25vw; height: 100vh;
  pointer-events: none;
  z-index: 100;
  background: transparent;
}
.star {
  position: absolute;
  border-radius: 50%;
  background: white;
  opacity: 0.8;
  animation: twinkle 2s infinite alternate;
}
@keyframes twinkle {
  from { opacity: 0.5; }
  to   { opacity: 1; }
}
.milkyway {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(ellipse at 60% 40%, rgba(255,255,255,0.18) 0%, rgba(200,200,255,0.08) 40%, transparent 80%);
}
.side-gradient {
  position: absolute;
  left: 25%;
  top: 0;
  width: 90px;
  height: 100vh;
  z-index: 10;
  pointer-events: none;
  background: linear-gradient(to right, #232946 0%, rgba(34,58,94,0.5) 40%, rgba(34,58,94,0.15) 75%, rgba(34,58,94,0.0) 100%);
}
.card-bg-gif {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: blur(16px) opacity(0.35);
  pointer-events: none;
}
.more-info-btn {
  position: absolute;
  top: 24px;
  right: 32px;
  z-index: 10;
  background: linear-gradient(90deg, #7ecaff 0%, #a1c4fd 100%);
  color: #223a5e;
  border: none;
  border-radius: 18px;
  padding: 8px 22px;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 2px 16px rgba(126,202,255,0.18);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  backdrop-filter: blur(4px);
  letter-spacing: 2px;
}
.more-info-btn:hover {
  background: linear-gradient(90deg, #a1c4fd 0%, #7ecaff 100%);
  color: #fff;
  box-shadow: 0 4px 24px rgba(126,202,255,0.32);
}
.info-popup {
  position: absolute;
  top: 32px;
  right: 40px;
  min-width: 320px;
  max-width: 420px;
  min-height: 120px;
  background: rgba(34,58,94,0.82);
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(34,58,94,0.18);
  padding: 28px 32px 22px 32px;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-32px) scale(0.98);
  transition: opacity 0.35s cubic-bezier(.4,0,.2,1), transform 0.35s cubic-bezier(.4,0,.2,1);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.info-popup.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.info-popup-content {
  position: relative;
  width: 100%;
}
.info-popup-content h3 {
  margin: 0 0 8px 0;
  font-size: 22px;
  color: #7ecaff;
}
.info-popup-content p {
  margin: 0;
  font-size: 16px;
  color: #fff;
}
.close-btn {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.close-btn:hover {
  opacity: 1;
}
.lyric-box {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  width: 99%;
  min-height: 36px;
  max-width: 1400px;
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  z-index: 20;
  backdrop-filter: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: 38px;
  font-family: 'HarmonyOS Sans SC', '思源黑体', '微软雅黑', 'PingFang SC', 'Heiti SC', 'sans-serif';
  font-weight: 500;
  letter-spacing: 1px;
  user-select: none;
}
.lyric-scroll {
  overflow: hidden;
  height: 72px;
  position: relative;
  cursor: pointer;
}
.lyric-line {
  height: 68px;
  line-height: 68px;
  text-align: center;
  opacity: 0.92;
  background: linear-gradient(90deg, #b388ff 0%, #7c4dff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  font-weight: 800;
  text-shadow:
    0 0 2px #fff,
    0 0 8px #7c4dff;
  -webkit-text-stroke: 1.2px #b388ff;
  text-stroke: 1.2px #b388ff;
  transition: opacity 0.3s, color 0.3s, text-shadow 0.3s;
}
.lyric-line.active {
  background: linear-gradient(90deg, #fff 0%, #b388ff 40%, #7c4dff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  opacity: 1;
  font-size: 48px;
  font-weight: 900;
  text-shadow:
    0 0 4px #fff,
    0 0 16px #b388ff,
    0 0 18px #7c4dff;
  -webkit-text-stroke: 2px #b388ff;
  text-stroke: 2px #b388ff;
}
.card-img-8 {
  margin: 0;
  position: relative;
  left: 260px;
  top: -120px;
}
.card-img-9 {
  width: 98% !important;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#img-preview-modal {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(.4,0,.2,1);
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  display: flex;
}
#img-preview-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.custom-popup-mask {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.45);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}
.custom-popup {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(34,58,94,0.18);
  padding: 38px 48px 32px 48px;
  min-width: 320px;
  max-width: 90vw;
  color: #223a5e;
  font-size: 20px;
  font-family: 'Alibaba PuHuiTi', 'Noto Sans SC', 'MiSans', 'HarmonyOS Sans SC', '思源黑体', 'PingFang SC', 'Heiti SC', '微软雅黑', 'Arial', 'sans-serif';
  position: relative;
  text-align: center;
}
.custom-popup .close-btn {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 32px;
  color: #7ecaff;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.custom-popup .close-btn:hover {
  opacity: 1;
  color: #b388ff;
} 