/* style/games.css */

/* Biến CSS */
:root {
    --page-games-primary-color: #0A246A;
    --page-games-secondary-color: #FFD700;
    --page-games-text-light: #FFFFFF;
    --page-games-text-dark: #333333;
    --page-games-background-light: #F8F8F8;
    --page-games-background-dark: #071C4A;
    --page-games-border-color: #E0E0E0;
}

.page-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-games-text-dark);
    background-color: var(--page-games-background-light);
}

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

.page-games__section-spacing {
    padding: 60px 0;
}

.page-games__bg-gold {
    background-color: var(--page-games-secondary-color);
    color: var(--page-games-text-dark);
}

.page-games__bg-dark {
    background-color: var(--page-games-background-dark);
    color: var(--page-games-text-light);
}

.page-games__section-title {
    font-size: 2.5em;
    color: var(--page-games-primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-games__section-title--dark {
    color: var(--page-games-text-dark);
}

.page-games__section-title--light {
    color: var(--page-games-text-light);
}

.page-games__highlight {
    color: var(--page-games-secondary-color);
}

.page-games__highlight-dark {
    color: var(--page-games-primary-color);
}

.page-games__paragraph {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: var(--page-games-text-dark);
}

.page-games__paragraph--dark {
    color: var(--page-games-text-dark);
}

.page-games__paragraph--light {
    color: var(--page-games-text-light);
}

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

.page-games__btn--primary {
    background-color: var(--page-games-secondary-color);
    color: var(--page-games-primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-games__btn--secondary {
    background-color: transparent;
    color: var(--page-games-text-light);
    border: 2px solid var(--page-games-secondary-color);
    margin-left: 15px;
}

.page-games__btn--secondary:hover {
    background-color: var(--page-games-secondary-color);
    color: var(--page-games-primary-color);
    transform: translateY(-2px);
}

.page-games__btn--small {
    padding: 8px 18px;
    font-size: 0.9em;
    background-color: var(--page-games-primary-color);
    color: var(--page-games-text-light);
}

.page-games__btn--small:hover {
    background-color: #071C4A;
}

.page-games__btn--dark {
    background-color: var(--page-games-primary-color);
    color: var(--page-games-text-light);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-games__btn--dark:hover {
    background-color: #071C4A;
    transform: translateY(-2px);
}

.page-games__btn--gold {
    background-color: var(--page-games-secondary-color);
    color: var(--page-games-primary-color);
    font-size: 1.2em;
    padding: 15px 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-games__btn--gold:hover {
    background-color: #E6C200;
    transform: translateY(-3px);
}

.page-games__btn--link {
    color: var(--page-games-primary-color);
    text-decoration: none;
    font-weight: bold;
    padding: 5px 0;
    border-bottom: 2px solid var(--page-games-secondary-color);
}

.page-games__btn--link:hover {
    color: var(--page-games-secondary-color);
    border-color: var(--page-games-primary-color);
}

/* Hero Section */
.page-games__hero-section {
    background: linear-gradient(135deg, var(--page-games-primary-color) 0%, #1A3E8A 100%);
    color: var(--page-games-text-light);
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.page-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

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

.page-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-games__hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.15;
    overflow: hidden;
}

.page-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%) brightness(50%);
    transform: scale(1.1);
}

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

.page-games__feature-item {
    background-color: var(--page-games-text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-games__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.1));
}

.page-games__feature-title {
    font-size: 1.5em;
    color: var(--page-games-primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-games__feature-text {
    font-size: 1em;
    color: var(--page-games-text-dark);
}

/* Game Categories Section */
.page-games__category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-games__category-card {
    background-color: var(--page-games-text-light);
    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;
}

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

.page-games__category-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.page-games__category-card:hover .page-games__category-image {
    filter: brightness(1);
}

.page-games__category-title {
    font-size: 1.4em;
    color: var(--page-games-primary-color);
    margin: 20px 20px 10px 20px;
    font-weight: 700;
}

.page-games__category-description {
    font-size: 0.95em;
    color: var(--page-games-text-dark);
    padding: 0 20px 20px 20px;
    flex-grow: 1;
}

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

/* Guides Section */
.page-games__guide-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-games__guide-item {
    background-color: var(--page-games-text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-games__guide-title {
    font-size: 1.4em;
    color: var(--page-games-primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-games__guide-text {
    font-size: 1em;
    color: var(--page-games-text-dark);
    margin-bottom: 20px;
}

/* Promotions Section */
.page-games__promotions-content {
    text-align: center;
}

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

.page-games__promo-item {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-games__promo-item:hover {
    transform: translateY(-8px);
    background-color: var(--page-games-text-light);
}

.page-games__promo-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.1));
}

.page-games__promo-title {
    font-size: 1.5em;
    color: var(--page-games-primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-games__promo-text {
    font-size: 1em;
    color: var(--page-games-text-dark);
}

.page-games__promo-cta {
    margin-top: 50px;
}

/* Safety Section */
.page-games__safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-games__safety-item {
    background-color: var(--page-games-text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-games__safety-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.1));
}

.page-games__safety-title {
    font-size: 1.5em;
    color: var(--page-games-primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-games__safety-text {
    font-size: 1em;
    color: var(--page-games-text-dark);
}

/* Detail Pages Section */
.page-games__detail-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-games__detail-card {
    background-color: var(--page-games-text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid var(--page-games-secondary-color);
}

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

.page-games__detail-title {
    font-size: 1.4em;
    color: var(--page-games-primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.page-games__detail-title a {
    color: var(--page-games-primary-color);
    text-decoration: none;
}

.page-games__detail-title a:hover {
    color: var(--page-games-secondary-color);
}

.page-games__detail-description {
    font-size: 0.95em;
    color: var(--page-games-text-dark);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Final CTA Section */
.page-games__cta-content {
    text-align: center;
}

/* 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__paragraph {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-games__hero-title {
        font-size: 2.2em;
    }

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

    .page-games__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-games__btn--secondary {
        margin-left: 0;
    }

    .page-games__section-spacing {
        padding: 40px 0;
    }

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

    .page-games__paragraph {
        margin-bottom: 40px;
    }

    .page-games__features-grid,
    .page-games__category-grid,
    .page-games__guide-items,
    .page-games__promo-grid,
    .page-games__safety-grid,
    .page-games__detail-list {
        grid-template-columns: 1fr;
    }

    .page-games__feature-item,
    .page-games__category-card,
    .page-games__guide-item,
    .page-games__promo-item,
    .page-games__safety-item,
    .page-games__detail-card {
        padding: 25px;
    }

    .page-games__feature-title,
    .page-games__category-title,
    .page-games__guide-title,
    .page-games__promo-title,
    .page-games__safety-title,
    .page-games__detail-title {
        font-size: 1.3em;
    }

    .page-games__btn--gold {
        font-size: 1em;
        padding: 12px 25px;
    }
}

@media (max-width: 480px) {
    .page-games__hero-title {
        font-size: 1.8em;
    }

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

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

    .page-games__paragraph {
        font-size: 0.9em;
    }

    .page-games__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .page-games__btn--small {
        padding: 6px 15px;
        font-size: 0.8em;
    }
}