/* Listen Page - QR Code Scanner Styles */

.listen-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.listen-header {
    text-align: center;
    margin-bottom: 30px;
}

.listen-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.listen-header .headphone-icon {
    font-size: 2rem;
    color: #007cba;
}

.listen-header p {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

/* Scanner Section */
.scanner-section {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    text-align: center;
}

.scanner-container {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

#qr-video {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    background: #f5f5f5;
    object-fit: cover;
}

.scanner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid #007cba;
    border-radius: 8px;
    pointer-events: none;
}

.scanner-overlay::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    border: 2px solid #007cba;
    border-radius: 8px;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.3);
}

.scanner-controls {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: #007cba;
    color: white;
}

.btn-primary:hover {
    background: #005a87;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #1e7e34;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Status Messages */
.status-message {
    margin: 20px 0;
    padding: 15px;
    border-radius: 6px;
    font-weight: 500;
}

.status-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.status-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.status-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* Release Display */
.release-display {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    display: none;
}

.release-display.show {
    display: block;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.release-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
    align-items: start;
}

.release-image {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.release-info h2 {
    font-size: 1.8rem;
    color: #333;
    margin: 0 0 10px 0;
}

.release-info .artist {
    font-size: 1.3rem;
    color: #007cba;
    margin-bottom: 20px;
    font-weight: 600;
}

.release-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.detail-label {
    font-weight: 600;
    color: #333;
}

.detail-value {
    color: #666;
    text-align: right;
}

.price-display {
    font-size: 2rem;
    font-weight: 700;
    color: #28a745;
    text-align: center;
    margin: 20px 0;
}

.release-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

/* PWA Install Prompt */
.pwa-install {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 30px;
    display: none;
}

.pwa-install.show {
    display: block;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pwa-install h3 {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
}

.pwa-install p {
    margin: 0 0 15px 0;
    opacity: 0.9;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007cba;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .listen-container {
        padding: 15px;
    }
    
    .listen-header h1 {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .scanner-section,
    .release-display {
        padding: 20px;
    }
    
    .release-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .release-image {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }
    
    .release-details {
        grid-template-columns: 1fr;
    }
    
    .detail-item {
        flex-direction: column;
        text-align: center;
    }
    
    .detail-value {
        text-align: center;
        margin-top: 5px;
    }
    
    .scanner-controls,
    .release-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .listen-header h1 {
        font-size: 1.8rem;
    }
    
    #qr-video {
        height: 250px;
    }
    
    .scanner-overlay::before {
        width: 150px;
        height: 150px;
    }
    
    .release-info h2 {
        font-size: 1.5rem;
    }
    
    .release-info .artist {
        font-size: 1.1rem;
    }
    
    .price-display {
        font-size: 1.5rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .listen-container {
        color: #e0e0e0;
    }
    
    .scanner-section,
    .release-display {
        background: #2d2d2d;
        color: #e0e0e0;
    }
    
    .listen-header h1 {
        color: #e0e0e0;
    }
    
    .release-info h2 {
        color: #e0e0e0;
    }
    
    .detail-label {
        color: #e0e0e0;
    }
    
    .detail-value {
        color: #b0b0b0;
    }
    
    .detail-item {
        border-bottom-color: #444;
    }
}
/* Mobile-first PWA design */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.listen-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.listen-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.back-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.listen-header h1 {
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
}

.header-spacer {
    width: 2.5rem;
}

/* Scanner Section */
.scanner-section {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.privacy-notice {
    background: rgba(52, 152, 219, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.3);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.privacy-notice p:first-child {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #3498db;
}

.privacy-notice p:last-child {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Scanner Container */
.scanner-container {
    position: relative;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
    max-width: 350px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

#qr-reader {
    width: 100%;
    height: 100%;
}

#qr-reader video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.scanner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.scanner-frame {
    width: 200px;
    height: 200px;
    border: 3px solid #3498db;
    border-radius: 16px;
    position: relative;
    animation: pulse 2s infinite;
}

.scanner-frame::before,
.scanner-frame::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid #3498db;
}

.scanner-frame::before {
    top: -3px;
    left: -3px;
    border-right: none;
    border-bottom: none;
    border-top-left-radius: 16px;
}

.scanner-frame::after {
    bottom: -3px;
    right: -3px;
    border-left: none;
    border-top: none;
    border-bottom-right-radius: 16px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.scanner-instruction {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Scanner Controls */
.scanner-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.scan-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
    justify-content: center;
}

.scan-btn.primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.scan-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.scan-btn.secondary {
    background: rgba(231, 76, 60, 0.9);
    color: white;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.scan-btn.secondary:hover {
    background: rgba(231, 76, 60, 1);
    transform: translateY(-2px);
}

/* Manual Input */
.manual-input {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.manual-input p {
    margin-bottom: 1rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

.manual-form {
    display: flex;
    gap: 0.5rem;
    max-width: 300px;
    margin: 0 auto;
}

.manual-input-field {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

.manual-input-field::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.manual-submit-btn {
    padding: 0.75rem 1.5rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.manual-submit-btn:hover {
    background: #2980b9;
}

/* Release Section */
.release-section {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.release-header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.release-cover {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.release-info {
    flex: 1;
    min-width: 0;
}

.release-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    word-wrap: break-word;
}

.release-artist {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.release-year {
    font-size: 0.9rem;
    opacity: 0.7;
    font-weight: 400;
}

/* Audio Links */
.audio-links h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-align: center;
}

.audio-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.audio-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: white;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.audio-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.audio-btn:hover::before {
    left: 100%;
}

.audio-btn.spotify {
    background: linear-gradient(135deg, #1db954, #1ed760);
    box-shadow: 0 4px 15px rgba(29, 185, 84, 0.3);
}

.audio-btn.youtube {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.audio-btn.bandcamp {
    background: linear-gradient(135deg, #629aa0, #408a94);
    box-shadow: 0 4px 15px rgba(98, 154, 160, 0.3);
}

.audio-btn.soundcloud {
    background: linear-gradient(135deg, #ff5500, #ff7700);
    box-shadow: 0 4px 15px rgba(255, 85, 0, 0.3);
}

.audio-btn.apple {
    background: linear-gradient(135deg, #fa233b, #fb5c74);
    box-shadow: 0 4px 15px rgba(250, 35, 59, 0.3);
}

.audio-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.audio-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.audio-name {
    flex: 1;
    font-size: 1.1rem;
}

.external-icon {
    font-size: 1.2rem;
    opacity: 0.7;
}

/* No Audio */
.no-audio {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.no-audio p {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Actions */
.actions {
    margin-top: auto;
    padding-top: 1rem;
}

.scan-another-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scan-another-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Error Section */
.error-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.error-message {
    text-align: center;
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: 16px;
    padding: 2rem;
    max-width: 400px;
}

.error-message h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #e74c3c;
}

.error-message p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-overlay p {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Button Icons */
.btn-icon {
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 480px) {
    .listen-header {
        padding: 0.75rem;
    }
    
    .scanner-section,
    .release-section {
        padding: 0.75rem;
    }
    
    .release-header {
        flex-direction: column;
        text-align: center;
    }
    
    .release-cover {
        align-self: center;
        width: 150px;
        height: 150px;
    }
    
    .release-title {
        font-size: 1.3rem;
    }
    
    .scanner-container {
        max-width: 280px;
    }
    
    .scanner-frame {
        width: 160px;
        height: 160px;
    }
}

@media (max-height: 600px) {
    .scanner-container {
        max-width: 250px;
    }
    
    .scanner-frame {
        width: 140px;
        height: 140px;
    }
}

/* PWA Specific Styles */
@media (display-mode: standalone) {
    .listen-header {
        padding-top: calc(1rem + env(safe-area-inset-top));
    }
    
    .listen-container {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    /* Already dark by default */
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .scanner-frame {
        border-color: #ffffff;
    }
    
    .audio-btn {
        border: 2px solid rgba(255, 255, 255, 0.3);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .scanner-frame {
        animation: none;
    }
    
    .audio-btn::before {
        transition: none;
    }
    
    .loading-spinner {
        animation: none;
    }
    
    * {
        transition: none !important;
    }
}

/* Streaming Embeds */
.streaming-section {
    margin-top: 30px;
}

.streaming-embed {
    margin-bottom: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.embed-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    gap: 10px;
}

.embed-icon {
    font-size: 1.2rem;
}

.embed-name {
    font-weight: 600;
    color: #333;
    flex: 1;
}

.external-link {
    color: #007cba;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.external-link:hover {
    background-color: #e3f2fd;
}

.streaming-embed iframe {
    display: block;
    border: none;
    width: 100%;
}

/* External Links */
.external-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.streaming-btn {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s;
    gap: 10px;
}

.streaming-btn:hover {
    border-color: #007cba;
    background: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 124, 186, 0.1);
}

.streaming-icon {
    font-size: 1.2rem;
}

.streaming-name {
    flex: 1;
    font-weight: 500;
}

.external-icon {
    color: #666;
    font-size: 0.9rem;
}

/* Platform-specific colors */
.streaming-btn.spotify:hover {
    border-color: #1db954;
    background: #f0f8f2;
}

.streaming-btn.apple:hover {
    border-color: #fa243c;
    background: #fef0f1;
}

.streaming-btn.bandcamp:hover {
    border-color: #629aa0;
    background: #f0f5f6;
}

.streaming-btn.soundcloud:hover {
    border-color: #ff5500;
    background: #fff5f0;
}

.streaming-btn.tidal:hover {
    border-color: #000;
    background: #f5f5f5;
}

.streaming-btn.deezer:hover {
    border-color: #feaa2d;
    background: #fffbf0;
}

.streaming-btn.amazon:hover {
    border-color: #ff9900;
    background: #fffaf0;
}

.streaming-btn.other:hover {
    border-color: #666;
    background: #f5f5f5;
}

/* Unified Audio Player Styles */
.unified-audio-section {
    margin-top: 30px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.unified-audio-section h3 {
    margin: 0;
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    font-size: 1.2rem;
    color: #333;
    text-align: center;
}

.unified-tracks-list {
    padding: 0;
}

.unified-track-item {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.unified-track-item:hover {
    background: #f8f9fa;
}

.unified-track-item:last-child {
    border-bottom: none;
}

.track-item-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.track-item-thumb {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 8px;
    margin-right: 15px;
    flex-shrink: 0;
}

.track-type-icon {
    font-size: 1.5rem;
}

.track-item-details {
    flex: 1;
    min-width: 0;
}

.track-item-title {
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-item-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: #666;
}

.track-type {
    font-weight: 500;
    color: #333;
}

.track-duration {
    color: #999;
}

.link-status {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.link-status.verified {
    background: #e8f5e8;
    color: #2e7d32;
}

.link-status.unverified {
    background: #fff3e0;
    color: #f57c00;
}

.youtube-player-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 10px;
}

.embedded-player {
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

/* External link containers hidden - keeping traffic on site */
.external-link-container {
    display: none;
}

.external-link-btn {
    display: none;
}

.track-list {
    max-height: 400px;
    overflow-y: auto;
}

.track-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
    cursor: pointer;
}

.track-item:hover {
    background: #f8f9fa;
}

.track-item:last-child {
    border-bottom: none;
}

.track-thumbnail {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    margin-right: 15px;
    flex-shrink: 0;
}

.track-info {
    flex: 1;
    min-width: 0;
}

.track-title {
    font-weight: 600;
    color: #333;
    margin: 0 0 4px 0;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #666;
}

.track-duration {
    color: #999;
}

.track-service {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    background: #e3f2fd;
    color: #1976d2;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.track-service.youtube {
    background: #ffebee;
    color: #d32f2f;
}

.track-service.spotify {
    background: #e8f5e8;
    color: #2e7d32;
}

.track-service.apple {
    background: #fce4ec;
    color: #c2185b;
}

.track-service.bandcamp {
    background: #e0f2f1;
    color: #00695c;
}

.track-service.soundcloud {
    background: #fff3e0;
    color: #ef6c00;
}

.track-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.track-play-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: #1976d2;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    font-size: 0.9rem;
}

.track-play-btn:hover {
    background: #1565c0;
}

.track-play-btn.playing {
    background: #4caf50;
}

.track-external-link {
    color: #666;
    text-decoration: none;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s;
    font-size: 0.9rem;
}

.track-external-link:hover {
    background: #f0f0f0;
    color: #333;
}

.verification-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 500;
}

.verification-status.verified {
    background: #e8f5e8;
    color: #2e7d32;
}

.verification-status.unverified {
    background: #fff3e0;
    color: #f57c00;
}

.verification-status.untested {
    background: #f5f5f5;
    color: #666;
}

/* YouTube Player Controls */
.youtube-player-container {
    position: relative;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    margin: 20px;
    display: none;
}

.youtube-player-container.active {
    display: block;
}

.youtube-player {
    width: 100%;
    height: 200px;
    border: none;
}

.player-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.play-pause-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    font-size: 1.1rem;
}

.play-pause-btn:hover {
    background: #f0f0f0;
}

.progress-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: #fff;
    border-radius: 2px;
    transition: width 0.1s;
}

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

.volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-slider {
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.volume-icon {
    color: #fff;
    font-size: 1rem;
}

/* Other URLs Section */
.other-urls-section {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.other-urls-section h3 {
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    color: #333;
    text-align: center;
}

.other-urls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.other-url-link {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s;
    gap: 8px;
    font-size: 0.9rem;
}

.other-url-link:hover {
    border-color: #007cba;
    background: #f0f8ff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 124, 186, 0.1);
}

.other-url-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.other-url-name {
    flex: 1;
    font-weight: 500;
}

/* Video Section */
.video-section {
    margin-top: 30px;
}

.video-embed {
    margin-bottom: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.video-embed h4 {
    margin: 0;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    font-size: 1rem;
    color: #333;
}

.video-embed iframe {
    display: block;
    border: none;
    width: 100%;
}

.video-link {
    display: flex;
    align-items: center;
    padding: 16px;
    text-decoration: none;
    color: #007cba;
    gap: 10px;
    transition: background-color 0.2s;
}

.video-link:hover {
    background: #f8f9fa;
}

.video-icon {
    font-size: 1.2rem;
}