/* style/index-featured-games.css */
.page-index-featured-games {
    font-family: 'Arial', sans-serif;
    color: #FFFFFF; /* Default text color for dark background */
    line-height: 1.6;
}

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

.page-index-featured-games__hero {
    background-color: #0A2463;
    background-image: linear-gradient(135deg, #0A2463 0%, #2A488B 100%);
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-index-featured-games__hero-image {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1000px;
    height: auto;
    opacity: 0.2;
    z-index: 0;
}

.page-index-featured-games__hero-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.page-index-featured-games__hero-subtitle {
    font-size: 1.3em;
    color: #E0E0E0;
    margin-bottom: 40px;
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.page-index-featured-games__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.page-index-featured-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;
    white-space: nowrap;
}

.page-index-featured-games__btn--primary {
    background-color: #FFD700;
    color: #0A2463;
    border: 2px solid #FFD700;
}

.page-index-featured-games__btn--primary:hover {
    background-color: #E0B700;
    transform: translateY(-3px);
}

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

.page-index-featured-games__btn--secondary:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
}

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

.page-index-featured-games__btn--large {
    padding: 20px 40px;
    font-size: 1.3em;
}

.page-index-featured-games__section {
    padding: 80px 0;
    background-color: #0A2463;
    color: #E0E0E0;
}

.page-index-featured-games__section--dark {
    background-color: #081C4F;
}

.page-index-featured-games__section--promo {
    background-color: #2A488B;
}

.page-index-featured-games__section-title {
    font-size: 2.8em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-index-featured-games__text {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

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

.page-index-featured-games__feature-item {
    background-color: #12306D;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-index-featured-games__feature-item:hover {
    transform: translateY(-10px);
}

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

.page-index-featured-games__image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-index-featured-games__image--center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}

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

.page-index-featured-games__game-card {
    background-color: #12306D;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.page-index-featured-games__game-card:hover {
    transform: translateY(-10px);
}

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

.page-index-featured-games__game-card-title {
    font-size: 1.8em;
    color: #FFD700;
    padding: 20px;
    margin-bottom: 10px;
}

.page-index-featured-games__game-card-description {
    font-size: 1em;
    color: #E0E0E0;
    padding: 0 20px 20px;
    flex-grow: 1;
    text-align: justify;
}

.page-index-featured-games__game-card .page-index-featured-games__btn {
    margin: 0 20px 20px;
    align-self: flex-start;
}

.page-index-featured-games__steps {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    margin-top: 40px;
}

.page-index-featured-games__steps li {
    background-color: #12306D;
    margin-bottom: 25px;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    display: flex;
    flex-direction: column;
}

.page-index-featured-games__steps li::before {
    counter-increment: step-counter;
    content: "Bước " counter(step-counter);
    background-color: #FFD700;
    color: #0A2463;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 5px;
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 1.1em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.page-index-featured-games__step-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-top: 15px;
    margin-bottom: 10px;
}

.page-index-featured-games__steps li .page-index-featured-games__btn {
    margin-top: 20px;
    align-self: flex-start;
}

.page-index-featured-games__promo-list,
.page-index-featured-games__responsible-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-index-featured-games__promo-list li,
.page-index-featured-games__responsible-list li {
    background-color: #12306D;
    color: #E0E0E0;
    padding: 15px 25px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-index-featured-games__promo-list li::before,
.page-index-featured-games__responsible-list li::before {
    content: '✅';
    margin-right: 15px;
    font-size: 1.2em;
}

.page-index-featured-games__cta-section {
    background-color: #FFD700;
    color: #0A2463;
    padding: 80px 0;
    text-align: center;
}

.page-index-featured-games__cta-title {
    font-size: 3em;
    color: #0A2463;
    margin-bottom: 20px;
}

.page-index-featured-games__cta-text {
    font-size: 1.3em;
    color: #333333;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-featured-games__hero-title {
        font-size: 2.8em;
    }
    .page-index-featured-games__hero-subtitle {
        font-size: 1.1em;
    }
    .page-index-featured-games__section-title {
        font-size: 2.2em;
    }
    .page-index-featured-games__game-card-title {
        font-size: 1.5em;
    }
    .page-index-featured-games__cta-title {
        font-size: 2.5em;
    }
    .page-index-featured-games__cta-text {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-index-featured-games__hero-title {
        font-size: 2.2em;
    }
    .page-index-featured-games__hero-subtitle {
        font-size: 1em;
    }
    .page-index-featured-games__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-featured-games__btn {
        width: 80%;
        margin: 0 auto;
    }
    .page-index-featured-games__section {
        padding: 60px 0;
    }
    .page-index-featured-games__section-title {
        font-size: 1.8em;
    }
    .page-index-featured-games__feature-item {
        padding: 25px;
    }
    .page-index-featured-games__game-card-title {
        font-size: 1.3em;
    }
    .page-index-featured-games__cta-title {
        font-size: 2em;
    }
    .page-index-featured-games__cta-text {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-index-featured-games__hero-title {
        font-size: 1.8em;
    }
    .page-index-featured-games__hero-subtitle {
        font-size: 0.9em;
    }
    .page-index-featured-games__btn {
        font-size: 1em;
        padding: 12px 25px;
    }
    .page-index-featured-games__btn--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-index-featured-games__section-title {
        font-size: 1.5em;
    }
    .page-index-featured-games__text {
        font-size: 0.95em;
    }
    .page-index-featured-games__game-card-title {
        font-size: 1.1em;
    }
    .page-index-featured-games__steps li::before {
        top: -10px;
        left: 10px;
        font-size: 1em;
    }
    .page-index-featured-games__step-title {
        font-size: 1.4em;
    }
    .page-index-featured-games__cta-title {
        font-size: 1.8em;
    }
}