/* style/register.css */
/* 页面完整样式代码 - 注意：所有选择器必须使用BEM命名规则（双下划线__连接）；HERO 主图须用 img 显示，禁止用 background-image */

.page-register {
    color: #333333; /* Dark text for light background */
    background-color: #FFFFFF; /* Explicit background color from requirements */
    padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
}

.page-register__hero-section {
    position: relative;
    text-align: center;
    overflow: hidden;
    padding: 80px 20px 40px; /* Adjust padding to give space */
    background-color: #000000; /* Dark background for hero section for contrast */
    color: #FFFFFF; /* Light text for dark background */
}

.page-register__hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.page-register__hero-title {
    font-size: 3.2em;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FCBC45; /* Login button color for emphasis */
}

.page-register__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #FFFFFF;
}

.page-register__register-button {
    display: inline-block;
    background-color: #FCBC45; /* Login button color */
    color: #000000; /* Dark text for contrast */
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__register-button:hover {
    background-color: #e0a538; /* Slightly darker yellow on hover */
}

.page-register__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Make it a subtle background image */
    z-index: 1;
}

.page-register__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-register__section-title {
    font-size: 2.5em;
    font-weight: 600;
    color: #000000; /* Main color */
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.page-register__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FCBC45; /* Accent color */
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-register__section-description {
    font-size: 1.1em;
    line-height: 1.7;
    color: #555555;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

/* Value Section */
.page-register__value-section {
    background-color: #f8f8f8;
    padding: 60px 20px;
}

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

.page-register__feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-register__feature-icon {
    width: 250px; /* Minimum 200px */
    height: 187px; /* Maintain aspect ratio */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-register__feature-title {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-register__feature-text {
    font-size: 1em;
    color: #666666;
    line-height: 1.6;
}

/* Steps Section */
.page-register__steps-section {
    padding: 60px 20px;
}

.page-register__registration-steps {
    list-style: none;
    padding: 0;
    margin: 50px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.page-register__step-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-top: 5px solid #FCBC45; /* Accent color */
    position: relative;
    text-align: center;
}

.page-register__step-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #000000;
    color: #FCBC45;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: 700;
    border: 3px solid #FCBC45;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-register__step-title {
    font-size: 1.6em;
    color: #000000;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-register__step-text {
    font-size: 1em;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.page-register__step-button {
    display: inline-block;
    background-color: #000000;
    color: #FCBC45;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-register__step-button:hover {
    background-color: #FCBC45;
    color: #000000;
}

.page-register__steps-image {
    width: 800px;
    height: 600px;
    object-fit: contain;
    display: block;
    margin: 50px auto 0;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Conditions Section */
.page-register__conditions-section {
    background-color: #f0f0f0;
    padding: 60px 20px;
}

.page-register__conditions-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-register__condition-item {
    background-color: #ffffff;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    border-left: 5px solid #000000;
}

.page-register__condition-title {
    font-size: 1.4em;
    color: #000000;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-register__condition-text {
    font-size: 1em;
    color: #666666;
    line-height: 1.6;
}

.page-register__read-more-link {
    display: inline-block;
    margin-top: 15px;
    color: #FCBC45;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.page-register__read-more-link:hover {
    color: #e0a538;
    text-decoration: underline;
}

.page-register__conditions-image {
    width: 800px;
    height: 600px;
    object-fit: contain;
    display: block;
    margin: 50px auto 0;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-register__faq-section {
    padding: 60px 20px;
}

.page-register__faq-list {
    margin-top: 40px;
}

.page-register__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: 600;
    color: #000000;
    cursor: pointer;
    background-color: #fcfcfc;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

.page-register__faq-item[open] .page-register__faq-question {
    background-color: #FCBC45;
    color: #000000;
    border-bottom: 1px solid #FCBC45;
}

.page-register__faq-item[open] .page-register__faq-toggle {
    content: '-';
}

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

.page-register__faq-item[open] .page-register__faq-toggle {
    transform: rotate(45deg); /* Rotate to form an 'x' or just a '-' */
}

.page-register__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: #666666;
    line-height: 1.7;
}

.page-register__faq-answer p {
    margin-bottom: 15px;
}

.page-register__faq-answer p:last-child {
    margin-bottom: 0;
}

.page-register__faq-link {
    display: inline-block;
    margin-top: 10px;
    color: #FCBC45;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.page-register__faq-link:hover {
    color: #e0a538;
    text-decoration: underline;
}

/* CTA Section */
.page-register__cta-section {
    background-color: #000000;
    color: #FFFFFF;
    padding: 80px 20px;
    text-align: center;
}

.page-register__cta-section .page-register__section-title {
    color: #FCBC45;
}
.page-register__cta-section .page-register__section-title::after {
    background-color: #FFFFFF;
}

.page-register__cta-section .page-register__section-description {
    color: #e0e0e0;
}

.page-register__cta-button {
    display: inline-block;
    background-color: #FCBC45;
    color: #000000;
    padding: 18px 45px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-register__cta-button:hover {
    background-color: #e0a538;
    transform: translateY(-3px);
}

.page-register__cta-image {
    width: 800px;
    height: 533px;
    object-fit: contain;
    display: block;
    margin: 50px auto 0;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* About Us Summary */
.page-register__about-us-summary,
.page-register__blog-promo,
.page-register__responsible-gaming-promo,
.page-register__vip-promo {
    padding: 40px 20px;
    border-top: 1px solid #eee;
}

.page-register__about-us-summary .page-register__section-title,
.page-register__blog-promo .page-register__section-title,
.page-register__responsible-gaming-promo .page-register__section-title,
.page-register__vip-promo .page-register__section-title {
    font-size: 2em;
    margin-bottom: 20px;
    color: #000000;
}

.page-register__about-us-summary .page-register__section-description,
.page-register__blog-promo .page-register__section-description,
.page-register__responsible-gaming-promo .page-register__section-description,
.page-register__vip-promo .page-register__section-description {
    text-align: left;
    max-width: none;
    margin-bottom: 25px;
    color: #555555;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-register__hero-title {
        font-size: 2.8em;
    }
    .page-register__section-title {
        font-size: 2em;
    }
    .page-register__hero-image,
    .page-register__steps-image,
    .page-register__conditions-image,
    .page-register__cta-image {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .page-register {
        padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset if needed */
    }
    .page-register__hero-section {
        padding: 60px 15px 30px;
    }
    .page-register__hero-title {
        font-size: 2.2em;
    }
    .page-register__hero-description {
        font-size: 1.1em;
    }
    .page-register__register-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-register__content-area {
        padding: 30px 15px;
    }
    .page-register__section-title {
        font-size: 1.8em;
    }
    .page-register__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-register__features-grid,
    .page-register__registration-steps {
        grid-template-columns: 1fr;
    }
    .page-register__feature-icon {
        width: 200px; /* Minimum 200px */
        height: 150px; /* Maintain aspect ratio */
    }
    .page-register__step-item::before {
        top: -15px;
        width: 40px;
        height: 40px;
        font-size: 1.3em;
    }
    .page-register__step-title {
        font-size: 1.4em;
        margin-top: 25px;
    }
    .page-register__condition-title {
        font-size: 1.2em;
    }
    .page-register__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-register__faq-answer {
        padding: 15px 20px;
    }
    .page-register__cta-section {
        padding: 60px 15px;
    }
    .page-register__cta-button {
        padding: 15px 30px;
        font-size: 1.1em;
    }

    /* Mobile content image constraint */
    .page-register img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-register__hero-title {
        font-size: 1.8em;
    }
    .page-register__section-title {
        font-size: 1.5em;
    }
    .page-register__feature-title {
        font-size: 1.3em;
    }
    .page-register__step-title {
        font-size: 1.2em;
    }
    .page-register__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
}