/* style/game-providers.css */

.page-game-providers {
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

/* Hero Section */
.page-game-providers__hero-section {
    position: relative;
    text-align: center;
    color: #ffffff; /* White text on hero image */
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Ensure image doesn't overflow */
    min-height: 500px; /* Ensure hero section has a decent height */
}

.page-game-providers__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.6); /* Darken image slightly for text readability, NO color change */
}

.page-game-providers__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.page-game-providers__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-game-providers__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.page-game-providers__hero-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #8B0000; /* Deep red text */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 2px solid #FFD700;
}

.page-game-providers__hero-button:hover {
    background-color: #8B0000; /* Deep red on hover */
    color: #FFD700; /* Gold text on hover */
    border-color: #FFD700;
}

/* General Section Styling */
.page-game-providers__introduction-section,
.page-game-providers__categories-section,
.page-game-providers__why-partner-section,
.page-game-providers__cta-section,
.page-game-providers__faq-section,
.page-game-providers__partner-logos-section {
    padding: 60px 0;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eeeeee;
}

.page-game-providers__categories-section,
.page-game-providers__why-partner-section {
    background-color: #ffffff;
}

.page-game-providers__section-title {
    font-size: 2.5em;
    color: #8B0000; /* Deep red title */
    text-align: center;
    margin-bottom: 20px;
}

.page-game-providers__section-text {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #555555;
}

/* Introduction Section - Stats Grid */
.page-game-providers__stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 40px;
}

.page-game-providers__stat-item {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    padding: 20px;
    margin: 15px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.page-game-providers__stat-number {
    font-size: 3em;
    color: #FFD700; /* Gold number */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-game-providers__stat-label {
    font-size: 1.2em;
    color: #8B0000; /* Deep red label */
    font-weight: 600;
}

/* Categories Section - Card Grid */
.page-game-providers__category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-game-providers__category-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-game-providers__category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-game-providers__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-game-providers__card-title {
    font-size: 1.8em;
    color: #8B0000; /* Deep red title */
    margin: 20px 15px 10px 15px;
}

.page-game-providers__card-description {
    font-size: 1em;
    color: #666666;
    padding: 0 20px 20px 20px;
    flex-grow: 1; /* Allows description to take available space */
}

.page-game-providers__card-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #8B0000; /* Deep red text */
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 2px solid #FFD700;
}

.page-game-providers__card-button:hover {
    background-color: #8B0000; /* Deep red on hover */
    color: #FFD700; /* Gold text on hover */
    border-color: #FFD700;
}

/* Why Partner Section - Feature List */
.page-game-providers__feature-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-game-providers__feature-item {
    background-color: #fefefe;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.page-game-providers__feature-heading {
    font-size: 1.5em;
    color: #FFD700; /* Gold heading */
    margin-bottom: 10px;
}

.page-game-providers__feature-description {
    font-size: 1em;
    color: #666666;
}

/* CTA Section */
.page-game-providers__cta-section {
    background-color: #8B0000; /* Deep red background */
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
}

.page-game-providers__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold title */
}

.page-game-providers__cta-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-game-providers__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-game-providers__cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.page-game-providers__cta-button--primary {
    background-color: #FFD700; /* Gold button */
    color: #8B0000; /* Deep red text */
    border: 2px solid #FFD700;
}

.page-game-providers__cta-button--primary:hover {
    background-color: #f0c200;
    border-color: #f0c200;
}

.page-game-providers__cta-button--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-game-providers__cta-button--secondary:hover {
    background-color: #FFD700; /* Gold background */
    color: #8B0000; /* Deep red text */
}

/* FAQ Section */
.page-game-providers__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-game-providers__faq-question {
    font-size: 1.3em;
    color: #8B0000; /* Deep red question */
    margin-bottom: 10px;
    cursor: pointer; /* Indicate interactivity */
}

.page-game-providers__faq-answer {
    font-size: 1em;
    color: #555555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding-top: 0;
}

.page-game-providers__faq-answer.page-game-providers__faq-answer--active {
    max-height: 200px; /* Adjust as needed for content */
    padding-top: 15px;
}

.page-game-providers__faq-button {
    display: block;
    width: fit-content;
    margin: 40px auto 0 auto;
    background-color: #FFD700;
    color: #8B0000;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: 2px solid #FFD700;
}

.page-game-providers__faq-button:hover {
    background-color: #8B0000;
    color: #FFD700;
    border-color: #FFD700;
}

/* Partner Logos Section */
.page-game-providers__logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Ensure logos are at least 200px wide */
    gap: 30px;
    margin-top: 40px;
    align-items: center;
    justify-items: center;
}

.page-game-providers__partner-logo {
    width: 200px; /* Minimum width */
    height: 200px; /* Minimum height */
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: filter 0.3s ease;
    display: block;
}

.page-game-providers__partner-logo:hover {
    filter: grayscale(0%) opacity(1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-game-providers__hero-title {
        font-size: 2.8em;
    }
    .page-game-providers__section-title {
        font-size: 2em;
    }
    .page-game-providers__stat-number {
        font-size: 2.5em;
    }
    .page-game-providers__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-game-providers {
        padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
    }
    .page-game-providers__hero-section {
        padding: 60px 15px;
        min-height: 400px;
    }
    .page-game-providers__hero-title {
        font-size: 2em;
    }
    .page-game-providers__hero-description {
        font-size: 1.1em;
    }
    .page-game-providers__section-title {
        font-size: 1.8em;
    }
    .page-game-providers__section-text {
        font-size: 1em;
    }
    .page-game-providers__stats-grid,
    .page-game-providers__category-grid,
    .page-game-providers__feature-list {
        grid-template-columns: 1fr;
    }
    .page-game-providers__stat-item,
    .page-game-providers__category-card,
    .page-game-providers__feature-item {
        margin: 10px 0;
    }
    .page-game-providers__card-image {
        height: 200px; /* Smaller height for mobile cards, but still >= 200px width */
    }
    .page-game-providers__cta-title {
        font-size: 1.8em;
    }
    .page-game-providers__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-game-providers__cta-button {
        width: 100%;
        max-width: 300px;
    }

    /* Mobile overflow prevention for images */
    .page-game-providers img {
        max-width: 100%;
        height: auto;
    }
    .page-game-providers__partner-logo {
        width: 100%; /* Take full width of grid item */
        height: auto; /* Maintain aspect ratio */
        max-height: 200px; /* Cap height if necessary, ensuring minimum 200px width is respected by grid */
    }
}

@media (max-width: 480px) {
    .page-game-providers__hero-title {
        font-size: 1.6em;
    }
    .page-game-providers__hero-description {
        font-size: 0.95em;
    }
    .page-game-providers__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-game-providers__section-title {
        font-size: 1.5em;
    }
    .page-game-providers__stat-number {
        font-size: 2em;
    }
    .page-game-providers__card-title {
        font-size: 1.5em;
    }
    .page-game-providers__cta-title {
        font-size: 1.6em;
    }
    .page-game-providers__faq-question {
        font-size: 1.1em;
    }
}