/* style/slot-games.css */

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --card-bg: #11271B;
    --bg-color: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Default text color for main content */
    background-color: var(--bg-color);
}

.page-slot-games__section {
    padding: 60px 0;
    text-align: center;
}

.page-slot-games__dark-bg {
    background-color: var(--bg-color);
    color: var(--text-main);
}

.page-slot-games__light-bg {
    background-color: #f5f5f5; /* Using a light background for contrast as per rules */
    color: #333333;
}

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

.page-slot-games__section-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--gold-color);
    line-height: 1.2;
}

.page-slot-games__text-block {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-secondary);
}

/* 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 0; /* Small top padding, larger bottom padding */
    overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height of hero image for better content visibility */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

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

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

.page-slot-games__main-title {
    font-size: clamp(32px, 5vw, 64px); /* H1 size with clamp */
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--gold-color);
    line-height: 1.1;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.7);
}

.page-slot-games__description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    max-width: 100%; /* Ensure button fits container */
    box-sizing: border-box;
}

.page-slot-games__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-slot-games__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

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

.page-slot-games__btn-secondary:hover {
    background-color: var(--border-color);
    color: #ffffff;
    transform: translateY(-2px);
}

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

/* Why Choose Us Section */
.page-slot-games__why-choose-us .page-slot-games__text-block {
    color: #555555; /* Darker text for light background */
}

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

.page-slot-games__feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    color: #333333; /* Dark text for light background */
}

.page-slot-games__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

.page-slot-games__feature-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #555555;
}

/* Game Types Section */
.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: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.page-slot-games__game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page-slot-games__game-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 20px 20px 10px 20px;
    color: var(--gold-color);
}

.page-slot-games__game-card p {
    font-size: 15px;
    line-height: 1.5;
    padding: 0 20px 20px 20px;
    color: var(--text-secondary);
}

/* How To Play Section */
.page-slot-games__how-to-play .page-slot-games__text-block {
    color: #555555;
}

.page-slot-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-slot-games__step-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    color: #333333;
}

.page-slot-games__step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 50px;
    height: 50px;
    background: var(--button-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    border: 3px solid #ffffff;
    box-shadow: 0 0 15px rgba(17, 168, 78, 0.6);
}

.page-slot-games__step-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    margin-top: 20px; /* Adjust for number */
    color: var(--primary-color);
}

.page-slot-games__step-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #555555;
}

/* Promotions Section */
.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: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.page-slot-games__promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page-slot-games__promo-title {
    font-size: 22px;
    font-weight: 700;
    margin: 20px 20px 10px 20px;
    color: var(--gold-color);
}

.page-slot-games__promo-card p {
    font-size: 15px;
    line-height: 1.5;
    padding: 0 20px 20px 20px;
    color: var(--text-secondary);
}

/* Tips & Strategies Section */
.page-slot-games__tips-strategies .page-slot-games__text-block {
    color: #555555;
}

.page-slot-games__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__tips-list li {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #333333;
}

.page-slot-games__tip-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-slot-games__tips-list li p {
    font-size: 16px;
    line-height: 1.6;
    color: #555555;
}

/* Security & Safety Section */
.page-slot-games__security-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
    text-align: left;
}

.page-slot-games__security-image {
    flex: 1 1 400px;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.page-slot-games__security-list {
    flex: 2 1 500px;
    list-style: none;
    padding: 0;
}

.page-slot-games__security-list li {
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    border-left: 5px solid var(--primary-color);
}

.page-slot-games__security-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gold-color);
}

.page-slot-games__security-list li p {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* FAQ Section */
.page-slot-games__faq-section .page-slot-games__text-block {
    color: #555555;
}

.page-slot-games__faq-list {
    margin-top: 40px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__faq-item {
    background-color: #ffffff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    color: #333333;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    background-color: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-slot-games__faq-item[open] > .page-slot-games__faq-question {
    background-color: var(--primary-color);
    color: #ffffff;
}

.page-slot-games__faq-item[open] > .page-slot-games__faq-question .page-slot-games__faq-toggle {
    color: #ffffff;
}

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

.page-slot-games__faq-qtext {
    flex-grow: 1;
}

.page-slot-games__faq-toggle {
    font-size: 24px;
    font-weight: 700;
    margin-left: 15px;
    color: var(--primary-color);
}

.page-slot-games__faq-answer {
    padding: 15px 25px 25px 25px;
    font-size: 16px;
    line-height: 1.6;
    color: #555555;
    text-align: left;
}

/* Conclusion Section */
.page-slot-games__conclusion .page-slot-games__text-block {
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-image-wrapper {
        max-height: 500px;
    }
}

@media (max-width: 768px) {
    .page-slot-games__section {
        padding: 40px 0;
    }

    .page-slot-games__section-title {
        font-size: 32px;
    }

    .page-slot-games__description {
        font-size: 16px;
    }

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

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

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        padding: 12px 20px;
        font-size: 16px;
        width: 100%;
    }

    .page-slot-games__game-image,
    .page-slot-games__promo-image {
        height: 160px;
    }

    .page-slot-games__game-card h3,
    .page-slot-games__promo-title,
    .page-slot-games__feature-title,
    .page-slot-games__step-title,
    .page-slot-games__tip-title,
    .page-slot-games__security-title {
        font-size: 20px;
    }

    .page-slot-games__security-content {
        flex-direction: column;
        gap: 20px;
    }

    .page-slot-games__security-image {
        order: -1; /* Image above text on mobile */
    }

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

    .page-slot-games__faq-answer p {
        font-size: 15px;
        padding: 10px 20px 20px 20px;
    }

    /* Mobile specific image and video responsive rules */
    .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__container,
    .page-slot-games__hero-section,
    .page-slot-games__hero-image-wrapper,
    .page-slot-games__hero-content,
    .page-slot-games__cta-buttons,
    .page-slot-games__cta-center,
    .page-slot-games__video-section,
    .page-slot-games__video-container,
    .page-slot-games__video-wrapper,
    .page-slot-games__game-grid,
    .page-slot-games__promo-grid,
    .page-slot-games__features-grid,
    .page-slot-games__steps-grid,
    .page-slot-games__security-content,
    .page-slot-games__faq-list,
    .page-slot-games__tips-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    .page-slot-games__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    .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 !important;
        padding-right: 15px !important;
    }
}