/* style/game-introduction-card-games.css */

/* Variables for colors, ensuring good contrast */
:root {
    --page-game-introduction-card-games-primary-color: #1A1A2E;
    --page-game-introduction-card-games-secondary-color: #E0B95B;
    --page-game-introduction-card-games-text-light: #F8F8F8;
    --page-game-introduction-card-games-text-dark: #1A1A2E; /* Dark text for light backgrounds */
    --page-game-introduction-card-games-background-light: #F0F2F5; /* Light background for general content */
    --page-game-introduction-card-games-background-dark: #2C2C4A; /* Slightly lighter dark background for contrast sections */
    --page-game-introduction-card-games-accent-gold-darker: #C7A14E; /* Darker gold for hover states */
}

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

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

.page-game-introduction-card-games__section {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-game-introduction-card-games__section-title {
    font-size: 2.8em;
    color: var(--page-game-introduction-card-games-primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-game-introduction-card-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-game-introduction-card-games-secondary-color);
    border-radius: 2px;
}

.page-game-introduction-card-games__text-content {
    font-size: 1.1em;
    text-align: justify;
    margin-bottom: 20px;
    color: #444;
}

.page-game-introduction-card-games__highlight {
    color: var(--page-game-introduction-card-games-primary-color);
    font-weight: bold;
}

/* Hero Section */
.page-game-introduction-card-games__hero-section {
    background: linear-gradient(135deg, var(--page-game-introduction-card-games-primary-color), var(--page-game-introduction-card-games-background-dark));
    color: var(--page-game-introduction-card-games-text-light);
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-game-introduction-card-games__hero-content {
    z-index: 2;
    position: relative;
}

.page-game-introduction-card-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-game-introduction-card-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    filter: grayscale(50%);
}

.page-game-introduction-card-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--page-game-introduction-card-games-secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-introduction-card-games__hero-description {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    line-height: 1.5;
    color: var(--page-game-introduction-card-games-text-light);
}

/* Buttons */
.page-game-introduction-card-games__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.page-game-introduction-card-games__button--primary {
    background-color: var(--page-game-introduction-card-games-secondary-color);
    color: var(--page-game-introduction-card-games-primary-color);
    box-shadow: 0 4px 15px rgba(224, 185, 91, 0.4);
}

.page-game-introduction-card-games__button--primary:hover {
    background-color: var(--page-game-introduction-card-games-accent-gold-darker);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(224, 185, 91, 0.6);
}

.page-game-introduction-card-games__button--secondary {
    background-color: var(--page-game-introduction-card-games-primary-color);
    color: var(--page-game-introduction-card-games-secondary-color);
    border: 2px solid var(--page-game-introduction-card-games-secondary-color);
}

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

.page-game-introduction-card-games__button--tertiary {
    background-color: transparent;
    color: var(--page-game-introduction-card-games-primary-color);
    border: 2px solid var(--page-game-introduction-card-games-primary-color);
    padding: 10px 20px;
    font-size: 1em;
}

.page-game-introduction-card-games__button--tertiary:hover {
    background-color: var(--page-game-introduction-card-games-primary-color);
    color: var(--page-game-introduction-card-games-text-light);
}

.page-game-introduction-card-games__button--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

/* Why Choose Section */
.page-game-introduction-card-games__why-choose {
    background-color: var(--page-game-introduction-card-games-background-light);
}

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

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

.page-game-introduction-card-games__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-game-introduction-card-games__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
}

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

.page-game-introduction-card-games__feature-item p {
    font-size: 1em;
    color: #555;
}

/* Featured Games Section */
.page-game-introduction-card-games__featured-games {
    background-color: var(--page-game-introduction-card-games-background-dark);
    color: var(--page-game-introduction-card-games-text-light);
}

.page-game-introduction-card-games__featured-games .page-game-introduction-card-games__section-title {
    color: var(--page-game-introduction-card-games-secondary-color);
}

.page-game-introduction-card-games__featured-games .page-game-introduction-card-games__text-content {
    color: #D0D0D0;
}

.page-game-introduction-card-games__featured-games .page-game-introduction-card-games__highlight {
    color: var(--page-game-introduction-card-games-secondary-color);
}

.page-game-introduction-card-games__game-card {
    display: flex;
    align-items: center;
    background-color: #2C2C4A; /* Slightly lighter than primary for card background */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-introduction-card-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-game-introduction-card-games__game-card--reverse {
    flex-direction: row-reverse;
}

.page-game-introduction-card-games__game-image {
    width: 40%;
    height: 300px;
    object-fit: cover;
    flex-shrink: 0;
}

.page-game-introduction-card-games__game-details {
    padding: 30px;
    flex-grow: 1;
    color: var(--page-game-introduction-card-games-text-light);
}

.page-game-introduction-card-games__game-title {
    font-size: 2em;
    color: var(--page-game-introduction-card-games-secondary-color);
    margin-bottom: 15px;
}

.page-game-introduction-card-games__game-details p {
    font-size: 1.05em;
    margin-bottom: 20px;
    color: #E0E0E0;
}

/* CTA Section (alt background) */
.page-game-introduction-card-games__cta-section--alt-bg {
    background-color: var(--page-game-introduction-card-games-background-dark);
    color: var(--page-game-introduction-card-games-text-light);
}

.page-game-introduction-card-games__cta-section--alt-bg .page-game-introduction-card-games__section-title {
    color: var(--page-game-introduction-card-games-secondary-color);
}

.page-game-introduction-card-games__cta-section--alt-bg .page-game-introduction-card-games__text-content {
    color: #D0D0D0;
}

.page-game-introduction-card-games__cta-section--alt-bg .page-game-introduction-card-games__highlight {
    color: var(--page-game-introduction-card-games-secondary-color);
}

.page-game-introduction-card-games__step-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-game-introduction-card-games__step-item {
    background-color: var(--page-game-introduction-card-games-primary-color);
    padding: 25px 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--page-game-introduction-card-games-text-light);
}

.page-game-introduction-card-games__step-item:last-child {
    margin-bottom: 0;
}

.page-game-introduction-card-games__step-title {
    font-size: 1.8em;
    color: var(--page-game-introduction-card-games-secondary-color);
    margin-bottom: 10px;
}

.page-game-introduction-card-games__step-item p {
    font-size: 1.05em;
    color: #E0E0E0;
    margin-bottom: 15px;
}

/* Promotions Section */
.page-game-introduction-card-games__promotions {
    background-color: var(--page-game-introduction-card-games-background-light);
}

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

.page-game-introduction-card-games__promo-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 20px 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-game-introduction-card-games__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

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

.page-game-introduction-card-games__promo-card .page-game-introduction-card-games__promo-title {
    font-size: 1.6em;
    color: var(--page-game-introduction-card-games-primary-color);
    margin: 20px 15px 10px;
}

.page-game-introduction-card-games__promo-card p {
    font-size: 1em;
    color: #555;
    padding: 0 15px 20px;
    flex-grow: 1;
}

.page-game-introduction-card-games__promo-card .page-game-introduction-card-games__button {
    margin: 0 15px 20px;
}

/* Tips Section */
.page-game-introduction-card-games__tips {
    background-color: var(--page-game-introduction-card-games-background-light);
}

.page-game-introduction-card-games__tip-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-game-introduction-card-games__tip-item {
    background-color: #FFFFFF;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.page-game-introduction-card-games__tip-item:hover {
    transform: translateY(-5px);
}

.page-game-introduction-card-games__tip-title {
    font-size: 1.6em;
    color: var(--page-game-introduction-card-games-primary-color);
    margin-bottom: 10px;
}

.page-game-introduction-card-games__tip-item p {
    font-size: 1em;
    color: #555;
}

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

.page-game-introduction-card-games__safety-item {
    background-color: var(--page-game-introduction-card-games-primary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: var(--page-game-introduction-card-games-text-light);
}

.page-game-introduction-card-games__safety-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3));
}

.page-game-introduction-card-games__safety-title {
    font-size: 1.7em;
    color: var(--page-game-introduction-card-games-secondary-color);
    margin-bottom: 15px;
}

.page-game-introduction-card-games__safety-item p {
    font-size: 1.05em;
    color: #E0E0E0;
}

/* Final CTA Section */
.page-game-introduction-card-games__final-cta {
    background: linear-gradient(45deg, var(--page-game-introduction-card-games-primary-color), var(--page-game-introduction-card-games-background-dark));
    text-align: center;
    color: var(--page-game-introduction-card-games-text-light);
    padding: 80px 0;
}

.page-game-introduction-card-games__final-cta .page-game-introduction-card-games__section-title {
    color: var(--page-game-introduction-card-games-secondary-color);
}

.page-game-introduction-card-games__final-cta .page-game-introduction-card-games__text-content {
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #D0D0D0;
}

.page-game-introduction-card-games__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-game-introduction-card-games__hero-title {
        font-size: 2.8em;
    }
    .page-game-introduction-card-games__hero-description {
        font-size: 1.1em;
    }
    .page-game-introduction-card-games__section-title {
        font-size: 2.2em;
    }
    .page-game-introduction-card-games__game-card {
        flex-direction: column;
    }
    .page-game-introduction-card-games__game-card--reverse {
        flex-direction: column;
    }
    .page-game-introduction-card-games__game-image {
        width: 100%;
        height: 250px;
    }
    .page-game-introduction-card-games__game-details {
        padding: 20px;
    }
    .page-game-introduction-card-games__game-title {
        font-size: 1.8em;
    }
    .page-game-introduction-card-games__promo-image {
        height: 180px;
    }
    .page-game-introduction-card-games__promo-card .page-game-introduction-card-games__promo-title {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    .page-game-introduction-card-games__hero-title {
        font-size: 2.2em;
    }
    .page-game-introduction-card-games__hero-description {
        font-size: 1em;
    }
    .page-game-introduction-card-games__section-title {
        font-size: 1.8em;
    }
    .page-game-introduction-card-games__features-grid,
    .page-game-introduction-card-games__promo-grid,
    .page-game-introduction-card-games__tip-list,
    .page-game-introduction-card-games__safety-grid {
        grid-template-columns: 1fr;
    }
    .page-game-introduction-card-games__button-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-game-introduction-card-games__button--large {
        width: 80%;
        margin: 0 auto;
    }
    .page-game-introduction-card-games__step-title {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .page-game-introduction-card-games__hero-section {
        padding: 60px 0;
    }
    .page-game-introduction-card-games__hero-title {
        font-size: 1.8em;
    }
    .page-game-introduction-card-games__section {
        padding: 40px 0;
    }
    .page-game-introduction-card-games__section-title {
        font-size: 1.6em;
    }
    .page-game-introduction-card-games__game-image {
        height: 200px;
    }
    .page-game-introduction-card-games__button {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-game-introduction-card-games__button--large {
        width: 90%;
    }
}