/* style/games.css */

/* General Page Styles */
.page-games {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
}

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

.page-games-section {
    padding: 60px 0;
    text-align: center;
}

.page-games-section:nth-of-type(even) {
    background-color: #eef4f8; /* Light background to alternate sections */
}

.page-games-section-title {
    font-size: 2.8em;
    color: #003366; /* Primary color for main titles */
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-games-section-subtitle {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 40px;
}

.page-games-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1em;
    cursor: pointer;
    border: 2px solid transparent;
}

.page-games-btn-primary {
    background-color: #FFCC00; /* Secondary color for primary actions */
    color: #003366; /* Dark text for light background */
    border-color: #FFCC00;
}

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

.page-games-btn-secondary {
    background-color: transparent;
    color: #003366; /* Primary color for text */
    border-color: #003366;
    margin-left: 15px;
}

.page-games-btn-secondary:hover {
    background-color: #003366;
    color: #FFCC00; /* Secondary color for text on hover */
    transform: translateY(-2px);
}

.page-games-btn-hero {
    padding: 15px 35px;
    font-size: 1.3em;
    background-color: #FFCC00;
    color: #003366;
    border-color: #FFCC00;
}

.page-games-btn-hero:hover {
    background-color: #e6b800;
    border-color: #e6b800;
}

.page-games-cta-center {
    margin-top: 40px;
}

/* Hero Section */
.page-games-hero {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    color: #fff;
}

.page-games-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-games-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.8), rgba(255, 204, 0, 0.4)); /* Primary & Secondary with transparency */
    z-index: 2;
}

.page-games-hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.page-games-hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: #fff;
}

.page-games-hero-description {
    font-size: 1.4em;
    margin-bottom: 40px;
    color: #eee;
}

/* Why Choose Section */
.page-games-why-choose {
    background-color: #fff;
}

.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: #fefefe;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-games-feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-games-feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

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

.page-games-feature-text {
    color: #555;
    font-size: 1em;
}

/* Categories Section */
.page-games-categories {
    background-color: #eef4f8;
}

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

.page-games-category-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-games-category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-games-category-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.page-games-category-title {
    font-size: 1.6em;
    color: #003366;
    padding: 20px 20px 10px;
    font-weight: bold;
}

.page-games-category-description {
    color: #666;
    padding: 0 20px 20px;
    flex-grow: 1;
}

.page-games-category-actions {
    padding: 0 20px 20px;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}

/* How To Play Section */
.page-games-how-to-play {
    background-color: #fff;
}

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

.page-games-step-item {
    background-color: #fefefe;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-games-step-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    object-fit: contain;
    border-radius: 50%;
    background-color: #FFCC00; /* Secondary color for icons */
    padding: 10px;
}

.page-games-step-title {
    font-size: 1.4em;
    color: #003366;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-games-step-text {
    color: #555;
    font-size: 0.95em;
    margin-bottom: 20px;
}

/* Promotions Section */
.page-games-promotions {
    background-color: #eef4f8;
}

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

.page-games-promo-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding-bottom: 20px;
}

.page-games-promo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-games-promo-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-games-promo-title {
    font-size: 1.5em;
    color: #003366;
    margin-bottom: 10px;
    padding: 0 20px;
}

.page-games-promo-description {
    color: #666;
    font-size: 0.95em;
    padding: 0 20px;
}

.page-games-promo-note {
    margin-top: 30px;
    font-size: 0.9em;
    color: #777;
}

/* Safety and Support Section */
.page-games-safety-support {
    background-color: #fff;
}

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

.page-games-info-item {
    background-color: #fefefe;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.page-games-info-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    object-fit: contain;
    background-color: #003366; /* Primary color for icons */
    border-radius: 50%;
    padding: 10px;
}

.page-games-info-title {
    font-size: 1.5em;
    color: #003366;
    margin-bottom: 10px;
}

.page-games-info-text {
    color: #555;
    font-size: 1em;
}

/* Final CTA Section */
.page-games-final-cta {
    background: linear-gradient(135deg, #003366, #0055aa); /* Darker blue gradient */
    color: #fff;
    padding: 80px 0;
}

.page-games-final-cta-content {
    max-width: 900px;
}

.page-games-final-cta-title {
    font-size: 3em;
    color: #FFCC00; /* Secondary color for emphasis */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-games-final-cta-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-games-hero-title {
        font-size: 2.8em;
    }

    .page-games-hero-description {
        font-size: 1.2em;
    }

    .page-games-section-title {
        font-size: 2.2em;
    }

    .page-games-final-cta-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-games-hero {
        height: 400px;
    }

    .page-games-hero-title {
        font-size: 2.2em;
    }

    .page-games-hero-description {
        font-size: 1em;
    }

    .page-games-btn {
        padding: 10px 20px;
        font-size: 1em;
    }

    .page-games-btn-hero {
        padding: 12px 25px;
        font-size: 1.1em;
    }

    .page-games-section {
        padding: 40px 0;
    }

    .page-games-section-title {
        font-size: 1.8em;
    }

    .page-games-features-grid, .page-games-category-list, .page-games-steps-grid, .page-games-promo-grid, .page-games-info-grid {
        grid-template-columns: 1fr;
    }

    .page-games-category-actions {
        justify-content: center;
        gap: 15px;
    }

    .page-games-btn-secondary {
        margin-left: 0;
    }

    .page-games-final-cta-title {
        font-size: 2em;
    }

    .page-games-final-cta-description {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-games-hero-title {
        font-size: 1.8em;
    }

    .page-games-hero-description {
        font-size: 0.9em;
    }

    .page-games-section-title {
        font-size: 1.5em;
    }

    .page-games-feature-title, .page-games-category-title, .page-games-step-title, .page-games-promo-title, .page-games-info-title {
        font-size: 1.3em;
    }

    .page-games-btn-hero {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .page-games-category-actions {
        flex-direction: column;
        align-items: center;
    }

    .page-games-btn-primary, .page-games-btn-secondary {
        width: 100%;
        max-width: 250px;
    }
}