<?php
require_once 'config.php';

// Fetch today's results from results table
date_default_timezone_set('Asia/Kolkata');
$today = date('Y-m-d');
$games = [
    'disawar'       => ['title' => 'DISAWAR',       'time' => '05:05 AM'],
    'dl_bazaar'     => ['title' => 'DL BAZAAR',     'time' => '03:00 PM'],
    'shri_ganesh'   => ['title' => 'SHRI GANESH',   'time' => '04:20 PM'],
    'faridabad'     => ['title' => 'FARIDABAD',     'time' => '06:06 PM'],
    'ghaziabad'     => ['title' => 'GHAZIABAD',     'time' => '08:40 PM'],
    'radhey_radhey' => ['title' => 'RADHEY RADHEY', 'time' => '11:00 PM'],
    'gali'          => ['title' => 'GALI',          'time' => '11:50 PM'],
];

// Get results for today
$results_today = [];

// Check if results table exists, create if not
$check_table = mysqli_query($link, "SHOW TABLES LIKE 'results'");
if (mysqli_num_rows($check_table) == 0) {
    $create_table = "CREATE TABLE results (
        id INT AUTO_INCREMENT PRIMARY KEY,
        result_date DATE NOT NULL,
        game VARCHAR(50) NOT NULL,
        result_number VARCHAR(10) NOT NULL,
        created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
    )";
    mysqli_query($link, $create_table);
}

$sql = "SELECT game, result_number FROM results WHERE result_date = ?";
if ($stmt = mysqli_prepare($link, $sql)) {
    mysqli_stmt_bind_param($stmt, 's', $today);
    mysqli_stmt_execute($stmt);
    $res = mysqli_stmt_get_result($stmt);
    while ($row = mysqli_fetch_assoc($res)) {
        $results_today[$row['game']] = $row['result_number'];
    }
    mysqli_stmt_close($stmt);
}

// If no results for today, try to get latest results
if (empty($results_today)) {
    $sql = "SELECT game, result_number, result_date FROM results WHERE result_date >= DATE_SUB(CURDATE(), INTERVAL 7 DAY) ORDER BY result_date DESC";
    if ($stmt = mysqli_prepare($link, $sql)) {
        mysqli_stmt_execute($stmt);
        $res = mysqli_stmt_get_result($stmt);
        
        $processed_games = [];
        while ($row = mysqli_fetch_assoc($res)) {
            // Only take the latest result for each game
            if (!isset($processed_games[$row['game']])) {
                $results_today[$row['game']] = $row['result_number'];
                $processed_games[$row['game']] = true;
            }
        }
        mysqli_stmt_close($stmt);
    }
}
?>
<!DOCTYPE html>
<html lang="en-IN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    
    <!-- Primary SEO Meta Tags -->
    <title>Shubank - India's #1 Number Prediction Platform | Disawar, Delhi Bazaar, Satta Matka Results</title>
    <meta name="description" content="Play number prediction games on India's most trusted platform. Get live results for Disawar, Delhi Bazaar, Shree Ganesh, Faridabad, Ghaziabad with highest rates & same-day withdrawal. Join 50,000+ players on Shubank.">
    <meta name="keywords" content="Shubank, number prediction, satta matka, disawar result, delhi bazaar, shree ganesh, faridabad, ghaziabad, online matka, matka result, satta king, number prediction platform, India matka, live matka result">
    <link rel="canonical" href="https://shubank.co/">
    
    <!-- Open Graph Meta Tags -->
    <meta property="og:title" content="Shubank - India's #1 Number Prediction Platform | Live Matka Results">
    <meta property="og:description" content="Join 50,000+ players on India's most trusted number prediction platform. Play Disawar, Delhi Bazaar, Shree Ganesh with highest rates & instant withdrawals.">
    <meta property="og:type" content="website">
    <meta property="og:url" content="https://shubank.co/">
    <meta property="og:image" content="https://shubank.co/images/shubank-og-image.jpg">
    <meta property="og:image:width" content="1200">
    <meta property="og:image:height" content="630">
    <meta property="og:image:alt" content="Shubank Number Prediction Platform - Live Matka Results">
    <meta property="og:site_name" content="Shubank">
    <meta property="og:locale" content="en_IN">
    
    <!-- Twitter Card Meta Tags -->
    <meta name="twitter:card" content="summary_large_image">
    <meta name="twitter:title" content="Shubank - India's #1 Number Prediction Platform">
    <meta name="twitter:description" content="Play number prediction games with highest rates & instant withdrawals. Join 50,000+ trusted players.">
    <meta name="twitter:image" content="https://shubank.co/images/shubank-twitter-card.jpg">
    <meta name="twitter:image:alt" content="Shubank Number Prediction Platform">
    <meta name="twitter:site" content="@shubank">
    <meta name="twitter:creator" content="@shubank">
    
    <!-- Additional SEO Meta Tags -->
    <meta name="robots" content="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1">
    <meta name="author" content="Shubank">
    <meta name="publisher" content="Shubank">
    <meta name="copyright" content="© 2025 Shubank. All rights reserved.">
    <meta name="language" content="English">
    <meta name="geo.region" content="IN">
    <meta name="geo.country" content="India">
    <meta name="geo.placename" content="India">
    <meta name="distribution" content="global">
    <meta name="rating" content="general">
    <meta name="referrer" content="no-referrer-when-downgrade">
    
    <!-- Theme Color -->
    <meta name="theme-color" content="#005c97">
    <meta name="msapplication-TileColor" content="#005c97">
    
    <!-- Preconnect for Performance -->
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link rel="preconnect" href="https://cdnjs.cloudflare.com">
    
    <!-- DNS Prefetch -->
    <link rel="dns-prefetch" href="//www.google-analytics.com">
    <link rel="dns-prefetch" href="//fonts.googleapis.com">
    
    <!-- Favicon -->
    <link rel="icon" type="image/x-icon" href="https://shubank.co/favicon.ico">
    <link rel="apple-touch-icon" sizes="180x180" href="https://shubank.co/apple-touch-icon.png">
    <link rel="icon" type="image/png" sizes="32x32" href="https://shubank.co/favicon-32x32.png">
    <link rel="icon" type="image/png" sizes="16x16" href="https://shubank.co/favicon-16x16.png">
    <link rel="manifest" href="https://shubank.co/site.webmanifest">
    
    <!-- Alternate Languages -->
    <link rel="alternate" hreflang="en-in" href="https://shubank.co/">
    <link rel="alternate" hreflang="hi-in" href="https://shubank.co/hi/">
    <link rel="alternate" hreflang="x-default" href="https://shubank.co/">
    
    <link rel="stylesheet" href="style.css">
    
    <!-- Schema.org Structured Data -->
    <script type="application/ld+json">
    {
        "@context": "https://schema.org",
        "@type": "WebSite",
        "name": "Shubank",
        "alternateName": "Shubank Number Prediction Platform",
        "url": "https://shubank.co/",
        "description": "India's most trusted number prediction platform for Disawar, Delhi Bazaar, Shree Ganesh, Faridabad, Ghaziabad with highest rates and same-day withdrawal.",
        "inLanguage": "en-IN",
        "isAccessibleForFree": true,
        "potentialAction": {
            "@type": "SearchAction",
            "target": "https://shubank.co/search?q={search_term_string}",
            "query-input": "required name=search_term_string"
        },
        "sameAs": [
            "https://t.me/shubank_official"
        ]
    }
    </script>
    
    <script type="application/ld+json">
    {
        "@context": "https://schema.org",
        "@type": "Organization",
        "name": "Shubank",
        "legalName": "Shubank Technologies Private Limited",
        "url": "https://shubank.co/",
        "logo": "https://shubank.co/images/shubank-logo.png",
        "foundingDate": "2020",
        "foundingLocation": {
            "@type": "Place",
            "addressCountry": "IN"
        },
        "description": "India's premier number prediction platform offering live results for Disawar, Delhi Bazaar, Shree Ganesh, Faridabad, Ghaziabad, Radhey-Radhey, and Gali markets.",
        "slogan": "India's Most Trusted Number Prediction Platform",
        "knowsAbout": [
            "Number Prediction",
            "Matka Results",
            "Disawar",
            "Delhi Bazaar",
            "Shree Ganesh",
            "Faridabad",
            "Ghaziabad",
            "Online Gaming Platform"
        ],
        "areaServed": {
            "@type": "Country",
            "name": "India"
        },
        "serviceType": "Number Prediction Platform",
        "sameAs": [
            "https://t.me/shubank_official"
        ],
        "contactPoint": {
            "@type": "ContactPoint",
            "contactType": "Customer Service",
            "availableLanguage": ["English", "Hindi"],
            "areaServed": "IN"
        }
    }
    </script>
    
    <script type="application/ld+json">
    {
        "@context": "https://schema.org",
        "@type": "WebApplication",
        "name": "Shubank Number Prediction Platform",
        "url": "https://shubank.co/",
        "description": "Play number prediction games with live results for all major markets. Features instant withdrawals, highest rates, and 24/7 customer support.",
        "applicationCategory": "GameApplication",
        "operatingSystem": "Web Browser",
        "offers": {
            "@type": "Offer",
            "price": "10",
            "priceCurrency": "INR",
            "description": "Minimum bid amount to start playing"
        },
        "featureList": [
            "Live Market Results",
            "Instant Withdrawals",
            "Highest Market Rates",
            "24/7 Customer Support",
            "Mobile Responsive Design",
            "Secure Payments",
            "Real-time Analytics"
        ],
        "screenshots": [
            "https://shubank.co/images/shubank-screenshot-1.jpg",
            "https://shubank.co/images/shubank-screenshot-2.jpg"
        ]
    }
    </script>
    
    <script type="application/ld+json">
    {
        "@context": "https://schema.org",
        "@type": "FAQPage",
        "mainEntity": [
            {
                "@type": "Question",
                "name": "What is Shubank?",
                "acceptedAnswer": {
                    "@type": "Answer",
                    "text": "Shubank is India's most trusted number prediction platform offering live results for Disawar, Delhi Bazaar, Shree Ganesh, Faridabad, Ghaziabad, Radhey-Radhey, and Gali markets with highest rates and same-day withdrawals."
                }
            },
            {
                "@type": "Question",
                "name": "How fast are withdrawals on Shubank?",
                "acceptedAnswer": {
                    "@type": "Answer",
                    "text": "Shubank offers same-day withdrawals with 24/7 processing to ensure you receive your winnings instantly."
                }
            },
            {
                "@type": "Question",
                "name": "What is the minimum bid amount?",
                "acceptedAnswer": {
                    "@type": "Answer",
                    "text": "The minimum bid amount on Shubank is ₹10, making it accessible for all players."
                }
            },
            {
                "@type": "Question",
                "name": "Is Shubank safe and secure?",
                "acceptedAnswer": {
                    "@type": "Answer",
                    "text": "Yes, Shubank uses bank-level security with SSL encryption to protect all user data and transactions."
                }
            }
        ]
    }
    </script>
    
    <!-- Google Analytics (Replace with your tracking ID) -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=GA_MEASUREMENT_ID"></script>
    <script>
        window.dataLayer = window.dataLayer || [];
        function gtag(){dataLayer.push(arguments);}
        gtag('js', new Date());
        gtag('config', 'GA_MEASUREMENT_ID');
    </script>
</head>
<body>

    <?php include 'header.php'; ?>

    <!-- Hero Section -->
    <section class="hero-section hero-section-custom">
        <div class="hero-background-overlay"></div>
        <div class="hero-particles">
            <div class="particle particle-1"></div>
            <div class="particle particle-2"></div>
            <div class="particle particle-3"></div>
            <div class="particle particle-4"></div>
            <div class="particle particle-5"></div>
        </div>
        <div class="container hero-grid-custom">
            <div class="hero-content">
                <div class="hero-badges">
                    <span class="eyebrow premium">🏆 India's #1 Number Prediction Platform</span>
                    <span class="eyebrow premium">🔒 1,000+ Trusted Players</span>
                </div>
                
                <div class="hero-title-container">
                    <h1 class="hero-title">
                        <span class="title-line professional" data-translate="main-title">Shubank - Live Matka Results</span>
                        <span class="title-line highlight premium" data-translate="tagline">Disawar, Delhi Bazaar, Shree Ganesh, Faridabad, Ghaziabad, Radhey Radhey, Gali & Satta King Live Results</span>
                    </h1>
                </div>

                <div class="hero-description">
                    <p class="hero-text primary" data-translate="description">Play <strong>number prediction games</strong> on India's most trusted platform. Get <strong>live matka results</strong> for <strong>Disawar, Delhi Bazaar, Shree Ganesh, Faridabad, Ghaziabad, Radhey Radhey & Gali</strong> with highest market rates and <strong>same-day withdrawal</strong>. Join 1,000+ players earning daily rewards.</p>
                    <p class="hero-text secondary" data-translate="about_text">Experience secure <strong>online matka</strong> gaming with real-time results, instant payouts, and 24/7 customer support. Our platform offers the best <strong>satta matka</strong> experience with transparent gameplay and guaranteed withdrawals.</p>
                </div>
                
                <div class="hero-features-container">
                    <div class="hero-features">
                        <div class="hero-feature premium">
                            <span class="feature-icon">⚡</span>
                            <span data-translate="feature_withdrawal">Same Day Withdrawal</span>
                        </div>
                        <div class="hero-feature premium">
                            <span class="feature-icon">🎯</span>
                            <span data-translate="feature_rates">Highest Market Rates</span>
                        </div>
                        <div class="hero-feature premium">
                            <span class="feature-icon">🔒</span>
                            <span data-translate="feature_security">Bank-Level Security</span>
                        </div>
                    </div>
                </div>
                
                <div class="hero-cta-container">
                    <div class="hero-cta">
                        <a href="login.php" class="cta-btn primary premium" aria-label="Start playing number prediction games now">
                            <span class="btn-icon">🚀</span>
                            <span data-translate="cta_start">Play Matka Now</span>
                        </a>
                        <a href="users.php" class="cta-btn secondary premium" aria-label="Create free account on Shubank">
                            <span class="btn-icon">📝</span>
                            <span data-translate="cta_account">Free Registration</span>
                        </a>
                    </div>
                </div>
            </div>
            <div class="hero-media">
                <div class="hero-card premium">
                    <div class="card-glow"></div>
                    <div class="card-content">
                        <!-- Modern Professional Dashboard Design -->
                        <div class="modern-dashboard">
                            <div class="dashboard-header">
                                <div class="header-top">
                                    <div class="brand-indicator">
                                        <div class="brand-dot"></div>
                                        <span>SHUBANK</span>
                                    </div>
                                    <div class="live-indicator">
                                        <span class="live-dot"></span>
                                        <span>LIVE</span>
                                    </div>
                                </div>
                                <div class="header-title">Number Prediction Platform</div>
                            </div>
                            
                            <div class="dashboard-content">
                                <!-- Animated Chart Section -->
                                <div class="chart-section">
                                    <div class="chart-header">
                                        <span>Today's Results</span>
                                        <div class="chart-dots">
                                            <span></span><span></span><span></span>
                                        </div>
                                    </div>
                                    <div class="chart-area">
                                        <div class="chart-bars">
                                            <div class="bar" style="height: 60%; animation-delay: 0.1s;"></div>
                                            <div class="bar" style="height: 80%; animation-delay: 0.2s;"></div>
                                            <div class="bar" style="height: 45%; animation-delay: 0.3s;"></div>
                                            <div class="bar" style="height: 90%; animation-delay: 0.4s;"></div>
                                            <div class="bar" style="height: 70%; animation-delay: 0.5s;"></div>
                                        </div>
                                        <div class="chart-overlay">
                                            <div class="prediction-line"></div>
                                        </div>
                                    </div>
                                </div>
                                
                                <!-- Game Cards Section -->
                                <div class="games-grid">
                                    <div class="game-card">
                                        <div class="game-name">DISAWAR</div>
                                        <div class="game-number">₹ 90</div>
                                        <div class="game-status winning">+15%</div>
                                    </div>
                                    <div class="game-card">
                                        <div class="game-name">DL BAZAAR</div>
                                        <div class="game-number">₹ 90</div>
                                        <div class="game-status winning">+8%</div>
                                    </div>
                                    <div class="game-card">
                                        <div class="game-name">FARIDABAD</div>
                                        <div class="game-number">₹ 90</div>
                                        <div class="game-status losing">-2%</div>
                                    </div>
                                </div>
                                
                                <!-- Stats Section -->
                                <div class="stats-section">
                                    <div class="stat-item">
                                        <div class="stat-icon">👥</div>
                                        <div class="stat-info">
                                            <div class="stat-value">50K+</div>
                                            <div class="stat-label">Players</div>
                                        </div>
                                    </div>
                                    <div class="stat-item">
                                        <div class="stat-icon">💰</div>
                                        <div class="stat-info">
                                            <div class="stat-value">₹50Cr+</div>
                                            <div class="stat-label">Paid Out</div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <div class="card-overlay">
                            <div class="overlay-content">
                                <div class="pulse-indicator">
                                    <span class="pulse-dot"></span>
                                    <span class="pulse-text" data-translate="feature_updates">Live Results</span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div class="hero-stats-container">
                    <div class="hero-stats">
                        <div class="stat premium">
                            <div class="stat-number">50,000+</div>
                            <div class="stat-label">Active Players</div>
                        </div>
                        <div class="stat premium">
                            <div class="stat-number">₹50 Cr+</div>
                            <div class="stat-label">Paid Out</div>
                        </div>
                        <div class="stat premium">
                            <div class="stat-number">99.9%</div>
                            <div class="stat-label">Uptime</div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Trust Indicators -->
    <section class="trust-section">
        <div class="container">
            <h2 class="section-title sr-only">Why Shubank is India's Most Trusted Matka Platform</h2>
            <div class="trust-grid">
                <div class="trust-item">
                    <div class="trust-icon">🏆</div>
                    <div class="trust-content">
                        <h3>India's #1 Matka Platform</h3>
                        <p>Most trusted by satta players nationwide</p>
                    </div>
                </div>
                <div class="trust-item">
                    <div class="trust-icon">⚡</div>
                    <div class="trust-content">
                        <h3>Instant Matka Payouts</h3>
                        <p>Same day withdrawal guarantee</p>
                    </div>
                </div>
                <div class="trust-item">
                    <div class="trust-icon">🔒</div>
                    <div class="trust-content">
                        <h3>100% Secure Platform</h3>
                        <p>Bank-grade security & encryption</p>
                    </div>
                </div>
                <div class="trust-item">
                    <div class="trust-icon">📱</div>
                    <div class="trust-content">
                        <h3>Mobile Matka Gaming</h3>
                        <p>Perfect experience on any device</p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Live Results Section -->
    <section class="results-section">
        <div class="container">
            <div class="section-header">
                <h2>🔥 Live Matka Results - Disawar, Delhi Bazaar, Shree Ganesh, Faridabad, Ghaziabad, Radhey Radhey & Gali</h2>
                <p>Real-time satta king results from all major matka markets - get instant updates!</p>
            </div>
            
            <div class="chart-grid">
                <?php foreach ($games as $key => $info): ?>
                <div class="chart-box enhanced">
                    <div class="chart-status">
                        <span class="status-dot active"></span>
                        <span class="status-text">Live</span>
                    </div>
                    <div class="chart-hanger"></div>
                    <div class="chart-time"><?php echo $info['time']; ?></div>
                    <div class="chart-title"><?php echo $info['title']; ?></div>
                    <div class="chart-result">
                        <?php 
                        if (isset($results_today[$key])) {
                            echo htmlspecialchars($results_today[$key]);
                        } else {
                            echo '<span style="color: #ccc;">--</span>';
                        }
                        ?>
                    </div>
                    <div class="chart-footer">
                        <a href="results.php" class="view-details">View Details →</a>
                    </div>
                </div>
                <?php endforeach; ?>
            </div>
        </div>
    </section>

    <!-- Features Showcase -->
    <section class="features-showcase">
        <div class="container">
            <div class="section-header">
                <h2>🎯 Why 1,000+ Players Choose Shubank for Online Matka</h2>
                <p>Discover what makes us India's most trusted satta matka platform</p>
            </div>
            
            <div class="features-grid-enhanced">
                <div class="feature-card">
                    <div class="feature-icon">💰</div>
                    <h3>Highest Matka Market Rates</h3>
                    <p>Get the best returns with our industry-leading payout rates across all satta markets</p>
                    <div class="feature-highlight">Up to 900x Returns</div>
                </div>
                
                <div class="feature-card">
                    <div class="feature-icon">⚡</div>
                    <h3>Lightning Fast Matka Withdrawals</h3>
                    <p>Get your matka winnings instantly with our same-day withdrawal system</p>
                    <div class="feature-highlight">24/7 Processing</div>
                </div>
                
                <div class="feature-card">
                    <div class="feature-icon">🔒</div>
                    <h3>Secure Matka Platform</h3>
                    <p>Your data and transactions are protected with military-grade encryption</p>
                    <div class="feature-highlight">SSL Encrypted</div>
                </div>
                
                <div class="feature-card">
                    <div class="feature-icon">🎯</div>
                    <h3>All Major Matka Markets</h3>
                    <p>Access Disawar, Delhi Bazaar, Faridabad, Ghaziabad in one secure platform</p>
                    <div class="feature-highlight">7 Live Markets</div>
                </div>
                
                <div class="feature-card">
                    <div class="feature-icon">📱</div>
                    <h3>Mobile Matka Gaming</h3>
                    <p>Perfect satta matka experience on mobile, tablet, and desktop</p>
                    <div class="feature-highlight">100% Responsive</div>
                </div>
                
                <div class="feature-card">
                    <div class="feature-icon">🏆</div>
                    <h3>24/7 Matka Support</h3>
                    <p>Round-the-clock customer support for all your matka queries</p>
                    <div class="feature-highlight">Always Available</div>
                </div>
                
                <div class="feature-card">
                    <div class="feature-icon">🎁</div>
                    <h3>Daily Matka Bonuses & Rewards</h3>
                    <p>Earn exciting bonuses and rewards with our matka loyalty program</p>
                    <div class="feature-highlight">Extra Benefits</div>
                </div>
                
                <div class="feature-card">
                    <div class="feature-icon">📊</div>
                    <h3>Live Matka Results & Analytics</h3>
                    <p>Access real-time satta results and detailed analytics for better predictions</p>
                    <div class="feature-highlight">Real-Time Data</div>
                </div>
                
                <div class="feature-card">
                    <div class="feature-icon">🧠</div>
                    <h3>Expert Matka Tips & Strategies</h3>
                    <p>Get proven matka tips and winning strategies from experienced players and experts</p>
                    <div class="feature-highlight">Pro Insights</div>
                </div>
            </div>
        </div>
    </section>

    <!-- Journey Section -->
    <section class="journey-section">
        <div class="container">
            <div class="section-header">
                <h2>🚀 Start Your Matka Journey - Win Big in 4 Steps</h2>
                <p>Get started with online satta matka in just 4 simple steps and begin winning today</p>
            </div>
            
            <div class="journey-steps">
                <div class="journey-step">
                    <div class="step-number">1</div>
                    <div class="journey-icon">📝</div>
                    <h4>Quick Matka Registration</h4>
                    <p>Sign up for Shubank matka account in under 2 minutes</p>
                </div>
                
                <div class="journey-step">
                    <div class="step-number">2</div>
                    <div class="journey-icon">💳</div>
                    <h4>Secure Deposit for Matka</h4>
                    <p>Add funds safely with multiple payment options</p>
                </div>
                
                <div class="journey-step">
                    <div class="step-number">3</div>
                    <div class="journey-icon">🎯</div>
                    <h4>Choose Matka Market & Play</h4>
                    <p>Select Disawar, Delhi Bazaar or any market and place bets</p>
                </div>
                
                <div class="journey-step">
                    <div class="step-number">4</div>
                    <div class="journey-icon">🏆</div>
                    <h4>Win & Withdraw Matka Earnings</h4>
                    <p>Collect your satta winnings with instant withdrawal</p>
                </div>
            </div>
        </div>
    </section>

    <!-- Testimonials Section -->
    <section class="testimonials-section">
        <div class="container">
            <div class="section-header">
                <h2>💬 Real Reviews from Shubank Matka Players</h2>
                <p>Join thousands of satisfied players who trust Shubank for online matka gaming</p>
            </div>
            
            <div class="testimonials-grid">
                <div class="testimonial-card">
                    <div class="testimonial-stars">⭐⭐⭐⭐⭐</div>
                    <p>"Best platform for satta matka! Fast withdrawals and fair play. Playing Disawar and Delhi Bazaar for 2 years."</p>
                    <div class="testimonial-author">
                        <strong>Rajesh Kumar</strong>
                        <span>Delhi - Disawar Player</span>
                    </div>
                </div>
                
                <div class="testimonial-card">
                    <div class="testimonial-stars">⭐⭐⭐⭐⭐</div>
                    <p>"Shubank matka changed my life! Regular wins on Faridabad and instant payouts. Highly recommended platform."</p>
                    <div class="testimonial-author">
                        <strong>Priya Sharma</strong>
                        <span>Mumbai - Faridabad Player</span>
                    </div>
                </div>
                
                <div class="testimonial-card">
                    <div class="testimonial-stars">⭐⭐⭐⭐⭐</div>
                    <p>"Safe, secure, and reliable matka platform. Ghaziabad and Gali results are always accurate. Excellent support!"</p>
                    <div class="testimonial-author">
                        <strong>Amit Singh</strong>
                        <span>Bangalore - Ghaziabad Player</span>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- CTA Section -->
    <section class="cta-section">
        <div class="container">
            <div class="cta-content">
                <h2>🎯 Ready to Win Big with Online Matka?</h2>
                <p>Join 50,000+ players who trust Shubank for the best satta matka experience in India</p>
                <div class="cta-buttons">
                    <a href="users.php" class="cta-btn primary large" aria-label="Join Shubank matka platform now">🚀 Play Matka Now</a>
                    <a href="about.php" class="cta-btn secondary large" aria-label="Learn more about Shubank platform">📖 Learn More</a>
                </div>
                <div class="cta-features">
                    <span>✅ Free Registration</span>
                    <span>✅ ₹10 Minimum Bid</span>
                    <span>✅ Same Day Withdrawal</span>
                </div>
            </div>
        </div>
    </section>

    <!-- Winners Ticker Section -->
    <section class="winners-carousel">
        <div class="winners-ticker" id="winnersTicker">
            <!-- Winners will be populated by JavaScript -->
        </div>
    </section>

    <!-- Footer Disclaimer -->
    <div class="disclaimer">
        <div class="container">
            <h3>⚠️ Important Disclaimer - Responsible Matka Gaming</h3>
            <p><strong>Age Restriction:</strong> You must be 18 years or older to participate in online matka. This satta platform is for entertainment purposes only.</p>
            <p><strong>Legal Compliance:</strong> Please ensure that participation in satta matka activities is legal in your jurisdiction before playing on our platform.</p>
            <p><strong>Responsible Gaming:</strong> Play matka responsibly and within your means. Satta gambling can be addictive - set limits and play safely.</p>
        </div>
    </div>

    <?php include 'footer.php'; ?>

    /* Enhanced Styles */
    <style>
    /* SEO Optimized Classes */
    .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
    
    .section-title {
        font-size: 2rem;
        color: #005c97;
        margin-bottom: 2rem;
        font-weight: 700;
        text-align: center;
    }
    
    /* Journey Section H4 Styling */
    .journey-step h4 {
        color: #005c97;
        margin: 12px 0;
        font-weight: 700;
        font-size: 1.2rem;
    }
    
    /* Premium Hero Section Enhancements */
    
    /* FORCE OVERRIDE STYLE.CSS - Hero Section Custom */
    .hero-section-custom .hero-grid-custom {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 48px !important;
        align-items: center !important;
        min-height: 500px !important;
        position: relative !important;
        z-index: 3 !important;
        width: 100% !important;
        flex-direction: row !important;
    }

    .hero-section-custom .hero-content {
        grid-column: 1 !important;
        width: 100% !important;
        max-width: none !important;
        animation: fadeInUp 1s ease-out;
        flex: none !important;
        min-width: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: left !important;
    }

    .hero-section-custom .hero-media {
        grid-column: 2 !important;
        width: 100% !important;
        max-width: none !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 24px !important;
        flex: none !important;
        min-width: auto !important;
        margin-top: 0 !important;
    }

    /* Override any conflicting old styles */
    .hero-grid {
        display: none !important;
    }
    
    /* Comment out old conflicting rules */
    /*
    .hero-grid {
        display: grid !important;
    .hero-section {
        position: relative;
        overflow: hidden;
        min-height: 100vh;
        display: flex;
        align-items: center;
    }

    .hero-background-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(0,92,151,0.9) 0%, rgba(23,162,184,0.8) 50%, rgba(255,214,0,0.1) 100%);
        z-index: 1;
    }

    .hero-particles {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 2;
        pointer-events: none;
    }

    .particle {
        position: absolute;
        background: radial-gradient(circle, rgba(255,214,0,0.6) 0%, rgba(255,214,0,0.2) 50%, transparent 100%);
        border-radius: 50%;
        animation: float 6s ease-in-out infinite;
    }

    .particle-1 {
        width: 120px;
        height: 120px;
        top: 10%;
        left: 5%;
        animation-delay: 0s;
    }

    .particle-2 {
        width: 80px;
        height: 80px;
        top: 20%;
        right: 10%;
        animation-delay: 2s;
    }

    .particle-3 {
        width: 60px;
        height: 60px;
        bottom: 30%;
        left: 15%;
        animation-delay: 4s;
    }

    .particle-4 {
        width: 100px;
        height: 100px;
        bottom: 10%;
        right: 20%;
        animation-delay: 1s;
    }

    .particle-5 {
        width: 40px;
        height: 40px;
        top: 50%;
        right: 5%;
        animation-delay: 3s;
    }

    @keyframes float {
        0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
        50% { transform: translateY(-20px) rotate(180deg); opacity: 0.6; }
    }

    .hero-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 48px !important;
        align-items: center !important;
        min-height: 500px !important;
        position: relative;
        z-index: 3;
        width: 100% !important;
    }

    .hero-content {
        grid-column: 1 !important;
        width: 100% !important;
        max-width: none !important;
        animation: fadeInUp 1s ease-out;
    }

    .hero-media {
        grid-column: 2 !important;
        width: 100% !important;
        max-width: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hero-title-container {
        margin: 24px 0 32px 0;
    }

    .hero-title {
        font-size: 3.5rem;
        font-weight: 900;
        line-height: 1.1;
        margin: 0;
        color: white;
        text-shadow: 0 4px 20px rgba(0,0,0,0.4);
        letter-spacing: -0.02em;
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        cursor: default;
    }

    /* Force override any external styles */
    .hero-section .hero-title .title-line {
        color: white !important;
        text-shadow: none !important;
    }

    .hero-title:hover .title-line.professional {
        animation-duration: 1.5s;
        transform: scale(1.02);
    }

    .hero-title:hover .title-line.highlight.premium {
        animation-duration: 2s;
        transform: scale(1.02);
    }

    .hero-section .hero-title .title-line {
        display: block !important;
        margin-bottom: 12px;
        transition: all 0.3s ease;
        position: relative;
        color: white !important;
    }

    .hero-section .hero-title .title-line.professional {
        background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 30%, #90caf9 70%, #64b5f6 100%) !important;
        background-clip: text !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        color: transparent !important;
        filter: drop-shadow(0 3px 12px rgba(33, 150, 243, 0.4));
        position: relative;
        animation: shimmer 3s ease-in-out infinite;
    }

    .hero-section .hero-title .title-line.professional::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
        animation: slide 2s infinite;
    }

    .hero-section .hero-title .title-line.highlight.premium {
        background: linear-gradient(135deg, #ffd600 0%, #ff9800 20%, #ff5722 40%, #e91e63 60%, #9c27b0 80%, #3f51b5 100%) !important;
        background-size: 300% 300% !important;
        background-clip: text !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        color: transparent !important;
        filter: drop-shadow(0 4px 16px rgba(255,214,0,0.5)) drop-shadow(0 2px 8px rgba(233,30,99,0.3));
        animation: gradientShift 4s ease-in-out infinite, glow 2s ease-in-out infinite alternate;
        position: relative;
    }

    .hero-section .hero-title .title-line.highlight.premium::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(255,214,0,0.1) 0%, rgba(233,30,99,0.1) 50%, rgba(63,81,181,0.1) 100%);
        border-radius: 8px;
        z-index: -1;
        animation: pulse 3s ease-in-out infinite;
    }

    /* CRITICAL: Force gradient colors to display - Override any external styles */
    .hero-section-custom .hero-title .title-line.professional,
    .hero-content .hero-title .title-line.professional,
    h1.hero-title .title-line.professional {
        background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 30%, #90caf9 70%, #64b5f6 100%) !important;
        background-clip: text !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        color: transparent !important;
        text-shadow: none !important;
    }
    
    .hero-section-custom .hero-title .title-line.highlight.premium,
    .hero-content .hero-title .title-line.highlight.premium,
    h1.hero-title .title-line.highlight.premium {
        background: linear-gradient(135deg, #ffd600 0%, #ff9800 20%, #ff5722 40%, #e91e63 60%, #9c27b0 80%, #3f51b5 100%) !important;
        background-size: 300% 300% !important;
        background-clip: text !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        color: transparent !important;
        text-shadow: none !important;
    }

    /* Fallback for browsers that don't support background-clip: text */
    @supports not (-webkit-background-clip: text) {
        .hero-section .hero-title .title-line.professional {
            color: #64b5f6 !important;
            -webkit-text-fill-color: #64b5f6 !important;
            text-shadow: 0 3px 12px rgba(33, 150, 243, 0.4) !important;
        }
        
        .hero-section .hero-title .title-line.highlight.premium {
            color: #ffd600 !important;
            -webkit-text-fill-color: #ffd600 !important;
            text-shadow: 0 4px 16px rgba(255,214,0,0.5) !important;
        }
    }

    @keyframes shimmer {
        0%, 100% { filter: drop-shadow(0 3px 12px rgba(33, 150, 243, 0.4)); }
        50% { filter: drop-shadow(0 6px 20px rgba(33, 150, 243, 0.8)) drop-shadow(0 0 40px rgba(33, 150, 243, 0.3)); }
    }

    @keyframes slide {
        0% { left: -100%; }
        100% { left: 100%; }
    }

    @keyframes gradientShift {
        0%, 100% { background-position: 0% 50%; }
        25% { background-position: 50% 0%; }
        50% { background-position: 100% 50%; }
        75% { background-position: 50% 100%; }
    }

    @keyframes glow {
        0% { filter: drop-shadow(0 4px 16px rgba(255,214,0,0.5)) drop-shadow(0 2px 8px rgba(233,30,99,0.3)); }
        100% { filter: drop-shadow(0 6px 24px rgba(255,214,0,0.8)) drop-shadow(0 4px 16px rgba(233,30,99,0.6)) drop-shadow(0 0 30px rgba(63,81,181,0.4)); }
    }

    @keyframes pulse {
        0%, 100% { opacity: 0.3; transform: scale(1); }
        50% { opacity: 0.6; transform: scale(1.02); }
    }

    /* Modern Dashboard Design Styles */
    .modern-dashboard {
        width: 100%;
        max-width: 450px;
        height: 320px;
        background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #1e3c72 100%);
        border-radius: 20px;
        padding: 20px;
        margin: 0 auto;
        position: relative;
        overflow: hidden;
        box-shadow: 
            0 10px 40px rgba(0, 0, 0, 0.3),
            0 2px 8px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .modern-dashboard::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
        animation: rotate 8s linear infinite;
        pointer-events: none;
    }

    @keyframes rotate {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    .dashboard-header {
        margin-bottom: 20px;
        position: relative;
        z-index: 2;
    }

    .header-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
    }

    .brand-indicator {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.75rem;
        font-weight: 700;
        color: #64b5f6;
        letter-spacing: 1px;
    }

    .brand-dot {
        width: 8px;
        height: 8px;
        background: linear-gradient(45deg, #4fc3f7, #29b6f6);
        border-radius: 50%;
        animation: breathe 2s ease-in-out infinite;
    }

    .live-indicator {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 0.7rem;
        font-weight: 600;
        color: #4caf50;
        background: rgba(76, 175, 80, 0.1);
        padding: 4px 8px;
        border-radius: 12px;
        border: 1px solid rgba(76, 175, 80, 0.2);
    }

    .live-dot {
        width: 6px;
        height: 6px;
        background: #4caf50;
        border-radius: 50%;
        animation: pulse-live 1.5s ease-in-out infinite;
    }

    @keyframes pulse-live {
        0%, 100% { opacity: 1; transform: scale(1); }
        50% { opacity: 0.5; transform: scale(0.8); }
    }

    @keyframes breathe {
        0%, 100% { transform: scale(1); opacity: 1; }
        50% { transform: scale(1.2); opacity: 0.8; }
    }

    .header-title {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 500;
        letter-spacing: 0.5px;
    }

    .dashboard-content {
        position: relative;
        z-index: 2;
        height: calc(100% - 60px);
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .chart-section {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        padding: 12px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
    }

    .chart-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 12px;
        font-size: 0.75rem;
        color: rgba(255, 255, 255, 0.8);
        font-weight: 600;
    }

    .chart-dots {
        display: flex;
        gap: 3px;
    }

    .chart-dots span {
        width: 4px;
        height: 4px;
        background: rgba(255, 255, 255, 0.4);
        border-radius: 50%;
    }

    .chart-area {
        position: relative;
        height: 60px;
        display: flex;
        align-items: end;
        justify-content: center;
    }

    .chart-bars {
        display: flex;
        align-items: end;
        gap: 6px;
        height: 100%;
        width: 80%;
    }

    .bar {
        flex: 1;
        background: linear-gradient(to top, #4fc3f7, #29b6f6, #1e88e5);
        border-radius: 2px 2px 0 0;
        min-height: 20%;
        animation: barGrow 1.5s ease-out forwards;
        position: relative;
        box-shadow: 0 2px 8px rgba(79, 195, 247, 0.3);
    }

    .bar::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: rgba(255, 255, 255, 0.6);
        border-radius: 2px;
    }

    @keyframes barGrow {
        0% { transform: scaleY(0); opacity: 0; }
        100% { transform: scaleY(1); opacity: 1; }
    }

    .chart-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        pointer-events: none;
    }

    .prediction-line {
        position: absolute;
        top: 30%;
        left: 10%;
        right: 10%;
        height: 2px;
        background: linear-gradient(90deg, transparent, #ffc107, #ff9800, transparent);
        border-radius: 1px;
        animation: linePulse 3s ease-in-out infinite;
    }

    @keyframes linePulse {
        0%, 100% { opacity: 0.5; transform: translateY(0); }
        50% { opacity: 1; transform: translateY(-2px); }
    }

    .games-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .game-card {
        background: rgba(255, 255, 255, 0.08);
        border-radius: 8px;
        padding: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
        transition: all 0.3s ease;
    }

    .game-card:hover {
        background: rgba(255, 255, 255, 0.12);
        transform: translateY(-1px);
    }

    .game-name {
        font-size: 0.65rem;
        color: rgba(255, 255, 255, 0.7);
        margin-bottom: 4px;
        font-weight: 600;
        letter-spacing: 0.5px;
    }

    .game-number {
        font-size: 0.85rem;
        color: white;
        font-weight: 700;
        margin-bottom: 2px;
    }

    .game-status {
        font-size: 0.6rem;
        font-weight: 600;
        padding: 2px 6px;
        border-radius: 8px;
        display: inline-block;
    }

    .game-status.winning {
        background: rgba(76, 175, 80, 0.2);
        color: #4caf50;
        border: 1px solid rgba(76, 175, 80, 0.3);
    }

    .game-status.losing {
        background: rgba(244, 67, 54, 0.2);
        color: #f44336;
        border: 1px solid rgba(244, 67, 54, 0.3);
    }

    .stats-section {
        display: flex;
        gap: 12px;
        margin-top: auto;
    }

    .stat-item {
        flex: 1;
        display: flex;
        align-items: center;
        gap: 8px;
        background: rgba(255, 255, 255, 0.05);
        padding: 8px;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stat-icon {
        font-size: 1.2rem;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    }

    .stat-info {
        flex: 1;
    }

    .stat-value {
        font-size: 0.8rem;
        font-weight: 700;
        color: white;
        line-height: 1;
    }

    .stat-label {
        font-size: 0.6rem;
        color: rgba(255, 255, 255, 0.6);
        line-height: 1;
        margin-top: 2px;
    }

    /* Mobile Responsiveness */
    @media (max-width: 768px) {
        /* COMPREHENSIVE MOBILE FIXES */
        html {
            -webkit-overflow-scrolling: touch !important;
            overflow-scrolling: touch !important;
            height: 100% !important;
            overflow-x: hidden !important;
            width: 100% !important;
        }
        
        body {
            -webkit-overflow-scrolling: touch !important;
            overflow-scrolling: touch !important;
            position: relative !important;
            min-height: 100vh !important;
            overflow-x: hidden !important;
            width: 100% !important;
            margin: 0 !important;
            padding: 0 !important;
        }
        
        /* Prevent horizontal scrolling */
        .container {
            max-width: 100% !important;
            padding-left: 15px !important;
            padding-right: 15px !important;
            margin-left: auto !important;
            margin-right: auto !important;
            overflow-x: hidden !important;
        }
        
        /* Fix hero section container */
        .hero-section-custom {
            overflow-x: hidden !important;
            width: 100% !important;
            max-width: 100% !important;
        }
        
        .hero-grid-custom {
            width: 100% !important;
            max-width: 100% !important;
            overflow-x: hidden !important;
            padding-left: 0 !important;
            padding-right: 0 !important;
        }
        
        /* Universal mobile element constraint */
        .hero-section-custom * {
            max-width: 100% !important;
            box-sizing: border-box !important;
        }
        
        /* Prevent scroll jumping and touch issues */
        * {
            -webkit-tap-highlight-color: transparent;
            -webkit-touch-callout: none;
            max-width: 100% !important;
            box-sizing: border-box !important;
        }
        
        /* Re-enable text selection for content */
        p, span, div, h1, h2, h3, h4, h5, h6, li, a {
            -webkit-user-select: text;
            -moz-user-select: text;
            -ms-user-select: text;
            user-select: text;
        }
        
        /* Ensure smooth scrolling without jumping */
        html, body {
            scroll-behavior: auto !important;
        }
        
        .modern-dashboard {
            max-width: 350px;
            height: 280px;
            padding: 16px;
            margin: 0 auto;
        }

        .games-grid {
            gap: 6px;
        }

        .game-card {
            padding: 6px;
        }

        .game-name {
            font-size: 0.6rem;
        }

        .game-number {
            font-size: 0.75rem;
        }

        .stat-item {
            padding: 6px;
            gap: 6px;
        }

        .stat-icon {
            font-size: 1rem;
        }

        .stat-value {
            font-size: 0.7rem;
        }

        .chart-area {
            height: 50px;
        }
    }

    @media (max-width: 480px) {
        .modern-dashboard {
            max-width: 300px;
            height: 260px;
            padding: 14px;
            margin: 0 auto;
        }

        .dashboard-content {
            gap: 12px;
        }

        .chart-section {
            padding: 10px;
        }

        .games-grid {
            gap: 4px;
        }

        .game-card {
            padding: 5px;
        }

        .stats-section {
            gap: 8px;
        }
    }

    .hero-description {
        margin: 32px 0;
        max-width: 90%;
        background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.1) 100%);
        padding: 24px;
        border-radius: 16px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255,255,255,0.1);
    }

    .hero-text {
        margin: 0 0 20px 0;
        line-height: 1.7;
        font-size: 1.1rem;
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        letter-spacing: 0.01em;
    }

    .hero-text.primary {
        color: rgba(255,255,255,0.98);
        font-weight: 600;
        text-shadow: 0 2px 8px rgba(0,0,0,0.2);
        font-size: 1.15rem;
    }

    .hero-text.secondary {
        color: rgba(255,255,255,0.88);
        font-weight: 500;
        text-shadow: 0 1px 4px rgba(0,0,0,0.15);
        font-size: 1.05rem;
    }
    
    .hero-text strong {
        color: #ffd600;
        font-weight: 700;
        text-shadow: 0 2px 8px rgba(255,214,0,0.3);
    }

    .eyebrow.premium {
        background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.25) 100%);
        border: 1px solid rgba(255,255,255,0.2);
        color: white;
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 16px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
    }

    .eyebrow.premium:hover {
        background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.35) 100%);
        transform: translateY(-2px);
    }

    .hero-features-container {
        margin: 32px 0;
    }

    .hero-feature.premium {
        background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.25) 100%);
        border: 1px solid rgba(255,255,255,0.2);
        backdrop-filter: blur(10px);
        transition: all 0.3s ease;
    }

    .hero-feature.premium:hover {
        background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.35) 100%);
        transform: translateY(-3px);
        box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    }

    .hero-cta-container {
        margin: 40px 0;
    }

    .hero-cta {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
        align-items: center;
    }

    .cta-btn.premium {
        position: relative;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        display: flex;
        align-items: center;
        gap: 8px;
        font-weight: 700;
        text-decoration: none;
    }

    .cta-btn.primary.premium {
        background: linear-gradient(135deg, #ffd600 0%, #ffed4e 100%);
        color: #005c97;
        box-shadow: 0 8px 24px rgba(255,214,0,0.4);
    }

    .cta-btn.primary.premium:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(255,214,0,0.6);
        background: linear-gradient(135deg, #ffed4e 0%, #fff59d 100%);
    }

    .cta-btn.secondary.premium {
        background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.25) 100%);
        color: white;
        border: 2px solid rgba(255,255,255,0.3);
        backdrop-filter: blur(10px);
    }

    .cta-btn.secondary.premium:hover {
        background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.35) 100%);
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(255,255,255,0.2);
    }

    .btn-icon {
        font-size: 1.2rem;
        transition: transform 0.3s ease;
    }

    .cta-btn.premium:hover .btn-icon {
        transform: scale(1.2);
    }

    .hero-stats-container {
        margin: 40px 0 0 0;
    }

    /* Special styling for hero-stats when inside hero-media */
    .hero-media .hero-stats-container {
        margin: 0 !important;
        width: 100%;
    }

    .hero-media .hero-stats {
        justify-content: center !important;
        max-width: 500px;
        margin: 0 auto;
    }

    .stat.premium {
        position: relative;
        padding: 16px 20px;
        background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.15) 100%);
        border-radius: 12px;
        backdrop-filter: blur(5px);
        border: 1px solid rgba(255,255,255,0.15);
        transition: all 0.3s ease;
        flex: 1;
        min-width: 120px;
        text-align: center;
    }

    .stat.premium:hover {
        transform: translateY(-2px);
        background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.25) 100%);
        box-shadow: 0 4px 16px rgba(255,255,255,0.1);
    }

    .hero-card.premium {
        position: relative;
        background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.2) 100%);
        backdrop-filter: blur(20px);
        border: 2px solid rgba(255,255,255,0.3);
        box-shadow: 0 20px 60px rgba(0,0,0,0.3);
        transition: all 0.4s ease;
        overflow: hidden;
        border-radius: 20px;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-card.premium:hover {
        transform: translateY(-8px) rotateY(5deg);
        box-shadow: 0 30px 80px rgba(0,0,0,0.4);
    }

    .card-glow {
        position: absolute;
        top: -50%;
        left: -50%;
        right: -50%;
        bottom: -50%;
        background: radial-gradient(circle, rgba(255,214,0,0.3) 0%, transparent 70%);
        animation: rotate 8s linear infinite;
        z-index: 1;
    }

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

    .card-content {
        position: relative;
        z-index: 2;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 20px;
    }

    .card-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, transparent 0%, rgba(0,92,151,0.1) 50%, transparent 100%);
        display: flex;
        align-items: flex-end;
        padding: 20px;
        z-index: 3;
    }

    .pulse-indicator {
        display: flex;
        align-items: center;
        gap: 8px;
        background: rgba(34,197,94,0.9);
        color: white;
        padding: 8px 16px;
        border-radius: 25px;
        font-weight: 600;
        font-size: 0.9rem;
        backdrop-filter: blur(10px);
    }

    .pulse-dot {
        width: 8px;
        height: 8px;
        background: white;
        border-radius: 50%;
        animation: pulse 2s infinite;
    }

    @keyframes pulse {
        0%, 100% { opacity: 1; transform: scale(1); }
        50% { opacity: 0.5; transform: scale(1.2); }
    }

    /* Enhanced Hero Section */
    .hero-badges {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
        margin-bottom: 20px;
    }

    .hero-features {
        display: flex;
        gap: 16px;
        margin: 24px 0;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: center;
    }

    .hero-feature {
        display: flex;
        align-items: center;
        gap: 6px;
        background: rgba(255,255,255,0.1);
        padding: 6px 12px;
        border-radius: 25px;
        font-weight: 600;
        font-size: 0.85rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .hero-stats {
        display: flex;
        gap: 20px;
        margin-top: 32px;
        flex-wrap: wrap;
        background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.2) 100%);
        backdrop-filter: blur(15px);
        border-radius: 16px;
        padding: 24px;
        border: 1px solid rgba(255,255,255,0.2);
        box-shadow: 0 8px 32px rgba(0,0,0,0.1);
        justify-content: space-between;
    }

    .stat {
        text-align: center;
    }

    .stat-number {
        font-size: 1.8rem;
        font-weight: 800;
        color: #ffd600;
        margin-bottom: 4px;
    }

    .stat-label {
        font-size: 0.9rem;
        opacity: 0.9;
    }

    /* Trust Section */
    .trust-section {
        padding: 60px 0;
        background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    }

    .trust-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 24px;
    }

    .trust-item {
        display: flex;
        align-items: center;
        gap: 16px;
        background: white;
        padding: 24px;
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        transition: transform 0.3s ease;
    }

    .trust-item:hover {
        transform: translateY(-4px);
    }

    .trust-icon {
        font-size: 2rem;
        background: linear-gradient(135deg, #17a2b8 0%, #ffd600 100%);
        border-radius: 50%;
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .trust-content h3 {
        margin: 0 0 4px 0;
        color: #005c97;
        font-weight: 700;
    }

    .trust-content p {
        margin: 0;
        color: #64748b;
        font-size: 0.9rem;
    }

    /* Enhanced Results Section */
    .results-section {
        padding: 80px 0;
        background: white;
    }

    .chart-box.enhanced {
        position: relative;
        overflow: visible;
    }

    .chart-status {
        position: absolute;
        top: -8px;
        right: 16px;
        display: flex;
        align-items: center;
        gap: 6px;
        background: #22c55e;
        color: white;
        padding: 4px 8px;
        border-radius: 12px;
        font-size: 0.75rem;
        font-weight: 600;
    }

    .status-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: white;
        animation: pulse 1.5s infinite;
    }

    .chart-footer {
        margin-top: 12px;
        text-align: center;
    }

    .view-details {
        color: #17a2b8;
        text-decoration: none;
        font-size: 0.85rem;
        font-weight: 600;
        transition: color 0.3s ease;
    }

    .view-details:hover {
        color: #005c97;
    }

    /* Features Showcase */
    .features-showcase {
        padding: 80px 0;
        background: linear-gradient(135deg, #005c97 0%, #17a2b8 100%);
        color: white;
    }

    .features-grid-enhanced {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 32px;
        margin-top: 60px;
    }

    .feature-card {
        background: rgba(255,255,255,0.1);
        padding: 32px 24px;
        border-radius: 20px;
        text-align: center;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255,255,255,0.2);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 16px 48px rgba(0,0,0,0.2);
    }

    .feature-card .feature-icon {
        font-size: 3rem;
        margin-bottom: 20px;
    }

    .feature-card h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
        font-weight: 700;
    }

    .feature-card p {
        opacity: 0.9;
        line-height: 1.6;
        margin-bottom: 16px;
    }

    .feature-highlight {
        background: #ffd600;
        color: #005c97;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 700;
        display: inline-block;
    }

    /* Enhanced Journey Section */
    .journey-section {
        padding: 80px 0;
        background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    }

    .journey-steps {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 32px;
        margin-top: 60px;
    }

    .journey-step {
        background: white;
        padding: 32px 24px;
        border-radius: 20px;
        text-align: center;
        box-shadow: 0 8px 32px rgba(0,0,0,0.08);
        position: relative;
        transition: transform 0.3s ease;
    }

    .journey-step:hover {
        transform: translateY(-8px);
    }

    .step-number {
        position: absolute;
        top: -16px;
        left: 50%;
        transform: translateX(-50%);
        background: linear-gradient(135deg, #17a2b8 0%, #ffd600 100%);
        color: #005c97;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
        font-size: 1.1rem;
    }

    .journey-step .journey-icon {
        font-size: 2.5rem;
        margin: 20px 0;
    }

    .journey-step h3 {
        color: #005c97;
        margin-bottom: 12px;
        font-weight: 700;
    }

    /* Testimonials Section */
    .testimonials-section {
        padding: 80px 0;
        background: white;
    }

    .testimonials-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 32px;
        margin-top: 60px;
    }

    .testimonial-card {
        background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
        padding: 32px 24px;
        border-radius: 20px;
        box-shadow: 0 8px 32px rgba(0,0,0,0.08);
        transition: transform 0.3s ease;
    }

    .testimonial-card:hover {
        transform: translateY(-4px);
    }

    .testimonial-stars {
        font-size: 1.2rem;
        margin-bottom: 16px;
    }

    .testimonial-card p {
        font-style: italic;
        line-height: 1.6;
        margin-bottom: 20px;
        color: #374151;
    }

    .testimonial-author strong {
        color: #005c97;
        font-weight: 700;
    }

    .testimonial-author span {
        color: #64748b;
        font-size: 0.9rem;
    }

    /* CTA Section */
    .cta-section {
        padding: 80px 0;
        background: linear-gradient(135deg, #17a2b8 0%, #005c97 100%);
        color: white;
        text-align: center;
    }

    .cta-content h2 {
        font-size: 2.5rem;
        margin-bottom: 16px;
        font-weight: 700;
    }

    .cta-content p {
        font-size: 1.2rem;
        margin-bottom: 32px;
        opacity: 0.95;
    }

    .cta-buttons {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-bottom: 32px;
        flex-wrap: wrap;
    }

    .cta-btn.large {
        padding: 16px 32px;
        font-size: 1.1rem;
    }

    .cta-features {
        display: flex;
        justify-content: center;
        gap: 24px;
        flex-wrap: wrap;
    }

    .cta-features span {
        font-size: 0.9rem;
        opacity: 0.9;
    }

    /* Section Headers */
    .section-header {
        text-align: center;
        margin-bottom: 60px;
    }

    .section-header h2 {
        font-size: 2.5rem;
        color: #005c97;
        margin-bottom: 16px;
        font-weight: 700;
    }

    .features-showcase .section-header h2 {
        color: white;
    }

    .section-header p {
        font-size: 1.2rem;
        color: #64748b;
        max-width: 600px;
        margin: 0 auto;
    }

    .features-showcase .section-header p {
        color: rgba(255,255,255,0.9);
    }

    /* Enhanced CTA Buttons */
    .cta-btn.primary {
        background: linear-gradient(135deg, #ffd600 0%, #17a2b8 100%);
        color: #005c97;
    }

    .cta-btn.secondary {
        background: transparent;
        color: white;
        border: 2px solid white;
    }

    .cta-btn.secondary:hover {
        background: white;
        color: #005c97;
    }

    /* Responsive Enhancements */
    @media (max-width: 1024px) {
        .hero-title {
            font-size: 3rem;
        }
        
        .particle {
            display: none;
        }
        
        .hero-section-custom {
            min-height: 90vh;
        }
        
        .hero-section-custom .hero-grid-custom {
            gap: 32px !important;
        }
    }

    @media (max-width: 768px) {
        .hero-section-custom {
            min-height: auto;
            padding: 80px 0 60px 0;
            overflow-x: hidden !important;
            width: 100% !important;
        }
        
        .hero-section-custom .hero-grid-custom {
            display: grid !important;
            grid-template-columns: 1fr !important;
            gap: 40px !important;
            text-align: center;
            max-width: 100% !important;
            padding: 0 10px !important;
            margin: 0 auto !important;
        }
        
        .hero-section-custom .hero-content {
            grid-column: 1 !important;
            order: 2;
            max-width: 100% !important;
            padding: 0 !important;
            margin: 0 !important;
        }
        
        .hero-section-custom .hero-media {
            grid-column: 1 !important;
            order: 1;
            max-width: 350px !important;
            margin: 0 auto;
            width: 100% !important;
        }
        
        .hero-title {
            font-size: 2.5rem;
            text-align: center;
            letter-spacing: -0.01em;
            max-width: 100% !important;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }
        
        .title-line {
            margin-bottom: 10px;
            max-width: 100% !important;
            word-wrap: break-word;
        }
        
        .title-line.professional::before {
            animation-duration: 2.5s;
        }
        
        .title-line.highlight.premium {
            background-size: 200% 200%;
        }
        
        .hero-description {
            text-align: center;
            max-width: 100%;
            padding: 20px 16px;
            margin: 24px 0;
            overflow-wrap: break-word;
            word-wrap: break-word;
        }
        
        .hero-text {
            font-size: 1rem;
            max-width: 100% !important;
            overflow-wrap: break-word;
        }
        
        .hero-text.primary {
            font-size: 1.05rem;
        }
        
        .hero-text.secondary {
            font-size: 0.95rem;
        }
        
        .hero-badges {
            justify-content: center;
        }
        
        .hero-features {
            justify-content: center;
            flex-wrap: wrap;
        }
        
        .hero-cta {
            flex-direction: column;
            gap: 16px;
            align-items: center;
            width: 100%;
        }
        
        .cta-btn.premium {
            width: 100%;
            max-width: 320px;
            justify-content: center;
            padding: 14px 24px;
            font-size: 1rem;
            border-radius: 12px;
        }
        
        .hero-stats {
            flex-direction: column;
            gap: 16px;
            align-items: center;
            padding: 20px 16px;
            margin-top: 24px;
        }
        
        .stat.premium {
            width: 100%;
            max-width: 200px;
            padding: 12px 16px;
        }
        
        .hero-card.premium:hover {
            transform: translateY(-4px);
        }
    }

    @media (max-width: 480px) {
        .hero-section {
            padding: 60px 0 40px 0;
        }
        
        .hero-grid {
            flex-direction: column;
            gap: 30px;
        }
        
        .hero-media {
            max-width: 300px;
            order: -1;
        }
        
        .hero-title {
            font-size: 2rem;
            letter-spacing: 0;
        }
        
        .title-line {
            margin-bottom: 8px;
        }
        
        .title-line.professional {
            filter: drop-shadow(0 2px 8px rgba(33, 150, 243, 0.5));
        }
        
        .title-line.highlight.premium {
            background-size: 150% 150%;
            filter: drop-shadow(0 3px 12px rgba(255,214,0,0.6)) drop-shadow(0 1px 6px rgba(233,30,99,0.4));
        }
        
        /* Reduce animation intensity on mobile */
        .title-line.professional::before {
            animation: none;
        }
        
        .title-line.highlight.premium::after {
            animation-duration: 4s;
        }
        
        .hero-description {
            padding: 16px 12px;
            margin: 20px 0;
        }
        
        .hero-text {
            font-size: 0.95rem;
            line-height: 1.6;
        }
        
        .hero-text.primary {
            font-size: 1rem;
        }
        
        .hero-text.secondary {
            font-size: 0.9rem;
        }
        
        .hero-features {
            flex-direction: column;
            gap: 12px;
        }
        
        .hero-feature.premium {
            width: 100%;
            max-width: 280px;
            justify-content: center;
        }
        
        .hero-stats {
            flex-direction: column;
            gap: 12px;
            align-items: center;
            padding: 16px 12px;
            margin-top: 20px;
        }
        
        .stat.premium {
            width: 100%;
            max-width: 180px;
            padding: 10px 12px;
        }
        
        .cta-btn.premium {
            width: 100%;
            max-width: 300px;
            padding: 12px 20px;
            font-size: 0.95rem;
        }
        
        .hero-cta {
            gap: 12px;
        }
        
        .hero-badges {
            flex-direction: column;
            align-items: center;
            gap: 8px;
        }
        
        .eyebrow.premium {
            width: 100%;
            max-width: 240px;
            justify-content: center;
        }
        
        .card-overlay {
            padding: 12px;
        }
        
        .pulse-indicator {
            font-size: 0.8rem;
            padding: 6px 12px;
        }
    }
    @media (max-width: 768px) {
        .hero-stats {
            gap: 16px;
        }
        
        .stat-number {
            font-size: 1.4rem;
        }
        
        .hero-features {
            gap: 8px;
            overflow-x: auto;
            padding-bottom: 5px;
        }
        
        .hero-feature {
            font-size: 0.8rem;
            padding: 5px 10px;
            gap: 5px;
        }
        
        .trust-grid,
        .features-grid-enhanced,
        .journey-steps,
        .testimonials-grid {
            grid-template-columns: 1fr;
            gap: 20px;
        }
        
        .cta-content h2 {
            font-size: 2rem;
        }
        
        .section-header h2 {
            font-size: 2rem;
        }
        
        .cta-buttons {
            flex-direction: column;
            align-items: center;
        }
        
        .cta-btn.large {
            width: 100%;
            max-width: 300px;
        }
    }

    @media (max-width: 480px) {
        .hero-badges {
            flex-direction: column;
        }
        
        .hero-features {
            gap: 6px;
            margin: 16px 0;
        }
        
        .hero-feature {
            font-size: 0.75rem;
            padding: 4px 8px;
        }
        
        .cta-features {
            flex-direction: column;
            gap: 8px;
        }
    }
    </style>

    <!-- Enhanced JavaScript -->
    <script>
    // Enhanced winners data
    const winnerNames = [
        'Rajesh Kumar', 'Priya Sharma', 'Amit Singh', 'Neha Gupta', 'Rohit Verma',
        'Sunita Devi', 'Vikash Kumar', 'Pooja Rani', 'Sanjay Yadav', 'Rekha Kumari',
        'Deepak Jha', 'Kavita Singh', 'Manish Tiwari', 'Sushma Devi', 'Rahul Gupta',
        'Anita Rani', 'Suresh Yadav', 'Meera Devi', 'Ravi Kumar', 'Geeta Sharma'
    ];

    const gameNames = ['DS', 'DB', 'SG', 'FB', 'GB', 'RR', 'GL'];
    const cities = ['Delhi', 'Mumbai', 'Kolkata', 'Chennai', 'Bangalore', 'Hyderabad', 'Pune', 'Jaipur'];

    function generateRandomWinners() {
        const winners = [];
        for (let i = 0; i < 15; i++) {
            const name = winnerNames[Math.floor(Math.random() * winnerNames.length)];
            const game = gameNames[Math.floor(Math.random() * gameNames.length)];
            const city = cities[Math.floor(Math.random() * cities.length)];
            const amount = (Math.floor(Math.random() * 80) + 20) * 1000; // 20k-100k
            
            winners.push({
                name: name,
                game: game,
                city: city,
                amount: amount
            });
        }
        return winners;
    }

    function createWinnerHTML(winner) {
        return `
            <div class="winner-item">
                <div class="winner-icon">🏆</div>
                <div class="winner-details">
                    <div class="winner-name">${winner.name}</div>
                    <div class="winner-info">${winner.game} • ${winner.city}</div>
                </div>
                <div class="winner-amount">₹${winner.amount.toLocaleString()}</div>
            </div>
        `;
    }

    function initWinnersCarousel() {
        const winners = generateRandomWinners();
        const ticker = document.getElementById('winnersTicker');
        
        // Create seamless loop
        const winnersHTML = winners.map(createWinnerHTML).join('');
        ticker.innerHTML = winnersHTML + winnersHTML;
    }

    // Initialize on page load
    document.addEventListener('DOMContentLoaded', function() {
        initWinnersCarousel();
        
        // Refresh winners every 45 seconds
        setInterval(initWinnersCarousel, 45000);
        
        // Add smooth scroll for CTA buttons
        document.querySelectorAll('a[href^="#"]').forEach(anchor => {
            anchor.addEventListener('click', function (e) {
                e.preventDefault();
                const target = document.querySelector(this.getAttribute('href'));
                if (target) {
                    target.scrollIntoView({
                        behavior: 'smooth',
                        block: 'start'
                    });
                }
            });
        });
        
        // COMPREHENSIVE MOBILE SCROLLING FIXES
        function isMobileDevice() {
            return window.innerWidth <= 768 || /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
        }
        
        if (isMobileDevice()) {
            console.log('Applying comprehensive mobile scrolling fixes...');
            
            // Completely disable scroll restoration
            if ('scrollRestoration' in history) {
                history.scrollRestoration = 'manual';
            }
            
            // Force proper mobile scrolling
            document.documentElement.style.webkitOverflowScrolling = 'touch';
            document.documentElement.style.overflowScrolling = 'touch';
            document.body.style.webkitOverflowScrolling = 'touch';
            document.body.style.overflowScrolling = 'touch';
            document.body.style.overflowX = 'hidden';
            
            // Prevent automatic scroll to top
            let userHasScrolled = false;
            let lastScrollTop = 0;
            
            window.addEventListener('scroll', function(e) {
                const currentScrollTop = window.pageYOffset || document.documentElement.scrollTop;
                
                // Only track if user is actively scrolling
                if (currentScrollTop !== lastScrollTop) {
                    userHasScrolled = true;
                    lastScrollTop = currentScrollTop;
                }
            }, { passive: true });
            
            // Prevent unwanted scroll events
            window.addEventListener('beforeunload', function() {
                if (userHasScrolled) {
                    sessionStorage.setItem('scrollPosition', window.pageYOffset);
                }
            });
            
            // Restore scroll position properly
            window.addEventListener('load', function() {
                const savedPosition = sessionStorage.getItem('scrollPosition');
                if (savedPosition && userHasScrolled) {
                    setTimeout(() => {
                        window.scrollTo(0, parseInt(savedPosition));
                        sessionStorage.removeItem('scrollPosition');
                    }, 100);
                }
            });
            
            // Fix viewport height for mobile browsers
            function setVHProperty() {
                const vh = window.innerHeight * 0.01;
                document.documentElement.style.setProperty('--vh', `${vh}px`);
            }
            
            setVHProperty();
            window.addEventListener('resize', setVHProperty);
            window.addEventListener('orientationchange', function() {
                setTimeout(setVHProperty, 100);
            });
            
            console.log('Comprehensive mobile scrolling fixes applied successfully');
        }
    });
    </script>
</body>
</html>