   <!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>unitedlyrics.com domain name is for sale. Inquire now.</title>
    <meta name="description" content="unitedlyrics.com is available for purchase. Get in touch to discuss the possibilities!">

    <!-- FAVICON -->
    <link rel="icon" type="image/png" href="img/y.png">

            <base href="https://www.unitedlyrics.com/">
        
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css">

    <!-- Altcha -->
    <script async defer src="https://cdn.jsdelivr.net/gh/altcha-org/altcha/dist/altcha.min.js" type="module"></script>
    <link href="css/altcha.css" rel="stylesheet">

    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700&display=swap" rel="stylesheet">


    <!-- Efty infrastructure UA -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-51651642-1"></script>
    <script>
        window.dataLayer = window.dataLayer || [];
        function gtag(){dataLayer.push(arguments);}
        gtag('js', new Date());
        gtag('config', 'UA-51651642-1');
    </script>
    <!-- ./Efty infrastructure UA -->

    <!-- /Efty user GA4 / UA -->
            <script async src="https://www.googletagmanager.com/gtag/js?id=G-R33XD4EQX0"></script>
        <script>
            window.dataLayer = window.dataLayer || [];
            function gtag(){dataLayer.push(arguments);}
            gtag('js', new Date());

            gtag('config', 'G-R33XD4EQX0');
        </script>

        <!-- /Efty user GA4 / UA -->

    <script src="https://www.unitedlyrics.com/odf/js/odf.js"></script><script>Odf.set('website_base_url', 'https://www.unitedlyrics.com/');$(document).ready(function() {Odf.init();});</script>
    <style>
        body {
            font-family: 'Noto Sans', sans-serif;
        }
        #main_bg {
            background-image: url('img/landing_themes/siam/siambg.png');
            background-color: #191919;
        }
        /* Custom styles for radio buttons */
        .radio-option {
            transition: all 0.2s ease;
        }

        .radio-option.selected {
            background-color: rgb(240 253 244);
            border-color: rgb(34 197 94);
        }

        .radio-option:hover {
            background-color: rgb(249 250 251);
        }

        /* Loading spinner animation */
        .animate-spin {
            animation: spin 1s linear infinite;
        }
        /* Algemene validator box */
        .validator_status {
            display: block;
            padding: 0.75rem 1rem;   /* vergelijkbaar met Tailwind p-3 */
            margin-bottom: 0.75rem;  /* vergelijkbaar met mb-3 */
            border-radius: 1rem; 
            font-weight: 500;        /* font-medium */
            border: 1px solid transparent;
        }

        /* Error state */
        .validator_errors {
            background-color: #fee2e2; /* bg-red-100 */
            color: #991b1b;            /* text-red-800 */
            border-color: #fca5a5;     /* border-red-300 */
        }

        /* Success state */
        .validator_success {
            background-color: #dcfce7; /* bg-green-100 */
            color: #166534;            /* text-green-800 */
            border-color: #86efac;     /* border-green-300 */
        }


        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        /* Modal backdrop */
        .modal-backdrop {
            background-color: rgba(0, 0, 0, 0.7);
        }

        /* Background positioning for mobile */
        @media (max-width: 768px) {
            .bg-mobile {
                background-position: -650px 0;
            }
        }
    </style>
</head> <body>
<div class="min-h-screen text-white flex flex-col bg-cover bg-no-repeat md:bg-center bg-mobile md:bg-center" id="main_bg">

    <div class="absolute inset-0 bg-black/20"></div>
    <div class="relative z-10 w-full flex-grow flex items-center justify-center">

        <!-- Loading Overlay -->
        <div id="loading-overlay" class="fixed inset-0 modal-backdrop flex items-center justify-center z-50 hidden">
            <svg class="w-16 h-16 text-white animate-spin" fill="none" viewBox="0 0 24 24">
                <circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle>
                <path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path>
            </svg>
        </div>

        <!-- Offer Modal -->
        <div id="offer-modal" class="fixed inset-0 modal-backdrop flex items-center justify-center z-50 p-4 hidden">
            <div class="bg-white text-gray-900 p-10 rounded-3xl shadow-2xl w-full max-w-3xl max-h-[90vh] overflow-y-auto">
                <div class="flex justify-between items-center mb-8">
                    <h2 class="text-3xl font-bold text-gray-900">Make an Offer</h2>
                    <button id="close-modal" class="p-2 hover:bg-gray-100 rounded-full">
                        <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path>
                        </svg>
                    </button>
                </div>

                <form id="offer-form" class="odf_ajax space-y-6"action="routes/ajax_actions/landing_themes/add_inquiry_cap.ajaxa.php" method="post" data-target="form_feedback" autocomplete="off">

                    <input type="hidden" name="domain_id" value="5567346">
                    <input type="hidden" name="user_id" value="14394">

                    <div id="form_feedback">
                    </div>

                    <!-- First row - Name and Email -->
                    <div class="grid md:grid-cols-2 gap-6">
                        <div>
                            <label for="name" class="text-sm font-semibold text-gray-700 mb-2 block">Name *</label>
                            <input id="name" name="name" type="text" required class="w-full h-12 border-2 border-gray-200 focus:border-emerald-500 rounded-xl px-4 outline-none">
                        </div>
                        <div>
                            <label for="email" class="text-sm font-semibold text-gray-700 mb-2 block">Email *</label>
                            <input id="email" name="email" type="email" required class="w-full h-12 border-2 border-gray-200 focus:border-emerald-500 rounded-xl px-4 outline-none">
                        </div>
                    </div>

                    <!-- Second row - Phone and Offer -->
                    <div class="grid md:grid-cols-2 gap-6">
                        <div>
                            <label for="phone" class="text-sm font-semibold text-gray-700 mb-2 block">Phone</label>
                            <input id="phone" name="phone" type="tel" class="w-full h-12 border-2 border-gray-200 focus:border-emerald-500 rounded-xl px-4 outline-none">
                        </div>
                        <div>
                            <label for="offer" class="text-sm font-semibold text-gray-700 mb-2 block">Offer Amount (USD) *</label>
                            <input id="offer" name="offer" type="number" required class="w-full h-12 border-2 border-gray-200 focus:border-emerald-500 rounded-xl px-4 font-semibold outline-none" placeholder="Minimum: USD 1060.00">
                        </div>
                    </div>

                    <!-- Full width message -->
                    <div>
                        <label for="message" class="text-sm font-semibold text-gray-700 mb-2 block">Message *</label>
                        <textarea id="message" name="message" rows="4" class="w-full border-2 border-gray-200 focus:border-emerald-500 rounded-xl px-4 py-3 resize-none outline-none"></textarea>
                    </div>

                    
                    <div class="altcha-wrapper theme-siam">
                        <altcha-widget
                                challengeurl="https://sentinel-w5bmbzne6a7cs.azurewebsites.net/v1/challenge?apiKey=key_1jcc7jkd200a1tg7mhs"
                                name="altcha"
                        ></altcha-widget>
                    </div>

                    <button type="submit" class="w-full bg-green-500 hover:bg-green-600 hover:shadow-lg transition-all duration-200 text-white py-4 rounded-xl text-lg font-medium mb-2 flex items-center justify-center gap-2">
                        <svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
                        </svg>
                        Submit Your Offer
                    </button>
                </form>
            </div>
        </div>

        <!-- Lease to Own Modal -->
                <div id="lto-modal" class="fixed inset-0 modal-backdrop flex items-center justify-center z-50 p-4 hidden">
            <div id="lto-modal-panel" class="bg-white rounded-3xl shadow-2xl w-full max-w-6xl max-h-[90vh] overflow-hidden flex flex-col">
                <div class="flex justify-between items-center px-6 py-4 border-b border-gray-200">
                    <h2 class="text-2xl font-bold text-gray-900">Lease to Own unitedlyrics.com</h2>
                    <button id="close-lto-modal" class="p-2 hover:bg-gray-100 rounded-full text-gray-900" type="button" aria-label="Close Lease to Own modal">
                        <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path>
                        </svg>
                    </button>
                </div>
                <iframe
                    id="lto-iframe"
                    src="about:blank"
                    class="w-full border-0 bg-white"
                    loading="lazy"
                    title="Lease to Own checkout"
                ></iframe>
            </div>
        </div>
        
        <!-- Main Content -->
        <main class="container mx-auto px-6 py-12">
            <div class="max-w-6xl mx-auto">

                <!-- Mobile only domain name -->
                <div class="lg:hidden w-100">
                    <h1 class="text-4xl lg:text-5xl font-bold mb-4 lg:mb-8 leading-tight text-white mt-6" id="logo_text_mobile">
                        unitedlyrics.com                    </h1>
                </div>

                <!-- Consolidated single responsive layout replacing separate mobile/desktop sections -->
                <div class="grid lg:grid-cols-2 gap-8 lg:gap-12 items-center">
                    <!-- Left Column -->

                    <!-- Domain name -->
                    <div class="space-y-8 lg:order-1">
                        <div class="text-lg text-white leading-relaxed">
                            <h1 class="hidden lg:block text-4xl lg:text-5xl font-bold mb-4 lg:mb-8 leading-tight text-white mt-6" id="logo_text">
                                unitedlyrics.com                            </h1>
                            <p>unitedlyrics.com is a premium brandable domain for modern digital products that value flexibility and long-term identity.</p>
                        </div>

                        <!-- Chevron USPs -->
                        <div class="space-y-4">
                                                            <div class="flex items-center gap-3">
                                    <svg class="w-5 h-5 text-green-300" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
                                    </svg>
                                    <span class="text-lg">Solid, abstract brand character</span>
                                </div>
                                                            <div class="flex items-center gap-3">
                                    <svg class="w-5 h-5 text-green-300" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
                                    </svg>
                                    <span class="text-lg">Designed for scalable digital products and businesses</span>
                                </div>
                                                            <div class="flex items-center gap-3">
                                    <svg class="w-5 h-5 text-green-300" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
                                    </svg>
                                    <span class="text-lg">Easy to pronounce across languages</span>
                                </div>
                                                            <div class="flex items-center gap-3">
                                    <svg class="w-5 h-5 text-green-300" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
                                    </svg>
                                    <span class="text-lg">Flexible identity with long-term brand potential</span>
                                </div>
                                                            <div class="flex items-center gap-3">
                                    <svg class="w-5 h-5 text-green-300" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
                                    </svg>
                                    <span class="text-lg">Secure, one-time acquisition</span>
                                </div>
                                                    </div>

                        <!-- Domain seller info - hidden on mobile, shown on desktop -->
                                                <div class="hidden lg:flex justify-start">
                            <div class="bg-white/10 backdrop-blur-sm border border-white/20 p-6 px-12 rounded-2xl">
                                <div class="flex items-center gap-4">
                                    <div class="w-12 h-12 bg-white rounded-full flex items-center justify-center">
                                        <span class="text-gray-900 font-bold text-lg">V</span>
                                    </div>
                                    <div class="flex flex-col">
                                        <h4 class="text-white font-semibold text-lg">Versjon</h4>
                                                                                <div class="flex items-center gap-2">
                                            <svg class="w-4 h-4 text-green-300" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"></path>
                                            </svg>
                                            <span class="text-green-200 text-sm">Verified seller</span>
                                        </div>
                                                        </div>
            </div>
        </div>
                        </div>
                                           </div>
                    <!-- Right Column - Purchase Card -->
                    <div class="lg:order-2 lg:ml-auto">
                        <div class="bg-white text-gray-900 p-8 pb-4 rounded-3xl shadow-2xl lg:w-xl">

                            <div class="space-y-4">

                                                                <div id="response_bin"></div>
                                <div class="relative mb-0">
                                    <input type="radio" name="purchase-option" value="buy-now" id="buy-now" checked class="sr-only">
                                    <label for="buy-now" class="radio-option selected flex items-center justify-between p-4 border-2 rounded-xl cursor-pointer">
                                        <div class="flex items-center gap-2">
                                            <svg class="w-4 h-4 text-gray-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
                                            </svg>
                                            <span class="text-lg font-medium">Buy now</span>
                                        </div>
                                        <span class="text-2xl font-bold">$ 2,121</span>
                                    </label>
                                </div>

                                                                    <div class="relative mb-0">
                                        <input type="radio" name="purchase-option" value="lto" id="lto"  class="sr-only">
                                        <label for="lto" class="radio-option flex items-center justify-between p-4 border-2 rounded-xl cursor-pointer gap-4">
                                            <div class="flex items-center gap-2">
                                                <svg class="w-4 h-4 text-gray-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
                                                </svg>
                                                <span class="text-lg font-medium">Lease to Own</span>
                                            </div>
                                            <span class="text-right leading-none shrink-0">
                                                <span class="text-2xl font-bold">$ 98</span><span class="text-sm font-semibold text-gray-500 align-baseline">/mo</span>
                                            </span>
                                        </label>
                                    </div>
                                    
                                <div class="relative">
                                    <input type="radio" name="purchase-option" value="make-offer" id="make-offer" class="sr-only" >
                                    <label for="make-offer" class="radio-option flex items-center justify-between p-4 border-2 rounded-xl cursor-pointer">
                                        <div class="flex items-center gap-2">
                                            <svg class="w-4 h-4 text-gray-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
                                            </svg>
                                            <span class="text-lg font-medium">Make an offer</span>
                                        </div>
                                    </label>
                                </div>

                                <button id="main-action" class="w-full bg-green-500 hover:bg-green-600 hover:shadow-lg transition-all duration-200 text-white py-4 rounded-xl text-lg font-medium mb-0 flex items-center justify-center gap-2 py-0">
                                    <svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
                                    </svg>
                                    <span>Get it now</span>
                                </button>

                                
                                <div class="flex justify-center items-center gap-4 text-gray-400">
                                    <i class="fa-brands fa-cc-visa text-2xl" title="Visa"></i>
                                    <i class="fa-brands fa-cc-mastercard text-2xl" title="Mastercard"></i>
                                    <i class="fa-brands fa-cc-paypal text-2xl" title="PayPal"></i>
                                    <i class="fa-brands fa-cc-amex text-2xl hidden" title="American Express"></i>
                                    <i class="fa-solid fa-building-columns text-2xl mb-1" title="Bank Transfer"></i>
                                </div>
                            </div>

                        </div>

                        <!-- Active Buyer Interest box -->
                        <div class="bg-green-50 text-gray-600 p-6 rounded-xl mt-6">
                            <div class="flex items-center gap-4">
                                <svg class="w-8 h-8 text-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 7h8m0 0v8m0-8l-8 8-4-4-6 6"></path>
                                </svg>
                                <div class="text-left">
                                    <div class="font-bold">Active Buyer Interest</div>
                                    <div class="text-sm">Over 30 potential buyers recently viewed this domain</div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- Domain seller info - shown on mobile only -->
                                <div class="lg:hidden mt-6 lg:mt-8">
                    <div class="bg-white/10 backdrop-blur-sm border border-white/20 p-6 rounded-2xl w-full">
                        <div class="flex items-center gap-4">
                            <div class="w-12 h-12 bg-white rounded-full flex items-center justify-center">
                                <span class="text-gray-900 font-bold text-lg">V</span>
                            </div>
                            <div class="flex flex-col">
                                <h4 class="text-white font-semibold text-lg">Versjon</h4>
                                                                <div class="flex items-center gap-2">
                                    <svg class="w-4 h-4 text-green-300" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"></path>
                                    </svg>
                                    <span class="text-green-200 text-sm">Verified seller</span>
                                </div>
                                                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- Bottom Features - responsive layout -->
                <div class="mt-12 lg:mt-24">
                    <!-- Mobile: stacked list -->
                    <div class="lg:hidden space-y-4">
                        <div class="flex items-center gap-3 w-full">
                            <svg class="w-8 h-8 text-green-300" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"></path>
                            </svg>
                            <div>
                                <span class="text-lg font-medium">Your funds are </span>
                                <span class="text-white font-bold">kept safe</span>
                            </div>
                        </div>
                        <div class="flex items-center gap-3 w-full">
                            <svg class="w-8 h-8 text-green-300" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z"></path>
                            </svg>
                            <div>
                                <span class="text-lg font-medium">Your domain is </span>
                                <span class="text-white font-bold">delivered quickly</span>
                            </div>
                        </div>
                        <div class="flex items-center gap-3 w-full">
                            <svg class="w-8 h-8 text-green-300" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"></path>
                            </svg>
                            <div>
                                <span class="text-lg font-medium">Our specialists offer free </span>
                                <span class="text-white font-bold">expert guidance</span>
                            </div>
                        </div>
                    </div>

                    <!-- Desktop: 3-column grid -->
                    <div class="hidden lg:grid md:grid-cols-3 gap-8 max-w-4xl mx-auto">
                        <div class="text-center space-y-3">
                            <svg class="w-8 h-8 mx-auto text-green-300" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"></path>
                            </svg>
                            <h3 class="text-lg font-medium">
                                Your funds are<br>
                                <span class="text-white font-bold">kept safe</span>
                            </h3>
                        </div>
                        <div class="text-center space-y-3">
                            <svg class="w-8 h-8 mx-auto text-green-300" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z"></path>
                            </svg>
                            <h3 class="text-lg font-medium">
                                Your domain is<br>
                                <span class="text-white font-bold">delivered quickly</span>
                            </h3>
                        </div>
                        <div class="text-center space-y-3">
                            <svg class="w-8 h-8 mx-auto text-green-300" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"></path>
                            </svg>
                            <h3 class="text-lg font-medium">
                                Our specialists offer free<br>
                                <span class="text-white font-bold">expert guidance</span>
                            </h3>
                        </div>
                    </div>
                </div>
            </div>

        </main>
    </div>
</div>

<script>
    $(document).ready(function() {
        const ltoUrl = 'https://www.unitedlyrics.com/domain/lto/id/3bbsi/';
        const $ltoIframe = $('#lto-iframe');
        const $ltoPanel = $('#lto-modal-panel');
        const ltoHeaderHeight = 74;
        const ltoModalVerticalPadding = 32;

        function setLtoFrameHeight(contentHeight) {
            const viewportMax = Math.max(320, window.innerHeight - ltoModalVerticalPadding);
            const maxFrameHeight = Math.max(240, viewportMax - ltoHeaderHeight);
            const nextHeight = Math.max(240, Math.min(contentHeight, maxFrameHeight));

            $ltoIframe.css('height', nextHeight + 'px');
            $ltoPanel.css('max-height', viewportMax + 'px');
        }

                    let selectedOption = 'buy-now';
        
        // Handle radio button changes
        $('input[name="purchase-option"]').on('change', function() {
            selectedOption = $(this).val();
            updateUI();
        });

        // Handle radio button label clicks
        $('label.radio-option').on('click', function() {
            const targetId = $(this).attr('for');
            const targetInput = $('#' + targetId);

            // Update the radio button
            targetInput.prop('checked', true);
            selectedOption = targetInput.val();
            updateUI();
        });

        function updateUI() {
            // Update radio button styles
            $('label.radio-option').removeClass('selected');

            if (selectedOption === 'buy-now') {
                $('label[for="buy-now"]').addClass('selected');
                $('#main-action span').text('Get it now');
            } else if (selectedOption === 'lto') {
                $('label[for="lto"]').addClass('selected');
                $('#main-action span').text('Get it now');
            } else {
                $('label[for="make-offer"]').addClass('selected');
                $('#main-action span').text('Make an offer');
            }
        }

        // Handle main action button click
        $('#main-action').on('click', function() {
            if (selectedOption === 'buy-now') {
                handleProceedToPayment();
            } else if (selectedOption === 'lto') {
                handleLeaseToOwn();
            } else {
                handleMakeOffer();
            }
        });
        // Verberg overlay zodra álle AJAX-requests klaar zijn (ook bij fouten)
        $(document).ajaxStop(function () {
            $('#loading-overlay').addClass('hidden');
        });

        // Extra vangnet bij fouten
        $(document).ajaxError(function () {
            $('#loading-overlay').addClass('hidden');
        });

        function handleProceedToPayment() {

            $('#loading-overlay').removeClass('hidden');
                            Odf.ajax.post('https://www.unitedlyrics.com/ajaxa/transactions/initiate_eftypay/', 'div#response_bin', {
                    domain_id: '3bbsi',
                    user_id: 'b3u'
                });
                    }



        function handleMakeOffer() {
            // Haal de waarde op uit het input veld buiten de modal
            let offerAmount = $('#offer_amount').val();

            // Toon het modal
            $('#offer-modal').removeClass('hidden');

            // Als er een waarde ingevuld is, zet die in het modal veld
            if (offerAmount) {
                $('#offer').val(offerAmount);
            }
        }

        function handleLeaseToOwn() {
            setLtoFrameHeight(Math.max(420, window.innerHeight * 0.65));
            $ltoIframe.attr('src', ltoUrl);
            $('#lto-modal').removeClass('hidden');
        }

        function closeLtoModal() {
            $('#lto-modal').addClass('hidden');
            $ltoIframe.attr('src', 'about:blank');
            $ltoIframe.css('height', '');
        }

        // Handle modal close
        $('#close-modal').on('click', function() {
            $('#offer-modal').addClass('hidden');
        });

        $('#close-lto-modal').on('click', function() {
            closeLtoModal();
        });

        // Handle modal backdrop click
        $('#offer-modal').on('click', function(e) {
            if (e.target === this) {
                $('#offer-modal').addClass('hidden');
            }
        });

        $('#lto-modal').on('click', function(e) {
            if (e.target === this) {
                closeLtoModal();
            }
        });

        // Handle escape key to close modal
        $(document).on('keydown', function(e) {
            if (e.key === 'Escape') {
                $('#offer-modal').addClass('hidden');
                closeLtoModal();
            }
        });

        window.addEventListener('message', function(event) {
            if (!event.data || event.data.type !== 'efty-lto-resize') {
                return;
            }

            if (typeof event.data.height !== 'number') {
                return;
            }

            setLtoFrameHeight(event.data.height);
        });

        window.addEventListener('resize', function() {
            const currentHeight = parseInt($ltoIframe.css('height'), 10);

            if (currentHeight) {
                setLtoFrameHeight(currentHeight);
            }
        });

        updateUI();

        function applyFittyForMobile() {
            if (window.innerWidth < 1024) {
                fitty('#logo_text_mobile', {
                    maxSize: 50
                });
            } else {
                fitty('#logo_text', {
                    maxSize: 80
                });
            }
        }

        function run() {
            applyFittyForMobile();
        }

        // Debounce helper
        const debouncedRun = (() => {
            let t;
            return () => { clearTimeout(t); t = setTimeout(run, 200); };
        })();

        // 1) DOM ready -> wacht zo mogelijk ook op fonts
        $(function () {
            if (document.fonts && document.fonts.ready) {
                document.fonts.ready.then(run);
            } else {
                run();
            }
        });

        // 2) Alles geladen (images, CSS, etc.)
        window.addEventListener("load", run);

        // 3) Terug uit bfcache (iOS/Safari)
        window.addEventListener("pageshow", e => { if (e.persisted) run(); });

        // 4) Resize / orientation change
        window.addEventListener("resize", debouncedRun);
        window.addEventListener("orientationchange", debouncedRun);

        // 5) Mobiele address-bar/viewport wijzigingen
        if (window.visualViewport) {
            visualViewport.addEventListener("resize", debouncedRun);
        }

    });
</script>

<script src="js/fitty.min.js"></script>
</body>
</html>
<div id="stat_div" style="display:none;"></div>					
<script>

	$( document ).ready(function() {

		Odf.ajax.get('https://www.unitedlyrics.com/ajax/visitors/create/', 'div#stat_div', { domain_id: '5567346' });
		
	});

</script>
