/* style/slot-games.css */

/* Base styles for the page content */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* Default text color for dark background */
    line-height: 1.6;
    background-color: transparent; /* Assuming body handles dark-bg */
}

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

.page-slot-games__section-title {
    font-size: 2.5em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-slot-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #017439;
    border-radius: 2px;
}

.page-slot-games__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #f0f0f0;
}

.page-slot-games__paragraph a {
    color: #FFFF00; /* Link color for dark background */
    text-decoration: none;
    font-weight: bold;
}

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Apply header offset */
    overflow: hidden;
    background: linear-gradient(135deg, #017439, #005f2c); /* Gradient background */
}

.page-slot-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    color: #ffffff;
}

.page-slot-games__hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: #FFFF00; /* Yellow for main title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-description {
    font-size: 1.5em;
    margin-bottom: 40px;
    color: #f0f0f0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

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

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

.page-slot-games__btn-primary {
    background-color: #C30808; /* Red for primary CTA */
    color: #FFFF00; /* Yellow text for primary CTA */
    border: 2px solid #C30808;
    box-shadow: 0 4px 15px rgba(195, 8, 8, 0.4);
}

.page-slot-games__btn-primary:hover {
    background-color: #e01a1a;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(195, 8, 8, 0.6);
}

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: #FFFF00; /* Yellow text for secondary CTA */
    border: 2px solid #FFFF00;
    box-shadow: 0 4px 10px rgba(255, 255, 0, 0.2);
}

.page-slot-games__btn-secondary:hover {
    background-color: #FFFF00;
    color: #C30808;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 255, 0, 0.4);
}

/* Dark Section Styling */
.page-slot-games__dark-section {
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
    padding: 60px 0;
}

.page-slot-games__dark-section .page-slot-games__section-title {
    color: #ffffff;
}

.page-slot-games__dark-section .page-slot-games__section-title::after {
    background-color: #FFFF00;
}

.page-slot-games__dark-section .page-slot-games__paragraph {
    color: #f0f0f0;
}

/* Introduction Section */
.page-slot-games__introduction-section {
    padding: 60px 0;
}

/* Why Choose Section */
.page-slot-games__why-choose-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Dark background for contrast */
    color: #ffffff;
}

.page-slot-games__why-choose-section .page-slot-games__section-title {
    color: #ffffff;
}

.page-slot-games__why-choose-section .page-slot-games__section-title::after {
    background-color: #017439;
}

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

.page-slot-games__feature-card {
    background-color: #2a2a2a; /* Slightly lighter dark background */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-slot-games__card-image {
    width: 100%; /* Ensure images fill card width responsively */
    height: auto; /* Maintain aspect ratio */
    max-width: 400px; /* Max width for display area */
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-height: 200px; /* Enforce min-size for images */
}

.page-slot-games__card-title {
    font-size: 1.5em;
    color: #FFFF00; /* Yellow for card titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slot-games__card-description {
    font-size: 1em;
    color: #f0f0f0;
    text-align: justify;
}

/* Game Types Section */
.page-slot-games__game-types-section {
    padding: 80px 0;
}

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

.page-slot-games__game-type-card {
    background-color: #005f2c; /* A darker shade of primary color */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

/* Strategy Section */
.page-slot-games__strategy-section {
    padding: 80px 0;
    background-color: #1a1a1a;
    color: #ffffff;
}

.page-slot-games__strategy-section .page-slot-games__section-title {
    color: #ffffff;
}

.page-slot-games__strategy-section .page-slot-games__section-title::after {
    background-color: #017439;
}

.page-slot-games__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-slot-games__strategy-list .page-slot-games__list-item {
    background-color: #2a2a2a;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__strategy-list .page-slot-games__list-item:last-child {
    margin-bottom: 0;
}

.page-slot-games__list-title {
    font-size: 1.4em;
    color: #FFFF00;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__strategy-list .page-slot-games__list-item p {
    color: #f0f0f0;
    text-align: justify;
}

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

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 80px 0;
}

.page-slot-games__promotion-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-slot-games__promotion-list .page-slot-games__list-item {
    background-color: #005f2c;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__promotion-list .page-slot-games__list-item:last-child {
    margin-bottom: 0;
}

/* How To Join Section */
.page-slot-games__how-to-join-section {
    padding: 80px 0;
    background-color: #1a1a1a;
    color: #ffffff;
}

.page-slot-games__how-to-join-section .page-slot-games__section-title {
    color: #ffffff;
}

.page-slot-games__how-to-join-section .page-slot-games__section-title::after {
    background-color: #017439;
}

.page-slot-games__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    counter-reset: step-counter;
}

.page-slot-games__steps-list .page-slot-games__list-item {
    background-color: #2a2a2a;
    border-radius: 10px;
    padding: 25px 25px 25px 70px; /* Adjust padding for counter */
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

.page-slot-games__steps-list .page-slot-games__list-item:last-child {
    margin-bottom: 0;
}

.page-slot-games__steps-list .page-slot-games__list-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 25px;
    top: 25px;
    background-color: #017439;
    color: #ffffff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
}

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 80px 0;
}

.page-slot-games__faq-list {
    margin-top: 40px;
}

.page-slot-games__faq-item {
    background-color: #005f2c;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #017439;
    color: #ffffff;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-title {
    font-size: 1.2em;
    margin: 0;
    color: #FFFF00;
}

.page-slot-games__faq-toggle {
    font-size: 1.8em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #FFFF00;
}

.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 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #005f2c;
    color: #f0f0f0;
}

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

.page-slot-games__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
    text-align: justify;
}

.page-slot-games__faq-answer a {
    color: #FFFF00;
    text-decoration: none;
    font-weight: bold;
}

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

/* Conclusion Section */
.page-slot-games__conclusion-section {
    padding: 80px 0;
    text-align: center;
}

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

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        min-height: 500px;
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile specific header offset */
    }

    .page-slot-games__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-slot-games__hero-description {
        font-size: 1.1em;
        margin-bottom: 30px;
    }
    .page-slot-games__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

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

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

    .page-slot-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-slot-games__feature-grid,
    .page-slot-games__game-type-grid {
        grid-template-columns: 1fr;
    }

    .page-slot-games__card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-height: 200px; /* Ensure min-size is maintained */
    }

    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}