/* style/slot-games.css */

/* Global styles for the page content */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
    line-height: 1.6;
    padding-bottom: 60px; /* Ensure space above footer */
}

.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.5em;
    margin-bottom: 20px;
    color: #F2C14E; /* Gold */
    font-weight: bold;
    line-height: 1.2;
}

.page-slot-games__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive H1 */
    margin-bottom: 20px;
    color: #F2C14E; /* Gold */
    font-weight: bold;
    line-height: 1.2;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__intro-text {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #A7D9B8; /* Text Secondary */
}

.page-slot-games__text-block p {
    font-size: 1.1em;
    margin-bottom: 1em;
    color: #F2FFF6; /* Text Main */
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding-top: 10px; /* Small top padding */
    background-color: #0A4B2C; /* Deep Green for hero section background */
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-width: 1920px;
    overflow: hidden;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-slot-games__hero-content {
    padding: 40px 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    background-color: #0A4B2C; /* Deep Green */
    color: #F2FFF6; /* Text Main */
}

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

.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;
    box-sizing: border-box;
    max-width: 100%; /* For mobile responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-slot-games__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #F2FFF6; /* Text Main */
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-secondary {
    background: transparent;
    color: #2AD16F; /* A lighter green for secondary text */
    border: 2px solid #2AD16F; /* Border */
}

.page-slot-games__btn-secondary:hover {
    background: #2AD16F;
    color: #08160F; /* Background color for hover text */
    transform: translateY(-2px);
}

/* Sections with different backgrounds */
.page-slot-games__light-bg {
    background-color: #0A4B2C; /* Deep Green, as a lighter contrast to main bg */
    color: #F2FFF6; /* Text Main */
}

.page-slot-games__dark-bg {
    background-color: #08160F; /* Background */
    color: #F2FFF6; /* Text Main */
}

/* Image alignment within sections */
.page-slot-games__image-full {
    width: 100%;
    height: auto;
    max-width: 800px;
    margin: 30px auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__image-right,
.page-slot-games__image-left {
    width: 100%;
    height: auto;
    max-width: 600px;
    margin: 30px auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Lists */
.page-slot-games__game-list,
.page-slot-games__guide-steps,
.page-slot-games__tips-list,
.page-slot-games__feature-list,
.page-slot-games__security-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 900px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-slot-games__list-item {
    background-color: #11271B; /* Card BG */
    padding: 25px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #2E7A4E; /* Border */
    transition: transform 0.3s ease;
}

.page-slot-games__list-item:hover {
    transform: translateY(-5px);
}

.page-slot-games__list-title {
    font-size: 1.4em;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
}

.page-slot-games__list-item p {
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
}

/* Promotion Cards */
.page-slot-games__promo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__card {
    background-color: #11271B; /* Card BG */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #2E7A4E; /* Border */
    color: #F2FFF6; /* Text Main */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease;
}

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

.page-slot-games__card-title {
    font-size: 1.5em;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
}

.page-slot-games__card p {
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 25px;
    flex-grow: 1;
}

/* FAQ Section */
.page-slot-games__faq-list {
    max-width: 900px;
    margin: 40px auto;
    text-align: left;
}

.page-slot-games__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #F2FFF6; /* Text Main */
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #11271B; /* Card BG */
    color: #F2FFF6; /* Text Main */
    transition: background-color 0.3s ease;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;   /* Safari */
    -khtml-user-select: none;    /* Konqueror HTML */
    -moz-user-select: none;      /* Old versions of Firefox */
    -ms-user-select: none;       /* Internet Explorer/Edge */
    user-select: none;           /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.page-slot-games__faq-question:hover {
    background-color: #1E3A2A; /* Divider */
}

.page-slot-games__faq-item[open] > .page-slot-games__faq-question {
    background-color: #1E3A2A; /* Divider */
}

.page-slot-games__faq-qtext {
    color: #F2C14E; /* Gold */
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #F2FFF6; /* Text Main */
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    transform: rotate(45deg);
}

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

.page-slot-games__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    border-top: 1px solid #1E3A2A; /* Divider */
}

.page-slot-games__faq-answer p {
    margin-top: 15px;
    color: #A7D9B8; /* Text Secondary */
}

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

    .page-slot-games__main-title {
        font-size: clamp(2em, 4.5vw, 3em);
    }
}

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

    .page-slot-games__section {
        padding: 40px 0;
    }

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

    .page-slot-games__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }

    .page-slot-games__intro-text {
        font-size: 1em;
    }

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

    /* Images Mobile Responsive */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin-left: auto;
        margin-right: auto;
    }
    
    .page-slot-games__hero-image-wrapper,
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__promo-cards,
    .page-slot-games__cta-buttons,
    .page-slot-games__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Buttons Mobile Responsive */
    .page-slot-games__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-slot-games__list-item {
        padding: 20px;
    }

    .page-slot-games__list-title {
        font-size: 1.2em;
    }

    .page-slot-games__card {
        padding: 25px;
    }

    .page-slot-games__card-title {
        font-size: 1.3em;
    }

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

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

@media (max-width: 480px) {
    .page-slot-games__hero-content {
        padding: 30px 15px;
    }

    .page-slot-games__section {
        padding: 30px 0;
    }

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

    .page-slot-games__main-title {
        font-size: clamp(1.5em, 7vw, 2em);
    }
}