/* style/slot-games.css */

/* Custom Colors */
:root {
    --page-slot-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-slot-games-card-bg: #11271B;
    --page-slot-games-background: #08160F;
    --page-slot-games-text-main: #F2FFF6;
    --page-slot-games-text-secondary: #A7D9B8;
    --page-slot-games-border: #2E7A4E;
    --page-slot-games-glow: #57E38D;
    --page-slot-games-gold: #F2C14E;
    --page-slot-games-divider: #1E3A2A;
    --page-slot-games-deep-green: #0A4B2C;
}

/* Base styles for the page content */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--page-slot-games-text-main); /* Default text color for dark background */
    background-color: var(--page-slot-games-background); /* Dark background */
}

.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.8rem;
    color: var(--page-slot-games-text-main);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-slot-games__sub-title {
    font-size: 2.2rem;
    color: var(--page-slot-games-text-main);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-slot-games__text-block {
    font-size: 1.1rem;
    color: var(--page-slot-games-text-secondary);
    margin-bottom: 20px;
    text-align: center;
}

.page-slot-games__text-link {
    color: var(--page-slot-games-glow);
    text-decoration: underline;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px;
    background-color: var(--page-slot-games-deep-green);
    overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Limit height for desktop hero */
    overflow: hidden;
    margin-bottom: 30px;
}

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

.page-slot-games__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    z-index: 1;
}

.page-slot-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem); /* Responsive H1 font size */
    color: var(--page-slot-games-text-main);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.page-slot-games__description {
    font-size: 1.3rem;
    color: var(--page-slot-games-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

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

.page-slot-games__btn-primary {
    background: var(--page-slot-games-button-gradient);
    color: #ffffff;
    border: none;
}

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

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

.page-slot-games__btn-secondary:hover {
    background-color: var(--page-slot-games-glow);
    color: var(--page-slot-games-background);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Intro Section */
.page-slot-games__intro-section {
    padding: 80px 0;
    background-color: var(--page-slot-games-background);
}

.page-slot-games__intro-section .page-slot-games__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__image-container {
    text-align: center;
    margin: 40px auto;
    max-width: 800px;
}

.page-slot-games__content-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games__feature-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 0;
    max-width: 800px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.page-slot-games__list-item {
    background-color: var(--page-slot-games-card-bg);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--page-slot-games-text-secondary);
    border: 1px solid var(--page-slot-games-divider);
}

.page-slot-games__list-item strong {
    color: var(--page-slot-games-text-main);
    font-size: 1.15rem;
    display: block;
    margin-bottom: 10px;
}

/* Game Types Section */
.page-slot-games__game-types {
    padding: 80px 0;
    background-color: var(--page-slot-games-card-bg);
}

.page-slot-games__game-types .page-slot-games__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-slot-games__card {
    background-color: var(--page-slot-games-background);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-slot-games-border);
    display: flex;
    flex-direction: column;
    color: var(--page-slot-games-text-secondary);
}

.page-slot-games__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-slot-games__card-title {
    font-size: 1.5rem;
    color: var(--page-slot-games-text-main);
    padding: 20px 20px 10px;
    font-weight: 700;
}

.page-slot-games__card-description {
    font-size: 1rem;
    padding: 0 20px 20px;
    flex-grow: 1;
}

.page-slot-games__card .page-slot-games__btn-primary {
    margin: 0 20px 20px;
    width: auto;
}

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 80px 0;
    background-color: var(--page-slot-games-background);
}

.page-slot-games__promotions-section .page-slot-games__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-slot-games__promotion-item {
    background-color: var(--page-slot-games-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-slot-games-border);
    display: flex;
    flex-direction: column;
    text-align: center;
}

.page-slot-games__promotion-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.page-slot-games__promotion-title {
    font-size: 1.4rem;
    color: var(--page-slot-games-text-main);
    padding: 20px 20px 10px;
    font-weight: 700;
}

.page-slot-games__promotion-description {
    font-size: 1rem;
    color: var(--page-slot-games-text-secondary);
    padding: 0 20px 20px;
    flex-grow: 1;
}

.page-slot-games__promotion-item .page-slot-games__btn-primary {
    margin: 0 20px 20px;
    width: auto;
}

/* Guide Section */
.page-slot-games__guide-section {
    padding: 80px 0;
    background-color: var(--page-slot-games-card-bg);
}

.page-slot-games__guide-section .page-slot-games__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-slot-games__step-item {
    background-color: var(--page-slot-games-background);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-slot-games-border);
    display: flex;
    flex-direction: column;
    text-align: center;
}

.page-slot-games__step-title {
    font-size: 1.6rem;
    color: var(--page-slot-games-text-main);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-slot-games__step-description {
    font-size: 1rem;
    color: var(--page-slot-games-text-secondary);
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-slot-games__step-item .page-slot-games__btn-secondary {
    width: auto;
    margin-top: 10px;
}

/* Safety Section */
.page-slot-games__safety-section {
    padding: 80px 0;
    background-color: var(--page-slot-games-deep-green);
}

.page-slot-games__safety-section .page-slot-games__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__safety-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-slot-games__feature-item {
    background-color: var(--page-slot-games-card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-slot-games-border);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.page-slot-games__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 20px;
}

.page-slot-games__feature-title {
    font-size: 1.4rem;
    color: var(--page-slot-games-text-main);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-slot-games__feature-description {
    font-size: 1rem;
    color: var(--page-slot-games-text-secondary);
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-slot-games__feature-item .page-slot-games__btn-secondary {
    width: auto;
    margin-top: auto; /* Push button to bottom */
}

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 80px 0;
    background-color: var(--page-slot-games-background);
}

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

.page-slot-games__faq-item {
    background-color: var(--page-slot-games-card-bg);
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--page-slot-games-border);
    overflow: hidden;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--page-slot-games-text-main);
    cursor: pointer;
    background-color: var(--page-slot-games-card-bg);
    border-bottom: 1px solid transparent; /* default */
    transition: background-color 0.3s ease, border-bottom-color 0.3s ease;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
    border-bottom-color: var(--page-slot-games-divider);
    background-color: var(--page-slot-games-deep-green);
}

.page-slot-games__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--page-slot-games-glow);
}

.page-slot-games__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: var(--page-slot-games-text-secondary);
}

.page-slot-games__faq-answer p {
    margin-bottom: 15px;
}

.page-slot-games__faq-answer .page-slot-games__btn-secondary {
    margin-top: 10px;
    width: auto;
}

/* Details element specific styling for FAQ */
.page-slot-games__faq-item summary {
    list-style: none;
}

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

/* Conclusion Section */
.page-slot-games__conclusion-section {
    padding: 80px 0;
    background-color: var(--page-slot-games-deep-green);
    text-align: center;
}

.page-slot-games__conclusion-section .page-slot-games__text-block {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.page-slot-games__cta-final .page-slot-games__btn-primary {
    margin: 0 auto;
    display: block;
    max-width: 300px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__section-title {
        font-size: 2.4rem;
    }
    .page-slot-games__sub-title {
        font-size: 2rem;
    }
    .page-slot-games__text-block {
        font-size: 1rem;
    }
    .page-slot-games__description {
        font-size: 1.1rem;
    }
    .page-slot-games__hero-image-wrapper {
        max-height: 500px;
    }
}

@media (max-width: 768px) {
    .page-slot-games__section-title {
        font-size: 2rem;
    }
    .page-slot-games__sub-title {
        font-size: 1.8rem;
    }
    .page-slot-games__main-title {
        font-size: clamp(2rem, 8vw, 2.8rem); /* Adjust H1 for smaller screens */
    }
    .page-slot-games__description {
        font-size: 1rem;
    }
    .page-slot-games__intro-section,
    .page-slot-games__game-types,
    .page-slot-games__promotions-section,
    .page-slot-games__guide-section,
    .page-slot-games__safety-section,
    .page-slot-games__faq-section,
    .page-slot-games__conclusion-section {
        padding: 60px 0;
    }

    .page-slot-games__hero-image-wrapper {
        max-height: 350px;
    }

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

    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100% !important;
        max-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-buttons,
    .page-slot-games__button-group,
    .page-slot-games__btn-container,
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__intro-section .page-slot-games__container,
    .page-slot-games__game-types .page-slot-games__container,
    .page-slot-games__promotions-section .page-slot-games__container,
    .page-slot-games__guide-section .page-slot-games__container,
    .page-slot-games__safety-section .page-slot-games__container,
    .page-slot-games__faq-section .page-slot-games__container,
    .page-slot-games__conclusion-section .page-slot-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow: hidden !important;
    }

    /* Images and video responsive */
    .page-slot-games img,
    .page-slot-games video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-slot-games__video-section {
        padding-top: 10px !important;
    }

    .page-slot-games__video-container,
    .page-slot-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-slot-games__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
    .page-slot-games__faq-answer {
        padding: 0 20px 15px;
    }
    .page-slot-games__faq-toggle {
        font-size: 1.5rem;
    }
    .page-slot-games__list-item,
    .page-slot-games__card,
    .page-slot-games__promotion-item,
    .page-slot-games__step-item,
    .page-slot-games__feature-item {
        margin-bottom: 20px;
    }

}

@media (max-width: 480px) {
    .page-slot-games__section-title {
        font-size: 1.8rem;
    }
    .page-slot-games__sub-title {
        font-size: 1.6rem;
    }
    .page-slot-games__hero-section {
        padding-top: 10px; /* body handles main offset */
        padding-bottom: 40px;
    }
    .page-slot-games__hero-image-wrapper {
        max-height: 250px;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.8rem, 10vw, 2.5rem);
    }
    .page-slot-games__description {
        font-size: 0.95rem;
    }
    .page-slot-games__list-item strong {
        font-size: 1.1rem;
    }
    .page-slot-games__card-title,
    .page-slot-games__promotion-title,
    .page-slot-games__step-title,
    .page-slot-games__feature-title {
        font-size: 1.3rem;
    }
    .page-slot-games__card-description,
    .page-slot-games__promotion-description,
    .page-slot-games__step-description,
    .page-slot-games__feature-description {
        font-size: 0.9rem;
    }
    .page-slot-games__faq-question {
        font-size: 1rem;
    }
    .page-slot-games__faq-answer {
        font-size: 0.9rem;
    }
}