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

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

.page-games__hero {
    background: linear-gradient(135deg, #1A2B4C, #3A506B);
    color: #fff;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.page-games__hero-content {
    flex: 1;
    padding-right: 40px;
    z-index: 1;
}

.page-games__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    color: #FFD700;
}

.page-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.page-games__hero-button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A2B4C;
    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;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-games__hero-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-games__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 0;
}

.page-games__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-games__section-title {
    font-size: 2.5em;
    color: #1A2B4C;
    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: #FFD700;
    border-radius: 2px;
}

.page-games__sub-section-title {
    font-size: 1.8em;
    color: #1A2B4C;
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 5px solid #FFD700;
    padding-left: 15px;
}

.page-games__introduction, .page-games__deep-dive, .page-games__responsible-gaming {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-games__why-choose {
    padding: 60px 0;
    background-color: #f0f3f6;
}

.page-games__text {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

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

.page-games__feature-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid #1A2B4C;
}

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

.page-games__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(26, 43, 76, 0.3));
}

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

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

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

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

.page-games__game-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-games__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #FFD700;
}

.page-games__card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-games__card-title {
    font-size: 1.7em;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-games__card-title a {
    color: #1A2B4C;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-games__card-title a:hover {
    color: #FFD700;
}

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

.page-games__card-link {
    display: inline-block;
    color: #1A2B4C;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.page-games__card-link:hover {
    color: #FFD700;
}

.page-games__card-button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A2B4C;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    margin-top: 15px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
}

.page-games__card-button:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-games__cta-section {
    background: linear-gradient(135deg, #1A2B4C, #3A506B);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

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

.page-games__cta-section .page-games__section-title::after {
    background-color: #e0e0e0;
}

.page-games__cta-section .page-games__text {
    color: #e0e0e0;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-games__button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-games__button.primary-button {
    background-color: #FFD700;
    color: #1A2B4C;
}

.page-games__button.primary-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-games__button.secondary-button {
    background-color: transparent;
    border: 2px solid #FFD700;
    color: #FFD700;
}

.page-games__button.secondary-button:hover {
    background-color: #FFD700;
    color: #1A2B4C;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-games__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #555;
}

.page-games__list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-games__list li strong {
    color: #1A2B4C;
}

.page-games .highlight {
    color: #FFD700;
}

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

    .page-games__hero-content {
        padding-right: 0;
        margin-bottom: 30px;
    }

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

    .page-games__hero-description {
        font-size: 1.1em;
    }

    .page-games__hero-image-wrapper {
        padding: 0 20px;
    }

    .page-games__section-title {
        font-size: 2em;
    }

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

    .page-games__features-grid, .page-games__game-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .page-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-games__button {
        width: 80%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .page-games__hero {
        padding: 40px 0;
    }

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

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

    .page-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-games__sub-section-title {
        font-size: 1.3em;
    }

    .page-games__introduction, .page-games__why-choose, .page-games__deep-dive, .page-games__responsible-gaming, .page-games__game-categories, .page-games__cta-section {
        padding: 40px 0;
    }

    .page-games__text {
        font-size: 0.95em;
    }

    .page-games__feature-item {
        padding: 25px;
    }

    .page-games__feature-title {
        font-size: 1.3em;
    }

    .page-games__card-title {
        font-size: 1.4em;
    }

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

    .page-games__card-button {
        padding: 8px 15px;
        font-size: 0.9em;
    }

    .page-games__button {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .page-games__container {
        padding: 0 15px;
    }

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

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

    .page-games__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }

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

    .page-games__sub-section-title {
        font-size: 1.2em;
    }

    .page-games__features-grid, .page-games__game-list {
        grid-template-columns: 1fr;
    }

    .page-games__button {
        width: 100%;
    }
}