* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: white;
    background-color: #111827;
    background-image: url("./background.gif");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    padding: 40px 20px 120px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .page-wrap {
    width: min(92vw, 950px);
    text-align: center;
  }
  
  header {
    margin-bottom: 20px;
  }
  
  .logo {
    display: block;
    width: 180px;
    max-width: 80%;
    height: auto;
    margin: 0 auto;
    opacity: 0.85;
  }
  
  .social-links {
    display: flex;
    justify-content: center;
    margin: 10px 0 24px;
  }
  
  .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    text-decoration: none;
  }
  
  .social-icon {
    width: 42px;
    height: 42px;
    display: block;
    object-fit: contain;
  }
  
  .social-links a:hover .social-icon {
    opacity: 0.85;
    transform: scale(1.05);
    transition: 0.2s ease;
  }
  
  .hero,
  .card {
    width: 100%;
    margin: 20px auto;
    padding: 28px;
    border-radius: 16px;
    text-align: center;
    color: white;
    background: linear-gradient(
      135deg,
      rgba(123, 44, 191, 0.76),
      rgba(20, 33, 61, 0.76)
    );
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(4px);
  }
  
  h1,
  h2 {
    margin-bottom: 12px;
  }
  
  p {
    margin-bottom: 10px;
  }
  
  #enter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 70, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5000;
  }
  
  .enter-box {
    width: min(90vw, 420px);
    text-align: center;
    padding: 32px;
    border-radius: 18px;
    background: linear-gradient(
      135deg,
      rgba(123, 44, 191, 0.95),
      rgba(20, 33, 61, 0.95)
    );
    color: white;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  }
  
  .enter-logo {
    width: 120px;
    max-width: 70%;
    height: auto;
    margin: 0 auto 18px;
    opacity: 0.9;
  }
  
  .enter-box h2 {
    margin-bottom: 10px;
  }
  
  .enter-box p {
    margin-bottom: 18px;
  }
  
  .enter-box button {
    background: #ffffff;
    color: #0b1f5c;
    border: none;
    padding: 12px 18px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
  }
  
  .mini-player {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    width: min(92vw, 560px);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 18px;
    background: linear-gradient(
      135deg,
      rgba(30, 27, 75, 0.88),
      rgba(88, 28, 135, 0.88)
    );
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    z-index: 1000;
  }
  
  .mini-cover {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
  }
  
  .mini-info {
    flex: 1;
    min-width: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .track-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    margin-bottom: 8px;
  }
  
  .song-name {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.15;
    margin: 0;
    padding: 0;
  }
  
  .artist-name {
    font-size: 12px;
    line-height: 1.15;
    color: rgba(255, 255, 255, 0.52);
    margin: 0;
    padding: 0;
  }
  
  .song-status {
    font-size: 12px;
    line-height: 1.15;
    color: rgba(255, 255, 255, 0.68);
    margin: 0 0 8px 0;
    padding: 0;
  }
  
  .progress-wrap {
    position: relative;
    width: 100%;
    margin: 0 0 6px 0;
    height: 18px;
    display: flex;
    align-items: center;
  }
  
  .progress-track {
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
    overflow: hidden;
  }
  
  .progress-fill {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: white;
    transition: width 0.08s linear;
  }
  
  #progress-bar {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    height: 18px;
    cursor: pointer;
  }
  
  #progress-bar::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent;
  }
  
  #progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    border: none;
    margin-top: -5px;
  }
  
  #progress-bar::-moz-range-track {
    height: 4px;
    background: transparent;
    border: none;
  }
  
  #progress-bar::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    border: none;
  }
  
  .time-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    line-height: 1;
    opacity: 0.85;
    margin: 0;
  }
  
  .mini-button {
    align-self: center;
    background: #ffffff;
    color: #1f1f1f;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .player-icon {
    width: 22px;
    height: 22px;
    display: block;
  }
  
  .hidden-icon {
    display: none;
  }
  
  @media (max-width: 700px) {
    body {
      padding: 20px 12px 130px;
      align-items: flex-start;
    }
  
    .page-wrap {
      width: 100%;
    }
  
    header {
      margin-bottom: 14px;
    }
  
    .logo {
      width: 140px;
      max-width: 75%;
    }
  
    .social-links {
      margin: 8px 0 18px;
    }
  
    .social-icon {
      width: 36px;
      height: 36px;
    }
  
    .hero,
    .card {
      margin: 14px auto;
      padding: 18px;
      border-radius: 14px;
    }
  
    h1 {
      font-size: 24px;
      line-height: 1.2;
    }
  
    h2 {
      font-size: 18px;
      line-height: 1.2;
    }
  
    p {
      font-size: 14px;
    }
  
    .enter-box {
      width: 100%;
      max-width: 340px;
      padding: 24px 18px;
      border-radius: 16px;
    }
  
    .enter-logo {
      width: 90px;
      margin-bottom: 14px;
    }
  
    .enter-box button {
      width: 100%;
      min-height: 44px;
    }
  
    .mini-player {
      width: calc(100vw - 24px);
      bottom: 12px;
      padding: 12px;
      gap: 10px;
      border-radius: 16px;
      align-items: center;
    }
  
    .mini-cover {
      width: 56px;
      height: 56px;
      border-radius: 10px;
    }
  
    .mini-info {
      min-width: 0;
    }
  
    .track-meta {
      margin-bottom: 6px;
      gap: 0;
    }
  
    .song-name {
      font-size: 14px;
      line-height: 1.1;
    }
  
    .artist-name {
      font-size: 11px;
      line-height: 1.1;
    }
  
    .song-status {
      font-size: 11px;
      margin-bottom: 6px;
    }
  
    .progress-wrap {
      height: 16px;
      margin-bottom: 4px;
    }
  
    .progress-track {
      height: 4px;
    }
  
    #progress-bar {
      height: 16px;
    }
  
    #progress-bar::-webkit-slider-thumb {
      width: 14px;
      height: 14px;
      margin-top: -5px;
    }
  
    #progress-bar::-moz-range-thumb {
      width: 14px;
      height: 14px;
    }
  
    .time-row {
      font-size: 11px;
    }
  
    .mini-button {
      width: 44px;
      height: 44px;
      border-radius: 10px;
    }
  
    .player-icon {
      width: 20px;
      height: 20px;
    }
  }
