/* style/slot-games.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --accent-color: #EA7C07; /* For login/CTA if needed */
}

.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light body background */
    background-color: var(--secondary-color); /* Assuming body background is light */
}

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

/* 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;
    text-align: center;
    overflow: hidden;
    color: var(--text-light);
    background-color: var(--primary-color);
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

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

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

.page-slot-games__hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 20px;
}

.page-slot-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-slot-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
}

/* General Section Styles */
.page-slot-games__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

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

.page-slot-games__intro-section,
.page-slot-games__how-to-play,
.page-slot-games__promotions-section,
.page-slot-games__cta-section {
    padding: 60px 0;
    color: var(--text-dark);
    background-color: var(--secondary-color);
}

.page-slot-games__games-showcase,
.page-slot-games__benefits-section,
.page-slot-games__faq-section {
    padding: 60px 0;
    color: var(--text-light);
    background-color: var(--primary-color);
}

.page-slot-games__games-showcase .page-slot-games__section-title,
.page-slot-games__benefits-section .page-slot-games__section-title,
.page-slot-games__faq-section .page-slot-games__section-title {
    color: var(--text-light);
}

.page-slot-games__games-showcase .page-slot-games__text-block,
.page-slot-games__benefits-section .page-slot-games__text-block,
.page-slot-games__faq-section .page-slot-games__text-block {
    color: var(--text-light);
}

/* Grid for game showcase */
.page-slot-games__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-slot-games__card {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding-bottom: 20px;
}

.page-slot-games__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-slot-games__card-title {
    font-size: 1.5em;
    margin: 20px 15px 10px;
    color: var(--primary-color);
}

.page-slot-games__card-description {
    font-size: 1em;
    padding: 0 15px;
    text-align: justify;
}

/* Numbered List for How-To */
.page-slot-games__numbered-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.page-slot-games__numbered-list li {
    margin-bottom: 25px;
    position: relative;
    padding-left: 60px;
    text-align: justify;
}

.page-slot-games__numbered-list li h3 {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.page-slot-games__numbered-list li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
}

/* Benefits Section */
.page-slot-games__benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-slot-games__benefits-list li {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__benefit-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-slot-games__benefits-list li h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: var(--text-light);
}

.page-slot-games__benefits-list li p {
    font-size: 1em;
    color: var(--text-light);
}

/* Promotions Section */
.page-slot-games__promo-card {
    display: flex;
    background-color: var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

.page-slot-games__promo-image {
    width: 50%;
    height: auto;
    object-fit: cover;
    display: block;
}

.page-slot-games__promo-content {
    width: 50%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--text-light);
}

.page-slot-games__promo-title {
    font-size: 2em;
    margin-bottom: 15px;
    color: var(--text-light);
}

.page-slot-games__promo-description {
    font-size: 1.1em;
    margin-bottom: 25px;
    color: var(--text-light);
}

/* FAQ Section */
.page-slot-games__faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}

.page-slot-games__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    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;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-light);
    transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-question h3 {
    margin: 0;
    color: inherit;
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    font-weight: normal;
    transition: transform 0.3s ease;
}

.page-slot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-light);
}

.page-slot-games__faq-answer p {
    padding-bottom: 20px;
    margin: 0;
    color: inherit;
}

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

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    transform: rotate(45deg);
}

/* Call to Action Section */
.page-slot-games__cta-section {
    text-align: center;
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.page-slot-games__cta-content {
    max-width: 800px;
}

.page-slot-games__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-slot-games__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
}

/* Buttons */
.page-slot-games__btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.page-slot-games__btn-primary:hover {
    background-color: #1a8ec4; /* Slightly darker primary */
    transform: translateY(-2px);
}

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

/* 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__promo-card {
        flex-direction: column;
    }
    .page-slot-games__promo-image,
    .page-slot-games__promo-content {
        width: 100%;
    }
}

@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 {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
    }
    .page-slot-games__hero-title {
        font-size: 2.2em;
    }
    .page-slot-games__hero-description {
        font-size: 1em;
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-slot-games__grid {
        grid-template-columns: 1fr;
    }
    .page-slot-games__numbered-list li {
        padding-left: 50px;
    }
    .page-slot-games__numbered-list li::before {
        width: 35px;
        height: 35px;
        font-size: 1.1em;
    }
    .page-slot-games__benefits-list {
        grid-template-columns: 1fr;
    }
    .page-slot-games__promo-content {
        padding: 20px;
    }
    .page-slot-games__promo-title {
        font-size: 1.5em;
    }
    .page-slot-games__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-slot-games__faq-answer {
        padding: 0 20px;
    }
    .page-slot-games__faq-item.active .page-slot-games__faq-answer {
        padding: 15px 20px 20px;
    }
    .page-slot-games__cta-title {
        font-size: 2em;
    }
    .page-slot-games__cta-description {
        font-size: 1.1em;
    }

    /* Image, Video, Button Responsive Overrides */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-slot-games video {
        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__promo-card,
    .page-slot-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__btn-primary {
        max-width: 100% !important;
        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__button-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .page-slot-games__promo-card {
        padding-left: 0;
        padding-right: 0;
    }
    .page-slot-games__faq-list {
        padding-left: 0;
        padding-right: 0;
    }
}