/* 页面主体样式 */
.page-slot-games {
    background-color: #F5F7FA;
    color: #333333;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px;
    box-sizing: border-box;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    margin-bottom: 40px;
    background-color: #0a0909; /* Dark background for hero */
}

.page-slot-games__hero-banner {
    width: 100%;
    margin: 0;
    overflow: hidden;
}

.page-slot-games__hero-banner img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9; /* For 1920x1080 */
    object-fit: cover;
    object-position: center;
    filter: none; /* Ensure no color filters */
}

.page-slot-games__hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 40px;
    text-align: center;
    color: #FFFFFF;
}

.page-slot-games__main-title {
    font-size: clamp(1.5rem, 4.5vw, 2.8rem); /* Adjusted for larger desktop and mobile */
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #FFD700; /* Gold-like for emphasis */
}

.page-slot-games__hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #F5F7FA;
}

.page-slot-games__cta-button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-top: 20px;
    color: #E53935; /* Main brand color */
}

.page-slot-games__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FF5A4F;
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-slot-games__intro-section,
.page-slot-games__benefits-section,
.page-slot-games__tips-section,
.page-slot-games__faq-section {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.page-slot-games__content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.page-slot-games__content-wrapper p {
    font-size: 1rem;
    color: #333333;
    text-align: justify;
}

.page-slot-games__image-container {
    margin: 0;
    width: 100%;
    max-width: 800px; /* Constrain image width */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-slot-games__image-container img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 3; /* For 800x600 */
    object-fit: cover;
    filter: none;
}

.page-slot-games__image-caption {
    text-align: center;
    font-size: 0.9rem;
    color: #666666;
    padding: 10px 15px;
    background-color: #FFFFFF;
}

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

.page-slot-games__benefit-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #E0E0E0;
}

.page-slot-games__benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-slot-games__card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #E53935;
    margin-bottom: 15px;
}

.page-slot-games__benefit-card p {
    font-size: 0.95rem;
    color: #333333;
}

.page-slot-games__cta-wrapper {
    text-align: center;
    margin-top: 50px;
}

.page-slot-games__cta-button--secondary {
    background: linear-gradient(180deg, #FFD700 0%, #FFA500 100%); /* A different gradient for secondary CTA */
    color: #333333; /* Darker text for contrast */
}

.page-slot-games__cta-button--secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__tips-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.page-slot-games__tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 700px;
}

.page-slot-games__tips-list li {
    background-color: #FFFFFF;
    border-left: 5px solid #E53935;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 1rem;
    color: #333333;
}

.page-slot-games__tips-list li strong {
    color: #E53935;
}

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

.page-slot-games__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    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: block;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: #E53935;
    position: relative;
    transition: background-color 0.3s ease;
}

.page-slot-games__faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question::after {
    content: '-';
    transform: translateY(-50%) rotate(0deg);
}

.page-slot-games__faq-question:hover {
    background-color: #FFF5F5; /* Lighter shade of red */
}

.page-slot-games__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1rem;
    color: #333333;
    border-top: 1px solid #E0E0E0;
    margin-top: 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-slot-games__main-title {
        font-size: clamp(1.3rem, 5vw, 2.5rem);
    }
    .page-slot-games__hero-description {
        font-size: 1rem;
    }
}

@media (max-width: 850px) {
    .page-slot-games__benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-content {
        padding: 15px 15px 30px;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.1rem, 6vw, 2rem); /* More restrained for mobile */
        margin-top: 15px;
    }
    .page-slot-games__hero-description {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    .page-slot-games__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    .page-slot-games__section-title {
        font-size: clamp(1.5rem, 5.5vw, 2rem);
        margin-bottom: 30px;
        padding-top: 10px;
    }
    .page-slot-games__intro-section,
    .page-slot-games__benefits-section,
    .page-slot-games__tips-section,
    .page-slot-games__faq-section {
        margin-bottom: 40px;
        padding: 0 15px;
    }
    .page-slot-games__content-wrapper p,
    .page-slot-games__benefit-card p,
    .page-slot-games__tips-list li,
    .page-slot-games__faq-answer {
        font-size: 0.9rem;
    }
    .page-slot-games__card-title {
        font-size: 1.2rem;
    }
    .page-slot-games__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-slot-games__faq-question::after {
        right: 20px;
    }

    /* Ensure all content area images are responsive and don't overflow */
    .page-slot-games img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 549px) {
    .page-slot-games__content-wrapper p {
        text-align: left;
    }
    .page-slot-games__tips-list li {
        text-align: left;
    }
}

/* Global image size constraint for content area */
.page-slot-games img:not(.page-slot-games__hero-banner img) {
    min-width: 200px;
    min-height: 200px;
}

.page-slot-games .page-slot-games__image-container img {
    /* Specific rule for content images to ensure min size */
    width: 100%; /* Allows it to scale up to container */
    height: auto; /* Maintains aspect ratio */
    max-width: 100%; /* Prevents overflow */
    min-width: 200px; /* Enforce minimum display size */
    min-height: 200px; /* Enforce minimum display size */
}

/* Ensure CSS width/height matches HTML width/height attributes or is responsive */
.page-slot-games__hero-banner img[width="1200"][height="675"] {
    /* For display in a 1200px container with 16:9 aspect ratio, will be scaled by max-width:100% */
    max-width: 100%;
    height: auto;
}
.page-slot-games__image-container img[width="800"][height="600"] {
    /* For display in an 800px container with 4:3 aspect ratio, will be scaled by max-width:100% */
    max-width: 100%;
    height: auto;
}