/* style/promotions-new-user-bonus.css */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --bg-color-page: #08160F; /* Specific background for this page's main content area if needed, but body takes shared var */
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-promotions-new-user-bonus {
    background-color: var(--bg-color-page); /* Fallback/specific if body doesn't cover */
    color: var(--text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-promotions-new-user-bonus__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    text-align: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom for content */
    background-color: var(--deep-green);
    overflow: hidden;
}

.page-promotions-new-user-bonus__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

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

.page-promotions-new-user-bonus__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
}

.page-promotions-new-user-bonus__main-title {
    color: var(--gold-color);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.7);
}

.page-promotions-new-user-bonus__tagline {
    color: var(--text-main);
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-new-user-bonus__cta-button {
    display: inline-block;
    background: var(--button-gradient);
    color: #ffffff; /* Explicit white for button text */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    box-sizing: border-box;
}

.page-promotions-new-user-bonus__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-promotions-new-user-bonus__cta-button--center {
    display: block;
    margin: 40px auto 20px auto;
    max-width: 300px;
}

.page-promotions-new-user-bonus__section-title {
    color: var(--gold-color);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
    position: relative;
}

.page-promotions-new-user-bonus__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-promotions-new-user-bonus__dark-section {
    background-color: var(--deep-green);
    padding: 60px 0;
    color: var(--text-main);
}

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

.page-promotions-new-user-bonus__text-block .highlight {
    color: var(--gold-color);
    font-weight: 600;
}

.page-promotions-new-user-bonus__intro-section {
    padding: 60px 0;
}

.page-promotions-new-user-bonus__bonus-details-section {
    padding: 60px 0;
    background-color: var(--bg-color-page);
}

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

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

.page-promotions-new-user-bonus__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-promotions-new-user-bonus__card-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure it behaves as a block element */
    min-width: 200px; /* Min size for all images */
    min-height: 200px;
}

.page-promotions-new-user-bonus__card-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

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

.page-promotions-new-user-bonus__claim-guide-section {
    padding: 60px 0;
}

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

.page-promotions-new-user-bonus__step-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.page-promotions-new-user-bonus__step-icon {
    background: var(--button-gradient);
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 0 15px var(--glow-color);
}

.page-promotions-new-user-bonus__step-title {
    color: var(--gold-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.page-promotions-new-user-bonus__step-text {
    color: var(--text-secondary);
    font-size: 1rem;
    text-align: justify;
}

.page-promotions-new-user-bonus__guide-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto 0;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
}

.page-promotions-new-user-bonus__terms-section {
    padding: 60px 0;
    background-color: var(--bg-color-page);
}

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

.page-promotions-new-user-bonus__terms-item {
    background-color: var(--card-bg);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: var(--text-main);
    font-size: 1rem;
}

.page-promotions-new-user-bonus__terms-item strong {
    color: var(--gold-color);
}

.page-promotions-new-user-bonus__faq-section {
    padding: 60px 0;
}

.page-promotions-new-user-bonus__faq-list {
    margin-top: 40px;
}

.page-promotions-new-user-bonus__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions-new-user-bonus__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold-color);
    cursor: pointer;
    background-color: var(--deep-green);
    border-bottom: 1px solid var(--divider-color);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-promotions-new-user-bonus__faq-question:hover {
    background-color: #0A5A35; /* Slightly lighter deep green on hover */
}

.page-promotions-new-user-bonus__faq-qtext {
    flex-grow: 1;
}

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

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

.page-promotions-new-user-bonus__faq-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto 0;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
}

.page-promotions-new-user-bonus__final-cta-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--deep-green);
}

/* General image styling to prevent small icons */
.page-promotions-new-user-bonus img {
    min-width: 200px;
    min-height: 200px;
    height: auto; /* Ensure aspect ratio is maintained */
    display: block; /* Prevent inline spacing issues */
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-promotions-new-user-bonus__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-promotions-new-user-bonus__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
    .page-promotions-new-user-bonus__hero-content {
        padding: 30px 15px;
    }
}

@media (max-width: 768px) {
    .page-promotions-new-user-bonus__hero-section {
        min-height: 450px;
        padding: 10px 15px 40px;
    }
    .page-promotions-new-user-bonus__hero-content {
        padding: 20px 10px;
    }
    .page-promotions-new-user-bonus__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-promotions-new-user-bonus__tagline {
        font-size: 1rem;
    }
    .page-promotions-new-user-bonus__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-promotions-new-user-bonus__cta-button--center {
        max-width: 100% !important;
    }
    .page-promotions-new-user-bonus__section-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }
    .page-promotions-new-user-bonus__cards-grid, .page-promotions-new-user-bonus__guide-steps {
        grid-template-columns: 1fr;
    }
    .page-promotions-new-user-bonus__card, .page-promotions-new-user-bonus__step-item {
        padding: 20px;
    }
    .page-promotions-new-user-bonus__card-title, .page-promotions-new-user-bonus__step-title {
        font-size: 1.4rem;
    }
    .page-promotions-new-user-bonus__card-text, .page-promotions-new-user-bonus__step-text {
        font-size: 0.95rem;
    }
    .page-promotions-new-user-bonus__terms-item {
        font-size: 0.95rem;
        padding: 15px;
    }
    .page-promotions-new-user-bonus__faq-question {
        font-size: 1.1rem;
        padding: 15px;
    }
    .page-promotions-new-user-bonus__faq-answer {
        padding: 15px;
        font-size: 0.95rem;
    }
    
    /* Mobile image responsiveness */
    .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__card-image, 
    .page-promotions-new-user-bonus__guide-image, 
    .page-promotions-new-user-bonus__faq-image {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Container padding for mobile */
    .page-promotions-new-user-bonus__section, 
    .page-promotions-new-user-bonus__card, 
    .page-promotions-new-user-bonus__container, 
    .page-promotions-new-user-bonus__hero-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Button group responsiveness */
    .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;
    }
    .page-promotions-new-user-bonus__cta-buttons {
        display: flex;
        flex-direction: column; 
    }

    /* Small top padding for sections on mobile */
    .page-promotions-new-user-bonus__hero-section,
    .page-promotions-new-user-bonus__intro-section,
    .page-promotions-new-user-bonus__bonus-details-section,
    .page-promotions-new-user-bonus__claim-guide-section,
    .page-promotions-new-user-bonus__terms-section,
    .page-promotions-new-user-bonus__faq-section,
    .page-promotions-new-user-bonus__final-cta-section {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
}

@media (max-width: 480px) {
    .page-promotions-new-user-bonus__main-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }
    .page-promotions-new-user-bonus__section-title {
        font-size: clamp(1.4rem, 6vw, 2rem);
    }
    .page-promotions-new-user-bonus__cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Contrast Fixes */
.page-promotions-new-user-bonus__dark-bg {
  color: #ffffff; /* Deep green backgrounds use light text */
}
.page-promotions-new-user-bonus__light-bg {
  color: #333333; /* Not used on this page, but as a general rule */
}

/* Ensure highlight text is readable */
.page-promotions-new-user-bonus__text-block .highlight {
    color: var(--gold-color);
}

/* Ensure button text is always white on gradient */
.page-promotions-new-user-bonus__cta-button {
    color: #ffffff;
}