/* Hide floating back buttons on pages with inline buttons */
        #music-index-page .back-to-main.show,
        #music-player-page .back-to-main.show,
        #daily-quotes-page .back-to-main.show,
        #meeting-discussion-page .back-to-main.show,
        #sunday-energy-page .back-to-main.show {
            display: none !important; /* Use inline buttons instead */
        }

/* Remove margin-top since we're not using floating buttons on these pages */
        #music-index-page .login-section,
        #daily-quotes-page .container {
            margin-top: 0; /* No space needed - using inline buttons */
        }

/* Music Index Page Styles */
        #music-index-page {
            font-family: 'Poppins', sans-serif;
            background-color: #121212;
            color: white;
            text-align: center;
            margin: 0;
            padding: 0;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

#music-index-page .popup {
            background: rgba(0, 0, 0, 0.9);
            padding: 30px;
            text-align: center;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(255, 0, 79, 0.8);
            animation: fadeIn 1s ease-in-out;
            max-width: 400px;
            width: 90%;
        }

#music-index-page .logo {
            width: 100px;
            margin-bottom: 10px;
            border-radius: 50%;
            animation: logoFloatIn 1.2s ease forwards, logoGlow 3s infinite ease-in-out;
        }

#music-index-page .popup h1 {
            font-size: 24px;
            margin-bottom: 20px;
            font-family: 'Exo 2', sans-serif;
            text-shadow: 0 0 8px #ff004f;
            color: white;
        }

#music-index-page .popup button {
            background: #ff004f;
            color: white;
            border: none;
            padding: 10px 20px;
            font-size: 16px;
            border-radius: 5px;
            cursor: pointer;
            transition: 0.3s;
            font-family: 'Rajdhani', sans-serif;
        }

#music-index-page .popup button:hover {
            background: #ff7300;
        }

#music-index-page button {
            display: block;
            width: 100%;
            margin: 15px auto;
            padding: 15px;
            font-size: 18px;
            border: none;
            border-radius: 10px;
            background-color: #ff004f;
            color: white;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 600;
        }

#music-index-page button:hover {
            background-color: #ff7300;
            transform: translateY(-2px);
        }

#music-index-page .login-section {
            background: rgba(0, 0, 0, 0.85);
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 0 15px rgba(255, 0, 79, 0.9);
            max-width: 400px;
            width: 90%;
        }

#music-index-page .login-logo-container {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-bottom: 20px;
        }

#music-index-page .login-logo1,
        #music-index-page .login-logo2 {
            max-width: 80px;
            height: auto;
        }

#music-index-page .login-logo2 {
            border-radius: 50%;
        }

#music-index-page .login-heading {
            font-size: 20px;
            color: white;
            margin-bottom: 20px;
        }

#music-index-page .radio-group {
            text-align: left;
            margin-bottom: 20px;
        }

#music-index-page .radio-group label {
            display: block;
            padding: 12px 15px;
            margin-bottom: 10px;
            background: #2a2a2a;
            color: white;
            border: 1px solid #444;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 14px;
        }

#music-index-page .radio-group label:hover {
            background: #3a3a3a;
            border-color: #ff004f;
        }

#music-index-page .radio-group input[type="radio"] {
            margin-right: 10px;
            cursor: pointer;
        }

#music-index-page input[type="text"] {
            width: 100%;
            padding: 15px;
            border: 2px solid #ddd;
            border-radius: 8px;
            font-size: 16px;
            margin-bottom: 20px;
        }

#music-index-page input[type="text"]:focus {
            outline: none;
            border-color: #ff004f;
        }

/* Music Player Page Styles */
        #music-player-page {
            font-family: 'Poppins', sans-serif;
            background-color: #121212;
            color: white;
            text-align: center;
            margin: 0;
            padding: 0;
            min-height: 100vh;
            padding-top: 70px;
        }

#music-player-page header {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 10px;
            background-color: #ff004f;
            width: 100%;
            position: fixed;
            top: 0;
            left: 0;
            z-index: 1000;
            height: 50px;
            box-sizing: border-box;
        }

#music-player-page .logo {
            height: 40px;
            width: auto;
            margin: 0 10px;
        }

#music-player-page .logo2 {
            height: 40px;
            border-radius: 50%;
            width: auto;
            margin: 0 10px;
        }

#music-player-page h1 {
            font-size: 22px;
            color: white;
            text-align: center;
            flex-grow: 1;
            margin: 0;
            white-space: nowrap;
        }

#music-player-page .music-container {
            width: 90%;
            max-width: 600px;
            margin: 20px auto;
            padding: 15px;
            background: #292929;
            border-radius: 10px;
            box-shadow: 0 4px 10px rgba(255, 0, 79, 0.3);
            text-align: center;
        }

#music-player-page #MasterImage {
            width: 100%;
            max-height: 250px;
            height: auto;
            object-fit: contain;
            display: block;
            margin: 10px auto;
            border-radius: 15px;
        }

#music-player-page .progress-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 15px;
        }

#music-player-page .controls {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 15px;
            flex-wrap: wrap;
        }

#music-player-page .controls button,
        #music-player-page .loop-btn {
            padding: 12px;
            background: #ff004f;
            border: none;
            color: white;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            border-radius: 10px;
            transition: all 0.2s ease-in-out;
        }

#music-player-page .controls button:hover,
        #music-player-page .loop-btn:hover {
            background: #cc0022;
            transform: scale(1.05);
        }

#music-player-page .song-list {
            margin-top: 20px;
            overflow-x: auto;
        }

#music-player-page table {
            width: 100%;
            border-collapse: collapse;
        }

#music-player-page th,
        #music-player-page td {
            padding: 8px;
            border-bottom: 1px solid #444;
            text-align: center;
            font-size: 14px;
        }

#music-player-page th {
            background: #ff004f;
        }

#music-player-page .video-btn {
            padding: 8px;
            background: #ff7300;
            border-radius: 8px;
            color: white;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.2s ease-in-out;
        }

#music-player-page .video-btn:hover {
            background: #aa3300;
            transform: scale(1.05);
        }

@media (max-width: 600px) {
            #music-player-page header {
                flex-wrap: nowrap;
            }
            #music-player-page .logo,
            #music-player-page .logo2 {
                height: 30px;
                margin: 0 5px;
            }
            #music-player-page h1 {
                font-size: 18px;
            }
        }

/* Music Video Player Page Styles - Matches Quote Pages Structure with Music Theme */
        #music-video-player-page {
            background-color: #121212;
            padding: 0;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            font-family: 'Poppins', sans-serif;
        }

#music-video-player-page .music-video-header {
            background: linear-gradient(135deg, #ff004f, #ff7300);
            color: white;
            padding: 20px;
            text-align: center;
            box-shadow: 0 2px 8px rgba(0,0,0,0.3);
        }

#music-video-player-page h1 {
            color: white;
            font-size: 28px;
            margin: 0 0 10px 0;
        }

#music-video-player-page .music-video-subtitle {
            color: rgba(255,255,255,0.9);
            font-size: 14px;
            margin: 0;
        }

#music-video-player-page .iframe-container {
            flex: 1;
            background: black;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            margin: 0;
        }

#music-video-player-page iframe {
            width: 100%;
            height: 100%;
            min-height: 400px;
            border: none;
            display: block;
            /* Prevent long-press debug menu on mobile */
            pointer-events: auto;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            -webkit-touch-callout: none;
        }

#music-video-player-page .back-button-container {
            background: #292929;
            padding: 15px;
            text-align: center;
            box-shadow: 0 -2px 8px rgba(0,0,0,0.3);
        }

#music-video-player-page .back-button {
            background-color: #ff004f;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 8px;
            font-size: 16px;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: background-color 0.3s;
            font-weight: 600;
        }

#music-video-player-page .back-button:hover {
            background-color: #cc0022;
        }

#music-video-player-page .loading-container {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 50px 20px;
            background: #121212;
        }

#music-video-player-page .spinner {
            border: 4px solid #f3f3f3;
            border-top: 4px solid #ff004f;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            animation: spin 1s linear infinite;
            margin-bottom: 20px;
        }

#music-video-player-page .loading-container p {
            color: #ccc;
            font-size: 16px;
        }

#music-video-player-page .error-message {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 50px 20px;
            color: #ff004f;
            font-size: 18px;
            text-align: center;
            background: #121212;
        }

/* Mobile optimizations */
        @media (max-width: 768px) {
            #music-video-player-page h1 {
                font-size: 24px;
            }
            
            #music-video-player-page .music-video-subtitle {
                font-size: 12px;
            }
            
            #music-video-player-page iframe {
                min-height: 300px;
            }
        }
