/* style/slot-games.css */

/* Base styles for the page content */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: #0d0d0d; /* Matches body background */
}

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

.page-slot-games__section {
    padding: 60px 0;
    text-align: center;
}

.page-slot-games__section-title {
    font-size: 2.8em;
    color: #FFD700; /* Gold for titles */
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-slot-games__sub-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-slot-games__text-block {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    box-sizing: border-box;
}

.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.6); /* Dark overlay for text readability */
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

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

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

/* 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: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-primary {
    background-color: #FFD700; /* Gold background */
    color: #000080; /* Midnight blue text */
    border: 2px solid #FFD700;
}

.page-slot-games__btn-primary:hover {
    background-color: #e6c200;
    color: #000050;
}

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-slot-games__btn-secondary:hover {
    background-color: #FFD700;
    color: #000080;
}

.page-slot-games__cta-buttons {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-slot-games__cta-buttons--center {
    margin-left: auto;
    margin-right: auto;
}

/* Introduction Section */
.page-slot-games__introduction {
    background-color: #000080; /* Midnight blue background */
}

/* Game Types Section */
.page-slot-games__game-types {
    background-color: #0d0d0d;
}

.page-slot-games__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.08); /* Semi-transparent white for cards */
    border-radius: 10px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
    min-height: 450px; /* Ensure cards have enough height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.page-slot-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-slot-games__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 200px; /* Enforce min-size */
    min-height: 200px; /* Enforce min-size */
}

.page-slot-games__card-title {
    font-size: 1.5em;
    color: #FFD700; /* Gold for card titles */
    margin-bottom: 10px;
}

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

/* How to Play Section */
.page-slot-games__how-to-play {
    background-color: #000080;
}

.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-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__step-icon {
    font-size: 2.5em;
    color: #FFD700;
    margin-bottom: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 215, 0, 0.1);
}

.page-slot-games__step-title {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-slot-games__step-text {
    font-size: 0.95em;
    color: #f0f0f0;
}

.page-slot-games__image-full-width {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    margin: 40px auto 20px auto;
    display: block;
    min-width: 200px; /* Enforce min-size */
    min-height: 200px; /* Enforce min-size */
}

/* Expert Tips Section */
.page-slot-games__expert-tips {
    background-color: #0d0d0d;
}

.page-slot-games__grid--two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    text-align: left;
    margin-top: 40px;
}

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

.page-slot-games__image-responsive {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Enforce min-size */
    min-height: 200px; /* Enforce min-size */
}

/* Promotions Section */
.page-slot-games__promotions {
    background-color: #000080;
}

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

.page-slot-games__promo-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    min-height: 480px;
}

.page-slot-games__promo-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 200px; /* Enforce min-size */
    min-height: 200px; /* Enforce min-size */
}

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

.page-slot-games__promo-text {
    font-size: 0.95em;
    color: #f0f0f0;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* FAQ Section */
.page-slot-games__faq-section {
    background-color: #0d0d0d;
}

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

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #000080; /* Midnight blue for question background */
    color: #FFD700; /* Gold for question text */
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-title {
    margin: 0;
    color: inherit;
    font-size: 1em; /* Inherit from parent */
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    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;
    background-color: rgba(255, 255, 255, 0.05);
    color: #f0f0f0;
}

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

.page-slot-games__faq-answer p {
    margin-bottom: 15px;
    font-size: 1em;
    color: #f0f0f0;
}

.page-slot-games__faq-answer .page-slot-games__btn-secondary {
    margin-top: 10px;
    display: inline-block;
    padding: 10px 20px;
    font-size: 0.9em;
}

/* Video Section */
.page-slot-games__video-section {
    background-color: #000080;
}

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

.page-slot-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    cursor: pointer;
    max-width: 100%;
    display: block;
}

/* Conclusion Section */
.page-slot-games__conclusion {
    background-color: #0d0d0d;
    padding-bottom: 80px;
}

/* Dark background for sections where needed for contrast */
.page-slot-games__dark-bg {
    background-color: #000080;
    color: #ffffff;
}

/* Global image rules for min-size and no filters */
.page-slot-games img {
    min-width: 200px;
    min-height: 200px;
    filter: none; /* Ensure no CSS filters are applied */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 3.5em;
    }
    .page-slot-games__section-title {
        font-size: 2.2em;
    }
    .page-slot-games__grid--two-columns {
        grid-template-columns: 1fr;
    }
    .page-slot-games__image-block {
        order: -1; /* Image appears above text on smaller screens */
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-slot-games__hero-section {
        height: auto;
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
    }
    .page-slot-games__hero-title {
        font-size: 2.5em;
    }
    .page-slot-games__hero-description {
        font-size: 1.2em;
    }
    .page-slot-games__hero-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;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-slot-games__section-title {
        font-size: 1.8em;
    }
    .page-slot-games__sub-title {
        font-size: 1.5em;
    }
    .page-slot-games__text-block {
        font-size: 1em;
    }

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

    /* Mobile images responsive */
    .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__cta-buttons,
    .page-slot-games__promo-card,
    .page-slot-games__faq-item,
    .page-slot-games__video-section,
    .page-slot-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-slot-games__video-wrapper {
        padding-bottom: 56.25% !important; /* Ensure aspect ratio */
    }

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

    .page-slot-games__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-slot-games__faq-answer {
        padding: 15px;
    }
    .page-slot-games__faq-item.active .page-slot-games__faq-answer {
        padding: 15px !important;
    }

    /* Content area images minimum size */
    .page-slot-games__hero-image,
    .page-slot-games__card-image,
    .page-slot-games__image-full-width,
    .page-slot-games__image-responsive,
    .page-slot-games__promo-image {
        min-width: 200px !important;
        min-height: 200px !important;
    }

    /* Ensure content area images are not too small */
    .page-slot-games__section img, 
    .page-slot-games__card img, 
    .page-slot-games__image-block img, 
    .page-slot-games__promo-card img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
}