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

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

.page-game-introduction__hero-section {
    background: linear-gradient(135deg, #0A2647 0%, #0A2647 70%, #FFC107 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-game-introduction__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFC107;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-game-introduction__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #e0e0e0;
}

.page-game-introduction__section {
    padding: 60px 0;
}

.page-game-introduction__section--light {
    background-color: #f8f9fa;
}

.page-game-introduction__section--dark {
    background-color: #0A2647;
    color: #fff;
}

.page-game-introduction__section-title {
    font-size: 2.5em;
    color: #0A2647;
    text-align: center;
    margin-bottom: 50px;
    font-weight: bold;
}

.page-game-introduction__section--dark .page-game-introduction__section-title {
    color: #FFC107;
}

.page-game-introduction__btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.page-game-introduction__btn--cta {
    background-color: #FFC107;
    color: #0A2647;
    border: 2px solid #FFC107;
    font-size: 1.1em;
    margin: 0 10px;
}

.page-game-introduction__btn--cta:hover {
    background-color: #e6b000;
    border-color: #e6b000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-game-introduction__btn--primary {
    background-color: #0A2647;
    color: #FFC107;
    border: 2px solid #0A2647;
    font-size: 1em;
}

.page-game-introduction__btn--primary:hover {
    background-color: #1a426f;
    border-color: #1a426f;
    color: #fff;
    transform: translateY(-2px);
}

.page-game-introduction__btn--secondary {
    background-color: transparent;
    color: #0A2647;
    border: 2px solid #0A2647;
    font-size: 1em;
}

.page-game-introduction__btn--secondary:hover {
    background-color: #0A2647;
    color: #fff;
    transform: translateY(-2px);
}

.page-game-introduction__section--dark .page-game-introduction__btn--secondary {
    color: #FFC107;
    border-color: #FFC107;
}

.page-game-introduction__section--dark .page-game-introduction__btn--secondary:hover {
    background-color: #FFC107;
    color: #0A2647;
}

.page-game-introduction__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.page-game-introduction__text-content {
    flex: 1;
}

.page-game-introduction__image-box {
    flex: 1;
    text-align: center;
}

.page-game-introduction__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.page-game-introduction__game-category {
    margin-bottom: 60px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.page-game-introduction__game-category--reverse .page-game-introduction__game-content {
    flex-direction: row-reverse;
}

.page-game-introduction__game-title {
    font-size: 1.8em;
    color: #0A2647;
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
}

.page-game-introduction__game-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.page-game-introduction__game-content .page-game-introduction__text-content {
    flex: 2;
}

.page-game-introduction__game-content .page-game-introduction__image-box {
    flex: 1;
}

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

.page-game-introduction__benefit-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-game-introduction__benefit-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
}

.page-game-introduction__benefit-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(255, 193, 7, 0.5)); /* Make icons amber */
}

.page-game-introduction__benefit-title {
    font-size: 1.4em;
    color: #FFC107;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-game-introduction__benefit-item p {
    color: #e0e0e0;
}

.page-game-introduction__how-to-play {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.page-game-introduction__step-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
}

.page-game-introduction__step-list li {
    background-color: #fff;
    border-left: 5px solid #FFC107;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-size: 1.1em;
    color: #333;
}

.page-game-introduction__step-list li strong {
    color: #0A2647;
}

.page-game-introduction__cta-text {
    font-size: 1.3em;
    color: #0A2647;
    font-weight: bold;
    margin-bottom: 30px;
}

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

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

.page-game-introduction__card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.page-game-introduction__card:hover {
    transform: translateY(-8px);
}

.page-game-introduction__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

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

.page-game-introduction__card-title {
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-game-introduction__card-title a {
    color: #0A2647;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-game-introduction__card-title a:hover {
    color: #FFC107;
}

.page-game-introduction__card-description {
    color: #555;
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-game-introduction__card .page-game-introduction__btn {
    width: 100%;
    margin-top: auto; /* Push button to the bottom */
}

@media (max-width: 992px) {
    .page-game-introduction__hero-title {
        font-size: 2.5em;
    }
    .page-game-introduction__section-title {
        font-size: 2em;
    }
    .page-game-introduction__content-wrapper,
    .page-game-introduction__game-content {
        flex-direction: column;
        text-align: center;
    }
    .page-game-introduction__game-content .page-game-introduction__image-box--left,
    .page-game-introduction__game-content .page-game-introduction__image-box--right {
        order: -1; /* Image first on mobile */
    }
    .page-game-introduction__game-title {
      font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .page-game-introduction__hero-section {
        padding: 60px 0;
    }
    .page-game-introduction__hero-title {
        font-size: 2em;
    }
    .page-game-introduction__hero-description {
        font-size: 1em;
    }
    .page-game-introduction__section {
        padding: 40px 0;
    }
    .page-game-introduction__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-game-introduction__btn--cta {
        font-size: 1em;
        padding: 10px 20px;
        margin: 5px;
    }
    .page-game-introduction__benefits-grid {
        grid-template-columns: 1fr;
    }
    .page-game-introduction__detail-cards-grid {
        grid-template-columns: 1fr;
    }
    .page-game-introduction__game-title {
      font-size: 1.3em;
    }
}