/* style/promotions-new-user-bonus.css */

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

/* Base styles for the page content */
.page-promotions-new-user-bonus {
    font-family: Arial, sans-serif;
    color: var(--color-text-main); /* Default text color for dark backgrounds */
    background-color: var(--color-background); /* Main background for the page */
}

.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.8rem, 2.5vw, 2.8rem);
    color: var(--color-text-main);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.page-promotions-new-user-bonus__text-block {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--color-text-main);
}

/* Hero Section */
.page-promotions-new-user-bonus__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* Small top padding, not var(--header-offset) */
    background-color: var(--color-deep-green);
    overflow: hidden;
}

.page-promotions-new-user-bonus__hero-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    display: block;
    margin-bottom: 30px; /* Space between image and content */
}

.page-promotions-new-user-bonus__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-promotions-new-user-bonus__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: var(--color-gold);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
}

.page-promotions-new-user-bonus__hero-description {
    font-size: 1.3rem;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.page-promotions-new-user-bonus__btn-primary,
.page-promotions-new-user-bonus__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-promotions-new-user-bonus__btn-primary {
    background: var(--color-button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-promotions-new-user-bonus__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 0 15px var(--color-glow);
}

.page-promotions-new-user-bonus__btn-secondary {
    background: var(--color-card-bg);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.page-promotions-new-user-bonus__btn-secondary:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(17, 168, 78, 0.5);
}

/* Introduction Section */
.page-promotions-new-user-bonus__introduction-section {
    padding: 60px 0;
    background-color: #ffffff; /* Light background for contrast */
    color: #333333; /* Dark text for light background */
}

.page-promotions-new-user-bonus__introduction-section .page-promotions-new-user-bonus__section-title,
.page-promotions-new-user-bonus__introduction-section .page-promotions-new-user-bonus__text-block {
    color: #333333;
}

/* Promo Details Section */
.page-promotions-new-user-bonus__promo-details-section {
    padding: 80px 0;
    background-color: var(--color-background);
}

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

.page-promotions-new-user-bonus__promo-card {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--color-border);
}

.page-promotions-new-user-bonus__promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3), 0 0 20px var(--color-glow);
}

.page-promotions-new-user-bonus__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    display: block;
}

.page-promotions-new-user-bonus__card-title {
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.3;
}

.page-promotions-new-user-bonus__card-text {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-promotions-new-user-bonus__card-button {
    margin-top: auto; /* Push button to the bottom */
    width: 100%;
}

/* How to Claim Section */
.page-promotions-new-user-bonus__how-to-claim-section {
    padding: 80px 0;
    background-color: #ffffff;
    color: #333333;
}

.page-promotions-new-user-bonus__how-to-claim-section .page-promotions-new-user-bonus__section-title,
.page-promotions-new-user-bonus__how-to-claim-section .page-promotions-new-user-bonus__card-title,
.page-promotions-new-user-bonus__how-to-claim-section .page-promotions-new-user-bonus__card-text {
    color: #333333;
}

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

.page-promotions-new-user-bonus__step-card {
    background-color: #f8f8f8;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #e0e0e0;
}

.page-promotions-new-user-bonus__step-icon {
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 25px auto;
}

/* Terms Section */
.page-promotions-new-user-bonus__terms-section {
    padding: 80px 0;
    background-color: var(--color-background);
}

.page-promotions-new-user-bonus__terms-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-promotions-new-user-bonus__list-item {
    position: relative;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 30px;
    color: var(--color-text-secondary);
}

.page-promotions-new-user-bonus__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2rem;
}

/* Benefits Section */
.page-promotions-new-user-bonus__benefits-section {
    padding: 80px 0;
    background-color: #ffffff;
    color: #333333;
}

.page-promotions-new-user-bonus__benefits-section .page-promotions-new-user-bonus__section-title,
.page-promotions-new-user-bonus__benefits-section .page-promotions-new-user-bonus__card-title,
.page-promotions-new-user-bonus__benefits-section .page-promotions-new-user-bonus__card-text {
    color: #333333;
}

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

.page-promotions-new-user-bonus__benefit-card {
    background-color: #f8f8f8;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border: 1px solid #e0e0e0;
}

.page-promotions-new-user-bonus__benefit-card .page-promotions-new-user-bonus__card-image {
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
}

/* FAQ Section */
.page-promotions-new-user-bonus__faq-section {
    padding: 80px 0;
    background-color: var(--color-background);
}

.page-promotions-new-user-bonus__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-new-user-bonus__faq-item {
    background-color: var(--color-card-bg);
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--color-border);
    transition: background-color 0.3s ease;
}

.page-promotions-new-user-bonus__faq-item[open] {
    background-color: var(--color-deep-green);
}

.page-promotions-new-user-bonus__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--color-text-main);
    cursor: pointer;
    list-style: none;
    position: relative;
}

.page-promotions-new-user-bonus__faq-question::-webkit-details-marker {
    display: none;
}

.page-promotions-new-user-bonus__faq-question .page-promotions-new-user-bonus__faq-qtext {
    flex-grow: 1;
    text-align: left;
}

.page-promotions-new-user-bonus__faq-toggle {
    font-size: 2rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--color-glow);
}

.page-promotions-new-user-bonus__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

.page-promotions-new-user-bonus__faq-answer p {
    margin: 0;
    color: var(--color-text-secondary);
}

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

/* Conclusion Section */
.page-promotions-new-user-bonus__conclusion-section {
    padding: 80px 0;
    background-color: #ffffff;
    color: #333333;
    text-align: center;
}

.page-promotions-new-user-bonus__conclusion-section .page-promotions-new-user-bonus__section-title,
.page-promotions-new-user-bonus__conclusion-section .page-promotions-new-user-bonus__text-block {
    color: #333333;
}

.page-promotions-new-user-bonus__conclusion-section .page-promotions-new-user-bonus__cta-buttons {
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-promotions-new-user-bonus__hero-image {
        max-height: 500px;
    }
    .page-promotions-new-user-bonus__main-title {
        font-size: clamp(2rem, 3.5vw, 3rem);
    }
    .page-promotions-new-user-bonus__hero-description {
        font-size: 1.15rem;
    }
    .page-promotions-new-user-bonus__section-title {
        font-size: clamp(1.6rem, 2.2vw, 2.4rem);
    }
    .page-promotions-new-user-bonus__promo-card,
    .page-promotions-new-user-bonus__step-card,
    .page-promotions-new-user-bonus__benefit-card {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .page-promotions-new-user-bonus__hero-section {
        padding-bottom: 40px;
    }
    .page-promotions-new-user-bonus__hero-image {
        max-height: 400px;
    }
    .page-promotions-new-user-bonus__main-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }
    .page-promotions-new-user-bonus__hero-description {
        font-size: 1rem;
    }
    .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 {
        width: 100%;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-promotions-new-user-bonus__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-promotions-new-user-bonus__section-title {
        font-size: clamp(1.5rem, 4.5vw, 2rem);
        margin-bottom: 30px;
    }
    .page-promotions-new-user-bonus__text-block {
        font-size: 0.95rem;
    }
    .page-promotions-new-user-bonus__promo-card,
    .page-promotions-new-user-bonus__step-card,
    .page-promotions-new-user-bonus__benefit-card {
        padding: 20px;
    }
    .page-promotions-new-user-bonus__card-image {
        height: 180px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-promotions-new-user-bonus__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
    .page-promotions-new-user-bonus__faq-answer {
        padding: 0 20px 15px 20px;
    }
    .page-promotions-new-user-bonus__promo-grid,
    .page-promotions-new-user-bonus__steps-grid,
    .page-promotions-new-user-bonus__benefits-grid {
        gap: 20px;
    }
    
    /* Mobile image and container responsive rules */
    .page-promotions-new-user-bonus img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-promotions-new-user-bonus__section,
    .page-promotions-new-user-bonus__card,
    .page-promotions-new-user-bonus__container,
    .page-promotions-new-user-bonus__hero-section,
    .page-promotions-new-user-bonus__introduction-section,
    .page-promotions-new-user-bonus__promo-details-section,
    .page-promotions-new-user-bonus__how-to-claim-section,
    .page-promotions-new-user-bonus__terms-section,
    .page-promotions-new-user-bonus__benefits-section,
    .page-promotions-new-user-bonus__faq-section,
    .page-promotions-new-user-bonus__conclusion-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions-new-user-bonus__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
    /* Ensure all video related elements (if any) are also responsive */
    .page-promotions-new-user-bonus video,
    .page-promotions-new-user-bonus__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions-new-user-bonus__video-section,
    .page-promotions-new-user-bonus__video-container,
    .page-promotions-new-user-bonus__video-wrapper {
        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-bonus__video-section {
        padding-top: 10px !important;
    }
}

@media (max-width: 480px) {
    .page-promotions-new-user-bonus__main-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }
    .page-promotions-new-user-bonus__hero-description {
        font-size: 0.9rem;
    }
    .page-promotions-new-user-bonus__btn-primary,
    .page-promotions-new-user-bonus__btn-secondary {
        padding: 12px 20px;
        font-size: 1rem;
    }
    .page-promotions-new-user-bonus__section-title {
        font-size: clamp(1.3rem, 5.5vw, 1.8rem);
    }
    .page-promotions-new-user-bonus__card-title {
        font-size: 1.3rem;
    }
    .page-promotions-new-user-bonus__card-text {
        font-size: 0.9rem;
    }
    .page-promotions-new-user-bonus__list-item {
        font-size: 0.95rem;
        padding-left: 25px;
    }
    .page-promotions-new-user-bonus__list-item::before {
        font-size: 1rem;
    }
    .page-promotions-new-user-bonus__faq-question {
        font-size: 1rem;
    }
}