.page-slot-games {
    font-family: Arial, sans-serif;
    color: #333333; /* Default text color for light body background */
    line-height: 1.6;
    background-color: #FFFFFF; /* Explicitly set body background color */
}

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 80px 0;
    background-color: #017439; /* Brand primary color for hero background */
    color: #FFFFFF;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.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 transparent to let background color show */
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.page-slot-games__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFFFF;
}

.page-slot-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

/* General Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-play {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-slot-games__btn-primary {
    background-color: #C30808;
    color: #FFFF00;
    border: 2px solid #C30808;
}

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

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

.page-slot-games__hero-section .page-slot-games__btn-secondary {
    color: #FFFFFF;
    border-color: #FFFFFF;
}

.page-slot-games__btn-secondary:hover {
    background-color: #FFFFFF;
    color: #017439;
}

.page-slot-games__btn-play {
    background-color: #017439;
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 5px;
}

.page-slot-games__btn-play:hover {
    background-color: #005a2e;
}


/* General Section Styles */
.page-slot-games__intro-section,
.page-slot-games__popular-games,
.page-slot-games__promotions-section,
.page-slot-games__faq-section {
    padding: 60px 0;
    background-color: #FFFFFF;
    color: #333333;
}

.page-slot-games__dark-bg {
    background-color: #017439;
    color: #FFFFFF;
}

.page-slot-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: inherit;
}

.page-slot-games__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Image Text Grid */
.page-slot-games__image-text-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.page-slot-games__image-text-grid--reverse {
    flex-direction: row-reverse;
}

.page-slot-games__feature-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 200px;
    min-height: 200px;
}

.page-slot-games__feature-content {
    flex: 1;
    max-width: 50%;
}

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

.page-slot-games__feature-text {
    font-size: 1.05em;
    line-height: 1.7;
}

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

.page-slot-games__benefit-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: #FFFFFF;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-slot-games__benefit-icon {
    width: 200px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: none;
    min-width: 200px;
    min-height: 150px;
    margin-left: auto;
    margin-right: auto;
}

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

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

/* CTA Buttons Centered */
.page-slot-games__cta-buttons--center {
    margin-top: 50px;
    text-align: center;
}

/* Game Grid */
.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: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-slot-games__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
    filter: none;
    min-width: 200px;
    min-height: 200px;
}

.page-slot-games__game-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #017439;
    padding: 0 15px;
}

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

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

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

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

.page-slot-games__strategy-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    color: #FFFFFF;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-slot-games__strategy-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #FFFF00;
}

.page-slot-games__strategy-text {
    font-size: 1em;
    color: #f0f0f0;
}

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

.page-slot-games__promotion-card {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-slot-games__promotion-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
    filter: none;
    min-width: 200px;
    min-height: 200px;
}

.page-slot-games__promotion-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #017439;
    padding: 0 15px;
}

.page-slot-games__promotion-text {
    font-size: 0.95em;
    color: #666666;
    margin-bottom: 20px;
    padding: 0 15px;
}

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

.page-slot-games__faq-item {
    background-color: #f9f9f9;
    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;
    font-size: 1.1em;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    background-color: #FFFFFF;
    transition: background-color 0.3s ease;
    list-style: none;
}

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

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
    background-color: #e6f7ff;
    color: #017439;
}

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

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    transform: rotate(45deg);
}

.page-slot-games__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: #555555;
    line-height: 1.7;
}

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


/* Bottom CTA Section */
.page-slot-games__cta-bottom-section {
    padding: 80px 0;
    text-align: center;
}

.page-slot-games__cta-bottom-content {
    max-width: 900px;
}

.page-slot-games__cta-bottom-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.page-slot-games__cta-bottom-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 2.8em;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__image-text-grid {
        flex-direction: column;
        text-align: center;
    }
    .page-slot-games__image-text-grid--reverse {
        flex-direction: column;
    }
    .page-slot-games__feature-image,
    .page-slot-games__feature-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }
}