/* style/slot-games.css */

/* Base styles for the page */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light body background */
    background-color: #FFFFFF; /* Explicit white background for sections */
}

/* Color contrast classes */
.page-slot-games__dark-bg {
    background-color: #017439;
    color: #ffffff;
}

.page-slot-games__light-bg {
    background-color: #ffffff;
    color: #333333;
}

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

.page-slot-games__text-center {
    text-align: center;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    overflow: hidden;
}

.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; /* Slightly dim the background image for text readability */
}

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

.page-slot-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFF00; /* Register/Login font color for emphasis */
}

.page-slot-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
}

.page-slot-games__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* General Section Styling */
.page-slot-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 30px;
    color: inherit; /* Inherit color from parent section */
}

.page-slot-games__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: inherit;
}

.page-slot-games__intro-section, 
.page-slot-games__benefits-section, 
.page-slot-games__guide-section, 
.page-slot-games__faq-section, 
.page-slot-games__conclusion-section {
    padding: 80px 0;
}

.page-slot-games__game-types-section, 
.page-slot-games__tips-section {
    padding: 80px 0;
}

/* Feature Grid */
.page-slot-games__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}

.page-slot-games__feature-item {
    padding: 20px;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-slot-games__feature-icon {
    width: 100%;
    height: auto;
    max-width: 250px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-slot-games__feature-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 10px;
}

.page-slot-games__feature-text {
    font-size: 1em;
    color: #555555;
}

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

.page-slot-games__game-card {
    background-color: #222222;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: #ffffff;
}

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

.page-slot-games__game-title {
    font-size: 1.4em;
    margin: 20px 15px 10px 15px;
}

.page-slot-games__game-title a {
    color: #FFFF00; /* Register/Login font color for emphasis */
    text-decoration: none;
}

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

.page-slot-games__game-description {
    font-size: 0.95em;
    padding: 0 15px 20px 15px;
    color: #cccccc;
}

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

.page-slot-games__benefit-item {
    background-color: #f0f0f0;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    color: #333333;
}

.page-slot-games__benefit-icon {
    width: 100%;
    height: auto;
    max-width: 150px;
    margin-bottom: 20px;
}

.page-slot-games__benefit-title {
    font-size: 1.6em;
    color: #017439;
    margin-bottom: 15px;
}

.page-slot-games__benefit-text {
    font-size: 1em;
    color: #555555;
}

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

.page-slot-games__step-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    padding-top: 70px; /* Space for number */
}

.page-slot-games__step-number {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #017439;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
}

.page-slot-games__step-title {
    font-size: 1.4em;
    color: #017439;
    margin-bottom: 10px;
}

.page-slot-games__step-title a {
    color: #017439;
    text-decoration: none;
}

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

.page-slot-games__step-text {
    font-size: 1em;
    color: #555555;
}

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

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

.page-slot-games__tip-item {
    background-color: #222222;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: #ffffff;
}

.page-slot-games__tip-icon {
    width: 100%;
    height: auto;
    max-width: 150px;
    margin-bottom: 20px;
}

.page-slot-games__tip-title {
    font-size: 1.6em;
    color: #FFFF00; /* Register/Login font color for emphasis */
    margin-bottom: 15px;
}

.page-slot-games__tip-text {
    font-size: 1em;
    color: #cccccc;
}

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

.page-slot-games__faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: #f5f5f5;
    color: #333333;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

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

.page-slot-games__faq-item.active .page-slot-games__faq-question {
    background-color: #017439;
    color: #ffffff;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
    color: #ffffff;
}

.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: #ffffff;
    color: #555555;
}

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

/* Buttons */
.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-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-primary {
    background-color: #C30808; /* Register button color */
    color: #FFFF00; /* Register font color */
    border: 2px solid #C30808;
}

.page-slot-games__btn-primary:hover {
    background-color: #a30606;
    border-color: #a30606;
}

.page-slot-games__btn-secondary {
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
}

.page-slot-games__btn-secondary:hover {
    background-color: #005a2d;
    border-color: #005a2d;
}

.page-slot-games__btn-large {
    padding: 18px 40px;
    font-size: 1.2em;
}

/* Conclusion Section */
.page-slot-games__conclusion-section {
    padding-bottom: 100px;
}

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

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-slot-games__hero-title {
        font-size: 2.2em;
    }
    .page-slot-games__hero-description {
        font-size: 1em;
    }
    .page-slot-games__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-slot-games__btn-primary, .page-slot-games__btn-secondary, .page-slot-games__btn-large {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-slot-games__intro-section, 
    .page-slot-games__benefits-section, 
    .page-slot-games__guide-section, 
    .page-slot-games__faq-section, 
    .page-slot-games__conclusion-section,
    .page-slot-games__game-types-section, 
    .page-slot-games__tips-section {
        padding: 40px 0;
    }
    .page-slot-games__container {
        padding: 0 15px;
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-slot-games__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-slot-games__features-grid, .page-slot-games__game-grid, .page-slot-games__benefits-grid, .page-slot-games__guide-steps, .page-slot-games__tips-grid {
        gap: 20px;
    }
    .page-slot-games__feature-item, .page-slot-games__game-card, .page-slot-games__benefit-item, .page-slot-games__tip-item, .page-slot-games__step-item {
        padding: 20px;
    }
    .page-slot-games__game-image {
        height: 180px;
    }
    .page-slot-games__feature-icon, .page-slot-games__benefit-icon, .page-slot-games__tip-icon {
        max-width: 100px;
    }
    .page-slot-games__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-slot-games__faq-answer {
        padding: 10px 20px;
    }
    /* Ensure all images are responsive on mobile */
    .page-slot-games img {
        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__hero-section,
    .page-slot-games__hero-cta-buttons,
    .page-slot-games__game-grid,
    .page-slot-games__benefits-grid,
    .page-slot-games__guide-steps,
    .page-slot-games__tips-grid,
    .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;
    }
    .page-slot-games__hero-section {
        padding-left: 0;
        padding-right: 0;
    }
    .page-slot-games__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
    }
}