    .container-centered {
      max-width: 1000px;
      margin: 0 auto;
      padding: 1rem;
    }

    .genre-card {
      background: rgba(0, 0, 0, 0.6);
      border-radius: 1rem;
      padding: 2rem;
      color: white;
      text-align: center;
    }

    .genre-heading {
      font-size: 2rem;
      color: white;
      font-weight: 600;
      margin-bottom: 1rem;
      line-height: 1.2;
      letter-spacing: 0.5px;
    }

    .album-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
      width: 100%;
    }

    .album-card {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
      width: 100%;
      padding: 1rem;
      background: rgba(0, 0, 0, 0.6);
      border-radius: 1rem;
      text-align: center;
      box-sizing: border-box;
    }

    .album-card img {
      width: 100%;
      border-radius: 8px;
      margin-bottom: 0.5rem;
    }

    .album-title {
      font-weight: bold;
      font-size: 1.1rem;
      color: white;
      margin-top: 0.3rem;
    }

    .album-description {
      font-size: 0.9rem;
      color: #ccc;
      margin: 0.5rem 0 3.5rem;
      flex-grow: 1;
      text-align: justify;
    }

    .custom-player {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      align-items: center;
      gap: 8px;
      position: absolute;
      bottom: 1rem;
      left: 1rem;
      right: 1rem;
    }

    .play-btn {
      width: 40px;
      height: 38px;
      border-radius: 50%;
      background-color: transparent;
      border: 3px solid white;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0;
      cursor: pointer;
      background-image: url('data:image/svg+xml;utf8,<svg fill="white" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><polygon points="20,15 48,30 20,45"/></svg>');
      background-repeat: no-repeat;
      background-position: center;
      background-size: 90%;
      flex-shrink: 0;
    }

    .playing .play-btn {
      background-image: url('data:image/svg+xml;utf8,<svg fill="white" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><rect x="16" y="15" width="10" height="30"/><rect x="34" y="15" width="10" height="30"/></svg>');
    }

    .timeline {
      grid-column: 2;
      width: 100%;
      height: 6px;
      background: #fff3;
      border-radius: 3px;
      cursor: pointer;
      -webkit-appearance: none;
    }

    .timeline::-webkit-slider-thumb {
      -webkit-appearance: none;
      height: 14px;
      width: 14px;
      border-radius: 50%;
      background: white;
      border: none;
    }

    .time-display-inline {
      grid-column: 3;
      font-family: monospace;
      font-size: 0.8rem;
      color: #ccc;
      text-align: right;
      white-space: nowrap;
    }

    @media (max-width: 768px) {
      .album-grid {
        grid-template-columns: 1fr;
      }
    }

    /* --- SHARE CONTROLS --- */
    .share-controls {
      position: absolute;
      top: 8px;
      right: 8px;
      display: flex;
      flex-direction: row-reverse; /* Share button right-most, timestamp box to its left */
      align-items: center;
      gap: 6px;
    }

    .share-icon {
      background: rgba(0, 0, 0, 0.6);
      border-radius: 50%;
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: background 0.2s ease;
    }

    .share-icon:hover {
      background: rgba(0, 0, 0, 0.8);
    }

    .share-icon svg {
      width: 18px;
      height: 18px;
      fill: white;
    }

    .timestamp-option {
      display: flex;
      align-items: center;
      gap: 4px;
      background: rgba(0, 0, 0, 0.6);
      padding: 4px 8px;
      border-radius: 12px;
      font-size: 0.75rem;
      color: #ccc;
      opacity: 0;
      transform: translateX(-10px);
      transition: all 0.3s ease;
      pointer-events: none;
    }

    /* Show timestamp on hover for pointer devices */
    .share-controls:hover .timestamp-option {
      opacity: 1;
      transform: translateX(0);
      pointer-events: all;
    }

    .timestamp-checkbox {
      appearance: none;
      width: 14px;
      height: 14px;
      border: 2px solid #ccc;
      border-radius: 3px;
      cursor: pointer;
      position: relative;
      background: rgba(255, 255, 255, 0.1);
      transition: all 0.2s ease;
    }

    .timestamp-checkbox:checked {
      background: rgba(255, 255, 255, 0.8);
      border-color: white;
    }

    .timestamp-checkbox:checked::after {
      content: '✓';
      position: absolute;
      top: -2px;
      left: 1px;
      font-size: 12px;
      color: #000;
      font-weight: bold;
    }

    .timestamp-checkbox:checked::after:hover {
      content: '✓';
      position: absolute;
      top: -2px;
      left: 1px;
      font-size: 12px;
      color: white;
      font-weight: bold;
    }

    .timestamp-checkbox:hover {
      border-color: white;
      background: rgba(255, 255, 255, 0.2);
    }

    /* Make timestamp option permanently visible on touch devices */
    @media (hover: none) and (pointer: coarse) {
      .timestamp-option {
        opacity: 1;
        transform: none;
        pointer-events: all;
      }
    }

    .copy-popup {
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      background: #333;
      color: #fff;
      padding: 0.6rem 1rem;
      border-radius: 0.5rem;
      opacity: 0;
      transition: opacity 0.3s ease;
      z-index: 1000;
    }

    .copy-popup.show {
      opacity: 1;
    }

/* iOS Safari background-attachment fix */
@supports (-webkit-overflow-scrolling: touch) {
  body {
    background-attachment: scroll !important;
    background-position: center top !important;
  }
}

/* Specific iPad fixes */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) {
  
  body {
    background-attachment: scroll !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    min-height: 100vh;
    transition: background-image 0.5s ease-in-out;
  }
  
  /* Remove the fixed positioning that might cause stretching */
  html, body {
    height: auto;
    min-height: 100vh;
  }
}