/* style/games.css */

/* General Page Styling */
.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-title {
    font-size: 2.5em;
    color: #003366;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFCC00;
    border-radius: 2px;
}

.page-games__section-description {
    font-size: 1.1em;
    color: #555;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.page-games__highlight {
    color: #FFCC00;
}

/* Buttons */
.page-games__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.page-games__btn--primary {
    background-color: #FFCC00;
    color: #003366;
    border: 2px solid #FFCC00;
}

.page-games__btn--primary:hover {
    background-color: #e6b800;
    border-color: #e6b800;
}

.page-games__btn--secondary {
    background-color: transparent;
    color: #003366;
    border: 2px solid #003366;
}

.page-games__btn--secondary:hover {
    background-color: #003366;
    color: #fff;
}

.page-games__btn--small {
    padding: 8px 15px;
    font-size: 0.9em;
}

.page-games__btn--large {
    padding: 15px 35px;
    font-size: 1.2em;
}

/* Hero Section */
.page-games__hero-section {
    background: linear-gradient(135deg, #003366 0%, #001a33 100%); /* Darker blue gradient */
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-games__hero-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 0;
}

.page-games__hero-section .page-games__container {
    position: relative;
    z-index: 1;
}

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

.page-games__hero-description {
    font-size: 1.3em;
    max-width: 900px;
    margin: 0 auto 40px;
    color: #e0e0e0;
}

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

/* Intro Section */
.page-games__intro-section {
    padding: 80px 0;
    background-color: #fff;
}

.page-games__features-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 40px auto 0;
}

.page-games__features-list li {
    font-size: 1.1em;
    color: #333;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-games__icon {
    color: #FFCC00;
    font-size: 1.2em;
    font-weight: bold;
}

/* Game Categories Section */
.page-games__game-categories {
    padding: 80px 0;
    background-color: #f2f7fc;
}

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

.page-games__category-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-games__category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-games__category-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.page-games__category-title {
    font-size: 1.7em;
    color: #003366;
    margin: 20px 15px 10px;
}

.page-games__category-title a {
    color: #003366;
    text-decoration: none;
}

.page-games__category-title a:hover {
    color: #FFCC00;
}

.page-games__category-description {
    font-size: 1em;
    color: #666;
    padding: 0 20px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-games__category-card .page-games__btn {
    margin: 0 10px 20px;
}

.page-games__btn--play-now {
    background-color: #003366;
    color: #fff;
    border-color: #003366;
}

.page-games__btn--play-now:hover {
    background-color: #001a33;
    border-color: #001a33;
}

/* Why G088 Section */
.page-games__why-g088 {
    padding: 80px 0;
    background-color: #fff;
}

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

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

.page-games__benefit-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    object-fit: contain;
}

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

.page-games__benefit-description {
    color: #666;
    font-size: 0.95em;
}

/* Offers Section */
.page-games__offers-section {
    padding: 80px 0;
    background-color: #f2f7fc;
}

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

.page-games__offer-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 30px;
}

.page-games__offer-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-games__offer-title {
    font-size: 1.8em;
    color: #003366;
    margin-bottom: 15px;
    padding: 0 20px;
}

.page-games__offer-description {
    color: #666;
    font-size: 1em;
    padding: 0 20px;
    margin-bottom: 30px;
}

/* Get Started Section */
.page-games__get-started {
    padding: 80px 0;
    background-color: #fff;
}

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

.page-games__step-item {
    text-align: center;
    padding: 40px 20px;
    border: 2px solid #eee;
    border-radius: 10px;
    position: relative;
    background-color: #fefefe;
    transition: border-color 0.3s ease;
}

.page-games__step-item:hover {
    border-color: #FFCC00;
}

.page-games__step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: #003366;
    color: #fff;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    border: 3px solid #FFCC00;
}

.page-games__step-title {
    font-size: 1.6em;
    color: #003366;
    margin-bottom: 15px;
}

.page-games__step-description {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 25px;
}

/* Responsible Gaming Section */
.page-games__responsible-gaming {
    padding: 80px 0;
    background-color: #e6f0f7;
    text-align: center;
}

/* FAQ Section */
.page-games__faq-section {
    padding: 80px 0;
    background-color: #fff;
}

.page-games__faq-items {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-games__faq-item {
    background-color: #fefefe;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 25px 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-games__faq-question {
    font-size: 1.3em;
    color: #003366;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-games__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: #FFCC00;
    transition: transform 0.3s ease;
}

.page-games__faq-item.active .page-games__faq-question::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-games__faq-answer {
    font-size: 1em;
    color: #555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding-top: 0;
}

.page-games__faq-item.active .page-games__faq-answer {
    max-height: 200px; /* Adjust as needed */
    padding-top: 15px;
}

/* Final CTA Section */
.page-games__final-cta {
    background: linear-gradient(90deg, #003366, #FFCC00);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.page-games__final-cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #fff;
}

.page-games__final-cta-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #f0f0f0;
}

.page-games__final-cta .page-games__btn--primary {
    background-color: #fff;
    color: #003366;
    border-color: #fff;
}

.page-games__final-cta .page-games__btn--primary:hover {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-games__hero-title {
        font-size: 2.8em;
    }
    .page-games__hero-description {
        font-size: 1.1em;
    }
    .page-games__section-title {
        font-size: 2em;
    }
    .page-games__section-description {
        font-size: 1em;
    }
    .page-games__category-grid, .page-games__benefits-grid, .page-games__offer-cards, .page-games__steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-games__hero-section {
        padding: 80px 0;
    }
    .page-games__hero-title {
        font-size: 2.2em;
    }
    .page-games__hero-description {
        font-size: 1em;
    }
    .page-games__hero-cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-games__btn--large {
        width: 80%;
        margin: 0 auto;
    }
    .page-games__section-title {
        font-size: 1.8em;
    }
    .page-games__category-grid, .page-games__benefits-grid, .page-games__offer-cards, .page-games__steps-grid {
        grid-template-columns: 1fr;
    }
    .page-games__category-card .page-games__btn {
        margin: 0 5px 15px;
    }
    .page-games__final-cta-title {
        font-size: 2.5em;
    }
}

@media (max-width: 480px) {
    .page-games__hero-title {
        font-size: 1.8em;
    }
    .page-games__hero-description {
        font-size: 0.9em;
    }
    .page-games__btn--large {
        width: 90%;
    }
    .page-games__section-title {
        font-size: 1.6em;
    }
    .page-games__final-cta-title {
        font-size: 2em;
    }
    .page-games__category-title {
        font-size: 1.5em;
    }
    .page-games__faq-question {
        font-size: 1.1em;
    }
}