<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Shubank - A Trusted Space for Market Players</title>
    <meta property="og:title" content="Shubank - A Trusted Space for Market Players" />
    <meta property="og:description" content="Play and track results for Disawar, Delhi Bazaar, Shree Ganesh, Faridabad, Ghaziabad, Radhey-Radhey, and Gali. Enjoy a seamless, secure, and rewarding numerology experience with Shubank." />
    <meta property="og:type" content="website" />
    <meta property="og:url" content="https://shubank.co/" />
    <meta property="og:image" content="images/shubank-play-online-bg.png" />
    <meta property="og:site_name" content="Shubank" />
    <meta property="og:locale" content="en_US" />
    <link rel="stylesheet" href="style.css">
    
    <style>
        /* Mobile Menu Styles - GUARANTEED TO WORK */
        .header {
            background: linear-gradient(135deg, #005c97 0%, #17a2b8 100%);
            padding: 15px 0;
            position: relative;
            z-index: 100;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .header-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
        }
        
        /* Logo */
        .logo {
            display: flex;
            align-items: center;
            gap: 8px;
            text-decoration: none;
            color: white;
            font-size: 24px;
            font-weight: bold;
            z-index: 1001;
        }
        
        .logo-icon {
            font-size: 28px;
            background: linear-gradient(135deg, #ffd600 0%, #ff9800 100%);
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        /* MOBILE MENU BUTTON - ALWAYS VISIBLE ON MOBILE */
        .mobile-menu-toggle {
            display: none;
            background: rgba(255, 255, 255, 0.2);
            border: 2px solid rgba(255, 255, 255, 0.5);
            border-radius: 8px;
            padding: 8px;
            cursor: pointer;
            width: 44px;
            height: 44px;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 4px;
            z-index: 1001;
            position: relative;
        }
        
        .mobile-menu-toggle span {
            display: block;
            width: 25px;
            height: 3px;
            background: white;
            border-radius: 2px;
            transition: all 0.3s ease;
        }
        
        .mobile-menu-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(6px, 6px);
        }
        
        .mobile-menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }
        
        .mobile-menu-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -6px);
        }
        
        /* DESKTOP NAV */
        .desktop-nav {
            display: flex;
            gap: 8px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 25px;
            padding: 8px 16px;
            border: 1px solid rgba(255, 255, 255, 0.3);
        }
        
        .nav-link {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 10px 16px;
            text-decoration: none;
            color: rgba(255, 255, 255, 0.9);
            font-weight: 600;
            font-size: 14px;
            border-radius: 20px;
            transition: all 0.3s ease;
        }
        
        .nav-link:hover {
            background: rgba(255, 214, 0, 0.2);
            color: white;
        }
        
        .nav-link.active {
            background: linear-gradient(135deg, #ffd600 0%, #ff9800 100%);
            color: #005c97;
        }
        
        /* MOBILE NAV - INITIALLY HIDDEN */
        .mobile-nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100vw;
            height: 100vh;
            background: linear-gradient(135deg, rgba(0,92,151,0.98) 0%, rgba(23,162,184,0.98) 50%, rgba(0,123,156,0.98) 100%);
            backdrop-filter: blur(20px);
            z-index: 10000;
            display: none;
            opacity: 0;
            transition: opacity 0.4s ease;
            box-sizing: border-box;
        }
        
        .mobile-nav.active {
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            opacity: 1;
            padding: 80px 20px 40px 20px;
            overflow-y: auto;
        }
        
        .mobile-nav .nav-link {
            display: block;
            width: 100%;
            padding: 16px 20px;
            margin: 8px 0;
            color: white;
            text-decoration: none;
            font-weight: 600;
            font-size: 18px;
            border-radius: 12px;
            background: rgba(255,255,255,0.1);
            border: 1px solid rgba(255,255,255,0.2);
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            position: relative;
            overflow: hidden;
            box-sizing: border-box;
            text-align: left;
        }
        
        .mobile-nav .nav-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
            transition: left 0.5s ease;
        }
        
        .mobile-nav .nav-link:hover::before {
            left: 100%;
        }
        
        .mobile-nav .nav-link:hover {
            background: linear-gradient(135deg, rgba(255,214,0,0.3) 0%, rgba(255,152,0,0.4) 100%);
            transform: translateY(-3px) scale(1.02);
            box-shadow: 0 12px 40px rgba(255,214,0,0.2);
            border-color: rgba(255,214,0,0.5);
        }
        
        .mobile-nav .nav-link:active {
            transform: translateY(-1px) scale(1.01);
        }
        
        /* Header Actions */
        .header-actions {
            display: flex;
            align-items: center;
            gap: 16px;
            z-index: 1001;
        }
        
        .login-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 12px 20px;
            background: linear-gradient(135deg, #ffd600 0%, #ff9800 100%);
            color: #005c97;
            text-decoration: none;
            border-radius: 25px;
            font-weight: 700;
            font-size: 14px;
            box-shadow: 0 4px 15px rgba(255, 214, 0, 0.4);
            transition: all 0.3s ease;
        }
        
        .login-btn:hover {
            background: linear-gradient(135deg, #ffed4e 0%, #fff59d 100%);
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 8px 25px rgba(255,214,0,0.6);
        }
        
        /* RESPONSIVE STYLES */
        @media (max-width: 768px) {
            .mobile-menu-toggle {
                display: flex !important;
            }
            
            .desktop-nav {
                display: none !important;
            }
            
            .header-actions {
                gap: 12px;
            }
            
            .login-btn {
                padding: 8px 12px;
                font-size: 12px;
            }
            
            /* Prevent horizontal scroll and ensure proper mobile nav positioning */
            .mobile-nav {
                left: 0 !important;
                right: 0 !important;
                width: 100vw !important;
                margin: 0 !important;
                padding-left: 20px !important;
                padding-right: 20px !important;
            }
            
            .mobile-nav .nav-link {
                margin-left: 0 !important;
                margin-right: 0 !important;
            }
            
            /* FIX MOBILE SCROLLING ISSUES */
            body {
                -webkit-overflow-scrolling: touch !important;
                overflow-scrolling: touch !important;
                position: relative !important;
            }
            
            html {
                -webkit-overflow-scrolling: touch !important;
                overflow-scrolling: touch !important;
            }
            
            /* Prevent scroll jumping */
            * {
                -webkit-tap-highlight-color: transparent;
                -webkit-touch-callout: none;
                -webkit-user-select: none;
                -khtml-user-select: none;
                -moz-user-select: none;
                -ms-user-select: none;
                user-select: none;
            }
            
            /* Allow text selection for content */
            p, span, div, h1, h2, h3, h4, h5, h6 {
                -webkit-user-select: text;
                -khtml-user-select: text;
                -moz-user-select: text;
                -ms-user-select: text;
                user-select: text;
            }
        }
        
        @media (max-width: 480px) {
            .login-btn span:not(:first-child) {
                display: none;
            }
            
            /* Extra small mobile devices */
            .mobile-nav {
                padding-left: 15px !important;
                padding-right: 15px !important;
            }
        }
    </style>
</head>
<body>
    <!-- Header -->
    <header class="header">
        <div class="container">
            <div class="header-inner">
                <!-- Logo -->
                <a class="logo" href="/A+/01/index.php">
                    <span class="logo-icon">🏆</span>
                    <span>Shubank</span>
                </a>
                
                <!-- Mobile Menu Toggle Button -->
                <button class="mobile-menu-toggle" id="mobileMenuToggle">
                    <span></span>
                    <span></span>
                    <span></span>
                </button>
                
                <!-- Desktop Navigation -->
                <nav class="desktop-nav">
                    <a href="/A+/01/index.php" class="nav-link">
                        <span>🏠</span>
                        <span>Home</span>
                    </a>
                    <a href="/A+/01/about.php" class="nav-link">
                        <span>ℹ️</span>
                        <span>About</span>
                    </a>
                    <a href="/A+/01/rate-timing.php" class="nav-link">
                        <span>⏰</span>
                        <span>Rate & Timing</span>
                    </a>
                    <a href="/A+/01/results.php" class="nav-link">
                        <span>📊</span>
                        <span>Results</span>
                    </a>
                    <a href="/A+/01/blog/" class="nav-link">
                        <span>📚</span>
                        <span>Blog</span>
                    </a>
                    <a href="/A+/01/contact.php" class="nav-link">
                        <span>📞</span>
                        <span>Contact</span>
                    </a>
                </nav>
                
                <!-- Header Actions -->
                <div class="header-actions">
                    <!-- Login Button -->
                    <a href="/A+/01/login.php" class="login-btn">
                        <span>🚀</span>
                        <span>Login</span>
                    </a>
                </div>
            </div>
        </div>
    </header>
    
    <!-- Mobile Navigation Menu -->
    <nav class="mobile-nav" id="mobileNav">
        <!-- Close Button -->
        <div style="position: absolute; top: 20px; right: 20px; z-index: 1001;">
            <button onclick="closeMobileMenu()" style="background: rgba(255,255,255,0.2); border: 2px solid rgba(255,255,255,0.5); border-radius: 50%; width: 44px; height: 44px; color: white; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease;">
                ✕
            </button>
        </div>
        
        <!-- Logo in Mobile Menu -->
        <div style="margin-bottom: 40px; text-align: center; padding-top: 20px;">
            <div style="display: flex; align-items: center; justify-content: center; gap: 12px; color: white; font-size: 28px; font-weight: bold;">
                <span style="font-size: 36px; background: linear-gradient(135deg, #ffd600 0%, #ff9800 100%); border-radius: 50%; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center;">🏆</span>
                <span>Shubank</span>
            </div>
            <p style="color: rgba(255,255,255,0.8); margin: 8px 0 0 0; font-size: 14px; font-weight: 500;">India's Trusted Platform</p>
        </div>
        
        <!-- Navigation Links Container -->
        <div style="width: 100%; max-width: 300px; margin: 0 auto; padding: 0; box-sizing: border-box;">
            <a href="/A+/01/index.php" class="nav-link" onclick="closeMobileMenu()">
                <span style="font-size: 20px; margin-right: 12px;">🏠</span> Home
            </a>
            <a href="/A+/01/about.php" class="nav-link" onclick="closeMobileMenu()">
                <span style="font-size: 20px; margin-right: 12px;">ℹ️</span> About
            </a>
            <a href="/A+/01/rate-timing.php" class="nav-link" onclick="closeMobileMenu()">
                <span style="font-size: 20px; margin-right: 12px;">⏰</span> Rate & Timing
            </a>
            <a href="/A+/01/results.php" class="nav-link" onclick="closeMobileMenu()">
                <span style="font-size: 20px; margin-right: 12px;">📊</span> Results
            </a>
            <a href="/A+/01/blog/" class="nav-link" onclick="closeMobileMenu()">
                <span style="font-size: 20px; margin-right: 12px;">📚</span> Blog
            </a>
            <a href="/A+/01/contact.php" class="nav-link" onclick="closeMobileMenu()">
                <span style="font-size: 20px; margin-right: 12px;">📞</span> Contact
            </a>
            
            <!-- Action Buttons -->
            <div style="margin-top: 40px; display: flex; flex-direction: column; gap: 16px; width: 100%;">
                <a href="/A+/01/login.php" style="background: linear-gradient(135deg, #ffd600 0%, #ff9800 100%); color: #005c97; padding: 14px 24px; border-radius: 12px; text-decoration: none; font-weight: 600; text-align: center; font-size: 16px; transition: all 0.3s ease; width: 100%; box-sizing: border-box;">
                    🚀 Login
                </a>
                <a href="/A+/01/users.php" style="background: rgba(255,255,255,0.1); color: white; padding: 14px 24px; border-radius: 12px; text-decoration: none; font-weight: 600; text-align: center; font-size: 16px; border: 2px solid rgba(255,255,255,0.3); transition: all 0.3s ease; width: 100%; box-sizing: border-box;">
                    📝 Register
                </a>
            </div>
        </div>
    </nav>
    <!-- End Header -->

    <!-- GUARANTEED WORKING MOBILE MENU SCRIPT -->
    <script>
        console.log('Mobile menu script loading...');
        
        // Wait for DOM to be ready
        document.addEventListener('DOMContentLoaded', function() {
            console.log('DOM ready, initializing mobile menu...');
            
            const mobileMenuToggle = document.getElementById('mobileMenuToggle');
            const mobileNav = document.getElementById('mobileNav');
            
            console.log('Toggle button:', mobileMenuToggle);
            console.log('Mobile nav:', mobileNav);
            
            if (mobileMenuToggle && mobileNav) {
                console.log('Both elements found, setting up event listeners...');
                
                // Toggle menu function
                function toggleMobileMenu() {
                    console.log('Toggle function called');
                    
                    const isActive = mobileNav.classList.contains('active');
                    console.log('Current state - Active:', isActive);
                    
                    if (isActive) {
                        // Close menu
                        mobileNav.classList.remove('active');
                        mobileMenuToggle.classList.remove('active');
                        // Reset body overflow with delay to prevent scroll jumping
                        setTimeout(() => {
                            document.body.style.overflow = '';
                            document.body.style.position = '';
                            document.documentElement.style.overflow = '';
                        }, 100);
                        console.log('Menu closed');
                    } else {
                        // Open menu
                        mobileNav.classList.add('active');
                        mobileMenuToggle.classList.add('active');
                        // Prevent background scrolling without affecting main scroll
                        document.body.style.overflow = 'hidden';
                        document.body.style.position = 'fixed';
                        document.body.style.width = '100%';
                        document.documentElement.style.overflow = 'hidden';
                        console.log('Menu opened');
                    }
                }
                
                // Add click event to toggle button
                mobileMenuToggle.addEventListener('click', function(e) {
                    e.preventDefault();
                    e.stopPropagation();
                    console.log('Menu toggle button clicked!');
                    toggleMobileMenu();
                });
                
                // Close menu when clicking outside
                mobileNav.addEventListener('click', function(e) {
                    if (e.target === mobileNav) {
                        console.log('Clicked outside menu, closing...');
                        toggleMobileMenu();
                    }
                });
                
                // Close menu on window resize
                window.addEventListener('resize', function() {
                    if (window.innerWidth > 768) {
                        mobileNav.classList.remove('active');
                        mobileMenuToggle.classList.remove('active');
                        document.body.style.overflow = '';
                    }
                });
                
                console.log('Mobile menu setup complete!');
            } else {
                console.error('Mobile menu elements not found!');
            }
            
            // Add active class to current page
            const currentPage = window.location.pathname.split('/').pop() || 'index.php';
            const navLinks = document.querySelectorAll('.nav-link');
            navLinks.forEach(link => {
                const href = link.getAttribute('href');
                if (href === currentPage || (currentPage === '' && href === 'index.php')) {
                    link.classList.add('active');
                }
            });
        });
        
        // Global function to close mobile menu
        function closeMobileMenu() {
            console.log('Closing mobile menu from nav link...');
            const mobileNav = document.getElementById('mobileNav');
            const mobileMenuToggle = document.getElementById('mobileMenuToggle');
            
            if (mobileNav && mobileMenuToggle) {
                mobileNav.classList.remove('active');
                mobileMenuToggle.classList.remove('active');
                // Reset body overflow with delay to prevent scroll jumping
                setTimeout(() => {
                    document.body.style.overflow = '';
                    document.body.style.position = '';
                    document.body.style.width = '';
                    document.documentElement.style.overflow = '';
                }, 100);
            }
        }
    </script>

</body>
</html>