* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Noto Sans SC', sans-serif;
  color: #333;

  line-height: 1.6;
}

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #fafafa url('assets/bg2.jpg');
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
}

.hero .content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5em;
  font-weight: 600;
}

.about{
  margin: 5em auto;
}
.links{
  margin: 5em auto;
}
.fun{
    margin: 5em auto;}

.subtitle {
  font-size: 1.25rem;
  color: #555;
  margin-bottom: 1.5em;
}


.btn {
  display: inline-block;
  padding: 0.75em 1.5em;
  border: 1px solid #333;
  border-radius: 4px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #333;
  color: #fff;
}

section {


  padding: 0 1.5em;
  text-align: center;
}

h2 {
  font-size: 2rem;
  margin-bottom: 0.8em;
}

p {
  font-size: 1.05rem;
  color: #444;
}

.social {
  display: flex;
  justify-content: center;
  gap: 1.5em;
  margin-top: 1em;
}

.social a {
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.social a:hover {
  border-bottom: 1px solid #333;
}

.fun {
  font-style: italic;
  color: #666;
}

.music{
  position: relative;
  height: 100vh;
  align-items: center;
  text-align: center;
  background :  url('assets/bg3.jpg');
}
footer {
  text-align: center;
  padding: 2em 0;
  font-size: 0.9rem;
  color: #777;
}


/*music*/
.music-player {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 50%;

}

.music h2{
    position: relative;
    top: 10%;
    }

.album-cover {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

.player-controls {
    width: 100%;
    text-align: center;
}

.song-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.song-info p {
    color: #666;
    margin-bottom: 1.5rem;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.control-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: #333;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: #555;
    transform: scale(1.1);
}

.progress-container {
    width: 100%;
    margin-bottom: 1rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.progress {
    height: 100%;
    background: #333;
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s ease;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #666;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

#volume-slider {
    width: 100px;
    cursor: pointer;
}

/* 响应式设计 */
@media (max-width: 600px) {
    .music-player {
        margin: 0 1rem;
        padding: 1.5rem;
    }

    .album-cover {
        width: 150px;
        height: 150px;
    }
}

/* 响应式调整 */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .subtitle {
    font-size: 1rem;
  }
}