/* style/slot-games.css */

/* Base styles for the page content, using body background color for contrast */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background #0a0a0a */
    background-color: transparent; /* Main content background is handled by sections */
}

/* Fixed header offset - applied to the first content section or main container */
.page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px);
}

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

/* Section Styling */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    text-align: center;
    overflow: hidden;
    padding-bottom: 60px;
}

.page-slot-games__dark-bg {
    background-color: #017439;
    color: #ffffff;
}

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

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

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

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

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

.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;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-primary {
    background-color: #C30808;
    color: #FFFF00;
    border: 2px solid #C30808;
}

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

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

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

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

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.page-slot-games__introduction-section,
.page-slot-games__game-types-section,
.page-slot-games__benefits-section,
.page-slot-games__how-to-play-section,
.page-slot-games__strategy-section,
.page-slot-games__promotions-section,
.page-slot-games__faq-section,
.page-slot-games__cta-bottom-section {
    padding: 80px 0;
}

.page-slot-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: inherit;
}

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

/* Image content flex layout */
.page-slot-games__image-content-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-slot-games__image-wrapper {
    flex: 1;
    min-width: 300px;
}

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

.page-slot-games__list-features {
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.page-slot-games__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #017439;
    font-size: 1.2em;
    top: 0;
}

/* Game Grid */
.page-slot-games__game-grid,
.page-slot-games__benefit-grid,
.page-slot-games__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games__game-card,
.page-slot-games__benefit-card,
.page-slot-games__promo-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
}

.page-slot-games__game-card:hover,
.page-slot-games__benefit-card:hover,
.page-slot-games__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

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

.page-slot-games__card-title,
.page-slot-games__benefit-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #FFFF00;
}

.page-slot-games__card-description,
.page-slot-games__benefit-description {
    font-size: 1em;
    color: #f0f0f0;
    flex-grow: 1;
}

/* How To Play & Strategy Lists */
.page-slot-games__step-list,
.page-slot-games__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-slot-games__step-list .page-slot-games__list-item {
    font-size: 1.1em;
    margin-bottom: 20px;
    padding-left: 40px;
    position: relative;
    color: inherit;
    counter-increment: step-counter;
}

.page-slot-games__step-list .page-slot-games__list-item::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: #017439;
    color: #ffffff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
}

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

.page-slot-games__strategy-list .page-slot-games__list-item::before {
    content: '💡';
    position: absolute;
    left: 0;
    color: #017439;
    font-size: 1.2em;
    top: 0;
}

/* CTA Section */
.page-slot-games__cta-section {
    text-align: center;
    margin-top: 50px;
}

/* Promotions Section */
.page-slot-games__promo-card .page-slot-games__btn-secondary {
    margin-top: auto;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    color: #FFFF00;
    border-color: #FFFF00;
}

.page-slot-games__promo-card .page-slot-games__btn-secondary:hover {
    background-color: #FFFF00;
    color: #017439;
}

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

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
    color: #333333;
}

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

.page-slot-games__faq-title {
    font-size: 1.2em;
    margin: 0;
    color: #017439;
}

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

.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 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #333333;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
    max-height: 1000px !important;
    padding: 20px;
}

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

/* Bottom CTA section */
.page-slot-games__cta-bottom-section {
    text-align: center;
    padding: 60px 0;
}

.page-slot-games__cta-bottom-section .page-slot-games__section-title {
    color: #FFFF00;
}

.page-slot-games__cta-bottom-section .page-slot-games__text-block {
    color: #f0f0f0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__cta-bottom-section .page-slot-games__cta-buttons {
    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__image-content-flex {
        flex-direction: column;
        text-align: center;
    }
    .page-slot-games__list-features {
        margin-top: 30px;
    }
    .page-slot-games__list-item::before {
        left: 50%;
        transform: translateX(-50%);
        top: -25px;
    }
    .page-slot-games__list-item {
        padding-left: 0;
        padding-top: 30px;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-title {
        font-size: 2.5em;
    }
    .page-slot-games__hero-description {
        font-size: 1em;
    }
    .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__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-slot-games__introduction-section,
    .page-slot-games__game-types-section,
    .page-slot-games__benefits-section,
    .page-slot-games__how-to-play-section,
    .page-slot-games__strategy-section,
    .page-slot-games__promotions-section,
    .page-slot-games__faq-section,
    .page-slot-games__cta-bottom-section {
        padding: 40px 0;
    }

    .page-slot-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-slot-games__text-block {
        font-size: 0.95em;
    }

    .page-slot-games__game-grid,
    .page-slot-games__benefit-grid,
    .page-slot-games__promo-grid {
        gap: 20px;
    }

    .page-slot-games__card-image,
    .page-slot-games__content-image {
        min-width: 200px !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-slot-games__game-card,
    .page-slot-games__benefit-card,
    .page-slot-games__promo-card {
        padding: 20px;
    }

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

    /* Mobile specific padding for containers to prevent overflow */
    .page-slot-games__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-slot-games__hero-section {
        padding-left: 15px;
        padding-right: 15px;
        padding-top: var(--header-offset, 120px) !important;
    }

    /* Ensure all images and video are responsive on mobile */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-slot-games__image-wrapper,
    .page-slot-games__game-card,
    .page-slot-games__benefit-card,
    .page-slot-games__promo-card,
    .page-slot-games__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* For multiple buttons in a row, stack them on mobile */
    .page-slot-games__cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    /* Ensure video responsiveness (if any were added) */
    .page-slot-games video,
    .page-slot-games__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-slot-games__video-section,
    .page-slot-games__video-container,
    .page-slot-games__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
    .page-slot-games__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }
}