/* style/slot-games.css */

/* Base styles for the page content */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background: #ffffff; /* Default background for main content area */
}

/* Ensure the first section accounts for the fixed header */
.page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px); /* Desktop and mobile header offset */
    background: linear-gradient(135deg, #26A9E0, #1a7fb3); /* Gradient with brand color */
    color: #ffffff;
    text-align: center;
    padding-bottom: 60px;
}

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

.page-slot-games__hero-content {
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-slot-games__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

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

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
    box-sizing: border-box;
    max-width: 100%;
}

.page-slot-games__btn-primary {
    background: #EA7C07; /* Login color for primary action */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

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

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

.page-slot-games__btn-secondary:hover {
    background: #ffffff;
    color: #26A9E0;
}

.page-slot-games__hero-image-wrapper {
    margin-top: 40px;
}

.page-slot-games__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: block; /* Ensure it behaves as a block element */
    margin: 0 auto; /* Center the image */
}

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

.page-slot-games__about-section,
.page-slot-games__how-to-play-section,
.page-slot-games__promotions-section,
.page-slot-games__cta-section {
    padding: 60px 0;
    background: #ffffff; /* Light background for content sections */
    color: #333333;
}

.page-slot-games__dark-bg {
    background: #26A9E0; /* Brand color for dark sections */
    color: #ffffff;
    padding: 60px 0;
}

.page-slot-games__dark-bg .page-slot-games__section-title {
    color: #ffffff; /* White title on dark background */
}

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

.page-slot-games__keyword {
    font-weight: bold;
    color: #26A9E0; /* Highlight keywords with brand color on light bg */
}

.page-slot-games__dark-bg .page-slot-games__keyword {
    color: #ffffff; /* Highlight keywords with white on dark bg */
}

.page-slot-games__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px auto;
    display: block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

.page-slot-games__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-slot-games__list-item {
    background: #f9f9f9;
    border-left: 5px solid #26A9E0;
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-slot-games__list-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-slot-games__list-description {
    font-size: 1em;
    color: #555555;
}

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

.page-slot-games__game-card {
    background: rgba(255, 255, 255, 0.15); /* Slightly transparent white on dark bg */
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.page-slot-games__game-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

.page-slot-games__game-link {
    color: #ffffff; /* White link on dark bg */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-slot-games__game-link:hover {
    color: #f0f0f0;
    text-decoration: underline;
}

.page-slot-games__game-description {
    font-size: 0.95em;
    color: #f0f0f0;
}

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

.page-slot-games__promo-item {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.page-slot-games__promo-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-slot-games__promo-description {
    font-size: 1em;
    color: #555555;
}

.page-slot-games__cta-center {
    text-align: center;
    margin-top: 40px;
}

/* FAQ Section */
.page-slot-games__faq-list {
    margin-top: 40px;
}

.page-slot-games__faq-item {
    background: rgba(255, 255, 255, 0.15); /* Transparent white on dark bg */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-slot-games__faq-item summary {
    list-style: none; /* Hide default marker */
}
.page-slot-games__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to cross */
}

.page-slot-games__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #f0f0f0;
    line-height: 1.6;
}

.page-slot-games__faq-answer p {
    margin-bottom: 0; /* Remove default paragraph margin */
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__main-title {
        font-size: 2.8em;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__container {
        padding: 0 15px;
    }
    .page-slot-games__main-title {
        font-size: 2.2em;
    }
    .page-slot-games__intro-text {
        font-size: 1em;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-slot-games__section-title {
        font-size: 1.8em;
    }
    .page-slot-games__paragraph,
    .page-slot-games__feature-description,
    .page-slot-games__list-description,
    .page-slot-games__game-description,
    .page-slot-games__promo-description,
    .page-slot-games__faq-answer p {
        font-size: 15px;
    }

    /* Images responsive rules */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__hero-section,
    .page-slot-games__about-section,
    .page-slot-games__features-section,
    .page-slot-games__how-to-play-section,
    .page-slot-games__popular-games-section,
    .page-slot-games__promotions-section,
    .page-slot-games__faq-section,
    .page-slot-games__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__feature-grid,
    .page-slot-games__game-cards,
    .page-slot-games__promo-list {
        grid-template-columns: 1fr;
    }
    .page-slot-games__feature-card,
    .page-slot-games__game-card,
    .page-slot-games__promo-item {
        padding: 20px;
    }
    .page-slot-games__list-item {
        padding: 15px 20px;
    }
    .page-slot-games__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-slot-games__faq-answer {
        padding: 0 20px 15px;
    }
}

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