/* style/games.css */
.page-games {
    --primary-color: #0A1931;
    --secondary-color: #E6B325;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #0A1931;
    --bg-light: #f4f4f4;
    --border-color: #2a3d5f;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--bg-dark);
}

.page-games a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-games a:hover {
    text-decoration: underline;
    color: #ffd700; /* Slightly brighter gold on hover */
}

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

.page-games__hero {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a2a47 100%);
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.page-games__hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 1;
}

.page-games__hero-title {
    font-size: 3.5em;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-games__hero-description {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.page-games__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-games__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.page-games__btn--primary {
    background-color: var(--secondary-color);
    color: var(--bg-dark);
}

.page-games__btn--primary:hover {
    background-color: #ffd700; /* Brighter gold */
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-games__btn--secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-games__btn--secondary:hover {
    background-color: var(--secondary-color);
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    overflow: hidden;
}

.page-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.page-games__introduction,
.page-games__why-choose,
.page-games__cta-bottom {
    padding: 60px 0;
    background-color: var(--primary-color);
}

.page-games__introduction {
    background-color: #1a2a47;
}

.page-games__section-title {
    font-size: 2.8em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-games__text-block {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.85);
    text-align: justify;
    margin-bottom: 20px;
}

.page-games__image-full-width {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-games__categories {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

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

.page-games__category-card {
    background-color: #1a2a47;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-games__category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

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

.page-games__card-title {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin: 20px 20px 10px;
    font-weight: bold;
}

.page-games__card-title a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-games__card-title a:hover {
    text-decoration: underline;
    color: #ffd700;
}

.page-games__card-description {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.75);
    padding: 0 20px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-games__card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 20px;
    gap: 10px;
}

.page-games__btn--link {
    background-color: transparent;
    color: var(--text-light);
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.9em;
}

.page-games__btn--link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.page-games__why-choose {
    background-color: #0d1e3a;
    padding-bottom: 80px;
}

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

.page-games__feature-item {
    background-color: #1a2a47;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-games__feature-item:hover {
    transform: translateY(-5px);
    background-color: #2a3d5f;
}

.page-games__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--secondary-color));
}

.page-games__feature-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-games__feature-description {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.7);
}

.page-games__cta-bottom {
    background: linear-gradient(45deg, var(--bg-dark), #1a2a47);
    text-align: center;
    padding: 80px 0;
}

.page-games__cta-actions {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.page-games__btn--large {
    padding: 18px 40px;
    font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-games__hero-title {
        font-size: 2.8em;
    }
    .page-games__section-title {
        font-size: 2.2em;
    }
    .page-games__category-grid,
    .page-games__features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-games__hero {
        padding: 60px 0;
        min-height: 400px;
    }
    .page-games__hero-title {
        font-size: 2.2em;
    }
    .page-games__hero-description {
        font-size: 1em;
    }
    .page-games__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-games__btn {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-games__introduction,
    .page-games__why-choose,
    .page-games__cta-bottom {
        padding: 40px 0;
    }
    .page-games__category-card {
        margin: 0 auto;
        max-width: 350px;
    }
    .page-games__feature-item {
        padding: 20px;
    }
    .page-games__cta-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-games__btn--large {
        width: 90%;
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .page-games__hero-title {
        font-size: 1.8em;
    }
    .page-games__hero-description {
        font-size: 0.9em;
    }
    .page-games__section-title {
        font-size: 1.5em;
    }
    .page-games__btn {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-games__card-title {
        font-size: 1.5em;
    }
    .page-games__card-description {
        font-size: 0.9em;
    }
    .page-games__btn--large {
        font-size: 1.1em;
    }
}