/* style/promo-rules.css */
/* 页面完整样式代码 - 注意：所有选择器必须使用BEM命名规则（双下划线__连接） */

/* Base Styles */
.page-promo-rules {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main */
    background-color: #0A0A0A; /* Background */
}

/* Container for content width */
.page-promo-rules__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-promo-rules__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    padding-bottom: 80px;
    background: linear-gradient(135deg, #F2C14E, #FFD36B); /* Brand colors */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; /* Ensure content stays within */
}

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

.page-promo-rules__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15; /* Subtle background */
}

.page-promo-rules__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
}

.page-promo-rules__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive H1 font size */
    color: #FFF6D6; /* Text Main */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promo-rules__description {
    font-size: 1.15rem;
    color: #f0f0f0;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-promo-rules__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.page-promo-rules__btn-primary,
.page-promo-rules__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* Responsive button */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promo-rules__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
    color: #111111; /* Dark text for bright button */
    border: none;
}

.page-promo-rules__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-promo-rules__btn-secondary {
    background: #111111; /* Card BG */
    color: #F2C14E; /* Main color */
    border: 2px solid #F2C14E; /* Main color border */
}

.page-promo-rules__btn-secondary:hover {
    background: #F2C14E; /* Main color */
    color: #111111; /* Dark text */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-promo-rules__section {
    padding: 60px 0;
    background-color: #0A0A0A; /* Consistent dark background */
}

.page-promo-rules__section:nth-of-type(even) {
    background-color: #111111; /* Card BG for alternating sections */
}

.page-promo-rules__section-title {
    font-size: 2.5rem;
    color: #F2C14E; /* Main color */
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.3;
}

.page-promo-rules__sub-title {
    font-size: 1.8rem;
    color: #FFD36B; /* Auxiliary color */
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-promo-rules__text-block {
    font-size: 1.05rem;
    color: #FFF6D6; /* Text Main */
    margin-bottom: 20px;
    line-height: 1.7;
}

.page-promo-rules__text-block a {
    color: #FFD36B; /* Auxiliary color for links */
    text-decoration: underline;
}

.page-promo-rules__list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-promo-rules__list-item {
    background-color: #1A1A1A; /* Slightly lighter dark for list items */
    border-left: 4px solid #F2C14E; /* Main color accent */
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    color: #FFF6D6; /* Text Main */
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-promo-rules__ordered-list {
    list-style: decimal;
    padding-left: 25px;
    margin-bottom: 20px;
    color: #FFF6D6; /* Text Main */
}

.page-promo-rules__ordered-list .page-promo-rules__list-item {
    background-color: transparent;
    border-left: none;
    padding: 5px 0;
    margin-bottom: 10px;
    box-shadow: none;
}

/* Card Grid for Bonus Types */
.page-promo-rules__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-promo-rules__card {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px; /* Ensure cards have similar height */
}

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

.page-promo-rules__card-title {
    font-size: 1.5rem;
    color: #FFD36B; /* Auxiliary color */
    margin-bottom: 15px;
    font-weight: 700;
}

.page-promo-rules__card-text {
    font-size: 0.95rem;
    color: #E0E0E0;
    margin-bottom: 25px;
    flex-grow: 1; /* Push button to bottom */
}

.page-promo-rules__card-button {
    margin-top: auto; /* Push button to bottom */
}

/* Image in content area */
.page-promo-rules__content-image {
    margin: 40px auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* FAQ Section */
.page-promo-rules__faq-list {
    margin-top: 30px;
}

.page-promo-rules__faq-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promo-rules__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #1A1A1A; /* Slightly lighter dark */
    color: #FFF6D6; /* Text Main */
    font-size: 1.15rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.page-promo-rules__faq-question:hover {
    background-color: #222222;
}

.page-promo-rules__faq-title {
    margin: 0;
    font-size: 1.15rem;
    color: #FFF6D6; /* Text Main */
    flex-grow: 1;
}

.page-promo-rules__faq-toggle {
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
    color: #F2C14E; /* Main color */
}

.page-promo-rules__faq-item.active .page-promo-rules__faq-toggle {
    transform: rotate(45deg);
    color: #FFD36B; /* Auxiliary color */
}

.page-promo-rules__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #E0E0E0;
    font-size: 1rem;
    background-color: #111111; /* Card BG */
}

.page-promo-rules__faq-item.active .page-promo-rules__faq-answer {
    max-height: 1000px !important; /* Sufficiently large */
    padding: 20px;
    padding-top: 0; /* Adjust for smooth transition */
}

.page-promo-rules__faq-answer .page-promo-rules__text-block {
    margin-bottom: 0; /* Remove bottom margin from last paragraph in answer */
}

/* Bottom CTA Section */
.page-promo-rules__cta-bottom {
    background: linear-gradient(135deg, #F2C14E, #FFD36B); /* Brand colors */
    padding: 80px 0;
    text-align: center;
}

.page-promo-rules__cta-bottom .page-promo-rules__section-title {
    color: #111111; /* Dark text for bright background */
}

.page-promo-rules__cta-bottom .page-promo-rules__text-block {
    color: #333333; /* Dark text for bright background */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promo-rules__cta-bottom .page-promo-rules__text-block a {
    color: #111111;
    font-weight: bold;
    text-decoration: underline;
}

.page-promo-rules__cta-bottom .page-promo-rules__btn-primary {
    background: #111111; /* Card BG */
    color: #F2C14E; /* Main color */
    border: 2px solid #F2C14E; /* Main color border */
}

.page-promo-rules__cta-bottom .page-promo-rules__btn-primary:hover {
    background: #000000;
    color: #FFD36B;
    border-color: #FFD36B;
}

.page-promo-rules__cta-bottom .page-promo-rules__btn-secondary {
    background: #F2C14E;
    color: #111111;
    border: none;
}

.page-promo-rules__cta-bottom .page-promo-rules__btn-secondary:hover {
    background: #FFD36B;
    color: #111111;
}

/* Responsive Images */
.page-promo-rules img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-promo-rules {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-promo-rules__container {
        padding: 0 15px;
    }

    /* HERO主图区域的padding-top必须在移动端媒体查询中重新设置 */
    .page-promo-rules__hero-section {
        padding-top: var(--header-offset, 100px) !important; /* Mobile: 100px or from shared */
        padding-bottom: 50px;
    }

    .page-promo-rules__main-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .page-promo-rules__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-promo-rules__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-promo-rules__btn-primary,
    .page-promo-rules__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
    }

    .page-promo-rules__section {
        padding: 40px 0;
    }
}