/* style/games.css */
.page-games {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light grey for general text on dark background */
    background-color: #0A192F; /* Main dark background */
}

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

.page-games-hero-section {
    background: linear-gradient(135deg, #0A192F, #1A3A5E);
    padding: 100px 0;
    text-align: center;
    color: #FFFFFF;
}

.page-games-hero-title {
    font-size: 3.5em;
    color: #FFD700; /* Gold for main titles */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-games-hero-description {
    font-size: 1.2em;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #E0E0E0;
}

.page-games-hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-games-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-games-btn-primary {
    background-color: #FFD700; /* Gold for primary actions */
    color: #0A192F;
}

.page-games-btn-primary:hover {
    background-color: #E6C200;
    transform: translateY(-2px);
}

.page-games-btn-secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-games-btn-secondary:hover {
    background-color: #FFD700;
    color: #0A192F;
    transform: translateY(-2px);
}

.page-games-btn-outline {
    background-color: transparent;
    color: #FFD700;
    border: 1px solid #FFD700;
    padding: 10px 20px;
    font-size: 1em;
}

.page-games-btn-outline:hover {
    background-color: #FFD700;
    color: #0A192F;
}

.page-games-btn-large {
    padding: 18px 40px;
    font-size: 1.3em;
}

.page-games-categories-section,
.page-games-why-choose-section,
.page-games-cta-bottom-section,
.page-games-responsible-gambling-section {
    padding: 80px 0;
    text-align: center;
}

.page-games-section-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 30px;
}

.page-games-section-description {
    font-size: 1.1em;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: #B0B0B0;
}

.page-games-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.page-games-category-card {
    background-color: #1A2B42; /* Slightly lighter dark blue for cards */
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-games-category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
}

.page-games-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #FFD700;
}

.page-games-card-title {
    font-size: 1.8em;
    color: #FFD700;
    padding: 20px 25px 10px;
    margin: 0;
}

.page-games-card-title a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-games-card-title a:hover {
    color: #FFFFFF;
}

.page-games-card-description {
    font-size: 1em;
    line-height: 1.6;
    color: #B0B0B0;
    padding: 0 25px 20px;
    flex-grow: 1;
}

.page-games-card-actions {
    padding: 0 25px 25px;
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.page-games-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-games-feature-item {
    background-color: #1A2B42;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-games-feature-item:hover {
    transform: translateY(-5px);
}

.page-games-feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px #FFD700);
}

.page-games-feature-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-games-feature-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: #B0B0B0;
}

.page-games-cta-bottom-section {
    background-color: #1A2B42;
    padding: 100px 0;
}

.page-games-cta-title {
    font-size: 3em;
    color: #FFD700;
    margin-bottom: 25px;
}

.page-games-cta-description {
    font-size: 1.2em;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #E0E0E0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-games-hero-title {
        font-size: 2.8em;
    }
    .page-games-section-title,
    .page-games-cta-title {
        font-size: 2.2em;
    }
    .page-games-category-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-games-hero-section,
    .page-games-categories-section,
    .page-games-why-choose-section,
    .page-games-cta-bottom-section,
    .page-games-responsible-gambling-section {
        padding: 60px 0;
    }
    .page-games-hero-title {
        font-size: 2.2em;
    }
    .page-games-hero-description {
        font-size: 1em;
    }
    .page-games-hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-games-btn-large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-games-section-title,
    .page-games-cta-title {
        font-size: 1.8em;
    }
    .page-games-section-description,
    .page-games-cta-description {
        font-size: 1em;
    }
    .page-games-category-grid,
    .page-games-features-grid {
        grid-template-columns: 1fr;
    }
    .page-games-card-title {
        font-size: 1.5em;
    }
    .page-games-feature-title {
        font-size: 1.3em;
    }
}

@media (max-width: 480px) {
    .page-games-hero-title {
        font-size: 1.8em;
    }
    .page-games-section-title,
    .page-games-cta-title {
        font-size: 1.5em;
    }
    .page-games-btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-games-card-actions {
        flex-direction: column;
    }
}