/* style/slot-games.css */

/* Base Styles */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light backgrounds */
    line-height: 1.6;
}

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

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

.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;
    text-align: center;
    box-sizing: border-box;
}

.page-slot-games__btn-primary {
    background-color: #FFD700;
    color: #8B0000;
    border: 2px solid #FFD700;
}

.page-slot-games__btn-primary:hover {
    background-color: #e6c200;
    color: #8B0000;
    border-color: #e6c200;
}

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

.page-slot-games__btn-secondary:hover {
    background-color: #FFD700;
    color: #8B0000;
    border-color: #FFD700;
}

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

.page-slot-games__cta-center .page-slot-games__btn-primary,
.page-slot-games__cta-center .page-slot-games__btn-secondary {
    margin: 0 10px;
}

/* Section Backgrounds */
.page-slot-games__light-bg {
    background-color: #ffffff;
    color: #333333;
}

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

.page-slot-games__dark-bg .page-slot-games__section-title {
    color: #FFD700;
}

.page-slot-games__dark-bg .page-slot-games__text-block {
    color: #f0f0f0;
}

.page-slot-games__dark-bg .page-slot-games__btn-secondary {
    color: #ffffff;
    border-color: #ffffff;
}

.page-slot-games__dark-bg .page-slot-games__btn-secondary:hover {
    background-color: #ffffff;
    color: #8B0000;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    height: 70vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-slot-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

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

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

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

.page-slot-games__hero-cta .page-slot-games__btn-primary,
.page-slot-games__hero-cta .page-slot-games__btn-secondary {
    margin: 10px;
    min-width: 200px;
}

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

.page-slot-games__image-wrapper {
    text-align: center;
    margin: 40px 0;
}

.page-slot-games__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

/* Why Choose Section */
.page-slot-games__why-choose-section {
    padding: 80px 0;
}

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

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

.page-slot-games__feature-list .page-slot-games__list-title {
    color: #FFD700;
    font-size: 1.6em;
    margin-bottom: 15px;
}

.page-slot-games__feature-list .page-slot-games__list-item p {
    color: #f0f0f0;
    font-size: 1em;
}

/* Game Types Section */
.page-slot-games__game-types-section {
    padding: 60px 0;
}

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

.page-slot-games__game-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-slot-games__game-card:hover {
    transform: translateY(-5px);
}

.page-slot-games__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

.page-slot-games__card-title {
    font-size: 1.5em;
    margin: 20px 15px 10px;
}

.page-slot-games__card-title a {
    color: #8B0000;
    text-decoration: none;
}

.page-slot-games__card-title a:hover {
    text-decoration: underline;
}

.page-slot-games__card-description {
    font-size: 0.95em;
    color: #555555;
    padding: 0 15px 20px;
}

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

.page-slot-games__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-slot-games__guide-list .page-slot-games__list-item {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-slot-games__guide-list .page-slot-games__list-title {
    color: #8B0000;
    font-size: 1.8em;
    margin-bottom: 10px;
}

.page-slot-games__guide-list .page-slot-games__list-item p {
    color: #333333;
    font-size: 1em;
}

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 60px 0;
}

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

.page-slot-games__promo-card {
    background-color: #fcfcfc;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-slot-games__promo-card:hover {
    transform: translateY(-5px);
}

.page-slot-games__promo-card .page-slot-games__card-image {
    height: 250px;
    object-fit: cover;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

.page-slot-games__promo-card .page-slot-games__card-title {
    font-size: 1.4em;
    margin: 20px 15px 10px;
}

.page-slot-games__promo-card .page-slot-games__card-title a {
    color: #8B0000;
    text-decoration: none;
}

.page-slot-games__promo-card .page-slot-games__card-title a:hover {
    text-decoration: underline;
}

.page-slot-games__promo-card .page-slot-games__card-description {
    font-size: 0.95em;
    color: #555555;
    padding: 0 15px 20px;
}

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

.page-slot-games__security-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-slot-games__security-list .page-slot-games__list-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-slot-games__security-list .page-slot-games__list-title {
    color: #FFD700;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.page-slot-games__security-list .page-slot-games__list-item p {
    color: #f0f0f0;
    font-size: 1em;
}

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

.page-slot-games__faq-list {
    margin-top: 40px;
}

.page-slot-games__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    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;
    font-size: 1.2em;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    background-color: #ffffff;
    transition: background-color 0.3s ease;
}

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

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

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    transform: rotate(45deg);
    content: '−'; /* This won't work in CSS, handled by JS */
}

.page-slot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    color: #555555;
    font-size: 1em;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

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

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

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

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

.page-slot-games__cta-section .page-slot-games__btn-primary,
.page-slot-games__cta-section .page-slot-games__btn-secondary {
    margin-top: 20px;
    min-width: 220px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 3em;
    }
    .page-slot-games__hero-description {
        font-size: 1.2em;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__feature-list,
    .page-slot-games__game-grid,
    .page-slot-games__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@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: 60vh;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-slot-games__hero-title {
        font-size: 2.5em;
    }
    .page-slot-games__hero-description {
        font-size: 1em;
    }
    .page-slot-games__hero-cta {
        flex-direction: column;
    }
    .page-slot-games__hero-cta .page-slot-games__btn-primary,
    .page-slot-games__hero-cta .page-slot-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        margin: 10px 0 !important;
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
    }
    .page-slot-games__text-block {
        font-size: 1em;
    }
    .page-slot-games__feature-list,
    .page-slot-games__game-grid,
    .page-slot-games__promo-grid {
        grid-template-columns: 1fr;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        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__cta-center .page-slot-games__btn-primary,
    .page-slot-games__cta-center .page-slot-games__btn-secondary {
        margin: 10px 0 !important;
    }
    
    /* Image Responsive Adaptations */
    .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__promo-card,
    .page-slot-games__faq-section .page-slot-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__content-image, .page-slot-games__card-image {
        min-width: unset; /* Allow smaller images on mobile if needed, but still responsive */
        min-height: unset;
    }
    .page-slot-games__faq-question,
    .page-slot-games__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__faq-item.active .page-slot-games__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
}