<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>System Maintenance | Leveling Up</title>
    
    <!-- Fonts & Icons -->
    <link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Poppins:wght@300;600&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    
    <style>
        :root {
            --bg-dark: #050510;
            --neon-purple: #d500f9;
            --neon-blue: #00e5ff;
            --neon-green: #00ff87;
            --glass-bg: rgba(20, 20, 35, 0.6);
            --border-glass: rgba(255, 255, 255, 0.1);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            background-color: var(--bg-dark);
            background-image: 
                radial-gradient(circle at 15% 50%, rgba(213, 0, 249, 0.15) 0%, transparent 25%),
                radial-gradient(circle at 85% 30%, rgba(0, 229, 255, 0.15) 0%, transparent 25%);
            color: white;
            font-family: 'Poppins', sans-serif;
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            text-align: center;
        }

        /* Sci-Fi Grid Background */
        .grid-bg {
            position: absolute;
            width: 200%;
            height: 200%;
            background-image: 
                linear-gradient(var(--border-glass) 1px, transparent 1px),
                linear-gradient(90deg, var(--border-glass) 1px, transparent 1px);
            background-size: 60px 60px;
            opacity: 0.08;
            transform: perspective(600px) rotateX(60deg);
            animation: gridMove 20s linear infinite;
            z-index: -1;
        }
        @keyframes gridMove { 0% { transform: perspective(600px) rotateX(60deg) translateY(0); } 100% { transform: perspective(600px) rotateX(60deg) translateY(60px); } }

        /* Container */
        .container {
            position: relative;
            z-index: 10;
            padding: 20px;
            max-width: 900px;
            width: 95%;
        }

        /* Animated Gear Icon */
        .icon-box {
            position: relative;
            display: inline-block;
            margin-bottom: 25px;
        }
        .main-icon {
            font-size: 4rem;
            color: var(--neon-blue);
            filter: drop-shadow(0 0 15px var(--neon-blue));
            animation: float 3s ease-in-out infinite;
        }
        .gear-icon {
            position: absolute;
            bottom: -5px;
            right: -10px;
            font-size: 2rem;
            color: var(--neon-purple);
            animation: spin 4s linear infinite;
        }
        @keyframes spin { 100% { transform: rotate(360deg); } }
        @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

        /* Texts */
        h1 {
            font-family: 'Orbitron', sans-serif;
            font-size: 3.5rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 3px;
            margin-bottom: 10px;
            background: linear-gradient(90deg, #fff, var(--neon-blue), #fff);
            -webkit-background-clip: text;
            color: transparent;
            text-shadow: 0 0 30px rgba(0, 229, 255, 0.3);
        }

        p.sub-text {
            font-size: 1.1rem;
            color: #b0b0d0;
            margin-bottom: 40px;
            line-height: 1.7;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Countdown Boxes */
        .countdown-wrapper {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .time-box {
            background: var(--glass-bg);
            border: 1px solid rgba(255,255,255,0.1);
            backdrop-filter: blur(12px);
            padding: 20px 25px;
            border-radius: 15px;
            min-width: 100px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
            position: relative;
            overflow: hidden;
            transition: transform 0.3s;
        }
        .time-box:hover { transform: translateY(-5px); border-color: var(--neon-purple); box-shadow: 0 10px 30px rgba(213, 0, 249, 0.3); }

        .time-box::before {
            content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
            background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
        }

        .time-val {
            font-family: 'Orbitron', sans-serif;
            font-size: 2.8rem;
            font-weight: bold;
            display: block;
            color: #fff;
            text-shadow: 0 0 10px rgba(255,255,255,0.2);
            line-height: 1;
        }
        .time-label {
            font-size: 0.75rem;
            text-transform: uppercase;
            color: var(--neon-green);
            letter-spacing: 2px;
            margin-top: 10px;
            display: block;
            font-weight: 600;
        }

        /* Loading Bar */
        .progress-container {
            width: 100%; max-width: 450px;
            height: 6px;
            background: rgba(255,255,255,0.05);
            border-radius: 20px;
            margin: 50px auto 10px;
            overflow: hidden;
            border: 1px solid rgba(255,255,255,0.1);
        }
        .progress-bar {
            height: 100%; width: 0%;
            background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
            border-radius: 20px;
            animation: progressAnim 3s ease-in-out infinite;
            box-shadow: 0 0 15px var(--neon-blue);
        }
        @keyframes progressAnim { 0% { width: 5%; margin-left: 0; } 50% { width: 60%; margin-left: 20%; } 100% { width: 10%; margin-left: 90%; } }

        .status-text {
            font-family: 'Orbitron', sans-serif;
            font-size: 0.85rem;
            color: var(--neon-purple);
            letter-spacing: 2px;
            animation: pulse 1.5s infinite;
        }
        @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

        /* Responsive */
        @media (max-width: 768px) {
            h1 { font-size: 2rem; }
            .countdown-wrapper { gap: 10px; }
            .time-box { min-width: 80px; padding: 15px; }
            .time-val { font-size: 1.8rem; }
            .main-icon { font-size: 3rem; }
        }
    </style>
</head>
<body>

    <div class="grid-bg"></div>

    <div class="container">
        <!-- Icons -->
        <div class="icon-box">
            <i class="fa-solid fa-server main-icon"></i>
            <i class="fa-solid fa-gear gear-icon"></i>
        </div>

        <!-- Headline -->
        <h1>TAMIM 1280</h1>

        <!-- Message -->
        <p class="sub-text">
            ⚠️ <b>অনুগ্রহ করে অপেক্ষা করুন!</b> আমাদের ফেসবুক পেজটি এখনো চালু হয়নি❌ <br>
            আপনি ফেসবুক ব্যতীত অন্য সবকিছু অ্যাক্সেস করতে পারবেন✅ <br>
            <span style="color: var(--neon-blue);">We are coming back stronger!</span>
        </p>

        <!-- Countdown Timer -->
        <div class="countdown-wrapper">
            <!-- Days Box -->
            <div class="time-box">
                <span class="time-val" id="days">00</span>
                <span class="time-label">Days</span>
            </div>
            <!-- Hours Box -->
            <div class="time-box">
                <span class="time-val" id="hours">00</span>
                <span class="time-label">Hours</span>
            </div>
            <!-- Minutes Box -->
            <div class="time-box">
                <span class="time-val" id="minutes">00</span>
                <span class="time-label">Mins</span>
            </div>
            <!-- Seconds Box -->
            <div class="time-box">
                <span class="time-val" id="seconds">00</span>
                <span class="time-label">Secs</span>
            </div>
        </div>

        <!-- Loading Animation -->
        <div class="progress-container">
            <div class="progress-bar"></div>
        </div>
        <div class="status-text">SYSTEM UPDATING...</div>
    </div>

    <!-- 🔥 সহজ সেটিংস প্যানেল 🔥 -->
    <script>
        // ==============================================================
        // 👇 শুধু নিচের ২ টা লাইন এডিট করবেন, বাকি সব অটোমেটিক হবে 👇
        // ==============================================================

        const start_date_ref = "JAN 15, 2026";  // আজকের তারিখটি এখানে লিখে রাখুন (একবারই লিখবেন)
        const days_to_add    = 2;               // কত দিন বন্ধ থাকবে? (1, 2, 10, 100, 365 যা খুশি লিখুন)

        // ==============================================================
        // 👆 আপনার কাজ শেষ! আর কিছু ধরতে হবে না। 👆
        // ==============================================================


        // অটোমেটিক ক্যালকুলেশন লজিক
        const startDate = new Date(start_date_ref);
        
        // টার্গেট ডেট বের করা হচ্ছে (Start Date + Your Given Days)
        const targetDate = startDate.getTime() + (days_to_add * 24 * 60 * 60 * 1000);

        const timer = setInterval(function() {
            const now = new Date().getTime();
            const distance = targetDate - now;

            // সময় শেষ হলে কি হবে
            if (distance < 0) {
                clearInterval(timer);
                document.querySelector(".countdown-wrapper").innerHTML = "<h2 style='color:#00ff87; width:100%; text-shadow:0 0 20px #00ff87; font-family:Orbitron;'>🚀 WE ARE LIVE! REFRESH NOW.</h2>";
                document.querySelector(".status-text").innerText = "MAINTENANCE COMPLETED";
                document.querySelector(".progress-bar").style.width = "100%";
                document.querySelector(".progress-bar").style.animation = "none";
                return;
            }

            // সময়ের হিসাব
            const days = Math.floor(distance / (1000 * 60 * 60 * 24));
            const hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
            const minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
            const seconds = Math.floor((distance % (1000 * 60)) / 1000);

            // ডিসপ্লে আপডেট (সংখ্যা বড় হলে অটো ফিট হবে)
            document.getElementById("days").innerText = days < 10 ? "0" + days : days;
            document.getElementById("hours").innerText = hours < 10 ? "0" + hours : hours;
            document.getElementById("minutes").innerText = minutes < 10 ? "0" + minutes : minutes;
            document.getElementById("seconds").innerText = seconds < 10 ? "0" + seconds : seconds;

        }, 1000);
    </script>

</body>
</html>