/* style/game-types.css */

/* Base styles for the page content */
.page-game-types {
    font-family: 'Arial', sans-serif;
    color: #f0f0f0; /* Light text for dark background */
    background-color: #1a1a1a; /* Dark background */
    line-height: 1.6;
}

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

.page-game-types__section-title {
    font-size: 2.8em;
    color: #FFD700; /* Gold for titles */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    font-weight: bold;
}

.page-game-types__section-subtitle {
    font-size: 1.2em;
    color: #ccc; /* Lighter grey for subtitles */
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-types__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
}

.page-game-types__btn--primary {
    background-color: #007BFF; /* Main blue color */
    color: #fff;
    border: 2px solid #007BFF;
}

.page-game-types__btn--primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
}

.page-game-types__btn--secondary {
    background-color: #FFD700; /* Gold color */
    color: #1a1a1a; /* Dark text for gold background */
    border: 2px solid #FFD700;
}

.page-game-types__btn--secondary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
}

.page-game-types__btn--outline {
    background-color: transparent;
    color: #007BFF; /* Main blue color */
    border: 2px solid #007BFF;
}

.page-game-types__btn--outline:hover {
    background-color: #007BFF;
    color: #fff;
    transform: translateY(-2px);
}

.page-game-types__btn--link {
    background-color: transparent;
    color: #007BFF;
    border: none;
    padding: 0;
    font-weight: bold;
}

.page-game-types__btn--link:hover {
    text-decoration: underline;
    color: #4da3ff;
}

/* Hero Section */
.page-game-types__hero-section {
    background: linear-gradient(135deg, #007BFF, #0056b3); /* Blue gradient */
    padding: 100px 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-game-types__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract,gaming,lights]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-game-types__hero-section .page-game-types__container {
    position: relative;
    z-index: 1;
}

.page-game-types__hero-title {
    font-size: 4em;
    margin-bottom: 20px;
    font-weight: 900;
    color: #FFD700; /* Gold for hero title */
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.page-game-types__hero-description {
    font-size: 1.5em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

/* Intro Section */
.page-game-types__intro-section {
    padding: 80px 0;
    background-color: #2a2a2a;
}

.page-game-types__intro-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-game-types__intro-text {
    flex: 1;
}

.page-game-types__intro-text .page-game-types__section-title {
    text-align: left;
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 20px;
}

.page-game-types__intro-text p {
    font-size: 1.1em;
    color: #ccc;
    margin-bottom: 15px;
}

.page-game-types__intro-image-wrapper {
    flex: 0 0 450px;
    max-width: 450px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-game-types__intro-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Game Categories Section */
.page-game-types__game-categories {
    padding: 80px 0;
    background-color: #1a1a1a;
}

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

.page-game-types__game-card {
    background-color: #2a2a2a;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-types__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.page-game-types__game-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-game-types__game-card-title {
    font-size: 1.8em;
    color: #007BFF; /* Main blue for card titles */
    margin-bottom: 15px;
    padding: 0 20px;
}

.page-game-types__game-card-description {
    font-size: 1em;
    color: #b0b0b0;
    padding: 0 20px;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Why Choose Us Section */
.page-game-types__why-choose-us {
    padding: 80px 0;
    background-color: #222;
}

.page-game-types__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

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

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

.page-game-types__benefit-title {
    font-size: 1.6em;
    color: #FFD700; /* Gold for benefit titles */
    margin-bottom: 15px;
}

.page-game-types__benefit-item p {
    color: #ccc;
    font-size: 1.05em;
}

/* Detail Pages Section */
.page-game-types__detail-pages {
    padding: 80px 0;
    background-color: #1a1a1a;
}

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

.page-game-types__detail-item {
    background-color: #2a2a2a;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

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

.page-game-types__detail-title {
    font-size: 1.8em;
    color: #007BFF;
    margin-bottom: 15px;
}

.page-game-types__detail-title a {
    color: #007BFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-game-types__detail-title a:hover {
    color: #4da3ff;
    text-decoration: underline;
}

.page-game-types__detail-description {
    color: #b0b0b0;
    font-size: 1.05em;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* CTA Section */
.page-game-types__cta-section {
    background: linear-gradient(90deg, #007BFF, #4da3ff); /* Blue gradient */
    padding: 80px 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-game-types__cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract,geometric,blue_gold]') no-repeat center center/cover;
    opacity: 0.15;
    z-index: 0;
}

.page-game-types__cta-section .page-game-types__container {
    position: relative;
    z-index: 1;
}

.page-game-types__cta-image {
    max-width: 150px;
    margin-bottom: 30px;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.3));
}

.page-game-types__cta-title {
    font-size: 3.5em;
    color: #FFD700; /* Gold for CTA title */
    margin-bottom: 20px;
    font-weight: 900;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

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

.page-game-types__cta-section .page-game-types__btn {
    margin: 0 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-game-types__hero-title {
        font-size: 3.5em;
    }
    .page-game-types__intro-content {
        flex-direction: column;
        text-align: center;
    }
    .page-game-types__intro-text .page-game-types__section-title {
        text-align: center;
    }
    .page-game-types__intro-image-wrapper {
        max-width: 100%;
    }
    .page-game-types__cta-title {
        font-size: 3em;
    }
}

@media (max-width: 768px) {
    .page-game-types__hero-section {
        padding: 80px 0;
    }
    .page-game-types__hero-title {
        font-size: 2.8em;
    }
    .page-game-types__hero-description {
        font-size: 1.2em;
    }
    .page-game-types__section-title {
        font-size: 2.2em;
    }
    .page-game-types__section-subtitle {
        font-size: 1em;
    }
    .page-game-types__game-grid,
    .page-game-types__benefits-grid,
    .page-game-types__detail-list {
        grid-template-columns: 1fr;
    }
    .page-game-types__cta-title {
        font-size: 2.5em;
    }
    .page-game-types__cta-description {
        font-size: 1.1em;
    }
    .page-game-types__cta-section .page-game-types__btn {
        display: block;
        margin: 15px auto;
        width: 80%;
    }
}

@media (max-width: 480px) {
    .page-game-types__hero-title {
        font-size: 2em;
    }
    .page-game-types__hero-description {
        font-size: 1em;
    }
    .page-game-types__section-title {
        font-size: 1.8em;
    }
    .page-game-types__game-card-title {
        font-size: 1.5em;
    }
    .page-game-types__cta-title {
        font-size: 2em;
    }
    .page-game-types__cta-image {
        max-width: 100px;
    }
}