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

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

.page-games__hero-section {
    background: linear-gradient(135deg, #CC0000 0%, #FFCC00 100%); /* W88 brand colors */
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-games__hero-title .highlight {
    color: #FFEB3B; /* Brighter yellow for emphasis */
}

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

.page-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.2;
}

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

.page-games__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    margin: 10px;
    cursor: pointer;
    border: none;
}

.page-games__btn--primary {
    background-color: #FFCC00; /* Auxiliary color */
    color: #CC0000; /* Main color */
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.4);
}

.page-games__btn--primary:hover {
    background-color: #FFE066;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.6);
}

.page-games__btn--secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #FFCC00;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-games__btn--secondary:hover {
    background-color: #FFCC00;
    color: #CC0000;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.6);
}

.page-games__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 25px;
    background-color: #CC0000;
    color: #fff;
    border: 1px solid #CC0000;
}

.page-games__btn--small:hover {
    background-color: #e06666;
    border-color: #e06666;
}

.page-games__btn--outline {
    background-color: transparent;
    color: #CC0000;
    border: 2px solid #CC0000;
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 25px;
}

.page-games__btn--outline:hover {
    background-color: #CC0000;
    color: #fff;
}

.page-games__btn--lg {
    padding: 18px 35px;
    font-size: 1.2em;
    margin: 15px;
}

.page-games__btn--secondary-lg {
    padding: 18px 35px;
    font-size: 1.2em;
    margin: 15px;
    background-color: transparent;
    color: #FFCC00;
    border: 2px solid #FFCC00;
}

.page-games__btn--secondary-lg:hover {
    background-color: #FFCC00;
    color: #CC0000;
}

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

.page-games__text-block {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: #555;
}

.page-games__text-block .keyword {
    font-weight: bold;
    color: #CC0000;
}

.page-games__intro-section, .page-games__game-categories, .page-games__advantages-section, .page-games__access-guide, .page-games__detail-pages, .page-games__cta-bottom {
    padding: 60px 0;
}

.page-games__intro-section {
    background-color: #fefefe;
}

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

.page-games__feature-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-games__feature-item:hover {
    transform: translateY(-10px);
    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 2px 5px rgba(0, 0, 0, 0.1));
}

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

.page-games__feature-description {
    color: #666;
}

.page-games__game-categories {
    background-color: #f1f1f1;
}

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

.page-games__category-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    padding-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-games__category-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-games__category-title {
    font-size: 1.8em;
    color: #CC0000;
    margin-bottom: 15px;
    padding: 0 20px;
}

.page-games__category-description {
    color: #666;
    margin-bottom: 25px;
    padding: 0 20px;
}

.page-games__advantages-section {
    background-color: #fefefe;
}

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

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

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

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

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

.page-games__advantage-description {
    color: #666;
}

.page-games__access-guide {
    background-color: #f1f1f1;
    padding: 80px 0;
}

.page-games__guide-list {
    list-style: none;
    padding: 0;
    counter-reset: guide-step;
    max-width: 800px;
    margin: 50px auto;
}

.page-games__guide-list li {
    position: relative;
    padding: 20px 0 20px 70px;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    font-size: 1.1em;
    color: #444;
}

.page-games__guide-list li::before {
    counter-increment: guide-step;
    content: counter(guide-step);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #CC0000;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3em;
}

.page-games__guide-list li strong {
    color: #CC0000;
}

.page-games__call-to-action {
    text-align: center;
    margin-top: 60px;
}

.page-games__call-to-action p {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 30px;
}

.page-games__detail-pages {
    background-color: #fefefe;
}

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

.page-games__detail-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-games__detail-title {
    font-size: 1.6em;
    color: #CC0000;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-games__detail-title a {
    color: #CC0000;
    text-decoration: none;
}

.page-games__detail-title a:hover {
    text-decoration: underline;
}

.page-games__detail-description {
    color: #666;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-games__cta-bottom {
    background: linear-gradient(135deg, #CC0000 0%, #FFCC00 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.page-games__cta-bottom .page-games__section-title {
    color: #fff;
}

.page-games__cta-bottom .page-games__section-title::after {
    background-color: #fff;
}

.page-games__cta-bottom .page-games__text-block {
    color: #eee;
}

/* 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: 2em;
    }
    .page-games__category-grid, .page-games__features-grid, .page-games__advantages-grid, .page-games__detail-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@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__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-games__btn--lg, .page-games__btn--secondary-lg {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-games__section-title {
        font-size: 1.8em;
    }
    .page-games__text-block {
        font-size: 1em;
    }
    .page-games__guide-list li {
        padding: 15px 0 15px 60px;
        font-size: 1em;
    }
    .page-games__guide-list li::before {
        width: 35px;
        height: 35px;
        font-size: 1.1em;
        left: 15px;
    }
}

@media (max-width: 480px) {
    .page-games__hero-title {
        font-size: 1.8em;
    }
    .page-games__hero-description {
        font-size: 0.9em;
    }
    .page-games__btn {
        width: 100%;
        margin: 5px 0;
    }
    .page-games__btn--lg, .page-games__btn--secondary-lg {
        width: 100%;
        margin: 10px 0;
    }
    .page-games__section-title {
        font-size: 1.5em;
    }
    .page-games__category-grid, .page-games__features-grid, .page-games__advantages-grid, .page-games__detail-list {
        grid-template-columns: 1fr;
    }
    .page-games__category-item, .page-games__feature-item, .page-games__advantage-item, .page-games__detail-item {
        padding: 20px;
    }
    .page-games__category-title, .page-games__feature-title, .page-games__advantage-title, .page-games__detail-title {
        font-size: 1.3em;
    }
}