/* style/eu9-games.css */

/* Base styles for the page */
.page-eu9-games {
    font-family: 'Arial', sans-serif;
    color: #f0f0f0; /* Light text on dark background */
    line-height: 1.6;
    background-color: #1A2B3C;
}

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

/* Hero Section */
.page-eu9-games__hero {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1A2B3C 0%, #3a4b5c 100%); /* Darker gradient for background */
}

.page-eu9-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 0;
}

.page-eu9-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    color: #FFD700; /* Gold for main titles */
}

.page-eu9-games__title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-eu9-games__subtitle {
    font-size: 1.4em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

/* General Buttons */
.page-eu9-games__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1em;
}

.page-eu9-games__btn--primary {
    background-color: #FFD700;
    color: #1A2B3C;
}

.page-eu9-games__btn--primary:hover {
    background-color: #e6c200;
    color: #0d1a26;
}

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

.page-eu9-games__btn--secondary:hover {
    background-color: #FFD700;
    color: #1A2B3C;
}

.page-eu9-games__btn--small {
    padding: 8px 15px;
    font-size: 0.9em;
}

.page-eu9-games__btn--large {
    padding: 15px 30px;
    font-size: 1.1em;
}

/* Section Styling */
.page-eu9-games__introduction,
.page-eu9-games__categories,
.page-eu9-games__why-eu9,
.page-eu9-games__tutorials,
.page-eu9-games__cta,
.page-eu9-games__responsible-gambling {
    padding: 60px 0;
    text-align: center;
}

.page-eu9-games__section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #FFD700;
    font-weight: bold;
}

.page-eu9-games__introduction p,
.page-eu9-games__responsible-gambling p {
    max-width: 900px;
    margin: 20px auto;
    font-size: 1.1em;
    color: #e0e0e0;
}

/* Category Grid */
.page-eu9-games__category-grid,
.page-eu9-games__tutorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-eu9-games__category-card,
.page-eu9-games__tutorial-card {
    background-color: #2a3b4c;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px 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;
    padding-bottom: 20px;
}

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

.page-eu9-games__category-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #3a4b5c;
}

.page-eu9-games__card-title {
    font-size: 1.5em;
    margin: 20px 15px 10px;
    color: #FFD700;
    font-weight: bold;
}

.page-eu9-games__card-title a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-eu9-games__card-title a:hover {
    color: #f0f0f0;
}

.page-eu9-games__category-card p,
.page-eu9-games__tutorial-card p {
    font-size: 1em;
    color: #c0c0c0;
    margin: 0 15px 20px;
    flex-grow: 1;
}

.page-eu9-games__category-card .page-eu9-games__btn,
.page-eu9-games__tutorial-card .page-eu9-games__btn {
    margin-top: auto;
    align-self: center;
}

/* Why EU9 Section */
.page-eu9-games__feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-eu9-games__feature-item {
    background-color: #2a3b4c;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.page-eu9-games__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(1.2);
}

.page-eu9-games__feature-item h3 {
    font-size: 1.3em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-eu9-games__feature-item p {
    color: #c0c0c0;
    font-size: 0.95em;
}

/* Call to Action Section */
.page-eu9-games__cta {
    background-color: #FFD700;
    color: #1A2B3C;
    padding: 80px 0;
}

.page-eu9-games__cta .page-eu9-games__section-title {
    color: #1A2B3C;
}

.page-eu9-games__cta p {
    color: #333;
    font-size: 1.2em;
    margin-bottom: 40px;
}

.page-eu9-games__cta-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-eu9-games__cta-buttons .page-eu9-games__btn--primary {
    background-color: #1A2B3C;
    color: #FFD700;
    border: 2px solid #1A2B3C;
}

.page-eu9-games__cta-buttons .page-eu9-games__btn--primary:hover {
    background-color: #3a4b5c;
    border-color: #3a4b5c;
    color: #FFD700;
}

.page-eu9-games__cta-buttons .page-eu9-games__btn--secondary {
    background-color: transparent;
    color: #1A2B3C;
    border: 2px solid #1A2B3C;
}

.page-eu9-games__cta-buttons .page-eu9-games__btn--secondary:hover {
    background-color: #1A2B3C;
    color: #FFD700;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-eu9-games__title {
        font-size: 2.8em;
    }
    .page-eu9-games__subtitle {
        font-size: 1.2em;
    }
    .page-eu9-games__section-title {
        font-size: 2em;
    }
    .page-eu9-games__category-grid,
    .page-eu9-games__tutorial-grid,
    .page-eu9-games__feature-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-eu9-games__hero {
        height: 450px;
    }
    .page-eu9-games__title {
        font-size: 2.2em;
    }
    .page-eu9-games__subtitle {
        font-size: 1em;
    }
    .page-eu9-games__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-eu9-games__btn--large {
        width: 80%;
        max-width: 300px;
    }
    .page-eu9-games__section-title {
        font-size: 1.8em;
    }
    .page-eu9-games__category-grid,
    .page-eu9-games__tutorial-grid,
    .page-eu9-games__feature-list {
        grid-template-columns: 1fr;
    }
    .page-eu9-games__introduction p,
    .page-eu9-games__responsible-gambling p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-eu9-games__hero {
        height: 400px;
    }
    .page-eu9-games__title {
        font-size: 1.8em;
    }
    .page-eu9-games__subtitle {
        font-size: 0.9em;
    }
    .page-eu9-games__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-eu9-games__section-title {
        font-size: 1.5em;
    }
    .page-eu9-games__category-card,
    .page-eu9-games__tutorial-card,
    .page-eu9-games__feature-item {
        padding: 20px;
    }
    .page-eu9-games__card-title {
        font-size: 1.3em;
    }
}