body {
      margin: 0;
      font-family: 'Segoe UI', sans-serif;
      background-color: #000;
      color: #fff;
      text-align: center;
      padding: 0 5vw;
      box-sizing: border-box;
    }

    a {
      color: #fff;
      text-decoration: none;
      padding: clamp(0.4rem, 1.5vw, 0.6rem) clamp(0.6rem, 2vw, 0.8rem);
      border-radius: clamp(6px, 1.5vw, 8px);
      transition: all 0.3s ease;
      display: inline-block;
    }

    a:hover {
      text-decoration: none;
      background-color: rgba(255, 255, 255, 0.15);
      border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .header {
      position: absolute;
      top: 2vh;
      left: 2vw;
      display: flex;
      gap: clamp(1rem, 3vw, 2rem);
      align-items: center;
      font-size: clamp(0.9rem, 2vw, 1.05rem);
      z-index: 100;
    }

    .album-cover {
      margin-top: clamp(5rem, 12vh, 8rem);
    }

    .album-cover img {
      width: min(90vw, 420px);
      max-width: 420px;
      height: auto;
      border-radius: clamp(8px, 2vw, 16px);
      box-shadow: 0 0 clamp(30px, 8vw, 60px) rgba(255, 255, 255, 0.2);
    }

    .title {
      font-size: clamp(1.8rem, 6vw, 2.4rem);
      font-weight: bold;
      margin-top: clamp(1rem, 3vh, 1.5rem);
    }

    .description-wrapper {
      max-width: min(90vw, 700px);
      margin: clamp(1rem, 3vh, 1.25rem) auto;
      color: #aaa;
      text-align: left;
      overflow: hidden;
      position: relative;
      cursor: pointer;
      transition: max-height 0.4s ease;
      max-height: clamp(120px, 20vh, 150px);
      padding: 0 1rem;
    }

    .description-wrapper::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: clamp(30px, 5vh, 40px);
      background: linear-gradient(to bottom, transparent, #000);
      pointer-events: none;
    }

    .description-wrapper.expanded {
      max-height: 2000px;
    }

    .description-wrapper.expanded::after {
      display: none;
    }

    .description {
      font-size: clamp(0.9rem, 2.5vw, 1rem);
      line-height: 1.6;
    }

    .tracklist {
      margin: clamp(2rem, 6vh, 2.5rem) auto;
      max-width: min(90vw, 600px);
      text-align: left;
      padding: 0 1rem;
    }

    .track {
      padding: clamp(0.5rem, 2vh, 0.75rem) 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .track-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      font-size: clamp(0.85rem, 2.2vw, 1rem);
    }

    .track-header span:first-child a {
      font-weight: 500;
    }

    .arrow {
      transition: all 0.3s ease;
    }

    .track-desc {
      margin-top: clamp(0.3rem, 1vh, 0.5rem);
      font-size: clamp(0.8rem, 2vw, 0.9rem);
      color: #bbb;
      display: none;
    }

    .now-playing {
      position: fixed;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: min(90vw, 70%);
      background: #111;
      color: #fff;
      padding: clamp(0.5rem, 2vh, 0.75rem) clamp(1rem, 3vw, 1.25rem);
      font-size: clamp(0.85rem, 2.2vw, 0.95rem);
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-radius: clamp(8px, 2vw, 10px);
      display: none;
      margin-bottom: clamp(1rem, 2vh, 1.5rem);
    }

    .now-playing-center {
      display: flex;
      align-items: center;
      gap: clamp(0.5rem, 2vw, 0.75rem);
      flex: 1;
      justify-content: center;
    }

    .now-playing-controls {
      display: flex;
      align-items: center;
      gap: clamp(0.5rem, 2vw, 0.75rem);
    }

    .nav-btn {
      font-size: clamp(0.9rem, 2.5vw, 1.1rem);
      cursor: pointer;
      color: #fff;
      user-select: none;
      padding: clamp(0.2rem, 1vw, 0.3rem);
      border-radius: 3px;
      transition: all 0.2s ease;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .nav-btn:hover {
      color: #ccc;
      background: rgba(255, 255, 255, 0.1);
    }

    .nav-icon {
      width: clamp(14px, 3vw, 18px);
      height: clamp(14px, 3vw, 18px);
      filter: brightness(0) invert(1);
      transition: all 0.2s ease;
    }

    .nav-btn:hover .nav-icon {
      filter: brightness(0) invert(0.8);
    }

    .prev-icon {
      transform: scaleX(-1);
    }

    .expand-btn {
      font-size: clamp(1rem, 3vw, 1.2rem);
      cursor: pointer;
      color: #fff;
      user-select: none;
      margin-left: clamp(0.5rem, 2vw, 0.625rem);
    }

    .expand-btn:hover {
      color: #ccc;
    }

    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: #000;
      display: none;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      z-index: 9999;
    }

    .overlay-now-playing {
      position: absolute;
      bottom: clamp(1rem, 1vh, 1.5rem);
      left: 50%;
      transform: translateX(-50%);
      width: min(90vw, 70%);
      background: #111;
      color: #fff;
      padding: clamp(0.5rem, 2vh, 0.75rem) clamp(1rem, 3vw, 1.25rem);
      font-size: clamp(0.85rem, 2.2vw, 0.95rem);
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-radius: clamp(8px, 2vw, 10px);
      z-index: 10000;
    }

    .overlay-now-playing .now-playing-center {
      display: flex;
      align-items: center;
      gap: clamp(0.5rem, 2vw, 0.75rem);
      flex: 1;
      justify-content: center;
    }

    .overlay-now-playing .nav-btn {
      font-size: clamp(0.9rem, 2.5vw, 1.1rem);
      cursor: pointer;
      color: #fff;
      user-select: none;
      padding: clamp(0.2rem, 1vw, 0.3rem);
      border-radius: 3px;
      transition: all 0.2s ease;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .overlay-now-playing .nav-btn:hover {
      color: #ccc;
      background: rgba(255, 255, 255, 0.1);
    }

    .overlay-now-playing .nav-icon {
      width: clamp(14px, 3vw, 18px);
      height: clamp(14px, 3vw, 18px);
      filter: brightness(0) invert(1);
      transition: all 0.2s ease;
    }

    .overlay-now-playing .nav-btn:hover .nav-icon {
      filter: brightness(0) invert(0.8);
    }

    .overlay-now-playing .prev-icon {
      transform: scaleX(-1);
    }

    .tool-mock {
      width: min(95vw, 90vw);
      height: min(85vh, 80vh);
      background: transparent;
      border-radius: clamp(5px, 1vw, 10px);
      padding: 0;
      box-shadow: none;
      position: relative;
    }

    .tool-mock iframe {
      width: 100%;
      height: 100%;
      border: none;
      border-radius: clamp(5px, 1vw, 10px);
    }

    .close-btn {
      position: absolute;
      top: clamp(1rem, 3vh, 1.25rem);
      right: clamp(1rem, 3vw, 1.25rem);
      font-size: clamp(1rem, 3vw, 1.2rem);
      cursor: pointer;
      color: #fff;
    }

    .overlay-now-playing .expand-btn {
      font-size: clamp(1rem, 3vw, 1.2rem);
      cursor: pointer;
      color: #fff;
      user-select: none;
      margin-left: clamp(0.5rem, 2vw, 0.625rem);
    }

    .overlay-now-playing .expand-btn:hover {
      color: #ccc;
    }

    footer {
      margin-top: clamp(3rem, 8vh, 3.75rem);
      padding: clamp(1rem, 3vh, 1.25rem) 0;
      color: #777;
      font-size: clamp(0.8rem, 2vw, 0.9rem);
    }

    /* Override for TheLegendSeb link in footer */
    a[href="https://github.com/Thelegendseb"] {
      color: #fff !important;
      padding: 0 !important;
      border-radius: 0 !important;
      transition: none !important;
      display: inline !important;
    }

    a[href="https://github.com/Thelegendseb"]:hover {
      background-color: transparent !important;
      border: none !important;
      text-decoration: underline;
    }

    /* Share Modal Styles */
    .share-modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.8);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 10001;
    }

    .share-modal-content {
      background: #111;
      border-radius: clamp(8px, 2vw, 12px);
      padding: clamp(1.5rem, 4vw, 2rem);
      width: min(90vw, 400px);
      color: #fff;
      position: relative;
    }

    .share-modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: clamp(1rem, 3vh, 1.5rem);
    }

    .share-title-container {
      display: flex;
      align-items: center;
      gap: clamp(0.75rem, 2vw, 1rem);
    }

    .share-album-cover {
      width: clamp(40px, 8vw, 50px);
      height: clamp(40px, 8vw, 50px);
      border-radius: clamp(4px, 1vw, 6px);
      object-fit: cover;
    }

    .share-modal-header h3 {
      margin: 0;
      font-size: clamp(1.1rem, 3vw, 1.3rem);
    }

    .share-close-btn {
      font-size: clamp(1.2rem, 3vw, 1.5rem);
      cursor: pointer;
      color: #fff;
      padding: 0.25rem;
    }

    .share-close-btn:hover {
      color: #ccc;
    }

    .share-modal-body p {
      margin: 0 0 clamp(0.75rem, 2vh, 1rem) 0;
      font-size: clamp(0.9rem, 2.5vw, 1rem);
      color: #ccc;
    }

    .share-url-container {
      display: flex;
      gap: clamp(0.5rem, 2vw, 0.75rem);
      margin-bottom: clamp(0.75rem, 2vh, 1rem);
    }

    .share-url-container input {
      flex: 1;
      background: #222;
      border: 1px solid #444;
      color: #fff;
      padding: clamp(0.5rem, 2vw, 0.75rem);
      border-radius: clamp(4px, 1vw, 6px);
      font-size: clamp(0.85rem, 2.2vw, 0.95rem);
      outline: none;
    }

    .share-url-container input:focus {
      border-color: #666;
    }

    .copy-btn {
      background: #333;
      color: #fff;
      border: 1px solid #555;
      padding: clamp(0.5rem, 2vw, 0.75rem) clamp(1rem, 3vw, 1.25rem);
      border-radius: clamp(4px, 1vw, 6px);
      cursor: pointer;
      font-size: clamp(0.85rem, 2.2vw, 0.95rem);
      transition: all 0.2s ease;
    }

    .copy-btn:hover {
      background: #444;
      border-color: #666;
    }

    .copy-success {
      color: #4CAF50;
      font-size: clamp(0.85rem, 2.2vw, 0.95rem);
      text-align: center;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .copy-success.show {
      opacity: 1;
    }

    /* About Modal Styles */
    .about-modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.8);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 10001;
    }

    .about-modal-content {
      background: #111;
      border-radius: clamp(8px, 2vw, 12px);
      padding: clamp(2rem, 5vw, 2.5rem);
      width: min(90vw, 500px);
      max-height: 80vh;
      overflow-y: auto;
      color: #fff;
      position: relative;
      text-align: center;
      /* Hide scrollbar for WebKit browsers (Chrome, Safari, Edge) */
      scrollbar-width: none; /* Firefox */
      -ms-overflow-style: none; /* Internet Explorer and Edge */
    }

    .about-modal-content::-webkit-scrollbar {
      display: none; /* WebKit browsers */
    }

    .about-close-btn {
      position: absolute;
      top: clamp(1rem, 3vw, 1.25rem);
      left: clamp(1rem, 3vw, 1.25rem);
      font-size: clamp(1.2rem, 3vw, 1.5rem);
      cursor: pointer;
      color: #fff;
      padding: 0.25rem;
      z-index: 10002;
    }

    .about-close-btn:hover {
      color: #ccc;
    }

    .about-modal-body h2 {
      margin: 0 0 clamp(1rem, 3vh, 1.5rem) 0;
      font-size: clamp(1.5rem, 4vw, 2rem);
      font-weight: bold;
    }

    .about-logo {
      width: clamp(100px, 25vw, 150px);
      height: auto;
      margin: 0 0 clamp(1.5rem, 4vh, 2rem) 0;
      border-radius: clamp(8px, 2vw, 12px);
    }

    .about-description {
      text-align: center;
      line-height: 1.6;
      max-width: 100%;
    }

    .about-description p {
      margin: 0 0 clamp(1rem, 3vh, 1.25rem) 0;
      font-size: clamp(0.9rem, 2.5vw, 1rem);
      color: #ccc;
    }

    .about-description p:last-child {
      margin-bottom: 0;
    }

    /* Responsive adjustments for about modal */
    @media (max-width: 768px) {
      .about-modal-content {
        width: min(95vw, 450px);
        padding: clamp(1.5rem, 4vw, 2rem);
      }
      
      .about-logo {
        width: clamp(90px, 22vw, 120px);
      }
    }

    @media (max-height: 600px) {
      .about-modal-content {
        max-height: 90vh;
        padding: clamp(1rem, 3vw, 1.5rem);
      }
      
      .about-logo {
        width: clamp(80px, 18vw, 100px);
        margin: 0 0 clamp(1rem, 2vh, 1.5rem) 0;
      }
      
      .about-modal-body h2 {
        font-size: clamp(1.3rem, 3.5vw, 1.7rem);
        margin: 0 0 clamp(0.75rem, 2vh, 1rem) 0;
      }
    }

    /* Media queries for specific device optimizations */
    @media (max-width: 480px) {
      body {
        padding: 0 3vw;
      }
      
      .header {
        position: relative;
        top: auto;
        left: auto;
        justify-content: center;
        margin-bottom: 1rem;
        flex-wrap: wrap;
      }
      
      .album-cover {
        margin-top: 2rem;
      }
      
      .description-wrapper {
        padding: 0 0.5rem;
      }
      
      .tracklist {
        padding: 0 0.5rem;
      }
      
      .track-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
      }
      
      .track-header span:last-child {
        align-self: flex-end;
      }
    }

    @media (min-width: 481px) and (max-width: 768px) {
      .header {
        gap: clamp(1.5rem, 4vw, 2.5rem);
      }
    }

    @media (min-width: 769px) and (max-width: 1024px) {
      body {
        padding: 0 8vw;
      }
    }

    @media (min-width: 1025px) {
      body {
        padding: 0 10vw;
      }
      
      .album-cover img {
        max-width: 450px;
      }
    }

    @media (orientation: landscape) and (max-height: 600px) {
      .album-cover {
        margin-top: 3rem;
      }
      
      .album-cover img {
        width: min(60vw, 300px);
      }
      
      .tool-mock {
        height: 70vh;
      }
    }