body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.player {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.player:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 1.5rem;
}

.search-container {
    margin: 1.5rem 0;
    background: white;
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

#search-input {
    width: 80%;
    padding: 0.4rem 0.8rem;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s;
    background: #f8f9fa;
    margin: 0 auto;
    display: block;
}

#search-input:focus {
    outline: none;
    border-color: #cccccc;
    background: white;
}

audio {
    width: 100%;
    margin: 1.5rem 0;
    border-radius: 8px;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  
  @keyframes particleBurst {
    0% {
      transform: scale(1);
      opacity: 1;
    }
    100% {
      transform: scale(3);
      opacity: 0;
    }
  }

.song-list {
    margin-top: 1.5rem;
}

.song {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

.song:hover {
    background-color: #f1f1f1;
}

.download-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

@media (max-width: 600px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .player {
        padding: 1rem;
    }
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
}
nav {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}
nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
nav li {
    margin: 0 50px;
}
nav a {
    color: #999;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    font-size: 1.3em;
    transform: scale(1);
    backface-visibility: hidden;
}
nav a:hover {
    background-color: #f0f0f0;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
    transform: translateY(-2px);
}
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}
.player {
    background: white;
    border-radius: 16px;
    padding: 60px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
audio {
    width: 100%;
    margin: 10px 0;
}
.song-list {
    margin-top: 15px;
}
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-left {
    animation: slideInLeft 0.6s ease forwards;
    opacity: 0;
    will-change: transform, opacity;
}

.animate-right {
    animation: slideInRight 0.6s ease forwards;
    opacity: 0;
    will-change: transform, opacity;
}

.animated-card:nth-child(odd) {
    animation-delay: 0.3s;
}

.animated-card:nth-child(even) {
    animation-delay: 0.6s;
}

.song {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    will-change: transform, opacity;
}
.song-actions {
    display: flex;
    gap: 10px;
}

.play-btn {
    background: #2196F3;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.play-btn:hover {
    background: #0b7dda;
}

.download-btn,
.play-btn {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

@keyframes ripple {
    to {
        transform: scale(3);
        opacity: 0;
    }
}

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

@keyframes particle {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.download-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


.download-btn:hover {
    background: #3e8e41;
    filter: drop-shadow(0 4px 12px rgba(62, 142, 65, 0.4));
}

/* 导航悬停动画增强 */
nav a:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* 歌曲列表项延迟动画 */
.song:nth-child(odd) {
    animation-delay: 0.2s;
}
/* About页动画 */
.animated-title {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.2s;
}

.animated-subtitle {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.4s;
}

/* 举报页面动画 */
.text h1 {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.3s;
}

.video-container {
    animation: slideInRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
}

.video {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.6s;
}

.animated-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.animated-card:nth-child(1) { animation-delay: 1.2s; }
.animated-card:nth-child(2) { animation-delay: 0.8s; }
.animated-card:nth-child(3) { animation-delay: 1.0s; }

.parallax-container {
    perspective: 1000px;
    transform-style: preserve-3d;
}

@media (prefers-reduced-motion: no-preference) {
    .parallax-container {
        transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
}

.song:nth-child(even) {
    animation-delay: 0.4s;
}

/* 按钮波纹效果实现 */
.download-btn::after,
.play-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1);
    animation: ripple 0.6s ease-out;
    opacity: 0;
}

.download-btn:active::after,
.play-btn:active::after {
    animation: ripple 0.6s ease-out;
}

/* 新增按钮涟漪动画 */
button {
    overflow: hidden;
    position: relative;
    transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  button:after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 10%, transparent 10.01%);
    transform: scale(0);
    opacity: 0;
    transition: transform 0.5s, opacity 1s;
  }
  
  button:active:after {
    transform: scale(1);
    opacity: 1;
    transition: 0s;
  }
  
  /* 列表交错加载动画 */
  .song {
    opacity: 0;
    transform: translateY(20px);
    animation: listEntry 0.6s forwards cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  
  @keyframes listEntry {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .song:nth-child(odd) {
    animation-delay: 0.1s;
  }
  
  .song:nth-child(even) {
    animation-delay: 0.2s;
  }
  
  /* 优化搜索框流光效果 */
  #search-input {
    background: linear-gradient(90deg, rgba(74,144,226,0.1) 0%, rgba(74,144,226,0.2) 50%, rgba(74,144,226,0.1) 100%);
    background-size: 200% auto;
    animation: gradientFlow 8s linear infinite;
  }
  
  @keyframes gradientFlow {
    to {
      background-position: -200% 0;
    }
  }
  
  /* 移动端触控反馈 */
  @media (hover: none) {
    button:active {
      transform: scale(0.96);
    }
  }