/* style/promotions-new-user-offers.css */
:root {
    --primary-color: #FFD700;
    --secondary-color: #DC143C;
    --text-color-light: #ffffff;
    --text-color-dark: #333333;
    --background-dark: #121212;
    --card-background-dark: rgba(255, 255, 255, 0.08);
    --border-color-dark: rgba(255, 255, 255, 0.15);
}

.page-promotions-new-user-offers {
    background-color: var(--background-dark); /* Body background is dark, use light text */
    color: var(--text-color-light);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding-top: 120px; /* Adjust for fixed header on desktop */
}

.page-promotions-new-user-offers__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-promotions-new-user-offers__hero-section {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(255,215,0,0.1) 0%, rgba(220,20,60,0.1) 100%), url('[GALLERY:bg:clb88 nổ hũ,khuyến mãi,ưu đãi,1920x1080]') no-repeat center center/cover;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid var(--primary-color);
}

.page-promotions-new-user-offers__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.page-promotions-new-user-offers__hero-section .page-promotions-new-user-offers__container {
    position: relative;
    z-index: 2;
}

.page-promotions-new-user-offers__main-title {
    font-size: 3.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255,215,0,0.7);
}

.page-promotions-new-user-offers__hero-description {
    font-size: 1.2em;
    color: var(--text-color-light);
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.8;
}

.page-promotions-new-user-offers__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-promotions-new-user-offers__cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions-new-user-offers__cta-button--primary {
    background-color: var(--primary-color);
    color: var(--text-color-dark);
    border: 2px solid var(--primary-color);
}

.page-promotions-new-user-offers__cta-button--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions-new-user-offers__cta-button--secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-promotions-new-user-offers__cta-button--secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-color-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions-new-user-offers__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 60px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(255,215,0,0.5);
}

.page-promotions-new-user-offers__benefits-section,
.page-promotions-new-user-offers__offers-details-section,
.page-promotions-new-user-offers__guide-section,
.page-promotions-new-user-offers__tips-section,
.page-promotions-new-user-offers__faq-section,
.page-promotions-new-user-offers__cta-final-section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color-dark);
}

.page-promotions-new-user-offers__benefits-section {
    background-color: #1a1a1a;
}

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

.page-promotions-new-user-offers__benefit-card,
.page-promotions-new-user-offers__offer-card,
.page-promotions-new-user-offers__tip-card {
    background-color: var(--card-background-dark);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color-dark);
    color: var(--text-color-light);
}

.page-promotions-new-user-offers__benefit-card:hover,
.page-promotions-new-user-offers__offer-card:hover,
.page-promotions-new-user-offers__tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-promotions-new-user-offers__benefit-image,
.page-promotions-new-user-offers__offer-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    width: 100%;
}

.page-promotions-new-user-offers__benefit-title,
.page-promotions-new-user-offers__offer-title,
.page-promotions-new-user-offers__tip-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions-new-user-offers__benefit-description,
.page-promotions-new-user-offers__offer-description,
.page-promotions-new-user-offers__tip-description {
    font-size: 1em;
    color: var(--text-color-light);
    line-height: 1.7;
}

.page-promotions-new-user-offers__offer-card {
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 20px;
}

.page-promotions-new-user-offers__offer-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-promotions-new-user-offers__offer-card .page-promotions-new-user-offers__cta-button--small {
    padding: 10px 20px;
    font-size: 0.9em;
    margin-top: 20px;
    align-self: flex-start;
}

.page-promotions-new-user-offers__guide-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-promotions-new-user-offers__guide-item {
    background-color: var(--card-background-dark);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color-dark);
}

.page-promotions-new-user-offers__guide-item:last-child {
    margin-bottom: 0;
}

.page-promotions-new-user-offers__guide-title {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions-new-user-offers__guide-description {
    font-size: 1em;
    color: var(--text-color-light);
    line-height: 1.7;
}

.page-promotions-new-user-offers__cta-buttons--center {
    margin-top: 50px;
    text-align: center;
}

/* FAQ Section */
.page-promotions-new-user-offers__faq-section {
    background-color: #1a1a1a;
}

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

.page-promotions-new-user-offers__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color-dark);
    background-color: var(--card-background-dark);
}

.page-promotions-new-user-offers__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: rgba(255,215,0,0.05);
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: var(--primary-color);
    font-weight: bold;
}

.page-promotions-new-user-offers__faq-question:hover {
    background: rgba(255,215,0,0.1);
}

.page-promotions-new-user-offers__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.15em;
    line-height: 1.5;
    pointer-events: none;
    color: var(--primary-color);
}

.page-promotions-new-user-offers__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-promotions-new-user-offers__faq-item.active .page-promotions-new-user-offers__faq-toggle {
    transform: rotate(45deg);
    color: var(--secondary-color);
}

.page-promotions-new-user-offers__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    color: var(--text-color-light);
    background-color: rgba(255, 255, 255, 0.03);
}

.page-promotions-new-user-offers__faq-item.active .page-promotions-new-user-offers__faq-answer {
    max-height: 2000px !important;
    padding: 20px 25px !important;
    opacity: 1;
}

.page-promotions-new-user-offers__faq-answer p {
    margin: 0;
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-color-light);
}

.page-promotions-new-user-offers__cta-final-section {
    text-align: center;
    background-color: var(--secondary-color);
    padding: 60px 0;
    border-bottom: none;
}

.page-promotions-new-user-offers__cta-final-section .page-promotions-new-user-offers__section-title {
    color: var(--text-color-light);
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.page-promotions-new-user-offers__cta-description {
    font-size: 1.2em;
    color: var(--text-color-light);
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.8;
}

.page-promotions-new-user-offers__cta-final-section .page-promotions-new-user-offers__cta-button--primary {
    background-color: var(--primary-color);
    color: var(--text-color-dark);
    border-color: var(--primary-color);
}

.page-promotions-new-user-offers__cta-final-section .page-promotions-new-user-offers__cta-button--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

.page-promotions-new-user-offers__cta-final-section .page-promotions-new-user-offers__cta-button--secondary {
    background-color: transparent;
    color: var(--text-color-light);
    border-color: var(--text-color-light);
}

.page-promotions-new-user-offers__cta-final-section .page-promotions-new-user-offers__cta-button--secondary:hover {
    background-color: var(--text-color-light);
    color: var(--secondary-color);
    border-color: var(--text-color-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions-new-user-offers__main-title {
        font-size: 2.8em;
    }
    .page-promotions-new-user-offers__section-title {
        font-size: 2em;
    }
    .page-promotions-new-user-offers__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-promotions-new-user-offers {
        padding-top: 100px !important; /* Adjust for fixed header on mobile */
        font-size: 16px;
        line-height: 1.6;
    }
    .page-promotions-new-user-offers__hero-section {
        padding: 60px 0;
    }
    .page-promotions-new-user-offers__main-title {
        font-size: 2em;
    }
    .page-promotions-new-user-offers__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-promotions-new-user-offers__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .page-promotions-new-user-offers__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-promotions-new-user-offers__section-title {
        font-size: 1.8em;
        margin-bottom: 40px;
    }
    .page-promotions-new-user-offers__benefits-section,
    .page-promotions-new-user-offers__offers-details-section,
    .page-promotions-new-user-offers__guide-section,
    .page-promotions-new-user-offers__tips-section,
    .page-promotions-new-user-offers__faq-section,
    .page-promotions-new-user-offers__cta-final-section {
        padding: 50px 0;
    }
    .page-promotions-new-user-offers__benefits-grid,
    .page-promotions-new-user-offers__offer-grid,
    .page-promotions-new-user-offers__tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-promotions-new-user-offers__benefit-card,
    .page-promotions-new-user-offers__offer-card,
    .page-promotions-new-user-offers__tip-card {
        padding: 20px;
        border-radius: 8px;
    }
    .page-promotions-new-user-offers__benefit-title,
    .page-promotions-new-user-offers__offer-title,
    .page-promotions-new-user-offers__tip-title {
        font-size: 1.4em;
    }
    .page-promotions-new-user-offers__guide-item {
        padding: 20px;
        margin-bottom: 15px;
        border-radius: 8px;
    }
    .page-promotions-new-user-offers__guide-title {
        font-size: 1.5em;
    }
    .page-promotions-new-user-offers__faq-question {
        padding: 15px 20px;
    }
    .page-promotions-new-user-offers__faq-question h3 {
        font-size: 1em;
    }
    .page-promotions-new-user-offers__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }
    .page-promotions-new-user-offers__faq-answer {
        padding: 0 20px;
    }
    .page-promotions-new-user-offers__faq-item.active .page-promotions-new-user-offers__faq-answer {
        padding: 15px 20px !important;
    }
    .page-promotions-new-user-offers__cta-description {
        font-size: 1em;
    }
    .page-promotions-new-user-offers img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions-new-user-offers__container,
    .page-promotions-new-user-offers__benefits-section,
    .page-promotions-new-user-offers__offers-details-section,
    .page-promotions-new-user-offers__guide-section,
    .page-promotions-new-user-offers__tips-section,
    .page-promotions-new-user-offers__faq-section,
    .page-promotions-new-user-offers__cta-final-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-promotions-new-user-offers__offer-card .page-promotions-new-user-offers__cta-button--small {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .page-promotions-new-user-offers__main-title {
        font-size: 1.8em;
    }
    .page-promotions-new-user-offers__section-title {
        font-size: 1.6em;
    }
    .page-promotions-new-user-offers__hero-section {
        padding: 40px 0;
    }
    .page-promotions-new-user-offers__cta-buttons {
        gap: 10px;
    }
    .page-promotions-new-user-offers__benefit-title,
    .page-promotions-new-user-offers__offer-title,
    .page-promotions-new-user-offers__tip-title {
        font-size: 1.2em;
    }
    .page-promotions-new-user-offers__guide-title {
        font-size: 1.3em;
    }
    .page-promotions-new-user-offers__faq-question h3 {
        font-size: 0.95em;
    }
    .page-promotions-new-user-offers__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
}