/* style/slot-games.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --button-login-color: #EA7C07;
}

.page-slot-games {
    font-family: Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--secondary-color);
}

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

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

.page-slot-games__hero-content {
    max-width: 50%;
    z-index: 1;
    text-align: left;
}

.page-slot-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-light);
}

.page-slot-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.6;
    color: var(--text-light);
}

.page-slot-games__hero-cta-buttons {
    display: flex;
    gap: 20px;
}

.page-slot-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

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

/* General 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;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.page-slot-games__btn-primary {
    background-color: var(--button-login-color);
    color: var(--text-light);
    border: 2px solid var(--button-login-color);
}

.page-slot-games__btn-primary:hover {
    background-color: darken(var(--button-login-color), 10%);
    border-color: darken(var(--button-login-color), 10%);
}

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.page-slot-games__btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

.page-slot-games__btn-primary--small {
    padding: 10px 20px;
    font-size: 0.9em;
}

/* Section Titles and Text Blocks */
.page-slot-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

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

.page-slot-games__text-block a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-slot-games__text-block a:hover {
    text-decoration: underline;
}

/* Intro Section */
.page-slot-games__intro-section {
    padding: 60px 0;
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

/* Features Section */
.page-slot-games__features-section {
    padding: 60px 0;
    background-color: #f5f5f5;
    color: var(--text-dark);
}

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

.page-slot-games__feature-card {
    background-color: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    color: var(--text-dark);
}

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

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

.page-slot-games__feature-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-slot-games__feature-description {
    font-size: 1em;
    line-height: 1.6;
}

/* How-To-Play Section */
.page-slot-games__how-to-play-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-slot-games__how-to-play-section .page-slot-games__section-title {
    color: var(--text-light);
}

.page-slot-games__step-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 800px;
}

.page-slot-games__step-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__step-title {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: var(--text-light);
}

.page-slot-games__step-description {
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--text-light);
}

.page-slot-games__step-description a {
    color: var(--text-light);
    text-decoration: underline;
}

.page-slot-games__step-description a:hover {
    color: #f0f0f0;
}

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

/* Popular Games Section */
.page-slot-games__popular-games-section {
    padding: 60px 0;
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

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

.page-slot-games__game-card {
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    color: var(--text-dark);
}

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

.page-slot-games__game-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__game-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-slot-games__game-title a {
    color: var(--primary-color);
    text-decoration: none;
}

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

.page-slot-games__game-description {
    font-size: 0.95em;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-slot-games__promotions-section .page-slot-games__section-title {
    color: var(--text-light);
}

.page-slot-games__promo-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
}

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

.page-slot-games__promo-title {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: var(--text-light);
}

.page-slot-games__promo-description {
    font-size: 1.05em;
    line-height: 1.6;
    color: var(--text-light);
}

.page-slot-games__promo-description a {
    color: var(--text-light);
    text-decoration: underline;
}

.page-slot-games__promo-description a:hover {
    color: #f0f0f0;
}

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 60px 0;
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

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

.page-slot-games__faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    background-color: #f9f9f9;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: var(--secondary-color);
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
    transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: inherit;
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    font-weight: normal;
    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: #fefefe;
    color: var(--text-dark);
}

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

.page-slot-games__faq-answer p {
    margin: 0;
    line-height: 1.6;
}

.page-slot-games__faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-slot-games__faq-answer a:hover {
    text-decoration: underline;
}

/* Call to Action Section */
.page-slot-games__cta-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
}

.page-slot-games__cta-content {
    max-width: 800px;
}

.page-slot-games__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    line-height: 1.3;
    color: var(--text-light);
}

.page-slot-games__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    line-height: 1.7;
    color: var(--text-light);
}

.page-slot-games__cta-description a {
    color: var(--text-light);
    text-decoration: underline;
}

.page-slot-games__cta-description a:hover {
    color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-section {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        padding-top: var(--header-offset, 120px);
    }

    .page-slot-games__hero-content {
        max-width: 100%;
        padding-bottom: 40px;
    }

    .page-slot-games__hero-image-wrapper {
        position: relative;
        width: 100%;
        height: auto;
        margin-top: 30px;
        justify-content: center;
    }

    .page-slot-games__hero-image {
        width: 80%;
        height: auto;
        opacity: 1;
    }

    .page-slot-games__hero-title {
        font-size: 2.8em;
    }

    .page-slot-games__hero-description {
        font-size: 1.1em;
    }

    .page-slot-games__hero-cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-slot-games__container,
    .page-slot-games__hero-section,
    .page-slot-games__intro-section,
    .page-slot-games__features-section,
    .page-slot-games__how-to-play-section,
    .page-slot-games__popular-games-section,
    .page-slot-games__promotions-section,
    .page-slot-games__faq-section,
    .page-slot-games__cta-section {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-slot-games__hero-title {
        font-size: 2.2em;
    }

    .page-slot-games__hero-description {
        font-size: 1em;
    }

    .page-slot-games__section-title {
        font-size: 2em;
    }

    .page-slot-games__feature-card,
    .page-slot-games__game-card,
    .page-slot-games__promo-item {
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .page-slot-games__hero-cta-buttons,
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games a[class*="button"],
    .page-slot-games a[class*="btn"] {
        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__hero-image,
    .page-slot-games__feature-image,
    .page-slot-games__game-image,
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

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

    .page-slot-games__cta-title {
        font-size: 2em;
    }

    .page-slot-games__cta-description {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-slot-games__hero-title {
        font-size: 1.8em;
    }

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

    .page-slot-games__feature-title,
    .page-slot-games__game-title,
    .page-slot-games__promo-title {
        font-size: 1.3em;
    }

    .page-slot-games__step-title {
        font-size: 1.5em;
    }

    .page-slot-games__cta-title {
        font-size: 1.8em;
    }
}