/* style/slot-games.css */

/* General styles for the page-slot-games scope */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background #FFFFFF */
    background-color: #ffffff; /* Explicitly set to match body background */
}

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

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

.page-slot-games__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    color: #555555;
}

.page-slot-games__sub-title {
    font-size: 1.8em;
    color: #017439;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    box-sizing: border-box;
}

.page-slot-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: none !important; /* Ensure no filter is used */
}

.page-slot-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
    max-width: 800px;
    padding: 40px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.7); /* Dark background for hero content */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFF00; /* Yellow for attention */
    line-height: 1.2;
    font-weight: bold;
}

.page-slot-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-tertiary,
.page-slot-games__btn-link {
    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;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow on mobile */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-slot-games__btn-primary {
    background-color: #C30808; /* Register/Login red */
    color: #FFFF00; /* Register/Login yellow text */
    border: 2px solid #C30808;
}

.page-slot-games__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-slot-games__btn-secondary {
    background-color: #017439; /* Brand primary green */
    color: #ffffff;
    border: 2px solid #017439;
}

.page-slot-games__btn-secondary:hover {
    background-color: #005a2b;
    border-color: #005a2b;
}

.page-slot-games__btn-tertiary {
    background-color: #f0f0f0;
    color: #017439;
    border: 2px solid #e0e0e0;
}

.page-slot-games__btn-tertiary:hover {
    background-color: #e0e0e0;
    border-color: #d0d0d0;
}

.page-slot-games__btn-link {
    background: none;
    color: #017439;
    border: none;
    padding: 0;
    text-decoration: underline;
}

.page-slot-games__btn-link:hover {
    color: #005a2b;
}


/* Introduction Section */
.page-slot-games__introduction {
    padding: 60px 0;
}

.page-slot-games__intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-slot-games__intro-image-wrapper {
    text-align: center;
}

.page-slot-games__intro-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    filter: none !important; /* Ensure no filter is used */
}

/* Game Types Section */
.page-slot-games__game-types {
    background-color: #017439; /* Dark background */
    color: #ffffff; /* Light text */
    padding: 60px 0;
}

.page-slot-games__game-types .page-slot-games__section-title {
    color: #ffffff;
}

.page-slot-games__game-types .page-slot-games__section-description {
    color: #f0f0f0;
}

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

.page-slot-games__card {
    background-color: #ffffff; /* Light background for card */
    color: #333333; /* Dark text for card */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-slot-games__card:hover {
    transform: translateY(-5px);
}

.page-slot-games__card-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slot-games__card-text {
    font-size: 1em;
    color: #555555;
}

/* Guide Section */
.page-slot-games__guide {
    padding: 60px 0;
}

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

.page-slot-games__guide-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.page-slot-games__guide-icon {
    font-size: 2em;
    font-weight: bold;
    color: #017439;
    background-color: #e6ffe6; /* Light green background for icon */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.page-slot-games__guide-title {
    font-size: 1.4em;
    color: #017439;
    margin-bottom: 15px;
}

.page-slot-games__guide-item p {
    color: #555555;
    margin-bottom: 20px;
}

.page-slot-games__guide-image-wrapper {
    text-align: center;
    margin-top: 40px;
}

.page-slot-games__guide-main-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    filter: none !important; /* Ensure no filter is used */
}

/* Strategy Section */
.page-slot-games__strategy {
    background-color: #017439;
    color: #ffffff;
    padding: 60px 0;
}

.page-slot-games__strategy .page-slot-games__section-title {
    color: #ffffff;
}

.page-slot-games__strategy .page-slot-games__section-description {
    color: #f0f0f0;
}

.page-slot-games__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__strategy-list li {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 1.1em;
    color: #f0f0f0;
    line-height: 1.8;
}

.page-slot-games__strategy-list li strong {
    color: #FFFF00; /* Highlight important points */
}

/* Promotions Section */
.page-slot-games__promotions {
    padding: 60px 0;
}

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

.page-slot-games__promo-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.page-slot-games__promo-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    filter: none !important; /* Ensure no filter is used */
}

.page-slot-games__promo-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-slot-games__promo-title {
    font-size: 1.6em;
    color: #017439;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__promo-text {
    color: #555555;
    margin-bottom: 20px;
}

/* Security Section */
.page-slot-games__security {
    background-color: #017439;
    color: #ffffff;
    padding: 60px 0;
}

.page-slot-games__security .page-slot-games__section-title {
    color: #ffffff;
}

.page-slot-games__security .page-slot-games__section-description {
    color: #f0f0f0;
}

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

.page-slot-games__security-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
}

.page-slot-games__security-item .page-slot-games__sub-title {
    color: #FFFF00;
    font-size: 1.4em;
    margin-top: 0;
}

.page-slot-games__security-item p {
    color: #f0f0f0;
}

.page-slot-games__security-image-wrapper {
    grid-column: 1 / -1; /* Span full width on desktop */
    text-align: center;
    margin-top: 40px;
}

.page-slot-games__security-image {
    width: 800px; /* Specific width for desktop */
    height: 600px; /* Specific height for desktop */
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    filter: none !important; /* Ensure no filter is used */
}

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

.page-slot-games__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-slot-games__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #017439;
    cursor: pointer;
    background-color: #eaf7ed; /* Light green background for question */
    border-bottom: 1px solid #e0e0e0;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
    border-bottom: 1px solid #d0d0d0;
}

.page-slot-games__faq-qtext {
    flex-grow: 1;
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    line-height: 1;
}

.page-slot-games__faq-answer {
    padding: 20px 25px;
    background-color: #ffffff;
    color: #555555;
    font-size: 1em;
}

.page-slot-games__faq-answer p {
    margin-bottom: 10px;
}

.page-slot-games__faq-answer .page-slot-games__btn-link {
    margin-top: 10px;
    display: inline-block;
}

/* Final CTA Section */
.page-slot-games__cta-final {
    background-color: #017439;
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.page-slot-games__cta-final .page-slot-games__section-title {
    color: #ffffff;
    font-size: 2.8em;
}

.page-slot-games__cta-final .page-slot-games__section-description {
    color: #f0f0f0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Global image styles (for all images within page-slot-games) */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure no filter is used on images */
.page-slot-games img {
  filter: none !important;
}

/* 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__sub-title {
        font-size: 1.5em;
    }
    .page-slot-games__intro-grid {
        grid-template-columns: 1fr;
    }
    .page-slot-games__intro-image-wrapper {
        order: -1; /* Image first on smaller screens */
        margin-bottom: 30px;
    }
    .page-slot-games__security-grid {
      grid-template-columns: 1fr;
    }
    .page-slot-games__security-image-wrapper {
      margin-top: 30px;
    }
    .page-slot-games__security-image {
      width: 100%; /* Make image responsive */
      height: auto;
    }
}

@media (max-width: 768px) {
    /* Mobile specific styles */
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-slot-games__hero-section {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-slot-games__hero-content {
        padding: 25px;
        max-width: 90%;
    }

    .page-slot-games__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .page-slot-games__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }

    .page-slot-games__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__btn-tertiary,
    .page-slot-games__btn-link {
        width: 100% !important;
        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__cta-buttons,
    .page-slot-games__button-group,
    .page-slot-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-slot-games__cta-buttons--center {
      flex-direction: column;
    }

    .page-slot-games__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .page-slot-games__section-description {
        font-size: 1em;
        margin-bottom: 25px;
    }

    .page-slot-games__sub-title {
        font-size: 1.3em;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-slot-games__intro-grid {
        gap: 20px;
    }

    .page-slot-games__cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games__guide-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games__promotions-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-slot-games__promo-image {
        height: 200px; /* Adjust height for mobile */
    }

    .page-slot-games__security-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games__security-image-wrapper {
        order: -1; /* Image first on mobile */
        margin-bottom: 20px;
    }

    .page-slot-games__security-image {
        width: 100% !important;
        height: auto !important;
    }

    .page-slot-games__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

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

    .page-slot-games__cta-final .page-slot-games__section-title {
        font-size: 2em;
    }

    .page-slot-games__cta-final .page-slot-games__section-description {
        font-size: 1em;
    }

    /* Images within content area */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
}