 :root {
            --primary-color: #4A90E2;
            --secondary-color: #357ABD;
            --accent-color: #6BB2FF;
            --text-dark: #2d3436;
            --text-medium: #5a6570;
        }

        /* Modern Header with Animation */
        .header-nav {
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(0,0,0,0.08);
            transition: all 0.3s ease;
        }

        .header-nav.scrolled {
            box-shadow: 0 4px 20px rgba(0,0,0,0.05);
        }

        
/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Smooth transitions for elements */
section {
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Animation classes */
.section-hidden {
    opacity: 0;
    transform: translateY(20px);
}

.section-visible {
    opacity: 1;
    transform: translateY(0);
}

/* games section css */

.gameplay-section {
            padding: 100px 0 50px;
            background: #f8f9fa;
        }

        .game-container {
            background: white;
            border-radius: 15px;
            box-shadow: 0 8px 30px rgba(0,0,0,0.05);
            overflow: hidden;
        }

        #gameCanvas {
            width: 100%;
            height: 500px;
            background: #f0f4f8;
        }

        .game-controls {
            padding: 20px;
            background: white;
            border-top: 3px solid var(--primary-color);
        }

        .score-board {
            background: var(--primary-color);
            color: white;
            padding: 15px;
            border-radius: 10px;
        }

        .ad-unit {
            background: rgba(74, 144, 226, 0.05);
            border: 2px dashed rgba(74, 144, 226, 0.3);
            border-radius: 8px;
            padding: 20px;
            margin: 30px 0;
            text-align: center;
        }

        .game-instructions {
            background: white;
            padding: 25px;
            border-radius: 12px;
            border-left: 4px solid var(--accent-color);
        }

        @media (max-width: 768px) {
            .gameplay-section {
                padding: 80px 0 30px;
            }
            
            #gameCanvas {
                height: 300px;
            }
        }

        /* Footer Section */

.footer-section {
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    color: white;
    padding: 60px 0;
}

.footer-section h5 {
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-section a.link-light-hover {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-section a.link-light-hover:hover {
    color: white;
}

.footer-section .form-control {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 8px 15px;
    transition: all 0.3s ease;
}

.footer-section .form-control:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: none;
}

.btn-primary-gradient {
    background: linear-gradient(135deg, #6BB2FF, #4A90E2);
    border: none;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.social-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .footer-section h5 {
        font-size: 1.2rem;
    }

    .footer-section p {
        font-size: 0.85rem;
    }
}