<?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(?, INTERVAL 7 DAYS) ORDER BY result_date DESC";
    if ($stmt = mysqli_prepare($link, $sql)) {
        mysqli_stmt_bind_param($stmt, 's', $today);
        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">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Shubank - India's Most Trusted Number Prediction Platform</title>
    <meta name="description" content="Join Shubank, India's premier number prediction platform. Play Disawar, Delhi Bazaar, Shree Ganesh, Faridabad, Ghaziabad, Radhey-Radhey & Gali with highest rates and same-day withdrawals.">
    <meta name="keywords" content="Shubank, number prediction, matka, disawar, delhi bazaar, online gaming">
    <link rel="stylesheet" href="style.css">
</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 Platform</span>
                    <span class="eyebrow premium">🔒 100% Secure & Trusted</span>
                </div>
                
                <div class="hero-title-container">
                    <h1 class="hero-title">
                       
                        <span class="title-line highlight premium">India's Most Trusted Number Prediction Platform</span>
                    </h1>
                </div>

                <div class="hero-description">
                    <p class="hero-text primary">Experience the thrill of number prediction with Shubank - your gateway to <strong>Disawar, Delhi Bazaar, Shree Ganesh, Faridabad, Ghaziabad, Radhey-Radhey, and Gali</strong> markets. Built for players who enjoy testing their intuition and spotting number patterns, Shubank provides a simple, secure, and convenient way to guess and win daily rewards.</p>
                    <p class="hero-text secondary">Shubank is created to bring all major markets under one reliable roof, so players don't need to visit multiple sources. Our platform delivers a smooth and transparent experience from start to finish, making it easy for both newcomers and experienced participants to engage in their favourite markets with confidence.</p>
                </div>
                
                <div class="hero-features-container">
                    <div class="hero-features">
                        <div class="hero-feature premium">
                            <span class="feature-icon">⚡</span>
                            <span>Same Day Withdrawal</span>
                        </div>
                        <div class="hero-feature premium">
                            <span class="feature-icon">🎯</span>
                            <span>Highest Market Rates</span>
                        </div>
                        <div class="hero-feature premium">
                            <span class="feature-icon">🔒</span>
                            <span>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">
                            <span class="btn-icon">🚀</span>
                            <span>Start Playing Now</span>
                        </a>
                        <a href="users.php" class="cta-btn secondary premium">
                            <span class="btn-icon">📝</span>
                            <span>Create Free Account</span>
                        </a>
                    </div>
                </div>
            </div>
            <div class="hero-media">
                <div class="hero-card premium">
                    <div class="card-glow"></div>
                    <div class="card-content">
                        <img src="images/numerology-brain.png" alt="Shubank Number Prediction Platform">
                        <div class="card-overlay">
                            <div class="overlay-content">
                                <div class="pulse-indicator">
                                    <span class="pulse-dot"></span>
                                    <span class="pulse-text">Live Markets</span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div class="hero-stats-container">
                    <div class="hero-stats">
                        <div class="stat premium">
                            <div class="stat-number">1,000+</div>
                            <div class="stat-label">Active Players</div>
                        </div>
                        <div class="stat premium">
                            <div class="stat-number">₹10 Lacs+</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">
            <div class="trust-grid">
                <div class="trust-item">
                    <div class="trust-icon">🏆</div>
                    <div class="trust-content">
                        <h3>India's #1 Platform</h3>
                        <p>Most trusted by players nationwide</p>
                    </div>
                </div>
                <div class="trust-item">
                    <div class="trust-icon">⚡</div>
                    <div class="trust-content">
                        <h3>Instant 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</h3>
                        <p>Bank-grade security & encryption</p>
                    </div>
                </div>
                <div class="trust-item">
                    <div class="trust-icon">📱</div>
                    <div class="trust-content">
                        <h3>Mobile Optimized</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 Market Results</h2>
                <p>Real-time updates from all major markets - stay ahead of the game!</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</h2>
                <p>Discover what makes us India's most trusted number prediction platform</p>
            </div>
            
            <div class="features-grid-enhanced">
                <div class="feature-card">
                    <div class="feature-icon">💰</div>
                    <h3>Highest Market Rates</h3>
                    <p>Get the best returns with our industry-leading payout rates across all markets</p>
                    <div class="feature-highlight">Up to 900x Returns</div>
                </div>
                
                <div class="feature-card">
                    <div class="feature-icon">⚡</div>
                    <h3>Lightning Fast Withdrawals</h3>
                    <p>Get your 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>Bank-Level Security</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 Markets</h3>
                    <p>Access all popular markets in one secure platform</p>
                    <div class="feature-highlight">7 Active Markets</div>
                </div>
                
                <div class="feature-card">
                    <div class="feature-icon">📱</div>
                    <h3>Mobile First Design</h3>
                    <p>Perfect gaming 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 Support</h3>
                    <p>Round-the-clock customer support for all your queries</p>
                    <div class="feature-highlight">Always Available</div>
                </div>
                
                <div class="feature-card">
                    <div class="feature-icon">🎁</div>
                    <h3>Daily Bonuses & Rewards</h3>
                    <p>Earn exciting bonuses and rewards with our loyalty program</p>
                    <div class="feature-highlight">Extra Benefits</div>
                </div>
                
                <div class="feature-card">
                    <div class="feature-icon">📊</div>
                    <h3>Live Results & Analytics</h3>
                    <p>Access real-time results and detailed analytics for better predictions</p>
                    <div class="feature-highlight">Real-Time Data</div>
                </div>
            </div>
        </div>
    </section>

    <!-- Journey Section -->
    <section class="journey-section">
        <div class="container">
            <div class="section-header">
                <h2>🚀 Your Journey to Success</h2>
                <p>Get started 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>
                    <h3>Quick Registration</h3>
                    <p>Sign up with basic details in under 2 minutes</p>
                </div>
                
                <div class="journey-step">
                    <div class="step-number">2</div>
                    <div class="journey-icon">💳</div>
                    <h3>Secure Deposit</h3>
                    <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>
                    <h3>Choose & Play</h3>
                    <p>Select your market and place your predictions</p>
                </div>
                
                <div class="journey-step">
                    <div class="step-number">4</div>
                    <div class="journey-icon">🏆</div>
                    <h3>Win & Withdraw</h3>
                    <p>Collect your winnings with instant withdrawal</p>
                </div>
            </div>
        </div>
    </section>

    <!-- Testimonials Section -->
    <section class="testimonials-section">
        <div class="container">
            <div class="section-header">
                <h2>💬 What Our Players Say</h2>
                <p>Join thousands of satisfied players who trust Shubank</p>
            </div>
            
            <div class="testimonials-grid">
                <div class="testimonial-card">
                    <div class="testimonial-stars">⭐⭐⭐⭐⭐</div>
                    <p>"Best platform for number prediction! Fast withdrawals and fair play. Been using for 2 years."</p>
                    <div class="testimonial-author">
                        <strong>Rajesh Kumar</strong>
                        <span>Delhi</span>
                    </div>
                </div>
                
                <div class="testimonial-card">
                    <div class="testimonial-stars">⭐⭐⭐⭐⭐</div>
                    <p>"Shubank changed my life! Regular wins and instant payouts. Highly recommended for all players."</p>
                    <div class="testimonial-author">
                        <strong>Priya Sharma</strong>
                        <span>Mumbai</span>
                    </div>
                </div>
                
                <div class="testimonial-card">
                    <div class="testimonial-stars">⭐⭐⭐⭐⭐</div>
                    <p>"Safe, secure, and reliable. The mobile app works perfectly. Customer support is excellent!"</p>
                    <div class="testimonial-author">
                        <strong>Amit Singh</strong>
                        <span>Bangalore</span>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- CTA Section -->
    <section class="cta-section">
        <div class="container">
            <div class="cta-content">
                <h2>🎯 Ready to Start Winning?</h2>
                <p>Join 50,000+ players who trust Shubank for the best number prediction experience in India</p>
                <div class="cta-buttons">
                    <a href="users.php" class="cta-btn primary large">🚀 Join Shubank Now</a>
                    <a href="about.php" class="cta-btn secondary large">📖 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</h3>
            <p><strong>Age Restriction:</strong> You must be 18 years or older to participate. This platform is for entertainment purposes only.</p>
            <p><strong>Legal Compliance:</strong> Please ensure that participation in such activities is legal in your jurisdiction before playing.</p>
            <p><strong>Responsible Gaming:</strong> Play responsibly and within your means. Gambling can be addictive.</p>
        </div>
    </div>

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

    <!-- Enhanced Styles -->
    <style>
    /* 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); }
    }

    .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;
    }

    .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;
    }

    .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;
        }
        
        .hero-section-custom .hero-grid-custom {
            display: grid !important;
            grid-template-columns: 1fr !important;
            gap: 40px !important;
            text-align: center;
        }
        
        .hero-section-custom .hero-content {
            grid-column: 1 !important;
            order: 2;
        }
        
        .hero-section-custom .hero-media {
            grid-column: 1 !important;
            order: 1;
            max-width: 400px !important;
            margin: 0 auto;
        }
        
        .hero-title {
            font-size: 2.5rem;
            text-align: center;
            letter-spacing: -0.01em;
        }
        
        .title-line {
            margin-bottom: 10px;
        }
        
        .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;
        }
        
        .hero-text {
            font-size: 1rem;
        }
        
        .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'
                    });
                }
            });
        });
    });
    </script>
</body>
</html>