:root {
    --main-color: #11A84E;
    --main-color-rgb: 17, 168, 78; /* RGB của main-color */
    --secondary-color: #22C768;

    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border: #2E7A4E;
    --glow: #57E38D;
    --gold: #F2C14E;
    --divider: #1E3A2A;
    --deep-green: #0A4B2C;
}

/* style/promotions-new-user-bonus.css */
/* body đã padding-top: var(--header-offset)；trang này không được viết lại biến đó */
.page-promotions-new-user-bonus {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Sử dụng màu chữ chính */
    background-color: var(--background); /* Sử dụng màu nền chính */
}

/* Hero Section */
.page-promotions-new-user-bonus__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Hình ảnh trên, nội dung dưới */
    align-items: center;
    padding: 10px 0 60px 0; /* Chỉ một khoảng đệm nhỏ trên cùng */
    overflow: hidden; /* Ngăn chặn tràn */
}

.page-promotions-new-user-bonus__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-promotions-new-user-bonus__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-promotions-new-user-bonus__hero-content {
    max-width: 1200px;
    width: 100%;
    padding: 40px 20px;
    text-align: center;
    box-sizing: border-box;
    background: var(--card-bg); /* Sử dụng màu nền thẻ */
    margin-top: -40px; /* Kéo lên một chút để tạo hiệu ứng */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    z-index: 1;
}

.page-promotions-new-user-bonus__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Kích thước chữ linh hoạt */
    color: var(--text-main);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-promotions-new-user-bonus__description {
    font-size: 1.2em;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-new-user-bonus__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Buttons */
.page-promotions-new-user-bonus__btn-primary,
.page-promotions-new-user-bonus__btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    white-space: normal; /* Cho phép xuống dòng */
    word-wrap: break-word; /* Ngắt từ */
    box-sizing: border-box;
    max-width: 100%;
}

.page-promotions-new-user-bonus__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-promotions-new-user-bonus__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Đảo ngược gradient */
    box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-promotions-new-user-bonus__btn-secondary {
    background-color: transparent;
    color: var(--main-color); /* Màu chính #11A84E */
    border: 2px solid var(--main-color);
}

.page-promotions-new-user-bonus__btn-secondary:hover {
    background-color: var(--main-color);
    color: #ffffff;
}

.page-promotions-new-user-bonus__btn-large {
    padding: 18px 40px;
    font-size: 1.3em;
}

/* Sections */
.page-promotions-new-user-bonus__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-promotions-new-user-bonus__section-title {
    font-size: clamp(1.8em, 3vw, 2.8em);
    color: var(--text-main);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-promotions-new-user-bonus__intro-text {
    font-size: 1.1em;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Benefits Section */
.page-promotions-new-user-bonus__benefits-section {
    padding: 80px 0;
    background-color: var(--background); /* Màu nền chính */
}

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

.page-promotions-new-user-bonus__benefit-card {
    background-color: var(--card-bg); /* Màu nền thẻ */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 1px solid var(--border); /* Màu viền */
}

.page-promotions-new-user-bonus__benefit-icon {
    width: 100%; /* Đảm bảo hình ảnh lớn */
    height: auto;
    max-height: 250px; /* Giới hạn chiều cao */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-promotions-new-user-bonus__card-title {
    font-size: 1.5em;
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-promotions-new-user-bonus__card-text {
    color: var(--text-secondary);
    font-size: 1em;
}

/* Bonus Details Section */
.page-promotions-new-user-bonus__bonus-details-section {
    padding: 80px 0;
    background-color: var(--background); /* Màu nền chính */
}

.page-promotions-new-user-bonus__bonus-card {
    background-color: var(--card-bg); /* Màu nền thẻ */
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 1px solid var(--border); /* Màu viền */
}

.page-promotions-new-user-bonus__bonus-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--divider); /* Màu phân cách */
    padding-bottom: 15px;
}

.page-promotions-new-user-bonus__bonus-title {
    font-size: 1.8em;
    color: var(--gold); /* Màu vàng */
    font-weight: 700;
}

.page-promotions-new-user-bonus__bonus-tag {
    background-color: var(--deep-green); /* Màu xanh đậm */
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9em;
}

.page-promotions-new-user-bonus__bonus-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.page-promotions-new-user-bonus__bonus-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.page-promotions-new-user-bonus__bonus-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    min-width: 300px;
}

.page-promotions-new-user-bonus__bonus-list li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%232AD16F"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>') no-repeat left center;
    background-size: 20px;
    padding-left: 30px;
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 1.05em;
}

.page-promotions-new-user-bonus__bonus-content .page-promotions-new-user-bonus__btn-primary {
    margin-top: 20px;
    width: auto;
}

/* How To Claim Section */
.page-promotions-new-user-bonus__how-to-claim-section {
    padding: 80px 0;
    background-color: var(--background); /* Màu nền chính */
}

.page-promotions-new-user-bonus__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-promotions-new-user-bonus__step-card {
    background-color: var(--card-bg); /* Màu nền thẻ */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 1px solid var(--border); /* Màu viền */
    position: relative;
    padding-top: 60px;
}

.page-promotions-new-user-bonus__step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, var(--glow) 0%, var(--deep-green) 100%); /* Màu xanh đậm */
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    font-weight: bold;
    border: 3px solid var(--border);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.page-promotions-new-user-bonus__cta-register {
    text-align: center;
    margin-top: 40px;
}

/* FAQ Section */
.page-promotions-new-user-bonus__faq-section {
    padding: 80px 0;
    background-color: var(--background); /* Màu nền chính */
}

.page-promotions-new-user-bonus__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-promotions-new-user-bonus__faq-item {
    background-color: var(--card-bg); /* Màu nền thẻ */
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 1px solid var(--border); /* Màu viền */
    overflow: hidden;
}

.page-promotions-new-user-bonus__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-main);
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--divider); /* Màu phân cách */
    transition: background-color 0.3s ease;
}

.page-promotions-new-user-bonus__faq-question:hover {
    background-color: rgba(var(--main-color-rgb), 0.1); /* Màu chính #11A84E với độ trong suốt */
}

.page-promotions-new-user-bonus__faq-item[open] .page-promotions-new-user-bonus__faq-question {
    background-color: rgba(var(--main-color-rgb), 0.15); /* Màu chính #11A84E với độ trong suốt */
    border-bottom: none;
}

.page-promotions-new-user-bonus__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--glow); /* Màu phát sáng */
    margin-left: 15px;
}

.page-promotions-new-user-bonus__faq-item[open] .page-promotions-new-user-bonus__faq-toggle {
    color: var(--gold); /* Màu vàng */
}

.page-promotions-new-user-bonus__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: var(--text-secondary);
    background-color: var(--card-bg);
}

.page-promotions-new-user-bonus__faq-answer p {
    margin-bottom: 0;
}

/* Cta Bottom Section */
.page-promotions-new-user-bonus__cta-bottom-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--card-bg); /* Màu nền thẻ */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions-new-user-bonus__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-promotions-new-user-bonus__section-title {
        font-size: clamp(1.8em, 4vw, 2.5em);
    }
    .page-promotions-new-user-bonus__bonus-content {
        flex-direction: column;
        align-items: center;
    }
    .page-promotions-new-user-bonus__bonus-image {
        max-width: 100%;
    }
    .page-promotions-new-user-bonus__bonus-list {
        min-width: unset;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-promotions-new-user-bonus {
        font-size: 16px;
        line-height: 1.6;
    }

    /* Fixed header spacing - handled by body, small top padding for section */
    .page-promotions-new-user-bonus__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px !important;
    }

    /* Image responsive */
    .page-promotions-new-user-bonus img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-promotions-new-user-bonus__hero-image-wrapper,
    .page-promotions-new-user-bonus__bonus-image,
    .page-promotions-new-user-bonus__benefit-icon {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Button responsive */
    .page-promotions-new-user-bonus__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-promotions-new-user-bonus__btn-primary,
    .page-promotions-new-user-bonus__btn-secondary,
    .page-promotions-new-user-bonus a[class*="button"],
    .page-promotions-new-user-bonus 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-promotions-new-user-bonus__cta-buttons,
    .page-promotions-new-user-bonus__button-group,
    .page-promotions-new-user-bonus__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        justify-content: center; /* Center buttons if they wrap */
    }

    .page-promotions-new-user-bonus__hero-content {
        padding: 30px 15px;
        margin-top: -30px;
    }
    .page-promotions-new-user-bonus__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }
    .page-promotions-new-user-bonus__description {
        font-size: 1em;
    }
    .page-promotions-new-user-bonus__section-title {
        font-size: clamp(1.6em, 5vw, 2.2em);
        margin-bottom: 30px;
    }
    .page-promotions-new-user-bonus__intro-text {
        font-size: 0.95em;
        margin-bottom: 40px;
    }
    .page-promotions-new-user-bonus__benefits-section,
    .page-promotions-new-user-bonus__bonus-details-section,
    .page-promotions-new-user-bonus__how-to-claim-section,
    .page-promotions-new-user-bonus__faq-section,
    .page-promotions-new-user-bonus__cta-bottom-section {
        padding: 60px 0;
    }
    .page-promotions-new-user-bonus__container {
        padding: 0 15px;
    }
    .page-promotions-new-user-bonus__bonus-title {
        font-size: 1.4em;
    }
    .page-promotions-new-user-bonus__faq-question {
        font-size: 1.1em;
        padding: 18px 20px;
    }
    .page-promotions-new-user-bonus__faq-answer {
        padding: 0 20px 18px 20px;
    }
    .page-promotions-new-user-bonus__step-card {
        padding-top: 50px;
    }
    .page-promotions-new-user-bonus__step-number {
        top: -15px;
        width: 45px;
        height: 45px;
        font-size: 1.6em;
    }
}

@media (max-width: 480px) {
    .page-promotions-new-user-bonus__main-title {
        font-size: clamp(1.6em, 7vw, 2.2em);
    }
    .page-promotions-new-user-bonus__section-title {
        font-size: clamp(1.4em, 6vw, 2em);
    }
    .page-promotions-new-user-bonus__bonus-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .page-promotions-new-user-bonus__bonus-title {
        font-size: 1.2em;
    }
}