/* style/game-introduction.css */
.page-game-introduction {
    font-family: 'Arial', sans-serif;
    color: #f5e6ce; /* Lighter text for dark background */
    background-color: #0A1931;
    line-height: 1.6;
}

.page-game-introduction .highlight {
    color: #FFD700;
}

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

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

.page-game-introduction__section:nth-of-type(even) {
    background-color: #1a2c42; /* Slightly lighter dark for contrast */
}

.page-game-introduction__hero {
    background: linear-gradient(135deg, #0A1931 0%, #1a2c42 100%);
    padding: 100px 0 50px;
    position: relative;
    overflow: hidden;
}

.page-game-introduction__hero-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-introduction__hero-subtitle {
    font-size: 1.3em;
    color: #e0e0e0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-introduction__hero-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    margin-top: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-game-introduction__section-title {
    font-size: 2.5em;
    color: #FFD700;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-game-introduction__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

.page-game-introduction__overview p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f5e6ce;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-introduction__game-categories {
    background-color: #0A1931;
}

.page-game-introduction__game-card {
    display: flex;
    flex-direction: column;
    background-color: #1a2c42;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: left;
}

.page-game-introduction__game-card:nth-child(even) {
    flex-direction: column-reverse; /* Alternate image/text order */
}

.page-game-introduction__game-card-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.page-game-introduction__game-card:hover .page-game-introduction__game-card-image {
    transform: scale(1.03);
}

.page-game-introduction__game-card-content {
    padding: 30px;
}

.page-game-introduction__game-card-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-game-introduction__game-card-content p {
    color: #e0e0e0;
    margin-bottom: 15px;
}

.page-game-introduction__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin: 10px;
    cursor: pointer;
    font-size: 1em;
}

.page-game-introduction__btn--primary {
    background-color: #FFD700;
    color: #0A1931;
    border: 2px solid #FFD700;
}

.page-game-introduction__btn--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

.page-game-introduction__btn--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-game-introduction__btn--secondary:hover {
    background-color: #FFD700;
    color: #0A1931;
}

.page-game-introduction__btn--outline {
    background-color: transparent;
    color: #FFD700;
    border: 1px solid #FFD700;
    padding: 8px 18px;
    font-size: 0.9em;
}

.page-game-introduction__btn--outline:hover {
    background-color: #FFD700;
    color: #0A1931;
}

.page-game-introduction__btn--link {
    background: none;
    border: none;
    color: #FFD700;
    text-decoration: underline;
    padding: 0;
    margin: 0;
    font-size: 1em;
}

.page-game-introduction__btn--link:hover {
    color: #e6c200;
}

.page-game-introduction__why-choose {
    background-color: #1a2c42;
}

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

.page-game-introduction__feature-item {
    background-color: #0A1931;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-game-introduction__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: invert(80%) sepia(100%) saturate(2000%) hue-rotate(30deg) brightness(100%) contrast(100%); /* Gold tint */
}

.page-game-introduction__feature-item h3 {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-game-introduction__feature-item p {
    color: #e0e0e0;
    font-size: 0.95em;
}

.page-game-introduction__how-to-start {
    background-color: #0A1931;
}

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

.page-game-introduction__step-item {
    background-color: #1a2c42;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
}

.page-game-introduction__step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FFD700;
    color: #0A1931;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-game-introduction__step-item h3 {
    font-size: 1.6em;
    color: #FFD700;
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-game-introduction__step-item p {
    color: #e0e0e0;
    font-size: 0.95em;
    margin-bottom: 20px;
}

.page-game-introduction__responsible-gaming {
    background-color: #1a2c42;
}

.page-game-introduction__responsible-gaming p {
    font-size: 1.1em;
    color: #f5e6ce;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
}

.page-game-introduction__related-guides {
    background-color: #0A1931;
}

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

.page-game-introduction__guide-item {
    background-color: #1a2c42;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    transition: transform 0.3s ease;
}

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

.page-game-introduction__guide-item h3 {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-game-introduction__guide-item h3 a {
    color: #FFD700;
    text-decoration: none;
}

.page-game-introduction__guide-item h3 a:hover {
    text-decoration: underline;
}

.page-game-introduction__guide-item p {
    color: #e0e0e0;
    font-size: 0.95em;
    margin-bottom: 20px;
}

.page-game-introduction__cta-final {
    background: linear-gradient(45deg, #0A1931, #1a2c42);
    padding: 80px 0;
}

.page-game-introduction__cta-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 20px;
}

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

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

/* Responsive adjustments */
@media (min-width: 768px) {
    .page-game-introduction__game-card {
        flex-direction: row;
        text-align: left;
    }

    .page-game-introduction__game-card:nth-child(even) {
        flex-direction: row-reverse;
    }

    .page-game-introduction__game-card-image {
        width: 40%;
        height: auto;
    }

    .page-game-introduction__game-card-content {
        width: 60%;
        padding: 40px;
    }
    
    .page-game-introduction__hero-title {
        font-size: 4.5em;
    }
}

@media (max-width: 767px) {
    .page-game-introduction__hero-title {
        font-size: 2.5em;
    }

    .page-game-introduction__hero-subtitle {
        font-size: 1em;
    }

    .page-game-introduction__section-title {
        font-size: 2em;
    }

    .page-game-introduction__game-card-title {
        font-size: 1.5em;
    }

    .page-game-introduction__feature-item h3 {
        font-size: 1.3em;
    }

    .page-game-introduction__step-item h3 {
        font-size: 1.4em;
    }

    .page-game-introduction__cta-title {
        font-size: 2em;
    }

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

    .page-game-introduction__cta-buttons {
        flex-direction: column;
    }

    .page-game-introduction__btn {
        width: 100%;
        margin: 5px 0;
    }
}