/* style/games.css */
.page-games {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
}

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

.page-games__hero-section {
    background: linear-gradient(135deg, #003366, #1a4d80);
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.page-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFCC00; /* Golden Yellow for emphasis */
}

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

.page-games__hero-cta-group {
    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, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-games__btn--primary {
    background-color: #FFCC00;
    color: #003366;
}

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

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

.page-games__btn--secondary:hover {
    background-color: #FFCC00;
    color: #003366;
    transform: translateY(-2px);
}

.page-games__btn--link {
    background: none;
    color: #003366;
    padding: 0;
    font-size: 1em;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
}

.page-games__btn--link:hover {
    color: #FFCC00;
}

.page-games__icon-arrow {
    margin-left: 8px;
    transition: margin-left 0.3s ease;
}

.page-games__btn--link:hover .page-games__icon-arrow {
    margin-left: 12px;
}

.page-games__section-title {
    font-size: 2.8em;
    color: #003366;
    text-align: center;
    margin-bottom: 20px;
    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-subtitle {
    font-size: 1.2em;
    color: #555;
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-games__about-platform {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.page-games__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-games__text-content {
    flex: 1;
    font-size: 1.1em;
    color: #444;
}

.page-games__text-content p {
    margin-bottom: 15px;
}

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

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

.page-games__game-categories {
    padding: 80px 0;
    background-color: #fff;
}

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

.page-games__category-item {
    background-color: #f0f8ff; /* Light blue background for items */
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-games__category-image {
    max-width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.page-games__category-description {
    color: #555;
    font-size: 1em;
    margin-bottom: 20px;
    text-align: left;
}

.page-games__why-choose {
    background-color: #e6f7ff; /* Lighter blue background */
    padding: 80px 0;
}

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

.page-games__feature-item {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
}

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

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

.page-games__feature-description {
    color: #555;
    font-size: 0.95em;
}

.page-games__get-started {
    padding: 80px 0;
    background-color: #f9f9f9;
}

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

.page-games__step-item {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 35px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-games__step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    background-color: #FFCC00;
    color: #003366;
    font-size: 2.5em;
    font-weight: bold;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-shadow: 0 0 0 5px rgba(255, 204, 0, 0.3);
}

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

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

.page-games__responsible-gaming {
    padding: 80px 0;
    background-color: #003366;
    color: #fff;
    text-align: center;
}

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

.page-games__responsible-gaming .page-games__section-subtitle {
    color: #e0e0e0;
}

.page-games__description-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1em;
    line-height: 1.8;
    color: #e0e0e0;
}

/* Responsive adjustments */
@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: 2.2em;
    }
    .page-games__section-subtitle {
        font-size: 1em;
    }
    .page-games__content-grid {
        flex-direction: column;
    }
    .page-games__text-content, .page-games__image-wrapper {
        flex: none;
        width: 100%;
    }
}

@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 {
        width: 80%;
        margin: 0 auto;
    }
    .page-games__section-title {
        font-size: 1.8em;
    }
    .page-games__section-subtitle {
        margin-bottom: 40px;
    }
    .page-games__category-item, .page-games__feature-item, .page-games__step-item {
        padding: 25px;
    }
    .page-games__category-image {
        height: 180px;
    }
    .page-games__step-number {
        font-size: 2em;
        width: 60px;
        height: 60px;
        top: -10px;
        left: -10px;
    }
    .page-games__step-title {
        margin-top: 25px;
    }
}

@media (max-width: 480px) {
    .page-games__hero-section {
        padding: 60px 0;
    }
    .page-games__hero-title {
        font-size: 1.8em;
    }
    .page-games__hero-description {
        font-size: 0.9em;
    }
    .page-games__btn {
        padding: 12px 25px;
        font-size: 1em;
        width: 90%;
    }
    .page-games__section-title {
        font-size: 1.5em;
    }
    .page-games__category-item, .page-games__feature-item, .page-games__step-item {
        padding: 20px;
    }
    .page-games__category-image {
        height: 150px;
    }
    .page-games__step-number {
        font-size: 1.8em;
        width: 50px;
        height: 50px;
    }
}