/* style/e-games.css */

/* General styling for the e-games page */
.page-e-games {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #0A2463; /* Dark blue text on light backgrounds */
    line-height: 1.6;
    background-color: #f8f9fa; /* Very light grey background */
}

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

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

.page-e-games .page-e-games__section:nth-of-type(even) {
    background-color: #e9ecef; /* Slightly darker light grey for alternating sections */
}

.page-e-games .page-e-games__section-title {
    font-size: 2.8em;
    color: #0A2463; /* Deep blue for titles */
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-e-games .page-e-games__sub-title {
    font-size: 1.8em;
    color: #0A2463;
    margin-bottom: 20px;
}

.page-e-games .highlight {
    color: #0A2463; /* Keeping highlight within main text color for readability */
    font-weight: bold;
}

/* Hero Section */
.page-e-games__hero {
    background: linear-gradient(135deg, #0A2463 0%, #1a3a7a 100%); /* Gradient dark blue */
    color: #FFFFFF; /* White text on dark background */
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.page-e-games__hero-content {
    max-width: 600px;
    margin-right: 40px;
    z-index: 1;
    padding-left: 20px;
}

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

.page-e-games__hero-title .highlight {
    color: #FFD700; /* Gold highlight on dark background */
}

.page-e-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #e0e0e0; /* Slightly off-white for description */
}

.page-e-games__hero-description .highlight {
    color: #FFD700; /* Gold highlight */
}

.page-e-games__hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-e-games__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 1.1em;
    white-space: nowrap;
}

.page-e-games__btn--primary {
    background-color: #FFD700; /* Gold button */
    color: #0A2463; /* Deep blue text */
    border: 2px solid #FFD700;
}

.page-e-games__btn--primary:hover {
    background-color: #e6c200; /* Darker gold on hover */
    transform: translateY(-2px);
}

.page-e-games__btn--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-e-games__btn--secondary:hover {
    background-color: #FFD700;
    color: #0A2463; /* Deep blue text on gold hover */
    transform: translateY(-2px);
}

.page-e-games__btn--small {
    padding: 8px 18px;
    font-size: 0.95em;
}

.page-e-games__hero-image-wrapper {
    flex-shrink: 0;
    width: 500px; /* Fixed width for image container */
    height: 350px; /* Fixed height */
    position: relative;
    margin-right: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-e-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Introduction Section */
.page-e-games__introduction p {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Game Types Section */
.page-e-games__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-e-games__game-item {
    background-color: #FFFFFF;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-e-games__game-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.page-e-games__game-image {
    max-width: 100%;
    height: 180px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.page-e-games__game-title {
    font-size: 1.6em;
    color: #0A2463;
    margin-bottom: 15px;
}

.page-e-games__game-description {
    font-size: 1em;
    color: #333;
    margin-bottom: 20px;
    text-align: justify;
    flex-grow: 1; /* Allows description to take up available space */
}

.page-e-games__game-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    text-align: left;
    color: #333;
}

.page-e-games__game-features li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    font-size: 0.95em;
}

.page-e-games__feature-icon {
    color: #FFD700;
    font-size: 1.2em;
    margin-right: 10px;
}


/* Advantages Section */
.page-e-games__advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-e-games__advantage-item {
    background-color: #FFFFFF;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-e-games__advantage-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.page-e-games__advantage-icon {
    font-size: 3em;
    color: #FFD700; /* Gold icons */
    margin-bottom: 20px;
    display: block;
}

.page-e-games__advantage-icon--design,
.page-e-games__advantage-icon--speed,
.page-e-games__advantage-icon--support {
    font-size: 3em; /* For unicode emojis */
    line-height: 1;
}

.page-e-games__advantage-title {
    font-size: 1.5em;
    color: #0A2463;
    margin-bottom: 15px;
}

.page-e-games__advantage-item p {
    font-size: 1em;
    color: #333;
    text-align: justify;
}

/* VIP Program Section */
.page-e-games__vip-program {
    background-color: #0A2463; /* Dark blue background */
    color: #FFFFFF; /* White text */
    padding: 80px 0;
}

.page-e-games__vip-program .page-e-games__section-title {
    color: #FFD700; /* Gold title on dark background */
}

.page-e-games__vip-program .page-e-games__section-title::after {
    background-color: #FFFFFF; /* White underline */
}

.page-e-games__vip-program p {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0; /* Slightly off-white for body text */
}

.page-e-games__vip-program .highlight {
    color: #FFD700; /* Gold highlight on dark background */
}

.page-e-games__vip-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
    text-align: left;
}

.page-e-games__vip-text {
    flex: 1;
    min-width: 300px;
}

.page-e-games__vip-text .page-e-games__sub-title {
    color: #FFD700; /* Gold sub-title */
    margin-bottom: 25px;
}

.page-e-games__vip-benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-e-games__vip-benefits li {
    margin-bottom: 15px;
    font-size: 1.1em;
    display: flex;
    align-items: flex-start;
    color: #FFFFFF;
}

.page-e-games__benefit-icon {
    font-size: 1.5em;
    color: #FFD700;
    margin-right: 15px;
    line-height: 1;
    flex-shrink: 0;
}

.page-e-games__vip-image-wrapper {
    flex-shrink: 0;
    width: 450px;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-e-games__vip-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Tips Section */
.page-e-games__tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-e-games__tip-item {
    background-color: #FFFFFF;
    border-left: 5px solid #FFD700; /* Gold accent */
    border-radius: 8px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.page-e-games__tip-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-e-games__tip-title {
    font-size: 1.4em;
    color: #0A2463;
    margin-bottom: 10px;
}

.page-e-games__tip-item p {
    font-size: 0.95em;
    color: #555;
}

/* FAQ Section */
.page-e-games__faq .page-e-games__container {
    max-width: 900px;
}

.page-e-games__accordion {
    margin-top: 40px;
    text-align: left;
}

.page-e-games__accordion-item {
    background-color: #FFFFFF;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-e-games__accordion-header {
    width: 100%;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #0A2463;
    background-color: #f0f2f5; /* Light grey header */
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-e-games__accordion-header:hover {
    background-color: #e2e6ea;
}

.page-e-games__accordion-header::after {
    content: '+';
    font-size: 1.5em;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.page-e-games__accordion-header.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-e-games__accordion-content {
    padding: 0 25px;
    background-color: #FFFFFF;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-e-games__accordion-content p {
    padding-bottom: 15px;
    font-size: 1em;
    color: #444;
    text-align: justify;
}

/* Final CTA Section */
.page-e-games__cta-final {
    background-color: #FFD700; /* Gold background */
    color: #0A2463; /* Deep blue text */
    padding: 70px 0;
}

.page-e-games__cta-final-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #0A2463; /* Deep blue title on gold background */
}

.page-e-games__cta-final-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-e-games__cta-final-actions {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.page-e-games__cta-final .page-e-games__btn--primary {
    background-color: #0A2463; /* Deep blue button */
    color: #FFD700; /* Gold text */
    border: 2px solid #0A2463;
}

.page-e-games__cta-final .page-e-games__btn--primary:hover {
    background-color: #1a3a7a; /* Slightly lighter blue */
    color: #FFFFFF; /* White text on hover */
}

.page-e-games__cta-final .page-e-games__btn--secondary {
    background-color: transparent;
    color: #0A2463; /* Deep blue text */
    border: 2px solid #0A2463;
}

.page-e-games__cta-final .page-e-games__btn--secondary:hover {
    background-color: #0A2463;
    color: #FFD700; /* Gold text on hover */
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-e-games__hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 0;
    }

    .page-e-games__hero-content {
        margin-right: 0;
        margin-bottom: 40px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .page-e-games__hero-title {
        font-size: 2.8em;
    }

    .page-e-games__hero-image-wrapper {
        width: 80%;
        height: auto;
        max-width: 500px;
        margin-right: 0;
    }

    .page-e-games__vip-content {
        flex-direction: column;
        text-align: center;
    }

    .page-e-games__vip-image-wrapper {
        width: 80%;
        max-width: 450px;
        height: auto;
    }

    .page-e-games__vip-benefits {
        text-align: center;
        padding-left: 0;
    }

    .page-e-games__vip-benefits li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-e-games__section-title {
        font-size: 2.2em;
    }
    .page-e-games__hero-title {
        font-size: 2.4em;
    }
    .page-e-games__hero-description {
        font-size: 1.1em;
    }
    .page-e-games__btn {
        padding: 10px 20px;
        font-size: 1em;
    }
    .page-e-games__game-item,
    .page-e-games__advantage-item {
        padding: 25px;
    }
    .page-e-games__game-title {
        font-size: 1.4em;
    }
    .page-e-games__advantage-title {
        font-size: 1.3em;
    }
    .page-e-games__cta-final-title {
        font-size: 2.5em;
    }
    .page-e-games__cta-final-description {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-e-games__section {
        padding: 40px 0;
    }
    .page-e-games__section-title {
        font-size: 1.8em;
    }
    .page-e-games__hero {
        padding: 40px 0;
    }
    .page-e-games__hero-title {
        font-size: 2em;
    }
    .page-e-games__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-e-games__btn {
        width: 100%;
        text-align: center;
    }
    .page-e-games__game-grid,
    .page-e-games__advantage-grid,
    .page-e-games__tips-grid {
        grid-template-columns: 1fr;
    }
    .page-e-games__game-item,
    .page-e-games__advantage-item,
    .page-e-games__tip-item {
        padding: 20px;
    }
    .page-e-games__cta-final-title {
        font-size: 2em;
    }
    .page-e-games__cta-final-actions {
        flex-direction: column;
        gap: 15px;
    }
}