:root {
            --color-bg-primary: #121212;
            --color-bg-secondary: #181818;
            --color-bg-modal: #282828;
            --color-border: #282828;
            --color-accent: #1DB954; /* Spotify Green */
            --color-text-primary: #FFFFFF;
            --color-text-secondary: #b3b3b3;
            --color-success: #1DB954;
            --color-error: #f44336;
            --color-danger: #f44336;
        }

        html, body {
            height: 100%;
            overflow-y: auto;
        }
        body {
            display: flex;
            flex-direction: column;
            background-color: var(--color-bg-primary);
            color: var(--color-text-primary);
            font-family: 'Montserrat', sans-serif;
            background-image: 
                linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.9)),
                url('https://placehold.co/1920x1080/121212/121212?text=+') /* Placeholder for a subtle background texture if needed */;
            background-size: cover;
            background-position: center;
        }
        main {
            flex-grow: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 0;
        }
        footer {
            flex-shrink: 0;
            padding: 1.5rem 0;
        }

        /* --- App Icon --- */
        .app-icon-container {
            width: 120px;
            height: 120px;
            border-radius: 20px;
            background: var(--color-bg-secondary);
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .app-icon-container img {
            width: 100%;
            height: 100%;
            border-radius: 20px;
        }


        /* --- CTA Button Style --- */
        #download-btn {
            background-color: var(--color-accent);
            color: var(--color-text-primary);
            font-weight: 700;
            border-radius: 500px;
            transition: transform 0.2s cubic-bezier(0.3, 0.7, 0.4, 1.5), background-color 0.2s ease-in-out;
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
        }
        #download-btn:hover {
            transform: scale(1.05);
            background-color: #1ed760;
        }
        #download-btn:active {
            transform: scale(0.98);
        }


        /* --- Badges --- */
        .secure-badge-row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
        .badge {
            padding: 8px 16px;
            color: var(--color-text-secondary);
            font-weight: 500;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 999px;
            user-select: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
        }
        .badge:hover {
            background: rgba(255, 255, 255, 0.1);
            color: var(--color-text-primary);
        }
       
        /* --- Modal Styles --- */
        .mfp-bg { background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
        .mfp-zoom-in .mfp-content { opacity: 0; transform: scale(0.95); transition: all 0.3s ease-in-out; }
        .mfp-zoom-in.mfp-ready .mfp-content { opacity: 1; transform: scale(1); }
        .mfp-zoom-in.mfp-removing .mfp-content { opacity: 0; transform: scale(0.95); }
        #modal-container {
            background: var(--color-bg-modal);
            width: 100%;
            max-width: 450px;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.5);
            border: 1px solid var(--color-border);
        }
        .platform-card {
             background-color: #3e3e3e;
             transition: all 0.2s ease-in-out;
             border: 2px solid transparent;
        }
        .platform-card:hover, .platform-card:focus {
            border-color: var(--color-accent);
            transform: translateY(-4px);
            background-color: #4a4a4a;
            outline: none;
        }
        
        /* --- Spotify-style Loader --- */
        .loader-container {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 120px;
            margin-bottom: 1rem;
        }
        .spotify-loader {
            display: flex;
            align-items: flex-end;
            height: 50px;
        }
        .spotify-loader .bar {
            width: 8px;
            height: 10px;
            margin: 0 3px;
            background-color: var(--color-accent);
            animation: spotify-wave 1.2s infinite ease-in-out;
            border-radius: 4px;
        }
        .spotify-loader .bar:nth-child(2) { animation-delay: 0.1s; }
        .spotify-loader .bar:nth-child(3) { animation-delay: 0.2s; }
        .spotify-loader .bar:nth-child(4) { animation-delay: 0.3s; }
        .spotify-loader .bar:nth-child(5) { animation-delay: 0.4s; }
        @keyframes spotify-wave {
            0%, 40%, 100% { height: 10px; }
            20% { height: 50px; }
        }

        /* --- Subtle Loader Bar --- */
        .progress-loader { display: block; --height-of-loader: 4px; --loader-color: var(--color-accent); width: 100%; max-width: 260px; height: var(--height-of-loader); border-radius: 30px; background-color: rgba(0,0,0,0.2); position: relative; margin: 1rem auto 0; }
        .progress-loader::before { content: ""; position: absolute; background: var(--loader-color); top: 0; left: 0; width: 0%; height: 100%; border-radius: 30px; animation: moving 1.5s ease-in-out infinite; }
        @keyframes moving { 50% { width: 100%; } 100% { width: 0; right: 0; left: unset; } }

        /* --- Other Helper Styles --- */
        .checklist-item.completed i { color: var(--color-success); }
        #countdown-timer.urgent { color: var(--color-danger); animation: pulse-urgent 1s infinite; }
        @keyframes pulse-urgent { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
        .star-rating { color: #FFD700; }
        
        @keyframes icon-pulse-animation {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }
        .icon-pulse {
            animation: icon-pulse-animation 2s infinite cubic-bezier(0.36, 0.07, 0.19, 0.97);
        }

        /* Responsive adjustments */
        @media (max-width: 380px) and (max-height: 700px) { 
            main { align-items: flex-start; padding-top: 2rem; padding-bottom: 2rem; } 
            .app-icon-container { width: 100px; height: 100px; }
            h1 { font-size: 2rem; line-height: 2.5rem; } 
            p.text-lg { font-size: 1rem; margin-bottom: 1.5rem; } 
            #download-btn { font-size: 1.125rem; padding: 0.75rem 2.5rem; } 
            div.mt-8 { margin-top: 1.5rem; } 
            footer { padding-top: 1rem; padding-bottom: 1rem; } 
            .badge { padding: 0.375rem 0.625rem; font-size: 0.75rem; } 
            .secure-badge-row { gap: 0.5rem; } 
            #modal-container { max-width: calc(100vw - 2rem); }
        }