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

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

.page-slot-games__hero-section {
    background-color: #017439; /* Primary color as background */
    color: #ffffff; /* White text for dark background */
    text-align: center;
    padding-top: 10px; /* Small top padding, assuming body handles header offset */
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    margin-bottom: 40px;
}

.page-slot-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__main-title {
    font-size: 3.2em;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFF00; /* Custom color for prominent titles */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-slot-games__description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.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,
.page-slot-games__card-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-slot-games__btn-primary {
    background-color: #C30808; /* Custom color for Register/Login */
    color: #FFFF00; /* Custom font color for Register/Login */
    border: 2px solid #C30808;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-primary:hover {
    background-color: #e02020;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-secondary {
    background-color: #ffffff;
    color: #017439;
    border: 2px solid #017439;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__btn-secondary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__section-title {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    color: #017439; /* Primary color for section titles */
}

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

.page-slot-games__games-section {
    background-color: #f8f8f8; /* Light background */
    padding: 60px 0;
}

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

.page-slot-games__game-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__game-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 15px;
}

.page-slot-games__game-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 10px;
    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-provider {
    font-size: 0.9em;
    color: #777777;
    margin-bottom: 15px;
    padding: 0 15px;
}

.page-slot-games__card-button {
    background-color: #017439;
    color: #ffffff;
    border: none;
    cursor: pointer;
    padding: 10px 25px;
    font-size: 1em;
}

.page-slot-games__card-button:hover {
    background-color: #005a2e;
}

.page-slot-games__view-all-button-wrapper {
    text-align: center;
    margin-top: 20px;
}

.page-slot-games__login-guide-section {
    background-color: #017439;
    color: #ffffff;
    padding: 60px 0;
}

.page-slot-games__flex-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-slot-games__text-content {
    flex: 1;
}

.page-slot-games__image-content {
    flex: 1;
    text-align: center;
}

.page-slot-games__responsive-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 0 auto;
}

.page-slot-games__login-guide-section .page-slot-games__section-title {
    color: #FFFF00;
    text-align: left;
}

.page-slot-games__paragraph {
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-slot-games__guide-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-slot-games__guide-list li {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 5px solid #FFFF00;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1.05em;
}

.page-slot-games__guide-list li strong {
    color: #FFFF00;
}

.page-slot-games__promotions-section {
    background-color: #f8f8f8;
    padding: 60px 0;
}

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

.page-slot-games__promo-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-slot-games__promo-text {
    font-size: 1em;
    color: #555555;
    margin-bottom: 25px;
}

.page-slot-games__benefits-section {
    background-color: #017439;
    color: #ffffff;
    padding: 60px 0;
}

.page-slot-games__benefits-section .page-slot-games__section-title {
    color: #FFFF00;
}

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

.page-slot-games__benefit-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.page-slot-games__benefit-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

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

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

.page-slot-games__faq-section {
    background-color: #ffffff;
    padding: 60px 0;
}

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

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: #ffffff;
    color: #017439;
    font-size: 1.15em;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    list-style: none; /* For details/summary */
}

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

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

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

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #C30808;
    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: 15px 25px 20px 25px;
    font-size: 1em;
    color: #555555;
}

.page-slot-games__conclusion-section {
    background-color: #017439;
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.page-slot-games__conclusion-section .page-slot-games__section-title {
    color: #FFFF00;
    margin-bottom: 30px;
}

.page-slot-games__conclusion-section .page-slot-games__description {
    color: #f0f0f0;
    margin-bottom: 50px;
}

.page-slot-games__margin-top-large {
    margin-top: 50px;
}

/* Common image responsive styles */
.page-slot-games img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Desktop Specific Adjustments (for larger screens) --- */
@media (min-width: 1025px) {
    .page-slot-games__flex-container {
        flex-direction: row;
    }
    .page-slot-games__login-guide-section .page-slot-games__image-content {
        order: 2;
    }
}

/* --- Tablet and Mobile Responsive Styles --- */
@media (max-width: 1024px) {
    .page-slot-games__main-title {
        font-size: 2.8em;
    }

    .page-slot-games__section-title {
        font-size: 2em;
    }

    .page-slot-games__description,
    .page-slot-games__section-description,
    .page-slot-games__paragraph {
        font-size: 1em;
    }

    .page-slot-games__flex-container {
        flex-direction: column;
        text-align: center;
    }

    .page-slot-games__login-guide-section .page-slot-games__section-title {
        text-align: center;
    }

    .page-slot-games__guide-list li {
        text-align: left;
    }
}

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

    /* HERO 主图区域 */
    .page-slot-games__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }

    .page-slot-games__hero-image-wrapper {
        margin-bottom: 30px;
    }

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

    .page-slot-games__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .page-slot-games__description {
        font-size: 1em;
        margin-bottom: 30px;
    }

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

    /* 产品展示图区域 */
    .page-slot-games__games-section,
    .page-slot-games__login-guide-section,
    .page-slot-games__promotions-section,
    .page-slot-games__benefits-section,
    .page-slot-games__faq-section,
    .page-slot-games__conclusion-section {
        padding: 40px 0;
    }

    .page-slot-games__container {
        padding-left: 15px;
        padding-right: 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__games-grid,
    .page-slot-games__promo-cards-grid,
    .page-slot-games__benefits-grid {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 20px;
    }

    .page-slot-games__game-card,
    .page-slot-games__promo-card,
    .page-slot-games__benefit-item {
        padding: 20px;
    }

    .page-slot-games__game-image {
        height: 200px; /* Adjust height for mobile */
    }

    .page-slot-games__game-title {
        font-size: 1.2em;
    }

    .page-slot-games__promo-title {
        font-size: 1.3em;
    }

    .page-slot-games__benefit-title {
        font-size: 1.1em;
    }

    /* 通用图片与容器 */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-slot-games__image-content {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-slot-games__hero-image-wrapper,
    .page-slot-games__game-card,
    .page-slot-games__promo-card,
    .page-slot-games__benefit-item,
    .page-slot-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 按钮与按钮容器 */
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__card-button,
    .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,
    .page-slot-games__view-all-button-wrapper {
        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__cta-buttons {
        flex-direction: column;
    }

    /* Other content modules */
    .page-slot-games__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }

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

    .page-slot-games__guide-list li {
        font-size: 1em;
        padding: 12px 15px;
    }
}

/* Dark background text color */
.page-slot-games__dark-bg {
    color: #ffffff;
}

/* Light background text color */
.page-slot-games__light-bg {
    color: #333333;
}

/* Ensure images do not use filter */
.page-slot-games img {
    filter: none; /* Explicitly disable any filters */
}