/* style/games.css */
.page-games {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0;
    background-color: #121A2C;
    line-height: 1.6;
}

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

.page-games__hero-section {
    background: linear-gradient(135deg, #1A2B4C 0%, #0A1426 100%);
    color: #FFFFFF;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.page-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

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

.page-games__hero-title .highlight {
    color: #FFFFFF;
}

.page-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.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%) blur(5px);
    transform: scale(1.1);
}

.page-games__section-title {
    font-size: 2.8em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-games__section-title .highlight {
    color: #FFFFFF;
}

.page-games__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: #B0B0B0;
}

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

.page-games__btn--primary {
    background-color: #FFD700;
    color: #1A2B4C;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-games__btn--primary:hover {
    background-color: #E0B800;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-games__btn--secondary {
    background-color: #1A2B4C;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-games__btn--secondary:hover {
    background-color: #FFD700;
    color: #1A2B4C;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-games__btn--detail {
    background-color: #0A1426;
    color: #FFD700;
    border: 1px solid #FFD700;
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 5px;
}

.page-games__btn--detail:hover {
    background-color: #FFD700;
    color: #1A2B4C;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.3);
}

.page-games__categories-section, .page-games__why-choose-section, .page-games__detail-pages-section, .page-games__responsible-gaming-section, .page-games__cta-section {
    padding: 80px 0;
    background-color: #1A2B4C;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.page-games__categories-section {
    background-color: #0A1426;
}

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

.page-games__category-card, .page-games__detail-card {
    background-color: #1A2B4C;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-games__category-image, .page-games__detail-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.page-games__category-title, .page-games__detail-title {
    font-size: 1.8em;
    color: #FFD700;
    margin: 25px 15px 15px;
    font-weight: 600;
    line-height: 1.3;
}

.page-games__detail-title a {
    color: #FFD700;
    text-decoration: none;
}

.page-games__detail-title a:hover {
    color: #E0B800;
    text-decoration: underline;
}

.page-games__category-text, .page-games__detail-text {
    font-size: 1em;
    color: #B0B0B0;
    padding: 0 25px;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-games__category-card .page-games__btn, .page-games__detail-card .page-games__btn {
    margin: 0 25px 25px;
    width: calc(100% - 50px);
}

.page-games__why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.page-games__why-choose-content {
    text-align: left;
}

.page-games__why-choose-content .page-games__section-title {
    text-align: left;
}

.page-games__why-choose-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-games__why-choose-list li {
    background-color: #0A1426;
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 1.1em;
    color: #E0E0E0;
    border-left: 5px solid #FFD700;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-games__why-choose-list li strong {
    color: #FFD700;
}

.page-games__why-choose-image-wrapper {
    text-align: center;
}

.page-games__why-choose-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-games__responsible-gaming-section {
    background-color: #0A1426;
}

.page-games__responsible-gaming-content {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.page-games__responsible-gaming-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-games__responsible-gaming-text-wrapper {
    flex: 2;
    min-width: 300px;
}

.page-games__responsible-gaming-text-wrapper .page-games__section-title {
    text-align: left;
    margin-bottom: 25px;
}

.page-games__responsible-gaming-text-wrapper p {
    font-size: 1.1em;
    color: #B0B0B0;
    margin-bottom: 30px;
}

.page-games__cta-section {
    text-align: center;
    background: linear-gradient(45deg, #1A2B4C, #0A1426);
    padding: 100px 0;
}

.page-games__cta-title {
    font-size: 3em;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}

.page-games__cta-description {
    font-size: 1.3em;
    color: #E0E0E0;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-games__hero-title {
        font-size: 3em;
    }
    .page-games__section-title {
        font-size: 2.2em;
    }
    .page-games__why-choose-grid {
        grid-template-columns: 1fr;
    }
    .page-games__why-choose-content, .page-games__why-choose-content .page-games__section-title {
        text-align: center;
    }
    .page-games__responsible-gaming-content {
        flex-direction: column;
        text-align: center;
    }
    .page-games__responsible-gaming-text-wrapper .page-games__section-title {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-games__hero-section {
        padding: 60px 0;
    }
    .page-games__hero-title {
        font-size: 2.5em;
    }
    .page-games__hero-description {
        font-size: 1em;
    }
    .page-games__section-title {
        font-size: 1.8em;
    }
    .page-games__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-games__categories-section, .page-games__why-choose-section, .page-games__detail-pages-section, .page-games__responsible-gaming-section, .page-games__cta-section {
        padding: 60px 0;
    }
    .page-games__category-card, .page-games__detail-card {
        margin-bottom: 20px;
    }
    .page-games__cta-title {
        font-size: 2.2em;
    }
    .page-games__cta-description {
        font-size: 1.1em;
    }
    .page-games__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-games__hero-section {
        padding: 40px 0;
    }
    .page-games__hero-title {
        font-size: 2em;
    }
    .page-games__section-title {
        font-size: 1.6em;
    }
    .page-games__category-grid, .page-games__detail-grid {
        grid-template-columns: 1fr;
    }
    .page-games__category-title, .page-games__detail-title {
        font-size: 1.5em;
    }
    .page-games__cta-title {
        font-size: 1.8em;
    }
}

/* Keyword styling for emphasis */
.page-games .keyword {
    color: #FFD700;
    font-weight: bold;
}