body {
  font-family: 'Segoe UI', 'Microsoft YaHei', Arial, sans-serif;
  background: linear-gradient(135deg, #eaf6fb 0%, #e6f0fa 100%);
  color: #222;
  margin: 0;
}

.header {
  background: linear-gradient(90deg, #1ec8e7 0%, #3a8dde 100%);
  color: #fff;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(30,200,231,0.08);
}

.header .logo {
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 2px;
}

.header nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 18px;
  font-size: 1.1rem;
  transition: color 0.2s;
}

.header nav a:hover {
  color: #e0f7fa;
}

/* 菜单栏高亮 */
.header nav a.nav-link.active {
  color: #1ec8e7;
  font-weight: bold;
  background: rgba(30,200,231,0.10);
  border-radius: 4px 4px 0 0;
}

/* 响应式优化 */
@media (max-width: 1300px) {
  .music-grid {
    grid-template-columns: repeat(2, 380px);
    gap: 20px;
    padding: 20px;
  }
}

@media (max-width: 850px) {
  .music-grid {
    grid-template-columns: repeat(1, 380px);
    gap: 20px;
    padding: 20px;
  }
}

@media (max-width: 600px) {
  .header {
    flex-direction: column;
    height: auto;
    padding: 0 8px;
    align-items: flex-start;
  }
  .header .logo {
    font-size: 1.2rem;
    margin: 10px 0 4px 0;
  }
  .header nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0;
  }
  .header nav a {
    font-size: 1rem;
    margin: 0 8px 6px 0;
    padding: 4px 8px;
  }
  .search-bar {
    margin: 20px 0 16px 0;
  }
  .music-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }
  .music-card {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    border-radius: 12px;
  }
  .music-cover {
    width: 88px;
    height: 88px;
  }
  .music-info {
    padding: 0;
  }
  .about-grid, .report-form, .mv-grid {
    grid-template-columns: 1fr !important;
    padding: 18px 6px !important;
    margin-top: 18px !important;
  }
  .player-main.player-main-side {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "info"
      "lyrics"
      "album";
    gap: 18px 0;
    max-width: 100vw;
  }
  .player-album-wrap {
    justify-content: center;
  }
  .player-cover-disc {
    width: 80vw;
    height: 80vw;
    max-width: 320px;
    max-height: 320px;
  }
  .lyrics-container {
    height: 120px;
  }
}

/* 按钮/菜单交互优化 */
.btn, .header nav a {
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn:focus, .btn:active {
  outline: 2px solid #2196f3;
  box-shadow: 0 0 0 2px #b2ebf2;
}
.header nav a:focus, .header nav a:active {
  outline: 2px solid #2196f3;
  background: #e3f0fc;
}

/* 移除旧的 .container 样式，现在使用 .main-container */

.music-grid {
  display: grid;
  grid-template-columns: repeat(3, 380px);
  gap: 20px;
  width: 100%;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.music-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(30,200,231,0.1);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  width: 380px;
  height: 120px;
  margin: 0;
  box-sizing: border-box;
}

.music-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(30,200,231,0.2);
}

.music-cover {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 8px;
  background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
  margin-right: 16px;
  flex-shrink: 0;
}

.music-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.music-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 6px;
  color: #2a6fa1;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-artist {
  font-size: 1rem;
  color: #3a8dde;
  margin-bottom: 0;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-left: 12px;
  margin-right: 40px;
  flex-shrink: 0;
}

.music-actions .btn {
  padding: 8px 12px;
  background: linear-gradient(135deg, #1ec8e7 0%, #3a8dde 100%);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  width: 80px;
}

.music-actions .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(30,200,231,0.3);
}

/* 收藏按钮 - 移到右上角 */
.music-card .favorite-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(30, 200, 231, 0.2);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  backdrop-filter: blur(4px);
}

.music-card .favorite-btn:hover {
  background: rgba(255, 107, 107, 0.1);
  border-color: #ff6b6b;
}

.music-card .favorite-btn.favorited {
  background: rgba(255, 107, 107, 0.15);
  border-color: #ff6b6b;
}

.music-card .favorite-btn.favorited:hover {
  background: rgba(255, 107, 107, 0.25);
}

.music-card .favorite-btn svg {
  width: 16px;
  height: 16px;
  fill: #ccc;
}

.music-card .favorite-btn:hover svg {
  fill: #ff6b6b;
}

.music-card .favorite-btn.favorited svg {
  fill: #ff6b6b;
}

/* 主容器布局 - 添加左侧收藏栏 */
.main-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0; /* 移除间隙，让收藏栏贴合左侧 */
  max-width: none; /* 移除最大宽度限制 */
  margin: 0; /* 移除外边距 */
  padding: 0;
  min-height: calc(100vh - 60px); /* 确保最小高度 */
}

/* 收藏侧边栏 */
.favorites-sidebar {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 0 12px 12px 0; /* 只保留右侧圆角 */
  padding: 20px;
  box-shadow: 2px 0 12px rgba(30, 200, 231, 0.1);
  height: calc(100vh - 60px); /* 设置固定高度，减去header高度 */
  position: sticky;
  top: 0; /* 从顶部开始粘性定位 */
  overflow-y: auto; /* 添加垂直滚动 */
  overflow-x: hidden; /* 隐藏水平滚动 */
  margin-left: 0; /* 确保贴合左侧 */
}

/* 自定义滚动条样式 */
.favorites-sidebar::-webkit-scrollbar {
  width: 8px; /* 增加滚动条宽度 */
}

.favorites-sidebar::-webkit-scrollbar-track {
  background: rgba(30, 200, 231, 0.05);
  border-radius: 4px;
}

.favorites-sidebar::-webkit-scrollbar-thumb {
  background: rgba(30, 200, 231, 0.4); /* 增加透明度 */
  border-radius: 4px;
  transition: background 0.2s;
}

.favorites-sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(30, 200, 231, 0.6);
}

/* Firefox滚动条样式 */
.favorites-sidebar {
  scrollbar-width: thin;
  scrollbar-color: rgba(30, 200, 231, 0.4) rgba(30, 200, 231, 0.05);
}

.favorites-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(30, 200, 231, 0.2);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  z-index: 10;
  padding-top: 0;
}

.favorites-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #3a5a7a;
  margin: 0;
}

.favorites-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.favorites-actions .btn {
  padding: 8px 12px;
  background: linear-gradient(135deg, #1ec8e7 0%, #3a8dde 100%);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s;
  text-align: center;
}

.favorites-actions .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(30, 200, 231, 0.3);
}

.favorites-actions .btn.secondary {
  background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

/* 收藏列表项 */
.favorites-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 20px; /* 底部留出空间 */
  min-height: 200px; /* 确保有足够内容显示滚动条 */
}

.favorite-item {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  padding: 12px;
  border-left: 3px solid #1ec8e7;
  transition: all 0.2s;
  cursor: pointer;
}

.favorite-item:hover {
  background: rgba(30, 200, 231, 0.1);
  transform: translateX(2px);
}

.favorite-item-title {
  font-size: 0.95rem;
  font-weight: bold;
  color: #2a6fa1;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.favorite-item-artist {
  font-size: 0.85rem;
  color: #3a8dde;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.favorite-item-actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.favorite-item-actions .btn {
  flex: 1;
  padding: 4px 8px;
  background: linear-gradient(135deg, #1ec8e7 0%, #3a8dde 100%);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.75rem;
  transition: all 0.2s;
  text-decoration: none;
  text-align: center;
}

.favorite-item-actions .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(30, 200, 231, 0.3);
}

.favorite-item-actions .remove-btn {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
  padding: 4px 6px;
  min-width: 24px;
}

.favorites-empty {
  text-align: center;
  padding: 40px 20px;
  color: #6c757d;
  font-style: italic;
}

.favorites-empty svg {
  width: 48px;
  height: 48px;
  fill: #dee2e6;
  margin-bottom: 16px;
}

/* 主内容区域 */
.content-area {
  padding: 0; /* 移除内边距，让music-grid自己控制间距 */
  max-width: none; /* 移除最大宽度限制 */
  margin: 0; /* 移除外边距 */
}

/* 响应式设计 */
@media (max-width: 900px) {
  .main-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .favorites-sidebar {
    position: static;
    order: 2;
    border-radius: 12px; /* 恢复完整圆角 */
    height: auto;
    max-height: 400px; /* 限制最大高度 */
    margin: 0 16px;
  }
  
  .content-area {
    padding: 0; /* 移除padding，让music-grid自己控制间距 */
  }
  
  .favorites-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .favorites-actions .btn {
    flex: 1;
    min-width: 80px;
  }
}

@media (max-width: 600px) {
  .main-container {
    margin: 16px auto;
  }
  
  .favorites-sidebar {
    margin: 0 8px;
    padding: 16px;
  }
  
  .content-area {
    padding: 0; /* 移除padding，让music-grid自己控制间距 */
  }
  
  .favorites-actions {
    flex-direction: column;
  }
  
  .favorites-actions .btn {
    flex: none;
  }
}

/* 文件输入隐藏 */
.file-input-hidden {
  display: none;
}
.search-bar {
  display: flex;
  justify-content: center;
  margin: 32px 0 28px 0;
}
.search-bar input {
  width: 320px;
  padding: 8px 14px;
  border: 1px solid #b2ebf2;
  border-radius: 6px 0 0 6px;
  font-size: 1rem;
  outline: none;
}
.search-bar button {
  border-radius: 0 6px 6px 0;
  border: none;
  background: #1ec8e7;
  color: #fff;
  padding: 8px 18px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.search-bar button:hover {
  background: #3a8dde;
}
.player-box {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(30,200,231,0.09);
  padding: 32px 24px 24px 24px;
  max-width: 420px;
  margin: 40px auto 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.player-cover {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 18px;
  background: #e0f7fa;
}
.player-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #1ec8e7;
  margin-bottom: 6px;
}
.player-artist {
  font-size: 1.05rem;
  color: #3a8dde;
  margin-bottom: 16px;
}
.player-audio {
  width: 100%;
  margin-bottom: 10px;
}

body.player-bg {
  /* 只为 player 页面保留渐变背景，其他页面不再使用 player-bg 类 */
  background: linear-gradient(135deg, #c6e6f3 0%, #b7d4ef 100%);
}
.player-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: calc(100vh - 60px);
  width: 100vw;
}
.player-main.player-main-side {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "info album"
    "lyrics album";
  gap: 24px 48px;
  align-items: center;
  width: 100%;
  max-width: 900px;
  margin-top: 48px;
  margin-bottom: 0;
}
.player-info-block {
  grid-area: info;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  min-width: 220px;
}
.player-info {
  text-align: left;
  margin-bottom: 32px;
}
.player-title {
  font-size: 2.1rem;
  font-weight: bold;
  color: #2a6fa1;
  margin-bottom: 10px;
}
.player-artist {
  font-size: 1.2rem;
  color: #3a8dde;
  margin-bottom: 0;
}
.player-controls {
  display: flex;
  gap: 38px;
  justify-content: flex-start;
  align-items: center;
}
.lyrics-container {
  grid-area: lyrics;
  height: 200px;
  overflow-y: auto;
  text-align: left;
  width: 100%;
  position: relative; /* 关键：为 offsetTop 创建定位上下文 */
  mask-image: linear-gradient(
    transparent 0%,
    black 20%,
    black 80%,
    transparent 100%
  );
  scrollbar-width: none; /* Firefox */
}
.lyrics-container::-webkit-scrollbar {
  display: none; /* WebKit */
}
.lyrics-line {
  margin: 0;
  padding: 10px 0;
  font-size: 1.3rem;
  color: #3a5a7a;
  transition: all 0.3s ease-in-out;
  opacity: 0.8;
}
.lyrics-line.active {
  color: #2196f3;
  font-weight: 700;
  opacity: 1;
  text-shadow: 0 0 1px rgba(33, 150, 243, 0.2);
  letter-spacing: 0.5px;
}
.icon-btn {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s;
}
.icon-btn:active {
  transform: scale(0.92);
}
.icon-btn svg {
  display: block;
}
.player-album-wrap {
  grid-area: album;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.player-cover-disc {
  width: 370px;
  height: 370px;
  border-radius: 50%;
  box-shadow: 0 4px 32px rgba(30,200,231,0.18);
  background: #e0f7fa;
  object-fit: cover;
  border: 12px solid rgba(255,255,255,0.18);
  transition: box-shadow 0.2s;
}
.player-cover-disc.rotating {
  animation: disc-rotate 12s linear infinite;
}
@keyframes disc-rotate {
  100% { transform: rotate(360deg); }
}
.player-progress-wrap.player-progress-bottom {
  width: 100vw;
  max-width: 900px;
  margin: 38px auto 0 auto;
  padding: 0 32px;
}
.player-progress {
  width: 100%;
  height: 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.25);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  padding: 0;
  opacity: 0.85;
  position: relative;
}
.player-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1ec8e7;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(30,200,231,0.18);
  cursor: pointer;
  margin-top: -5px; /* 使滑块垂直居中 */
}
.player-progress::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1ec8e7;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(30,200,231,0.18);
  cursor: pointer;
}
.player-progress::-ms-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1ec8e7;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(30,200,231,0.18);
  cursor: pointer;
}
.player-progress::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 6px;
  background: rgba(255,255,255,0.25);
}
.player-progress::-ms-fill-lower {
  background: rgba(255,255,255,0.25);
}
.player-progress::-ms-fill-upper {
  background: rgba(255,255,255,0.25);
}
.player-progress:focus {
  outline: none;
}
/* Firefox */
.player-progress::-moz-range-track {
  height: 8px;
  border-radius: 6px;
  background: rgba(255,255,255,0.25);
}
.player-progress::-ms-tooltip {
  display: none;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 36px;
  background: rgba(255,255,255,0.85);
  border-radius: 16px;
  padding: 36px 32px 28px 32px;
  margin-top: 38px;
  box-shadow: 0 2px 12px rgba(30,200,231,0.07);
}
.about-title {
  grid-column: 1 / -1;
  font-size: 1.6rem;
  font-weight: bold;
  color: #2196f3;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.about-item {
  font-size: 1.08rem;
  color: #2a6fa1;
  background: #fafdff;
  border-radius: 8px;
  padding: 18px 16px;
  box-shadow: 0 1px 4px rgba(30,200,231,0.04);
}
.report-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2196f3;
  margin: 38px 0 18px 0;
  letter-spacing: 2px;
  text-align: center;
}
.report-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 36px;
  background: rgba(255,255,255,0.85);
  border-radius: 16px;
  padding: 36px 32px 28px 32px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 2px 12px rgba(30,200,231,0.07);
}
.form-row {
  display: flex;
  flex-direction: column;
  grid-column: span 2;
}
.report-form label {
  font-size: 1.08rem;
  color: #3a8dde;
  margin-bottom: 6px;
}
.report-form input,
.report-form textarea {
  font-size: 1.08rem;
  border: 1px solid #b2ebf2;
  border-radius: 6px;
  padding: 8px 12px;
  margin-bottom: 0;
  background: #fafdff;
  color: #2a6fa1;
  resize: none;
}
.report-form button.btn {
  width: 120px;
  margin: 0 auto;
  opacity: 0.7;
  cursor: not-allowed;
}
.mv-grid {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 28px;
  background: rgba(255,255,255,0.85);
  border-radius: 16px;
  padding: 48px 32px 48px 32px;
  margin-top: 48px;
  box-shadow: 0 2px 12px rgba(30,200,231,0.07);
  justify-items: center;
}
.mv-title {
  font-size: 1.6rem;
  font-weight: bold;
  color: #2196f3;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.mv-info {
  font-size: 1.15rem;
  color: #2a6fa1;
  background: #fafdff;
  border-radius: 8px;
  padding: 28px 24px;
  box-shadow: 0 1px 4px rgba(30,200,231,0.04);
  text-align: center;
}

/* 加载动画和过渡效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* 音乐卡片加载动画 */
.music-card {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

/* 为每个卡片添加延迟动画 */
.music-card:nth-child(1) { animation-delay: 0.1s; }
.music-card:nth-child(2) { animation-delay: 0.2s; }
.music-card:nth-child(3) { animation-delay: 0.3s; }
.music-card:nth-child(4) { animation-delay: 0.4s; }
.music-card:nth-child(5) { animation-delay: 0.5s; }
.music-card:nth-child(6) { animation-delay: 0.6s; }

/* 加载状态样式 */
.music-card.loading {
  opacity: 0.7;
  pointer-events: none;
}

.music-card.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #1ec8e7;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* 搜索加载动画 */
.search-bar button.searching {
  animation: pulse 1s infinite;
}

/* 页面加载动画 */
.page-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e0f7fa;
  border-top: 4px solid #1ec8e7;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* 平滑滚动 */
html {
  scroll-behavior: smooth;
}

/* 增强悬停效果 */
.music-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.music-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 25px rgba(30,200,231,0.25);
}

/* 按钮点击动画 */
.btn:active {
  transform: scale(0.95);
  transition: transform 0.1s;
}




/* 搜索框焦点动画 */
.search-bar input:focus {
  transform: scale(1.02);
  transition: transform 0.2s ease;
}

/* 进度条动画 */
.player-progress::-webkit-slider-thumb {
  transition: all 0.2s ease;
}

.player-progress::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* 页面通用动画效果 */
.about-grid, .report-form, .mv-grid {
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}

.about-title, .report-title, .mv-title {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.2s;
}

.about-item, .mv-info {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
  transition: all 0.3s ease;
}

.about-item:hover, .mv-info:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(30,200,231,0.15);
}

/* 为关于页面的项目添加延迟动画 */
.about-item:nth-child(1) { animation-delay: 0.3s; }
.about-item:nth-child(2) { animation-delay: 0.4s; }
.about-item:nth-child(3) { animation-delay: 0.5s; }
.about-item:nth-child(4) { animation-delay: 0.6s; }
.about-item:nth-child(5) { animation-delay: 0.7s; }
.about-item:nth-child(6) { animation-delay: 0.8s; }

/* 建议页面表单动画 */
.report-form label {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.report-form label:nth-child(1) { animation-delay: 0.3s; }
.report-form label:nth-child(2) { animation-delay: 0.4s; }
.report-form label:nth-child(3) { animation-delay: 0.5s; }
.report-form label:nth-child(4) { animation-delay: 0.6s; }

.report-form input,
.report-form textarea {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
  transition: all 0.3s ease;
}

.report-form input:nth-child(1) { animation-delay: 0.4s; }
.report-form input:nth-child(2) { animation-delay: 0.5s; }
.report-form textarea { animation-delay: 0.6s; }

.report-form input:focus,
.report-form textarea:focus {
  transform: scale(1.02);
  box-shadow: 0 0 0 3px rgba(30,200,231,0.1);
}

.report-form button.btn {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.7s;
  transition: all 0.3s ease;
}

.report-form button.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30,200,231,0.3);
}

/* MV页面信息动画 */
.mv-info {
  animation-delay: 0.4s;
  transition: all 0.3s ease;
}

.mv-info:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(30,200,231,0.2);
}

/* 页面标题特殊动画 */
.about-title, .report-title, .mv-title {
  position: relative;
  overflow: hidden;
}

.about-title::after, .report-title::after, .mv-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #1ec8e7, #3a8dde);
  animation: slideIn 1s ease-out 0.8s forwards;
}

@keyframes slideIn {
  to {
    left: 0;
  }
}

/* 收藏侧边栏动画 */
.favorites-sidebar {
  animation: slideInLeft 0.8s ease-out;
  animation-fill-mode: both;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.favorites-header {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.2s;
}

.favorites-list {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.4s;
}

.favorite-item {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
  transition: all 0.3s ease;
}

.favorite-item:nth-child(1) { animation-delay: 0.5s; }
.favorite-item:nth-child(2) { animation-delay: 0.6s; }
.favorite-item:nth-child(3) { animation-delay: 0.7s; }
.favorite-item:nth-child(4) { animation-delay: 0.8s; }
.favorite-item:nth-child(5) { animation-delay: 0.9s; }

.favorite-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 15px rgba(30,200,231,0.15);
}

/* 搜索栏动画 */
.search-bar {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
  animation-delay: 0.1s;
}

.search-bar input {
  transition: all 0.3s ease;
}

.search-bar input:focus {
  transform: scale(1.02);
  box-shadow: 0 0 0 3px rgba(30,200,231,0.1);
}

.search-bar button {
  transition: all 0.3s ease;
}

.search-bar button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30,200,231,0.3);
}

/* 响应式动画调整 */
@media (max-width: 600px) {
  .about-grid, .report-form, .mv-grid {
    animation-delay: 0.1s;
  }
  
  .about-item, .mv-info {
    animation-delay: 0.2s !important;
  }
  
  .favorites-sidebar {
    animation: fadeInUp 0.6s ease-out;
  }
}
