/* style/games-types.css */

:root {
    --page-games-types-primary-color: #0047AB;
    --page-games-types-secondary-color: #FFD700;
    --page-games-types-text-dark: #2c3e50;
    --page-games-types-text-light: #ffffff;
    --page-games-types-background-light: #f8f9fa;
    --page-games-types-background-dark: #003380;
    --page-games-types-border-color: #e0e0e0;
}

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

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

.page-games-types__hero {
    background: linear-gradient(135deg, var(--page-games-types-primary-color) 0%, var(--page-games-types-background-dark) 100%);
    color: var(--page-games-types-text-light);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-games-types__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--page-games-types-secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.page-games-types__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.page-games-types__section-title {
    font-size: 2.2em;
    color: var(--page-games-types-primary-color);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    position: relative;
    font-weight: bold;
}

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

.page-games-types__text-content {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--page-games-types-text-dark);
}

.page-games-types__highlight {
    color: var(--page-games-types-primary-color);
    font-weight: bold;
}

.page-games-types__btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-games-types__btn--primary {
    background-color: var(--page-games-types-secondary-color);
    color: var(--page-games-types-primary-color);
    border: 2px solid var(--page-games-types-secondary-color);
}

.page-games-types__btn--primary:hover {
    background-color: transparent;
    color: var(--page-games-types-secondary-color);
    border-color: var(--page-games-types-secondary-color);
}

.page-games-types__btn--secondary {
    background-color: var(--page-games-types-primary-color);
    color: var(--page-games-types-text-light);
    border: 2px solid var(--page-games-types-primary-color);
}

.page-games-types__btn--secondary:hover {
    background-color: transparent;
    color: var(--page-games-types-primary-color);
    border-color: var(--page-games-types-primary-color);
}

.page-games-types__btn--center {
    display: block;
    margin: 40px auto 20px auto;
    width: fit-content;
}

.page-games-types__overview,
.page-games-types__why-choose,
.page-games-types__getting-started,
.page-games-types__cta {
    padding: 60px 0;
}

.page-games-types__game-categories {
    padding: 60px 0;
    background-color: var(--page-games-types-background-light);
}

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

.page-games-types__game-card {
    background-color: var(--page-games-types-text-light);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-games-types__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--page-games-types-border-color);
}

.page-games-types__game-title {
    font-size: 1.8em;
    color: var(--page-games-types-primary-color);
    padding: 20px 25px 10px;
    font-weight: bold;
}

.page-games-types__game-description {
    font-size: 1em;
    color: var(--page-games-types-text-dark);
    padding: 0 25px 20px;
    flex-grow: 1;
}

.page-games-types__card-actions {
    padding: 0 25px 25px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: auto; /* Push buttons to the bottom */
}

.page-games-types__card-actions .page-games-types__btn {
    flex: 1 1 auto;
    min-width: 120px;
    text-align: center;
    padding: 10px 15px;
    font-size: 0.95em;
}

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

.page-games-types__feature-list li {
    background-color: var(--page-games-types-text-light);
    border-left: 5px solid var(--page-games-types-secondary-color);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.page-games-types__feature-list li:hover {
    transform: translateY(-5px);
}

.page-games-types__list-icon {
    font-size: 2em;
    color: var(--page-games-types-secondary-color);
    margin-bottom: 15px;
    display: block;
}

.page-games-types__list-title {
    font-size: 1.5em;
    color: var(--page-games-types-primary-color);
    margin-bottom: 10px;
}

.page-games-types__list-description {
    font-size: 1em;
    color: var(--page-games-types-text-dark);
}

.page-games-types__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-games-types__steps-list li {
    background-color: var(--page-games-types-text-light);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    counter-increment: step-counter;
}

.page-games-types__steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--page-games-types-secondary-color);
    color: var(--page-games-types-primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    font-weight: bold;
    border: 3px solid var(--page-games-types-primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-games-types__step-title {
    font-size: 1.6em;
    color: var(--page-games-types-primary-color);
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-games-types__step-description {
    font-size: 1em;
    color: var(--page-games-types-text-dark);
}

.page-games-types__cta {
    background: var(--page-games-types-primary-color);
    color: var(--page-games-types-text-light);
    text-align: center;
    padding: 80px 0;
    border-top: 5px solid var(--page-games-types-secondary-color);
}

.page-games-types__cta-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--page-games-types-secondary-color);
    font-weight: bold;
}

.page-games-types__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-games-types__hero-title {
        font-size: 2.2em;
    }
    .page-games-types__hero-description {
        font-size: 1.1em;
    }
    .page-games-types__section-title {
        font-size: 1.8em;
    }
    .page-games-types__game-title {
        font-size: 1.6em;
    }
    .page-games-types__list-title {
        font-size: 1.3em;
    }
    .page-games-types__cta-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-games-types__hero {
        padding: 60px 0;
    }
    .page-games-types__hero-title {
        font-size: 1.8em;
    }
    .page-games-types__hero-description {
        font-size: 1em;
    }
    .page-games-types__section-title {
        font-size: 1.6em;
    }
    .page-games-types__game-categories,
    .page-games-types__overview,
    .page-games-types__why-choose,
    .page-games-types__getting-started,
    .page-games-types__cta {
        padding: 40px 0;
    }
    .page-games-types__category-grid,
    .page-games-types__feature-list,
    .page-games-types__steps-list {
        grid-template-columns: 1fr;
    }
    .page-games-types__game-card {
        margin: 0 auto;
    }
    .page-games-types__card-actions {
        flex-direction: column;
        align-items: center;
    }
    .page-games-types__card-actions .page-games-types__btn {
        width: 100%;
        max-width: 250px;
    }
    .page-games-types__btn--center {
        width: 100%;
        max-width: 300px;
    }
    .page-games-types__cta-title {
        font-size: 1.8em;
    }
    .page-games-types__cta-description {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-games-types__container {
        padding: 0 15px;
    }
    .page-games-types__hero-title {
        font-size: 1.5em;
    }
    .page-games-types__section-title {
        font-size: 1.4em;
    }
    .page-games-types__game-title {
        font-size: 1.4em;
    }
    .page-games-types__list-title {
        font-size: 1.2em;
    }
    .page-games-types__step-title {
        font-size: 1.4em;
    }
    .page-games-types__cta-title {
        font-size: 1.6em;
    }
}