/* Base Styles */
:root {
    --primary-color: #0c4b8d;
    --secondary-color: #1a73e8;
    --accent-color: #ffb74d;
    --text-color: #333333;
    --light-text: #ffffff;
    --background-color: #ffffff;
    --light-background: #f7f9ff;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Header */
header {
    background-color: var(--primary-color);
    padding: 15px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 60px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--light-text);
    font-weight: 500;
    padding: 8px 15px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    color: var(--light-text);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 700;
    display: inline-block;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #ffa726;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--light-background);
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--background-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* Games Module Section */
.games-module {
    padding: 80px 0;
}

.games-module h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.games-module > .container > p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

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

.game-card {
    background-color: var(--light-background);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.game-icon {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.game-card h3 {
    margin-bottom: 15px;
}

/* News Section */
.news-section {
    padding: 80px 0;
    background-color: var(--light-background);
}

.news-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: var(--background-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    margin-bottom: 15px;
}

.footer-links h4, .footer-partners h4 {
    color: var(--light-text);
    margin-bottom: 20px;
}

.footer-links ul, .footer-partners ul {
    list-style: none;
}

.footer-links ul li, .footer-partners ul li {
    margin-bottom: 10px;
}

.footer-links ul li a, .footer-partners ul li a {
    color: var(--light-text);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links ul li a:hover, .footer-partners ul li a:hover {
    opacity: 1;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav {
        margin-top: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .feature-grid, 
    .games-grid, 
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* Accessibility Enhancements */
:focus {
    outline: 3px solid var(--secondary-color);
    outline-offset: 3px;
}

/* Print Styles */
@media print {
    header, footer, .btn-primary {
        display: none;
    }

    body {
        color: black;
        background-color: white;
    }

    a {
        color: black;
        text-decoration: underline;
    }
}
