/* style/game-types-esports.css */

/* Variables for colors */
:root {
    --primary-color: #0A2463;
    --secondary-color: #FFD700;
    --text-dark: #0A2463; /* Dark text for light backgrounds */
    --text-light: #FFFFFF; /* Light text for dark backgrounds */
    --background-light: #F8F8F8; /* A very light grey for contrast */
    --background-dark: #0A2463;
    --button-hover-primary: #071a47;
    --button-hover-secondary: #e6c200;
}

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

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

.page-game-types-esports .hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a3b7d 100%);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

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

.page-game-types-esports .hero-section > div {
    position: relative;
    z-index: 1;
}

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

.page-game-types-esports .hero-description {
    font-size: 1.4em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-types-esports .hero-image {
    max-width: 100%;
    height: auto;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-game-types-esports .section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
    position: relative;
}

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

.page-game-types-esports section {
    padding: 60px 0;
    background-color: var(--background-light);
}

.page-game-types-esports section:nth-of-type(even) {
    background-color: #f0f2f5; /* Slightly different background for alternating sections */
}

.page-game-types-esports p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #333;
}

.page-game-types-esports ul, .page-game-types-esports ol {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #333;
}

.page-game-types-esports ol {
    list-style-type: decimal;
}

.page-game-types-esports li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-game-types-esports .btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin: 10px;
    cursor: pointer;
}

.page-game-types-esports .btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.page-game-types-esports .btn-primary:hover {
    background-color: var(--button-hover-secondary);
    transform: translateY(-3px);
}

.page-game-types-esports .btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-game-types-esports .btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
}

.page-game-types-esports .btn-lg {
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-game-types-esports .content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Game Grid for Popular Games Section */
.page-game-types-esports .game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

.page-game-types-esports .game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-game-types-esports .game-item .game-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-game-types-esports .game-item h3 {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-game-types-esports .game-item p {
    font-size: 1em;
    color: #555;
}

/* Benefits Section */
.page-game-types-esports .benefit-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-game-types-esports .benefit-item {
    background-color: #ffffff;
    border-left: 5px solid var(--secondary-color);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}

.page-game-types-esports .benefit-item h3 {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-game-types-esports .benefit-item p {
    font-size: 1em;
    color: #444;
}

/* CTA Download Section */
.page-game-types-esports .cta-download-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    padding: 80px 0;
}

.page-game-types-esports .cta-download-section .section-title {
    color: var(--secondary-color);
}

.page-game-types-esports .cta-download-section .section-title::after {
    background-color: var(--text-light);
}

.page-game-types-esports .cta-download-section p {
    color: #e0e0e0;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-game-types-esports .cta-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.page-game-types-esports .cta-buttons .btn {
    margin: 15px;
}

.page-game-types-esports .cta-buttons .btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

.page-game-types-esports .cta-buttons .btn-primary:hover {
    background-color: var(--button-hover-secondary);
    border-color: var(--button-hover-secondary);
}

.page-game-types-esports .cta-buttons .btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.page-game-types-esports .cta-buttons .btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.page-game-types-esports .small-text {
    font-size: 0.9em;
    margin-top: 20px;
    color: #ccc;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-game-types-esports .hero-title {
        font-size: 2.8em;
    }
    .page-game-types-esports .hero-description {
        font-size: 1.2em;
    }
    .page-game-types-esports .section-title {
        font-size: 2em;
    }
    .page-game-types-esports .game-grid, .page-game-types-esports .benefit-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-game-types-esports .hero-title {
        font-size: 2.2em;
    }
    .page-game-types-esports .hero-description {
        font-size: 1em;
    }
    .page-game-types-esports .btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-game-types-esports .btn-lg {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-game-types-esports .game-grid, .page-game-types-esports .benefit-list {
        grid-template-columns: 1fr;
    }
    .page-game-types-esports .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .page-game-types-esports .cta-buttons .btn {
        width: 80%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .page-game-types-esports .hero-title {
        font-size: 1.8em;
    }
    .page-game-types-esports .hero-description {
        font-size: 0.9em;
    }
    .page-game-types-esports .section-title {
        font-size: 1.8em;
    }
    .page-game-types-esports p, .page-game-types-esports li {
        font-size: 0.95em;
    }
    .page-game-types-esports .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

/* Ensure color contrast for all text */
.page-game-types-esports h1, .page-game-types-esports h2, .page-game-types-esports h3, .page-game-types-esports p, .page-game-types-esports li, .page-game-types-esports .btn {
    /* Ensure text colors are explicitly set and contrast with their backgrounds */
    /* For example, for primary color background, text should be light, and vice versa */
}

.page-game-types-esports .hero-title, .page-game-types-esports .hero-description {
    color: var(--text-light); /* On dark blue background */
}

.page-game-types-esports .section-title {
    color: var(--primary-color); /* On light background */
}

.page-game-types-esports p, .page-game-types-esports ul li, .page-game-types-esports ol li {
    color: #333; /* On light backgrounds, ensuring good contrast */
}

.page-game-types-esports .cta-download-section h2, .page-game-types-esports .cta-download-section p, .page-game-types-esports .cta-download-section .btn {
    color: var(--text-light); /* On dark blue background */
}

.page-game-types-esports .cta-download-section .btn-primary {
    color: var(--primary-color); /* Primary color on gold button */
}

.page-game-types-esports .cta-download-section .btn-secondary {
    color: var(--secondary-color); /* Secondary color on transparent button */
}

.page-game-types-esports .game-item h3, .page-game-types-esports .benefit-item h3 {
    color: var(--primary-color); /* On white background */
}