:root {
            --color-bg-primary: #F2F5F9; /* Light grey-blue */
            --color-bg-secondary: #FFFFFF;
            --color-border: #E0E4E8;
            --color-accent-start: #3A82F7; /* Roblox Blue */
            --color-accent-end: #2D67C8;   /* Darker Blue */
            --color-text-primary: #1E2329;
            --color-text-secondary: #6B7280;
            --color-success: #10B981; /* Green */
            --color-error: #F87171;
            --color-danger: #EF4444; /* Red */
        }

        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: 'Inter', sans-serif;
        }
        main {
            flex-grow: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 0;
        }
        footer {
            flex-shrink: 0;
            padding: 1.5rem 0;
        }

        h1, h2, h3, button, .font-heading {
             font-family: 'Fredoka One', cursive;
        }

        /* --- Icon Card --- */
        .card_box {
            width: 150px;
            height: 150px;
            border-radius: 32px; /* More rounded */
            background-color: var(--color-bg-secondary);
            position: relative;
            box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
            cursor: pointer;
            transition: all .2s ease-in-out;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 3px solid var(--color-border);
        }
        .card_box:hover {
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
        }
        .card_box .app-icon-banner {
            width: 90%;
            height: 90%;
            object-fit: cover;
            border-radius: 24px;
        }
        /* Removed complex banner styles */

        /* --- CTA Button Style --- */
        #download-btn {
            background-image: linear-gradient(to right, var(--color-accent-start) 0%, var(--color-accent-end) 100%);
            border: none;
            border-radius: 16px;
            color: white;
            padding: 1rem 3rem;
            font-size: 1.5rem;
            letter-spacing: 1px;
            text-transform: uppercase;
            box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
            transition: all 0.2s ease-in-out;
            border-bottom: 4px solid var(--color-accent-end);
        }
        #download-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
        }
        #download-btn:active {
            transform: translateY(1px);
            border-bottom-width: 2px;
        }

        /* --- Cartoonish 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: var(--color-bg-secondary);
            border: 2px solid var(--color-border);
            border-radius: 999px;
            user-select: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.2s ease;
        }
        .badge:hover {
            transform: scale(1.05);
            border-color: var(--color-accent-start);
        }
        .badge i {
            color: var(--color-success);
        }
       
        /* --- Modal Styles --- */
        .mfp-bg { background: rgba(30, 35, 41, 0.8); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
        .mfp-zoom-in .mfp-content { opacity: 0; transform: scale(0.95); transition: all 0.45s 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: transparent;
            border: none;
            box-shadow: none;
            width: 100%;
            max-width: 450px;
        }
        .modal-outline-container {
            background: var(--color-bg-secondary);
            border-radius: 24px;
            width: 100%;
            max-width: 420px;
            margin: 0 auto;
            border: 4px solid #000;
            box-shadow: 8px 8px 0px #000;
            transition: opacity 0.45s ease-in-out;
        }
        .modal-inner-box {
            padding: 28px;
            width: 100%;
        }
        .platform-card {
             background-color: var(--color-bg-primary);
             transition: all 0.2s ease-in-out;
             border: 2px solid var(--color-border);
             border-radius: 12px;
        }
        .platform-card:hover, .platform-card:focus, .platform-card:active {
            border-color: var(--color-accent-start);
            transform: translateY(-4px);
            box-shadow: 0 0 15px rgba(58, 130, 247, 0.3);
            outline: none;
        }
        
        /* --- Superhero Loader animation styles (Unchanged) --- */
        .loader-container { position: relative; height: 100px; width: 200px; margin: 0 auto 1.5rem auto; }
        .loader { position: absolute; top: 50%; left: 50%; margin-left: -50px; animation: speeder 0.6s linear infinite; }
        .loader > span { height: 5px; width: 35px; background: var(--color-text-primary); position: absolute; top: -19px; left: 60px; border-radius: 2px 10px 1px 0; }
        .base span { position: absolute; width: 0; height: 0; border-top: 6px solid transparent; border-right: 100px solid var(--color-text-primary); border-bottom: 6px solid transparent; }
        .base span:before { content: ""; height: 22px; width: 22px; border-radius: 50%; background: var(--color-text-primary); position: absolute; right: -110px; top: -16px; }
        .base span:after { content: ""; position: absolute; width: 0; height: 0; border-top: 0 solid transparent; border-right: 55px solid var(--color-text-primary); border-bottom: 16px solid transparent; top: -16px; right: -98px; }
        .face-loader { position: absolute; height: 12px; width: 20px; background: var(--color-text-primary); border-radius: 20px 20px 0 0; transform: rotate(-40deg); right: -125px; top: -15px; }
        .face-loader:after { content: ""; height: 12px; width: 12px; background: var(--color-text-primary); right: 4px; top: 7px; position: absolute; transform: rotate(40deg); transform-origin: 50% 50%; border-radius: 0 0 0 2px; }
        .longfazers { position: absolute; width: 100%; height: 100%; top: 0; left: 0; }
        .longfazers span { position: absolute; height: 2px; width: 20%; background: var(--color-text-secondary); }
        .longfazers span:nth-child(1) { top: 20%; animation: lf 0.6s linear infinite; animation-delay: -5s; }
        .longfazers span:nth-child(2) { top: 40%; animation: lf2 0.8s linear infinite; animation-delay: -1s; }
        .longfazers span:nth-child(3) { top: 60%; animation: lf3 0.6s linear infinite; }
        .longfazers span:nth-child(4) { top: 80%; animation: lf4 0.5s linear infinite; animation-delay: -3s; }
        @keyframes lf { 0% { left: 200%; } 100% { left: -200%; opacity: 0; } } @keyframes lf2 { 0% { left: 200%; } 100% { left: -200%; opacity: 0; } } @keyframes lf3 { 0% { left: 200%; } 100% { left: -100%; opacity: 0; } } @keyframes lf4 { 0% { left: 200%; } 100% { left: -100%; opacity: 0; } }
        @keyframes speeder { 0% { transform: translate(2px, 1px) rotate(0deg); } 10% { transform: translate(-1px, -3px) rotate(-1deg); } 20% { transform: translate(-2px, 0px) rotate(1deg); } 30% { transform: translate(1px, 2px) rotate(0deg); } 40% { transform: translate(1px, -1px) rotate(1deg); } 50% { transform: translate(-1px, 3px) rotate(-1deg); } 60% { transform: translate(-1px, 1px) rotate(0deg); } 70% { transform: translate(3px, 1px) rotate(-1deg); } 80% { transform: translate(-2px, -1px) rotate(1deg); } 90% { transform: translate(2px, 1px) rotate(0deg); } 100% { transform: translate(1px, -2px) rotate(-1deg); } }

        /* --- Subtle Loader Bar --- */
        .progress-loader { display: block; --height-of-loader: 4px; --loader-color: var(--color-accent-start); width: 100%; max-width: 260px; height: var(--height-of-loader); border-radius: 30px; background-color: rgba(0,0,0,0.1); 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: #FFC700; }
        .star-rating .empty { color: var(--color-text-secondary); }
        
        @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; } 
            .card_box { width: 120px; height: 120px; border-radius: 24px; }
            h1 { font-size: 2.2rem; line-height: 2.5rem; } 
            p.text-lg { font-size: 1rem; margin-bottom: 1.5rem; } 
            #download-btn { font-size: 1.25rem; 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); }
        }