
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>VIP AVIATOR PRO SIGNAL PREDICTOR</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        :root {
            --primary: #00c2ff;
            --secondary: #0066ff;
            --dark: #0a0e17;
            --light: #ffffff;
            --accent: #00ff88;
            --danger: #ff3e5f;
            --gold: #ffd700;
            --silver: #c0c0c0;
            --bronze: #cd7f32;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Montserrat', 'Segoe UI', sans-serif;
        }
        
        body {
            background: var(--dark);
            color: var(--light);
            min-height: 100vh;
            overflow-x: hidden;
            background-image: 
                radial-gradient(circle at 20% 30%, rgba(0, 194, 255, 0.1) 0%, transparent 20%),
                radial-gradient(circle at 80% 70%, rgba(0, 102, 255, 0.1) 0%, transparent 20%);
        }
        
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }
        
        .container {
            max-width: 600px;
            margin: 0 auto;
            padding: 20px;
        }
        
        header {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            padding: 20px 0;
            margin-bottom: 20px;
            position: relative;
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 15px;
            animation: float 4s ease-in-out infinite;
        }
        
        .logo img {
            height: 60px;
            filter: drop-shadow(0 0 15px rgba(0, 194, 255, 0.5));
        }
        
        .logo h1 {
            font-size: 28px;
            font-weight: 800;
            background: linear-gradient(to right, var(--gold), var(--primary));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            letter-spacing: 1px;
        }
        
        .vip-badge {
            background: linear-gradient(45deg, var(--gold), #ff9500);
            padding: 8px 20px;
            border-radius: 30px;
            font-weight: bold;
            font-size: 14px;
            box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: #000;
        }
        
        .prediction-card {
            background: rgba(10, 14, 23, 0.7);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.05);
            margin-bottom: 30px;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }
        
        .prediction-card::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(0, 194, 255, 0.05) 0%, transparent 70%);
            animation: rotate 20s linear infinite;
            z-index: -1;
        }
        
        .card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .card-header h2 {
            color: var(--gold);
            font-size: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 600;
        }
        
        .accuracy-badge {
            background: rgba(0, 255, 136, 0.1);
            color: var(--accent);
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: bold;
            border: 1px solid var(--accent);
        }
        
        .signal-display {
            font-size: 72px;
            font-weight: 800;
            text-align: center;
            margin: 30px 0;
            color: var(--gold);
            text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
            height: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            font-family: 'Arial', sans-serif;
        }
        
        .signal-display::after {
            content: 'x';
            position: absolute;
            right: calc(50% - 90px);
            font-size: 30px;
            opacity: 0.7;
            color: var(--gold);
        }
        
        .next-btn {
            background: linear-gradient(45deg, var(--gold), #ff9500);
            color: #000;
            border: none;
            padding: 16px 40px;
            font-size: 18px;
            border-radius: 50px;
            cursor: pointer;
            display: block;
            margin: 0 auto;
            font-weight: bold;
            box-shadow: 0 5px 25px rgba(255, 215, 0, 0.4);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            width: 100%;
            max-width: 300px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .next-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
        }
        
        .next-btn:active {
            transform: translateY(1px);
        }
        
        .next-btn::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -60%;
            width: 200%;
            height: 200%;
            background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
            transform: rotate(30deg);
            transition: all 0.6s ease;
        }
        
        .next-btn:hover::after {
            left: 100%;
        }
        
        .stats-row {
            display: flex;
            justify-content: space-between;
            margin-top: 30px;
            gap: 15px;
        }
        
        .stat-box {
            background: rgba(255, 255, 255, 0.05);
            padding: 15px;
            border-radius: 12px;
            text-align: center;
            flex: 1;
            border: 1px solid rgba(255, 255, 255, 0.05);
            transition: all 0.3s ease;
        }
        
        .stat-box:hover {
            transform: translateY(-5px);
            background: rgba(255, 255, 255, 0.08);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }
        
        .stat-box h4 {
            color: var(--primary);
            margin-bottom: 8px;
            font-size: 12px;
            opacity: 0.8;
            font-weight: 500;
        }
        
        .stat-box p {
            font-size: 22px;
            font-weight: 700;
            color: var(--light);
        }
        
        .history-section {
            margin-top: 40px;
        }
        
        .section-title {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 15px;
            color: var(--primary);
            font-weight: 600;
        }
        
        .history-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 10px;
        }
        
        .history-item {
            background: rgba(255, 255, 255, 0.05);
            padding: 12px;
            border-radius: 8px;
            text-align: center;
            font-weight: 700;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }
        
        .history-item.gold {
            color: var(--gold);
            text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
        }
        
        .history-item.silver {
            color: var(--silver);
            text-shadow: 0 0 10px rgba(192, 192, 192, 0.3);
        }
        
        .history-item.bronze {
            color: var(--bronze);
            text-shadow: 0 0 10px rgba(205, 127, 50, 0.3);
        }
        
        .history-item:hover {
            transform: translateY(-3px);
        }
        
        .history-item::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
        }
        
        .history-item.gold::before {
            background: linear-gradient(90deg, var(--gold), #ff9500);
        }
        
        .history-item.silver::before {
            background: linear-gradient(90deg, var(--silver), #a0a0a0);
        }
        
        .history-item.bronze::before {
            background: linear-gradient(90deg, var(--bronze), #8b4513);
        }
        
        .disclaimer {
            background: rgba(255, 62, 95, 0.1);
            padding: 15px;
            border-radius: 12px;
            margin-top: 30px;
            border-left: 4px solid var(--danger);
            font-size: 13px;
            line-height: 1.6;
        }
        
        footer {
            text-align: center;
            margin-top: 50px;
            padding: 20px;
            color: rgba(255, 255, 255, 0.4);
            font-size: 12px;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }
        
        @keyframes rotate {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .signal-change {
            animation: signalPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        
        @keyframes signalPop {
            0% { transform: scale(0.7); opacity: 0; }
            70% { transform: scale(1.1); }
            100% { transform: scale(1); opacity: 1; }
        }
        
        .loading {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: var(--gold);
            animation: spin 1s ease-in-out infinite;
            margin-left: 10px;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        .signal-counter {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(255, 215, 0, 0.1);
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 12px;
            border: 1px solid rgba(255, 215, 0, 0.3);
        }
        
        /* Responsive adjustments */
        @media (max-width: 600px) {
            .signal-display {
                font-size: 60px;
                height: 80px;
            }
            
            .history-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .stats-row {
                flex-direction: column;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <header>
            <div class="logo">
                <img src="/logoa.png" alt="Aviator Pro Logo">
                <h1>VIP Aviator Pro</h1>
            </div>
            <div class="vip-badge">
                <i class="fas fa-crown"></i>
                <span>Premium Signals</span>
            </div>
        </header>
        
        <div class="prediction-card">
            <div class="card-header">
                <h2><i class="fas fa-bolt"></i> Next Prediction</h2>
                <div class="accuracy-badge">98.7% Accuracy</div>
            </div>
            
            <div class="signal-counter">
                Signal <span id="signalCount">1</span>/5
            </div>
            
            <div class="signal-display" id="signalDisplay">4.6</div>
            
            <button class="next-btn" id="nextBtn">
                <span id="btnText">Generate Signal</span>
                <span class="loading" id="loading" style="display: none;"></span>
            </button>
            
            <div class="stats-row">
                <div class="stat-box">
                    <h4>Last Signal</h4>
                    <p id="lastSignal">--</p>
                </div>
                <div class="stat-box">
                    <h4>Average</h4>
                    <p id="averageSignal">--</p>
                </div>
                <div class="stat-box">
                    <h4>Highest</h4>
                    <p id="highestSignal">--</p>
                </div>
            </div>
        </div>
        
        <div class="history-section">
            <div class="section-title">
                <i class="fas fa-clock-rotate-left"></i>
                <span>Signal History</span>
            </div>
            <div class="history-grid" id="historyGrid">
                <!-- History items will be added here by JavaScript -->
            </div>
        </div>
        
        <div class="disclaimer">
            <p><strong><i class="fas fa-exclamation-triangle"></i> Disclaimer:</strong> This predictor is for entertainment purposes only. There is no guaranteed winning strategy for Aviator. Gambling involves risk—only play with what you can afford to lose.</p>
        </div>
        
        <footer>
            <p>© 2023 VIP Aviator Pro Signal Predictor. Not affiliated with Spribe.</p>
            <p>This is a simulation tool only.</p>
        </footer>
    </div>

    <script>
        // VIP signals with color coding
        const signals = [
            { value: 4.6, color: 'gold' },
            { value: 6.4, color: 'silver' },
            { value: 35.2, color: 'bronze' },
            { value: 6.2, color: 'silver' },
            { value: 7.8, color: 'gold' }
        ];
        
        let currentIndex = 0;
        const signalDisplay = document.getElementById('signalDisplay');
        const nextBtn = document.getElementById('nextBtn');
        const btnText = document.getElementById('btnText');
        const loading = document.getElementById('loading');
        const historyGrid = document.getElementById('historyGrid');
        const lastSignal = document.getElementById('lastSignal');
        const averageSignal = document.getElementById('averageSignal');
        const highestSignal = document.getElementById('highestSignal');
        const signalCount = document.getElementById('signalCount');
        
        let history = [];
        
        // Initialize with first signal
        updateSignal(signals[0]);
        
        nextBtn.addEventListener('click', () => {
            // Show loading
            btnText.textContent = 'Analyzing...';
            loading.style.display = 'inline-block';
            nextBtn.disabled = true;
            
            // Simulate analysis delay
            setTimeout(() => {
                currentIndex = (currentIndex + 1) % signals.length;
                const nextSignal = signals[currentIndex];
                
                // Update display with animation
                updateSignal(nextSignal);
                
                // Update counter
                signalCount.textContent = currentIndex + 1;
                
                // Reset button
                btnText.textContent = 'Generate Signal';
                loading.style.display = 'none';
                nextBtn.disabled = false;
                
                // If we've shown all signals, reset to beginning
                if (currentIndex === 0) {
                    setTimeout(() => {
                        alert('VIP Signal cycle completed! Generating new predictions...');
                    }, 500);
                }
            }, 1500);
        });
        
        function updateSignal(signal) {
            // Add to history
            history.unshift(signal);
            if (history.length > 8) history.pop();
            
            // Update display with animation
            signalDisplay.classList.remove('signal-change');
            void signalDisplay.offsetWidth; // Trigger reflow
            signalDisplay.classList.add('signal-change');
            signalDisplay.textContent = signal.value;
            signalDisplay.style.color = `var(--${signal.color})`;
            signalDisplay.style.textShadow = `0 0 20px rgba(${getColorValue(signal.color)}, 0.5)`;
            
            // Update last signal
            if (history.length > 1) {
                lastSignal.textContent = history[1].value + 'x';
            }
            
            // Update stats
            updateStats();
            
            // Update history grid
            updateHistory();
        }
        
        function updateStats() {
            if (history.length > 0) {
                // Calculate average
                const sum = history.reduce((acc, curr) => acc + curr.value, 0);
                const avg = sum / history.length;
                averageSignal.textContent = avg.toFixed(2) + 'x';
                
                // Find highest
                const max = Math.max(...history.map(s => s.value));
                highestSignal.textContent = max.toFixed(1) + 'x';
            }
        }
        
        function updateHistory() {
            historyGrid.innerHTML = '';
            history.forEach(signal => {
                const historyItem = document.createElement('div');
                historyItem.className = `history-item ${signal.color}`;
                historyItem.textContent = signal.value + 'x';
                historyGrid.appendChild(historyItem);
            });
        }
        
        function getColorValue(colorName) {
            switch(colorName) {
                case 'gold': return '255, 215, 0';
                case 'silver': return '192, 192, 192';
                case 'bronze': return '205, 127, 50';
                default: return '0, 194, 255';
            }
        }
    </script>
</body>
</html>