/* style/promotions-deposit-bonus.css */

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

/* Base styles for the page content, ensuring contrast with body background */
.page-promotions-deposit-bonus {
    font-family: 'Arial', sans-serif;
    color: var(--jun88v-text-main); /* Light text on dark body background */
    background-color: var(--jun88v-background);
    line-height: 1.6;
}

/* Section spacing and general container */
.page-promotions-deposit-bonus__section-title {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--jun88v-gold-color);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.2;
}

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

.page-promotions-deposit-bonus__paragraph {
    font-size: 17px;
    margin-bottom: 20px;
    color: var(--jun88v-text-secondary);
    text-align: justify;
}

.page-promotions-deposit-bonus__highlight {
    color: var(--jun88v-gold-color);
    font-weight: bold;
}

.page-promotions-deposit-bonus__link {
    color: var(--jun88v-secondary-color);
    text-decoration: underline;
}

.page-promotions-deposit-bonus__link:hover {
    color: var(--jun88v-glow-color);
    text-decoration: none;
}

.page-promotions-deposit-bonus__center-text {
    text-align: center;
}

/* Hero Section */
.page-promotions-deposit-bonus__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* body already handles padding-top */
    overflow: hidden;
    background-color: var(--jun88v-deep-green);
}

.page-promotions-deposit-bonus__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for hero image */
    overflow: hidden;
    position: relative;
}

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

.page-promotions-deposit-bonus__hero-content {
    position: relative; /* Ensure content is above image wrapper if needed */
    z-index: 10;
    max-width: 900px;
    text-align: center;
    padding: 30px 20px;
    box-sizing: border-box;
    margin-top: -100px; /* Overlap slightly for visual effect, but not text on image */
}

.page-promotions-deposit-bonus__main-title {
    font-size: clamp(36px, 5vw, 60px); /* Flexible font size for H1 */
    color: var(--jun88v-gold-color);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-promotions-deposit-bonus__hero-description {
    font-size: 20px;
    color: var(--jun88v-text-main);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-promotions-deposit-bonus__btn-primary,
.page-promotions-deposit-bonus__btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-promotions-deposit-bonus__btn-primary {
    background: var(--jun88v-button-gradient);
    color: #ffffff; /* White text on dark button */
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions-deposit-bonus__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 20px var(--jun88v-glow-color);
}

.page-promotions-deposit-bonus__btn-secondary {
    background-color: transparent;
    color: var(--jun88v-gold-color);
    border: 2px solid var(--jun88v-gold-color);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions-deposit-bonus__btn-secondary:hover {
    background-color: var(--jun88v-gold-color);
    color: var(--jun88v-background);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

/* About Section */
.page-promotions-deposit-bonus__about-section {
    padding: 60px 0;
    background-color: var(--jun88v-card-bg);
    color: var(--jun88v-text-main);
}

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

/* How to Claim Section */
.page-promotions-deposit-bonus__how-to-claim-section {
    padding: 80px 0;
    background-color: var(--jun88v-background);
}

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

.page-promotions-deposit-bonus__step-card {
    background-color: var(--jun88v-card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-promotions-deposit-bonus__step-card:hover {
    transform: translateY(-5px);
}

.page-promotions-deposit-bonus__step-title {
    font-size: 24px;
    color: var(--jun88v-gold-color);
    margin-bottom: 15px;
}

.page-promotions-deposit-bonus__step-description {
    font-size: 16px;
    color: var(--jun88v-text-secondary);
}

.page-promotions-deposit-bonus__note {
    margin-top: 30px;
    font-style: italic;
    text-align: center;
}

.page-promotions-deposit-bonus__center-button {
    display: block;
    margin: 40px auto 0 auto;
    width: fit-content;
}

/* Terms & Conditions Section */
.page-promotions-deposit-bonus__terms-section {
    padding: 60px 0;
    background-color: var(--jun88v-card-bg);
    color: var(--jun88v-text-main);
}

.page-promotions-deposit-bonus__terms-list {
    list-style: disc;
    margin-left: 25px;
    color: var(--jun88v-text-secondary);
}

.page-promotions-deposit-bonus__list-item {
    margin-bottom: 15px;
    font-size: 16px;
}

/* Why Choose Jun88v Section */
.page-promotions-deposit-bonus__why-choose-jun88v {
    padding: 80px 0;
    background-color: var(--jun88v-background);
}

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

.page-promotions-deposit-bonus__feature-card {
    background-color: var(--jun88v-card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions-deposit-bonus__feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.page-promotions-deposit-bonus__feature-title {
    font-size: 22px;
    color: var(--jun88v-gold-color);
    margin-bottom: 10px;
}

.page-promotions-deposit-bonus__feature-description {
    font-size: 16px;
    color: var(--jun88v-text-secondary);
}

/* Other Promotions Section */
.page-promotions-deposit-bonus__other-promotions-section {
    padding: 60px 0;
    background-color: var(--jun88v-card-bg);
    color: var(--jun88v-text-main);
}

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

.page-promotions-deposit-bonus__promotion-card {
    background-color: var(--jun88v-background);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-promotions-deposit-bonus__promotion-card:hover {
    transform: translateY(-5px);
}

.page-promotions-deposit-bonus__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-promotions-deposit-bonus__card-title {
    font-size: 20px;
    color: var(--jun88v-gold-color);
    margin: 20px 20px 10px 20px;
    min-height: 50px;
}

.page-promotions-deposit-bonus__card-title a {
    color: inherit;
    text-decoration: none;
}

.page-promotions-deposit-bonus__card-title a:hover {
    text-decoration: underline;
}

.page-promotions-deposit-bonus__card-description {
    font-size: 15px;
    color: var(--jun88v-text-secondary);
    margin: 0 20px 20px 20px;
}

.page-promotions-deposit-bonus__btn-link {
    display: inline-block;
    color: var(--jun88v-secondary-color);
    text-decoration: none;
    font-weight: bold;
    padding: 0 20px 20px 20px;
}

.page-promotions-deposit-bonus__btn-link:hover {
    text-decoration: underline;
    color: var(--jun88v-glow-color);
}

.page-promotions-deposit-bonus__view-all-button-container {
    text-align: center;
    margin-top: 50px;
}

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

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

.page-promotions-deposit-bonus__faq-item {
    background-color: var(--jun88v-card-bg);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions-deposit-bonus__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    font-size: 19px;
    font-weight: bold;
    color: var(--jun88v-text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--jun88v-divider-color);
}

.page-promotions-deposit-bonus__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-promotions-deposit-bonus__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-promotions-deposit-bonus__faq-toggle {
    font-size: 24px;
    line-height: 1;
    margin-left: 15px;
    color: var(--jun88v-gold-color);
}

.page-promotions-deposit-bonus__faq-answer {
    padding: 20px 25px;
    font-size: 16px;
    color: var(--jun88v-text-secondary);
    border-top: 1px solid var(--jun88v-divider-color);
    background-color: var(--jun88v-deep-green);
}

.page-promotions-deposit-bonus__faq-item[open] summary {
    border-bottom: none;
}

/* Final CTA Section */
.page-promotions-deposit-bonus__final-cta-section {
    padding: 80px 0;
    background-color: var(--jun88v-card-bg);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions-deposit-bonus__hero-content {
        margin-top: -50px;
    }
    .page-promotions-deposit-bonus__main-title {
        font-size: clamp(32px, 4.5vw, 50px);
    }
    .page-promotions-deposit-bonus__hero-description {
        font-size: 18px;
    }
    .page-promotions-deposit-bonus__section-title {
        font-size: clamp(26px, 3.5vw, 38px);
    }
}

@media (max-width: 768px) {
    .page-promotions-deposit-bonus__hero-section {
        padding-bottom: 40px;
    }
    .page-promotions-deposit-bonus__hero-content {
        margin-top: 0; /* Remove overlap on smaller screens */
        padding: 20px;
    }
    .page-promotions-deposit-bonus__main-title {
        font-size: clamp(28px, 6vw, 40px);
    }
    .page-promotions-deposit-bonus__hero-description {
        font-size: 16px;
    }
    .page-promotions-deposit-bonus__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-promotions-deposit-bonus__btn-primary,
    .page-promotions-deposit-bonus__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 16px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: auto; /* Center buttons */
        margin-right: auto;
    }
    .page-promotions-deposit-bonus__container {
        padding: 0 15px;
    }
    .page-promotions-deposit-bonus__section-title {
        font-size: clamp(24px, 5vw, 32px);
    }
    .page-promotions-deposit-bonus__paragraph,
    .page-promotions-deposit-bonus__list-item,
    .page-promotions-deposit-bonus__step-description,
    .page-promotions-deposit-bonus__feature-description,
    .page-promotions-deposit-bonus__card-description,
    .page-promotions-deposit-bonus__faq-answer p {
        font-size: 15px;
    }
    .page-promotions-deposit-bonus img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions-deposit-bonus__section,
    .page-promotions-deposit-bonus__card,
    .page-promotions-deposit-bonus__container,
    .page-promotions-deposit-bonus__hero-section,
    .page-promotions-deposit-bonus__about-section,
    .page-promotions-deposit-bonus__how-to-claim-section,
    .page-promotions-deposit-bonus__terms-section,
    .page-promotions-deposit-bonus__why-choose-jun88v,
    .page-promotions-deposit-bonus__other-promotions-section,
    .page-promotions-deposit-bonus__faq-section,
    .page-promotions-deposit-bonus__final-cta-section,
    .page-promotions-deposit-bonus__steps-grid,
    .page-promotions-deposit-bonus__features-grid,
    .page-promotions-deposit-bonus__promotions-grid,
    .page-promotions-deposit-bonus__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Ensure no overflow */
    }
    .page-promotions-deposit-bonus__hero-image-wrapper {
        max-height: 400px;
    }
    .page-promotions-deposit-bonus__feature-icon {
        width: 150px;
        height: 150px;
        min-width: 150px;
        min-height: 150px;
    }
    .page-promotions-deposit-bonus__faq-item summary {
        font-size: 17px;
        padding: 15px 20px;
    }
    .page-promotions-deposit-bonus__faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-promotions-deposit-bonus__main-title {
        font-size: clamp(24px, 7vw, 36px);
    }
    .page-promotions-deposit-bonus__hero-description {
        font-size: 14px;
    }
    .page-promotions-deposit-bonus__section-title {
        font-size: clamp(20px, 6vw, 28px);
    }
    .page-promotions-deposit-bonus__hero-image-wrapper {
        max-height: 300px;
    }
    .page-promotions-deposit-bonus__step-title,
    .page-promotions-deposit-bonus__feature-title,
    .page-promotions-deposit-bonus__card-title {
        font-size: 20px;
    }
    .page-promotions-deposit-bonus__faq-item summary {
        font-size: 16px;
    }
}