/* style/slot-games.css */

/* Custom Colors */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient-start: #2AD16F;
    --color-button-gradient-end: #13994A;
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
}

.page-slot-games {
    background-color: var(--color-background);
    color: var(--color-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-slot-games a {
    color: var(--color-secondary);
    text-decoration: none;
}

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

.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 60px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for aesthetic */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-slot-games__hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 20px;
    max-width: 900px;
    margin-top: -150px; /* Overlap slightly with image for visual flow */
    background-color: rgba(8, 22, 15, 0.8); /* Slightly transparent background for text readability */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__main-title {
    color: var(--color-gold);
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
}

.page-slot-games__hero-description {
    color: var(--color-text-secondary);
    font-size: 1.1em;
    margin-bottom: 30px;
}

.page-slot-games__section {
    padding: 60px 0;
    border-bottom: 1px solid var(--color-divider);
}

.page-slot-games__section:last-of-type {
    border-bottom: none;
}

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

.page-slot-games__section-title {
    color: var(--color-gold);
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-slot-games__section-description {
    color: var(--color-text-secondary);
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-slot-games__cta-buttons--centered {
    margin-top: 50px;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    max-width: 100%;
}

.page-slot-games__btn-primary {
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: var(--color-text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

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

.page-slot-games__btn-secondary:hover {
    background-color: var(--color-button-gradient-start);
    color: var(--color-text-main);
    transform: translateY(-3px);
}

.page-slot-games__card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: var(--color-text-main);
}

.page-slot-games__card-title,
.page-slot-games__feature-title,
.page-slot-games__promotion-title,
.page-slot-games__step-title,
.page-slot-games__tips-title {
    color: var(--color-gold);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-slot-games__card-text,
.page-slot-games__feature-text,
.page-slot-games__promotion-text,
.page-slot-games__step-text,
.page-slot-games__tips-text {
    color: var(--color-text-secondary);
    font-size: 1em;
}

/* Why Choose Section */
.page-slot-games__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-slot-games__feature-icon {
    width: 100%; /* Ensure images take full width of card */
    height: auto;
    max-height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

/* Slot Types Section */
.page-slot-games__grid-3-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* How To Play Section */
.page-slot-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-slot-games__step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__step-number {
    background-color: var(--color-primary);
    color: var(--color-text-main);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__promotion-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

/* Expert Tips Section */
.page-slot-games__tips-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-slot-games__tips-item {
    text-align: left;
    padding: 25px;
}

.page-slot-games__tips-title {
    font-size: 1.3em;
    text-align: left;
}

.page-slot-games__tips-text {
    text-align: left;
}

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

.page-slot-games__faq-item {
    margin-bottom: 15px;
    text-align: left;
    overflow: hidden;
    padding: 0; /* Reset padding for details element */
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 20px 25px;
    background-color: var(--color-deep-green); /* Slightly darker for contrast */
    color: var(--color-text-main);
    font-weight: bold;
    font-size: 1.1em;
    border-radius: 10px;
    transition: background-color 0.3s ease;
    list-style: none; /* Hide default marker */
}

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

.page-slot-games__faq-question:hover {
    background-color: var(--color-primary);
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
}

.page-slot-games__faq-answer {
    padding: 20px 25px;
    background-color: var(--color-card-bg);
    color: var(--color-text-secondary);
    border-top: 1px solid var(--color-border);
    border-radius: 0 0 10px 10px;
    font-size: 0.95em;
    line-height: 1.7;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* Final CTA Section */
.page-slot-games__cta-final {
    background-color: var(--color-deep-green);
    text-align: center;
    padding: 80px 0;
}

.page-slot-games__cta-final .page-slot-games__section-title {
    color: var(--color-gold);
    margin-bottom: 20px;
}

.page-slot-games__cta-final .page-slot-games__section-description {
    color: var(--color-text-secondary);
    margin-bottom: 40px;
}

/* Dark Section */
.page-slot-games__dark-section {
    background-color: var(--color-deep-green);
    color: var(--color-text-main);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-content {
        margin-top: -100px;
    }
    .page-slot-games__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-slot-games__hero-section {
        padding-bottom: 30px;
    }
    .page-slot-games__hero-content {
        margin-top: -80px;
        padding: 15px;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }
    .page-slot-games__hero-description {
        font-size: 1em;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .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__cta-buttons,
    .page-slot-games__button-group,
    .page-slot-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-slot-games__section {
        padding: 40px 0;
    }
    .page-slot-games__container {
        padding: 0 15px;
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
    }
    .page-slot-games__section-description {
        font-size: 1em;
    }
    .page-slot-games__feature-item,
    .page-slot-games__card,
    .page-slot-games__promotion-card,
    .page-slot-games__step-item,
    .page-slot-games__tips-item {
        padding: 20px;
    }
    .page-slot-games__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-slot-games__faq-answer {
        padding: 15px 20px;
    }

    /* Image, Video, Container Responsiveness for mobile */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-slot-games video,
    .page-slot-games__video {
        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__video-section,
    .page-slot-games__video-container,
    .page-slot-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-slot-games__hero-section {
        padding-top: 10px !important; /* body handles --header-offset, keep this small */
    }
}

@media (max-width: 480px) {
    .page-slot-games__hero-content {
        margin-top: -60px;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.5em, 7vw, 2em);
    }
    .page-slot-games__section-title {
        font-size: 1.5em;
    }
    .page-slot-games__step-number {
        width: 40px;
        height: 40px;
        font-size: 1.5em;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
    }
}