/* style/games.css */
.page-games {
    font-family: 'Arial', sans-serif;
    color: #1A2B4C; /* Dark blue for primary text */
    line-height: 1.6;
}

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

.page-games__hero-section {
    background: linear-gradient(135deg, #1A2B4C 0%, #3a4f7c 100%); /* Dark blue gradient */
    color: #FFFFFF; /* White text on dark background */
    padding: 100px 0;
    text-align: center;
}

.page-games__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFD700; /* Gold for main title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-games__hero-description {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #E0E0E0; /* Light gray for description */
}

.page-games__hero-actions {
    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: all 0.3s ease;
    cursor: pointer;
}

.page-games__btn--primary {
    background-color: #FFD700; /* Gold button */
    color: #1A2B4C; /* Dark blue text on gold */
    border: 2px solid #FFD700;
}

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

.page-games__btn--secondary {
    background-color: #1A2B4C; /* Dark blue button */
    color: #FFD700; /* Gold text on dark blue */
    border: 2px solid #FFD700;
}

.page-games__btn--secondary:hover {
    background-color: #0f1c3a;
    border-color: #e6c200;
}

.page-games__btn--text {
    background: none;
    border: none;
    color: #1A2B4C; /* Dark blue text */
    padding: 0;
    text-decoration: underline;
    font-size: 1em;
}

.page-games__btn--text:hover {
    color: #FFD700; /* Gold on hover */
}

.page-games__btn--link {
    background-color: #1A2B4C; /* Dark blue button */
    color: #FFD700; /* Gold text */
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    border: 1px solid #FFD700;
}

.page-games__btn--link:hover {
    background-color: #0f1c3a;
    border-color: #e6c200;
}

.page-games__btn--large {
    padding: 18px 35px;
    font-size: 1.2em;
    background-color: #FFD700;
    color: #1A2B4C;
    border: 2px solid #FFD700;
}

.page-games__btn--large:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

.page-games__btn--outline {
    padding: 18px 35px;
    font-size: 1.2em;
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-games__btn--outline:hover {
    background-color: #FFD700;
    color: #1A2B4C;
}

.page-games__section-title {
    font-size: 2.5em;
    color: #1A2B4C; /* Dark blue for section titles */
    text-align: center;
    margin-bottom: 30px;
    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: #FFD700; /* Gold underline */
    border-radius: 2px;
}

.page-games__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    color: #5f6b82; /* Muted dark blue for description */
}

/* About Section */
.page-games__about-tx88 {
    padding: 80px 0;
    background-color: #F8F8F8; /* Light gray background */
}

.page-games__content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .page-games__content-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.page-games__text-content p {
    margin-bottom: 15px;
    font-size: 1.05em;
    color: #333333;
}

.page-games__image-wrapper {
    text-align: center;
}

.page-games__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

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

.page-games__game-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    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__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

.page-games__card-title {
    font-size: 1.5em;
    color: #1A2B4C;
    margin: 20px 15px 10px;
}

.page-games__card-description {
    font-size: 0.95em;
    color: #5f6b82;
    padding: 0 15px 20px;
    flex-grow: 1;
}

/* Why Choose Section */
.page-games__why-choose {
    background-color: #1A2B4C; /* Dark blue background */
    color: #FFFFFF;
    padding: 80px 0;
}

.page-games__why-choose .page-games__section-title {
    color: #FFD700; /* Gold title on dark background */
}

.page-games__why-choose .page-games__section-title::after {
    background-color: #FFFFFF; /* White underline */
}

.page-games__why-choose .page-games__section-description {
    color: #E0E0E0;
}

.page-games__feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin-top: 50px;
}

.page-games__feature-list li {
    background-color: #2b3d5e; /* Slightly lighter dark blue */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-games__feature-list li:hover {
    transform: translateY(-5px);
}

.page-games__feature-title {
    font-size: 1.6em;
    color: #FFD700; /* Gold title */
    margin-bottom: 15px;
}

.page-games__feature-description {
    font-size: 1em;
    color: #E0E0E0;
}

/* How to Start Section */
.page-games__how-to-start {
    padding: 80px 0;
    background-color: #F8F8F8;
}

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

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

.page-games__step-card:hover {
    transform: translateY(-5px);
}

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

.page-games__step-title {
    font-size: 1.8em;
    color: #1A2B4C;
    margin-bottom: 15px;
}

.page-games__step-description {
    font-size: 1em;
    color: #5f6b82;
    margin-bottom: 20px;
}

/* Responsible Gaming Section */
.page-games__responsible-gaming {
    padding: 60px 0;
    background-color: #e0e7f1; /* A very light blue/gray */
    color: #1A2B4C;
    text-align: center;
}

.page-games__responsible-gaming p {
    max-width: 900px;
    margin: 0 auto 20px;
    font-size: 1.05em;
    color: #333333;
}

.page-games__responsible-gaming .page-games__section-title {
    color: #1A2B4C;
}

/* Final CTA Section */
.page-games__cta-final {
    background: linear-gradient(135deg, #1A2B4C, #3a4f7c);
    color: #FFFFFF;
    padding: 80px 0;
    text-align: center;
}

.page-games__cta-final .page-games__section-title {
    color: #FFD700;
}

.page-games__cta-final .page-games__section-title::after {
    background-color: #FFFFFF;
}

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

.page-games__final-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-games__main-title {
        font-size: 3em;
    }
    .page-games__section-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-games__hero-section {
        padding: 80px 0;
    }
    .page-games__main-title {
        font-size: 2.5em;
    }
    .page-games__hero-description {
        font-size: 1.1em;
    }
    .page-games__hero-actions, .page-games__final-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-games__btn {
        width: 80%;
        margin: 0 auto;
    }
    .page-games__section-title {
        font-size: 2em;
    }
    .page-games__section-description {
        font-size: 1em;
    }
    .page-games__game-card, .page-games__feature-list li, .page-games__step-card {
        padding: 20px;
    }
    .page-games__card-title, .page-games__feature-title, .page-games__step-title {
        font-size: 1.3em;
    }
    .page-games__card-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .page-games__main-title {
        font-size: 2em;
    }
    .page-games__hero-description {
        font-size: 0.95em;
    }
    .page-games__btn {
        width: 90%;
    }
    .page-games__section-title {
        font-size: 1.8em;
    }
    .page-games__section-description {
        font-size: 0.9em;
    }
    .page-games__card-image {
        height: 150px;
    }
}