/* style/slot-games.css */

/* General Styles for page-slot-games */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light backgrounds */
    background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default to white */
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-slot-games__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-slot-games__sub-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 20px;
}

.page-slot-games__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-slot-games__paragraph strong,
.page-slot-games__paragraph em {
    color: #26A9E0; /* Highlight keywords with brand color */
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
}

.page-slot-games__btn-primary {
    background-color: #26A9E0; /* Brand primary color */
    color: #FFFFFF;
    border: 2px solid #26A9E0;
    margin-right: 15px;
}

.page-slot-games__btn-primary:hover {
    background-color: #1a7fb0; /* Slightly darker on hover */
    border-color: #1a7fb0;
}

.page-slot-games__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-slot-games__btn-secondary:hover {
    background-color: #f0f8ff; /* Light background on hover */
    color: #1a7fb0;
    border-color: #1a7fb0;
}

/* Section Backgrounds */
.page-slot-games__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}

.page-slot-games__dark-bg {
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-slot-games__dark-bg .page-slot-games__section-title,
.page-slot-games__dark-bg .page-slot-games__sub-title {
    color: #FFFFFF;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    background-color: #1a7fb0; /* Darker variant of brand color for hero background */
    color: #FFFFFF;
    padding: 60px 20px;
    overflow: hidden;
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
    margin-right: 20px;
}

.page-slot-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    color: #FFFFFF;
}

.page-slot-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    line-height: 1.5;
    color: #f0f0f0;
}

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

.page-slot-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Blend with background color */
}

/* About Section */
.page-slot-games__about-section {
    padding: 80px 0;
}

.page-slot-games__image-text-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-slot-games__content-image {
    max-width: 50%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games__text-block {
    flex: 1;
}

/* Features Section */
.page-slot-games__features-section {
    padding: 80px 0;
    text-align: center;
}

.page-slot-games__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games__feature-card {
    background-color: rgba(255, 255, 255, 0.15); /* Semi-transparent white on dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: #FFFFFF;
}

.page-slot-games__feature-card:hover {
    transform: translateY(-10px);
}

.page-slot-games__feature-icon {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px; /* Ensure images are not small icons */
}

.page-slot-games__feature-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-slot-games__feature-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* Popular Games Section */
.page-slot-games__popular-games-section {
    padding: 80px 0;
    text-align: center;
}

.page-slot-games__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games__game-card {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: left;
}

.page-slot-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-slot-games__game-title {
    font-size: 1.4em;
    padding: 15px;
    margin: 0;
}

.page-slot-games__game-title a {
    color: #26A9E0;
    text-decoration: none;
}

.page-slot-games__game-title a:hover {
    text-decoration: underline;
}

.page-slot-games__game-description {
    font-size: 0.95em;
    padding: 0 15px 15px;
    color: #555555;
}

.page-slot-games__view-all-button {
    margin-top: 50px;
}

/* How to Play Section */
.page-slot-games__how-to-play-section {
    padding: 80px 0;
    text-align: center;
}

.page-slot-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games__step-card {
    background-color: rgba(255, 255, 255, 0.15); /* Semi-transparent white on dark background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: #FFFFFF;
}

.page-slot-games__step-icon {
    width: 120px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px; /* Ensure images are not small icons */
}

.page-slot-games__step-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-slot-games__step-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 80px 0;
    text-align: center;
}

.page-slot-games__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games__promo-card {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: left;
}

.page-slot-games__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-slot-games__promo-title {
    font-size: 1.4em;
    padding: 15px;
    margin: 0;
}

.page-slot-games__promo-title a {
    color: #26A9E0;
    text-decoration: none;
}

.page-slot-games__promo-title a:hover {
    text-decoration: underline;
}

.page-slot-games__promo-description {
    font-size: 0.95em;
    padding: 0 15px 15px;
    color: #555555;
}

/* Responsible Gaming Section */
.page-slot-games__responsible-gaming-section {
    padding: 80px 0;
    text-align: center;
}

.page-slot-games__responsible-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-slot-games__responsible-content .page-slot-games__content-image {
    max-width: 45%;
}

.page-slot-games__responsible-list {
    flex: 1;
    list-style: none;
    padding: 0;
    text-align: left;
}

.page-slot-games__responsible-list li {
    background-color: rgba(255, 255, 255, 0.15);
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 8px;
    color: #FFFFFF;
}

.page-slot-games__responsible-list li strong {
    color: #FFFFFF;
}

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 80px 0;
}

.page-slot-games__faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #26A9E0;
    cursor: pointer;
    background-color: #f9f9f9;
    transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
    background-color: #f0f0f0;
}

.page-slot-games__faq-question h3 {
    margin: 0;
    color: #26A9E0;
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #26A9E0;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    transform: rotate(45deg); /* Plus to X */
}

.page-slot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #FFFFFF;
    color: #333333;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 25px;
}

.page-slot-games__faq-answer p {
    margin: 0;
    font-size: 1em;
    line-height: 1.6;
}

/* CTA Section */
.page-slot-games__cta-section {
    padding: 80px 0;
    text-align: center;
}

.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.page-slot-games__text-center {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 3em;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__image-text-grid,
    .page-slot-games__responsible-content {
        flex-direction: column;
    }
    .page-slot-games__content-image,
    .page-slot-games__responsible-content .page-slot-games__content-image {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-slot-games__container {
        padding: 0 15px;
    }

    .page-slot-games__hero-section {
        flex-direction: column;
        text-align: center;
        min-height: 500px;
        padding: 40px 15px;
    }
    .page-slot-games__hero-content {
        margin-right: 0;
        max-width: 100%;
    }
    .page-slot-games__hero-title {
        font-size: 2.5em;
    }
    .page-slot-games__hero-description {
        font-size: 1.1em;
    }
    .page-slot-games__hero-buttons,
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100% !important;
        margin-right: 0;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-slot-games__section-title {
        font-size: 1.8em;
    }
    .page-slot-games__sub-title {
        font-size: 1.5em;
    }

    .page-slot-games__content-image,
    .page-slot-games__responsible-content .page-slot-games__content-image,
    .page-slot-games__feature-icon,
    .page-slot-games__game-image,
    .page-slot-games__promo-image,
    .page-slot-games__step-icon {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-slot-games__hero-image-wrapper,
    .page-slot-games__image-text-grid,
    .page-slot-games__features-grid,
    .page-slot-games__game-grid,
    .page-slot-games__steps-grid,
    .page-slot-games__promo-grid,
    .page-slot-games__responsible-content,
    .page-slot-games__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-slot-games__feature-card,
    .page-slot-games__game-card,
    .page-slot-games__step-card,
    .page-slot-games__promo-card,
    .page-slot-games__faq-item {
      padding: 20px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .page-slot-games__faq-question {
      padding: 15px 20px;
      font-size: 1.1em;
    }

    .page-slot-games__faq-answer {
      padding: 0 20px;
    }

    .page-slot-games__faq-item.active .page-slot-games__faq-answer {
      padding: 15px 20px 20px;
    }
}

/* Ensure all images are responsive and not small icons */
.page-slot-games img {
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
    object-fit: cover;
    display: block;
    filter: none; /* Absolutely no CSS filter to change color */
}