        body {
            font-family: Arial, sans-serif;
            background-color: #121212;
            color: #ffffff;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            margin: 0;
            padding: 10px;
            box-sizing: border-box;
        }
        
        .container {
            text-align: center;
            max-width: 400px;
            width: 100%;
            padding: 15px;
            background-color: #1e1e1e;
            border-radius: 15px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        }
        
        /* Album art container with progress bar */
        .album-container {
            position: relative;
            width: 355px;
            height: 355px;
            margin: 0 auto 10px;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
            touch-action: pan-y;
        }
        
        .album-art {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }
        
        .album-art:hover {
            transform: scale(1.02);
        }
        
        /* Video iframe for album container */
        .album-video-iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
            z-index: 5;
        }
        
        /* Video overlay text */
        .video-overlay-text {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 10px 20px;
            border-radius: 25px;
            font-size: 14px;
            font-weight: bold;
            z-index: 6;
            cursor: pointer;
            transition: all 0.3s ease;
            backdrop-filter: blur(5px);
        }
        
        .video-overlay-text:hover {
            background: rgba(255, 0, 0, 0.8);
            transform: translate(-50%, -50%) scale(1.05);
        }
        
        /* NEW: Video testing indicator */
        .video-testing-indicator {
            position: absolute;
            top: 10px;
            right: 10px;
            background: rgba(0, 150, 255, 0.9);
            color: white;
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 10px;
            z-index: 10;
            display: none;
        }
        
        .video-testing-indicator.active {
            display: block;
            animation: pulse 2s infinite;
        }
        
        /* Progress bar positioned at bottom of album art */
        .progress-container {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(0, 0, 0, 0.85);
            padding: 8px 12px;
            z-index: 10;
        }
        
        .progress-bar {
            width: 100%;
            height: 4px;
            background-color: #404040;
            border-radius: 2px;
            overflow: hidden;
            margin-bottom: 5px;
        }
        
        .progress {
            height: 100%;
            background: linear-gradient(90deg, #1db954, #1ed760);
            width: 0%;
            transition: width 1s linear;
            border-radius: 2px;
        }
        
        .time-info {
            display: flex;
            justify-content: space-between;
            font-size: 11px;
            color: #b3b3b3;
        }
        
        /* Custom radio player controls */
        .player-controls {
            margin: 10px 0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: nowrap;
            gap: 8px;
            width: 100%;
            max-width: 355px;
        }
        
        .play-pause-btn {
            background: none;
            border: none;
            padding: 0;
            cursor: pointer;
            transition: transform 0.2s ease;
        }
        
        .play-pause-btn:hover {
            transform: scale(1.1);
        }
        
        .play-pause-btn img {
            width: 60px;
            height: 60px;
            vertical-align: middle;
        }
        
        .radio-player {
            display: none;
        }
        
        .mute-btn {
            background: none;
            border: none;
            padding: 0;
            cursor: pointer;
            transition: transform 0.2s ease;
            flex-shrink: 0;
        }
        
        .mute-btn:hover {
            transform: scale(1.1);
        }
        
        .mute-btn img {
            width: 30px;
            height: 30px;
            vertical-align: middle;
        }
        
        /* Track info styling */
        .track-info-inline {
            flex: 1;
            text-align: center;
            margin: 0 10px;
        }
        
        .track-info-inline .track-name {
            font-size: 22px;
            font-weight: bold;
            margin: 0;
            color: #1db954;
            line-height: 1.2;
            word-wrap: break-word;
        }
        
        .artist-info {
            margin: 5px 0 10px 0;
            text-align: center;
        }
        
        .artist-info .artist-name {
            font-size: 16px;
            color: #b3b3b3;
            margin: 0;
            line-height: 1.2;
        }
        
        /* Status indicator */
        .status-indicator {
            position: absolute;
            top: 10px;
            left: 10px;
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 11px;
            background: rgba(0, 0, 0, 0.7);
            padding: 4px 8px;
            border-radius: 12px;
            z-index: 10;
        }
        
        .status-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background-color: #1db954;
            animation: pulse 2s infinite;
        }
        
        .status-dot.paused {
            background-color: #666;
            animation: none;
        }
        
        @keyframes pulse {
            0% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.7; transform: scale(1.1); }
            100% { opacity: 1; transform: scale(1); }
        }
        
        /* Action buttons */
        .action-buttons {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin: 20px 0;
            flex-wrap: wrap;
        }
        
        .btn {
            background: linear-gradient(135deg, #1db954, #1ed760);
            color: #000000;
            border: none;
            padding: 10px 20px;
            border-radius: 20px;
            cursor: pointer;
            font-size: 12px;
            font-weight: bold;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            position: relative;
            overflow: hidden;
        }
        
        .btn:hover {
            background: linear-gradient(135deg, #1ed760, #1db954);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(29, 185, 84, 0.3);
            color: #000000;
        }
        
        .btn.secondary {
            background: linear-gradient(135deg, #333, #555);
            color: #ffffff;
        }
        
        .btn.secondary:hover {
            background: linear-gradient(135deg, #555, #333);
            box-shadow: 0 4px 12px rgba(85, 85, 85, 0.3);
            color: #ffffff;
        }
        
        /* YouTube button loading animation */
        .btn.loading::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            animation: shimmer 1.5s infinite;
        }
        
        @keyframes shimmer {
            0% { left: -100%; }
            100% { left: 100%; }
        }
        
        /* NEW: Smart video status indicator */
        .btn.smart-testing {
            background: linear-gradient(135deg, #ff6b35, #ff8c42);
            position: relative;
        }
        
        .btn.smart-testing::after {
            content: '??';
            position: absolute;
            top: -5px;
            right: -5px;
            font-size: 12px;
        }
        
        /* Error message */
        .error-message {
            color: #ff6b6b;
            font-size: 12px;
            margin: 10px 0;
            padding: 8px;
            background: rgba(255, 107, 107, 0.1);
            border-radius: 8px;
            display: none;
        }
        
        /* Overlays */
        .lyrics-overlay, .youtube-overlay, .chatango-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            z-index: 1000;
            overflow-y: auto;
            display: none;
            backdrop-filter: blur(10px);
        }
        
        .youtube-overlay, .chatango-overlay {
            background-color: rgba(0, 0, 0, 0.95);
            z-index: 1001;
        }
        
        .lyrics-container, .youtube-container {
            padding: 40px 20px;
            color: white;
            max-width: 800px;
            margin: 0 auto;
        }
        
        .youtube-container {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            padding: 40px 20px 20px;
            box-sizing: border-box;
            max-width: 1200px;
        }
        
        .lyrics-header, .youtube-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            position: sticky;
            top: 0;
            background-color: rgba(0, 0, 0, 0.9);
            padding: 20px 0;
            backdrop-filter: blur(10px);
        }
        
        .youtube-header {
            margin-bottom: 20px;
            padding: 0 0 20px 0;
            position: static;
        }
        
        .lyrics-title {
            margin: 0;
            font-size: 1.4rem;
            color: #1db954;
        }
        
        .youtube-title {
            margin: 0;
            font-size: 1.4rem;
            color: #ff0000;
        }
        
        .lyrics-body {
            white-space: pre-line;
            line-height: 1.8;
            font-size: 1.1rem;
            padding-bottom: 40px;
            text-align: left;
        }
        
        .lyrics-loading, .youtube-loading {
            text-align: center;
            padding: 60px 0;
            font-size: 1.1rem;
        }
        
        .youtube-loading {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            height: 100%;
            font-size: 1.2rem;
            color: #fff;
        }
        
        .youtube-content {
            flex: 1;
            width: 100%;
            position: relative;
            background: #000;
            border-radius: 10px;
            overflow: hidden;
        }
        
        .youtube-iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }
        
        .youtube-close-btn {
            padding: 12px 24px;
            background: linear-gradient(135deg, #ff4757, #ff3742);
            color: white;
            border: none;
            border-radius: 30px;
            cursor: pointer;
            font-size: 14px;
            font-weight: bold;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
        }
        
        .youtube-close-btn:hover {
            background: linear-gradient(135deg, #ff3742, #ff2f3a);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(255, 71, 87, 0.6);
        }
        
        /* Video loading states */
        .video-retry-btn {
            background: linear-gradient(135deg, #1db954, #1ed760);
            color: #000000;
            border: none;
            padding: 10px 20px;
            border-radius: 20px;
            cursor: pointer;
            font-size: 14px;
            font-weight: bold;
            margin: 10px;
            transition: all 0.3s ease;
        }
        
        .video-retry-btn:hover {
            background: linear-gradient(135deg, #1ed760, #1db954);
            transform: translateY(-2px);
        }
        
        .video-search-btn {
            background: linear-gradient(135deg, #ff4757, #ff3742);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 20px;
            cursor: pointer;
            font-size: 14px;
            font-weight: bold;
            margin: 10px;
            transition: all 0.3s ease;
        }
        
        .video-search-btn:hover {
            background: linear-gradient(135deg, #ff3742, #ff2f3a);
            transform: translateY(-2px);
        }
        
        /* YouTube-style fallback interface */
        .youtube-fallback-container {
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            background: #000;
        }
        
        .youtube-fallback-video {
            position: relative;
            width: 90%;
            max-width: 600px;
            background: #000;
            border-radius: 10px;
            overflow: hidden;
            cursor: pointer;
            transition: transform 0.3s ease;
        }
        
        .youtube-fallback-video:hover {
            transform: scale(1.02);
        }
        
        .youtube-fallback-thumbnail {
            width: 100%;
            height: 300px;
            object-fit: cover;
            display: block;
        }
        
        .youtube-play-overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 10;
        }
        
        .youtube-play-overlay:hover {
            transform: translate(-50%, -50%) scale(1.1);
        }
        
        .youtube-play-button {
            width: 80px;
            height: 80px;
            filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
        }
        
        .youtube-video-info {
            padding: 15px;
            background: #181818;
            color: white;
        }
        
        .youtube-video-title {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 5px;
            color: #fff;
        }
        
        .youtube-video-artist {
            font-size: 14px;
            color: #aaa;
            margin-bottom: 3px;
        }
        
        .youtube-video-subtitle {
            font-size: 12px;
            color: #666;
        }
        
        /* Chatango specific */
        .chatango-container {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            padding: 0;
            box-sizing: border-box;
        }
        
        .chatango-content {
            flex: 1;
            width: 100%;
            height: 100%;
            overflow: hidden;
            position: relative;
        }
        
        .chatango-iframe {
            width: 100%;
            height: 100%;
            border: none;
        }
        
        .chatango-close-btn {
            position: fixed;
            top: 20px;
            right: 20px;
            padding: 12px 24px;
            background: linear-gradient(135deg, #ff4757, #ff3742);
            color: white;
            border: none;
            border-radius: 30px;
            cursor: pointer;
            font-size: 14px;
            font-weight: bold;
            z-index: 1002;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
            letter-spacing: 0.5px;
        }
        
        .chatango-close-btn:hover {
            background: linear-gradient(135deg, #ff3742, #ff2f3a);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(255, 71, 87, 0.6);
        }
        
        /* Responsive design */
        @media (max-width: 480px) {
            .container { max-width: 350px; padding: 10px; }
            .album-container { width: 300px; height: 300px; }
            .btn { padding: 8px 16px; font-size: 11px; }
            .play-pause-btn img { width: 50px; height: 50px; }
            .mute-btn img { width: 25px; height: 25px; }
        }
        
        @media (max-width: 360px) {
            .album-container { width: 280px; height: 280px; }
            .container { max-width: 320px; padding: 8px; }
            .action-buttons { flex-direction: column; align-items: center; gap: 6px; }
            .btn { width: 180px; }
        }/* 
PHASE 2: Mobile Enhancements for Now Playing Page
================================================
Improves mobile experience while maintaining exact same desktop appearance.
*/

/* Mobile responsive enhancements for now playing page */
@media screen and (max-width: 768px) {
    /* Better mobile container */
    .container {
        padding: 10px;
        margin: 0;
        max-width: 100%;
    }
    
    /* Enhanced mobile cards */
    .card {
        margin-bottom: 15px;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .card-body {
        padding: 15px;
    }
    
    /* Touch-friendly buttons */
    .btn {
        min-height: 44px;
        padding: 10px 20px;
        font-size: 14px;
        border-radius: 8px;
        transition: all 0.2s ease;
    }
    
    .btn:active {
        transform: scale(0.95);
    }
    
    /* Better mobile forms */
    .form-control {
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
        border-radius: 8px;
        padding: 12px 15px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    /* Mobile-optimized tables */
    .table-responsive {
        border: none;
        margin-bottom: 20px;
    }
    
    .table {
        font-size: 14px;
    }
    
    .table td, .table th {
        padding: 12px 8px;
        vertical-align: middle;
    }
    
    /* Better mobile navigation */
    .nav-tabs {
        flex-wrap: wrap;
        border-bottom: 2px solid #dee2e6;
    }
    
    .nav-tabs .nav-link {
        padding: 12px 16px;
        font-size: 14px;
        border-radius: 8px 8px 0 0;
        margin-bottom: -2px;
    }
    
    /* Mobile-friendly alerts */
    .alert {
        padding: 15px;
        margin-bottom: 20px;
        border-radius: 8px;
        font-size: 14px;
    }
    
    /* Better mobile modals */
    .modal-dialog {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    
    .modal-content {
        border-radius: 12px;
    }
    
    .modal-header, .modal-footer {
        padding: 15px 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    /* Mobile typography improvements */
    h1, h2, h3, h4, h5, h6 {
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    h1 { font-size: 24px; }
    h2 { font-size: 20px; }
    h3 { font-size: 18px; }
    h4 { font-size: 16px; }
    h5 { font-size: 14px; }
    h6 { font-size: 12px; }
    
    /* Better mobile spacing */
    .mb-3 { margin-bottom: 20px !important; }
    .mt-3 { margin-top: 20px !important; }
    .p-3 { padding: 20px !important; }
    
    /* Mobile-optimized lyrics display */
    .lyrics-container {
        max-height: 300px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 15px;
        background: #f8f9fa;
        border-radius: 8px;
        font-size: 14px;
        line-height: 1.6;
    }
    
    /* Better mobile search */
    .search-container {
        margin-bottom: 20px;
    }
    
    .search-input {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .search-button {
        width: 100%;
    }
    
    /* Mobile-friendly pagination */
    .pagination {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .page-link {
        padding: 10px 15px;
        font-size: 14px;
        margin: 2px;
        border-radius: 6px;
    }
}

/* Small mobile devices */
@media screen and (max-width: 480px) {
    .container {
        padding: 5px;
    }
    
    .card-body {
        padding: 12px;
    }
    
    .btn {
        font-size: 13px;
        padding: 8px 16px;
    }
    
    .form-control {
        font-size: 15px;
        padding: 10px 12px;
    }
    
    .table {
        font-size: 12px;
    }
    
    .table td, .table th {
        padding: 8px 6px;
    }
    
    h1 { font-size: 20px; }
    h2 { font-size: 18px; }
    h3 { font-size: 16px; }
    h4 { font-size: 14px; }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn {
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
        user-select: none;
    }
    
    .nav-link {
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    }
    
    .table-responsive {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Better touch feedback */
    .btn:active {
        background-color: rgba(0,0,0,0.1);
    }
    
    .nav-link:active {
        background-color: rgba(0,0,0,0.05);
    }
}

/* Landscape orientation for mobile */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .container {
        padding: 5px 15px;
    }
    
    .modal-dialog {
        margin: 5px auto;
        max-height: calc(100vh - 10px);
    }
    
    .modal-content {
        max-height: 100%;
        overflow-y: auto;
    }
    
    .lyrics-container {
        max-height: 200px;
    }
}

/* High DPI displays */
@media screen and (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2) {
    .btn, .form-control, .card {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Dark mode support for mobile */
@media screen and (max-width: 768px) and (prefers-color-scheme: dark) {
    .card {
        background-color: #2d2d2d;
        border-color: #444;
        color: #fff;
    }
    
    .form-control {
        background-color: #3d3d3d;
        border-color: #555;
        color: #fff;
    }
    
    .form-control:focus {
        background-color: #3d3d3d;
        border-color: #007bff;
        color: #fff;
        box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
    }
    
    .lyrics-container {
        background-color: #3d3d3d;
        color: #fff;
    }
    
    .table {
        color: #fff;
    }
    
    .table td, .table th {
        border-color: #444;
    }
}

/* Reduced motion preferences */
@media screen and (max-width: 768px) and (prefers-reduced-motion: reduce) {
    .btn, .nav-link, .modal {
        transition: none;
    }
    
    .btn:active {
        transform: none;
    }
}