/* style/slot-games.css */

/* General Styles for the Slot Games Page */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
}

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

.page-slot-games__container--narrow {
    max-width: 800px;
}

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

.page-slot-games__section-text {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px);
    background-color: #000000; /* Ensure dark background for hero */
    overflow: hidden;
}

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

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
}

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

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

/* Buttons */
.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;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
    margin: 10px;
}

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

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

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

/* Section Backgrounds for Contrast */
.page-slot-games__dark-bg {
    background-color: #000000;
    color: #ffffff;
}

.page-slot-games__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}

.page-slot-games__light-bg .page-slot-games__section-title {
    color: #26A9E0;
}

.page-slot-games__light-bg .page-slot-games__section-text {
    color: #333333;
}

/* Intro Section */
.page-slot-games__intro-section {
    padding: 80px 20px;
    text-align: center;
}

.page-slot-games__image-content {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto 0 auto;
    border-radius: 10px;
}

.page-slot-games__image-content--bottom {
    margin-top: 60px;
}

/* Game Types Section */
.page-slot-games__game-types-section {
    padding: 80px 20px;
    text-align: center;
}

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

.page-slot-games__card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
}

.page-slot-games__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-slot-games__card-description {
    font-size: 1em;
    color: #f0f0f0;
    line-height: 1.7;
}

/* Benefits Section */
.page-slot-games__benefits-section {
    padding: 80px 20px;
}

.page-slot-games__grid--two-columns {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    text-align: left;
}

.page-slot-games__text-block {
    padding-right: 30px;
}

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

.page-slot-games__list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-slot-games__list-item {
    margin-bottom: 15px;
    font-size: 1.1em;
    position: relative;
    padding-left: 30px;
    color: #333333;
}

.page-slot-games__list-item strong {
    color: #26A9E0;
}

.page-slot-games__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
}

/* Guide Section */
.page-slot-games__guide-section {
    padding: 80px 20px;
    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: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__step-number {
    background-color: #26A9E0;
    color: #ffffff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
}

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

.page-slot-games__step-description {
    font-size: 1em;
    color: #f0f0f0;
    line-height: 1.7;
    flex-grow: 1;
}

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

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

.page-slot-games__promotion-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #333333;
    border: 1px solid #e0e0e0;
}

.page-slot-games__promotion-card .page-slot-games__card-title {
    color: #26A9E0;
}

.page-slot-games__promotion-card .page-slot-games__card-description {
    color: #333333;
}

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

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

.page-slot-games__faq-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.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-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

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

.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);
}

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

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

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

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 2.8em;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__grid--two-columns {
        grid-template-columns: 1fr;
    }
    .page-slot-games__text-block {
        padding-right: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Re-apply for mobile */
        min-height: 400px;
    }
    .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: 25px;
    }
    .page-slot-games__section-text {
        font-size: 0.95em;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 5px 0;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .page-slot-games__container,
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__promotion-card,
    .page-slot-games__step-card,
    .page-slot-games__faq-item {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-slot-games img,
    .page-slot-games__image-content,
    .page-slot-games__card-image {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-slot-games__list-item {
        font-size: 1em;
    }

    .page-slot-games__step-number {
        width: 50px;
        height: 50px;
        font-size: 1.8em;
    }

    .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: 10px 20px 15px 20px;
    }
}