/* style/slot-games.css */

/* Base styles for the page */
.page-slot-games {
    color: #ffffff; /* Default text color for dark body background */
    background-color: #1a1a1a; /* Inherited from shared.css body, but good to define context */
    line-height: 1.6;
    font-family: 'Arial', sans-serif;
}

.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: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-slot-games__section-description {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Color scheme overrides for sections */
.page-slot-games__dark-bg {
    background-color: #017439;
    color: #ffffff;
}

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

.page-slot-games__light-bg .page-slot-games__section-title,
.page-slot-games__light-bg .page-slot-games__section-description {
    color: #333333;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    cursor: pointer;
    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: #e00b0b;
    color: #ffffff;
}

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

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

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

.page-slot-games__hero-section .page-slot-games__container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.page-slot-games__hero-title {
    font-size: 3.8em;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

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

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

/* Intro Section */
.page-slot-games__intro-section {
    padding: 80px 0;
}

.page-slot-games__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-slot-games__content-wrapper--reverse {
    flex-direction: row-reverse;
}

.page-slot-games__text-block {
    flex: 1;
    min-width: 300px;
    font-size: 1.1em;
    line-height: 1.7;
}

.page-slot-games__intro-section .page-slot-games__text-block {
    color: #333333;
}

.page-slot-games__image-content {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Types Section */
.page-slot-games__types-section {
    padding: 80px 0;
}

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

.page-slot-games__card {
    background-color: 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;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
}

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

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

.page-slot-games__card-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #FFFF00;
}

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

/* Features Section */
.page-slot-games__features-section {
    padding: 80px 0;
}

.page-slot-games__feature-list {
    list-style: none;
    padding: 0;
    flex: 1;
    min-width: 300px;
}

.page-slot-games__feature-item {
    background-color: #f9f9f9;
    border-left: 5px solid #017439;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 1.1em;
    color: #333333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-slot-games__feature-item strong {
    color: #017439;
}

/* Video Section */
.page-slot-games__video-section {
    padding: 80px 0;
    text-align: center;
}

.page-slot-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 10px;
    margin: 40px auto 0 auto;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-slot-games__video-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-slot-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
}

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

.page-slot-games__guide-list {
    list-style: none;
    padding: 0;
    flex: 1;
    min-width: 300px;
}

.page-slot-games__guide-item {
    background-color: #f9f9f9;
    border-left: 5px solid #017439;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 1.1em;
    color: #333333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-slot-games__guide-item strong {
    color: #017439;
}

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

.page-slot-games__promotions-section .page-slot-games__btn-primary {
    margin-top: 30px;
    background-color: #FFFF00;
    color: #017439;
    border: 2px solid #FFFF00;
}

.page-slot-games__promotions-section .page-slot-games__btn-primary:hover {
    background-color: #ffffff;
    color: #017439;
}

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

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

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

.page-slot-games__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: #017439;
}

.page-slot-games__faq-item summary::-webkit-details-marker {
    display: none;
}

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

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

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

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

/* Global image settings (not filters) */
.page-slot-games img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 3em;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__hero-description {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        min-height: 500px;
    }
    .page-slot-games__hero-title {
        font-size: 2.5em;
    }
    .page-slot-games__hero-description {
        font-size: 1em;
    }
    .page-slot-games__hero-buttons,
    .page-slot-games__cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100%;
        max-width: 300px; /* Constrain width on smaller screens */
    }

    .page-slot-games__section-title {
        font-size: 1.8em;
    }
    .page-slot-games__section-description {
        font-size: 0.95em;
    }

    .page-slot-games__content-wrapper {
        flex-direction: column;
    }
    .page-slot-games__content-wrapper--reverse {
        flex-direction: column;
    }

    .page-slot-games__intro-section,
    .page-slot-games__types-section,
    .page-slot-games__features-section,
    .page-slot-games__video-section,
    .page-slot-games__guide-section,
    .page-slot-games__promotions-section,
    .page-slot-games__faq-section,
    .page-slot-games__cta-section {
        padding: 50px 0;
    }

    /* Mobile image responsiveness */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
        min-width: 200px !important; /* Ensure minimum size */
        min-height: 200px !important; /* Ensure minimum size */
    }
    
    .page-slot-games__hero-section,
    .page-slot-games__intro-section,
    .page-slot-games__types-section,
    .page-slot-games__features-section,
    .page-slot-games__video-section,
    .page-slot-games__guide-section,
    .page-slot-games__promotions-section,
    .page-slot-games__faq-section,
    .page-slot-games__cta-section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__video-wrapper,
    .page-slot-games__hero-buttons,
    .page-slot-games__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

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

    .page-slot-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-slot-games__card-image {
        height: auto;
        min-height: 200px; /* Ensure minimum size */
    }

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

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