/* style/promotions-deposit-offers.css */
:root {
    --pk789-main-color: #11A84E;
    --pk789-aux-color: #22C768;
    --pk789-card-bg: #11271B;
    --pk789-bg: #08160F;
    --pk789-text-main: #F2FFF6;
    --pk789-text-secondary: #A7D9B8;
    --pk789-border: #2E7A4E;
    --pk789-glow: #57E38D;
    --pk789-gold: #F2C14E;
    --pk789-divider: #1E3A2A;
    --pk789-deep-green: #0A4B2C;
}

.page-promotions-deposit-offers {
    font-family: Arial, sans-serif;
    color: var(--pk789-text-main); /* Default text color for the main content */
    background-color: var(--pk789-bg); /* Use page background color */
}

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

.page-promotions-deposit-offers__section {
    padding: 60px 0;
    text-align: center;
}

.page-promotions-deposit-offers__dark-bg {
    background-color: var(--pk789-bg);
    color: var(--pk789-text-main);
}

.page-promotions-deposit-offers__light-bg {
    background-color: #ffffff; /* Fallback for light background */
    color: #333333; /* Dark text for light background */
}

.page-promotions-deposit-offers__dark-section {
    background-color: var(--pk789-card-bg);
    color: var(--pk789-text-main);
}

.page-promotions-deposit-offers__section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: bold;
    margin-bottom: 30px;
    color: var(--pk789-text-main);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.page-promotions-deposit-offers__section-title--light {
    color: var(--pk789-text-main);
}

.page-promotions-deposit-offers__text-block {
    font-size: 18px;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: var(--pk789-text-secondary);
}

.page-promotions-deposit-offers__text-block--light {
    color: var(--pk789-text-secondary);
}

.page-promotions-deposit-offers a {
    color: var(--pk789-glow);
    text-decoration: none;
}

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

/* Hero Section */
.page-promotions-deposit-offers__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 20px 60px 20px; /* Small top padding, larger bottom for content */
    overflow: hidden;
    min-height: 500px;
}

.page-promotions-deposit-offers__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit image height to prevent it from being too large */
    overflow: hidden;
    margin-bottom: 30px; /* Space between image and content */
}

.page-promotions-deposit-offers__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

.page-promotions-deposit-offers__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-promotions-deposit-offers__main-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    color: var(--pk789-text-main);
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.page-promotions-deposit-offers__hero-description {
    font-size: 20px;
    line-height: 1.6;
    color: var(--pk789-text-secondary);
    margin-bottom: 40px;
}

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

.page-promotions-deposit-offers__btn-primary,
.page-promotions-deposit-offers__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
    box-sizing: border-box;
}

.page-promotions-deposit-offers__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-promotions-deposit-offers__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(17, 168, 78, 0.4);
}

.page-promotions-deposit-offers__btn-secondary {
    background: var(--pk789-card-bg);
    color: var(--pk789-main-color);
    border: 2px solid var(--pk789-main-color);
}

.page-promotions-deposit-offers__btn-secondary:hover {
    transform: translateY(-3px);
    background: var(--pk789-main-color);
    color: #ffffff;
}

/* Offer Types Section */
.page-promotions-deposit-offers__offer-types {
    background-color: var(--pk789-bg);
}

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

.page-promotions-deposit-offers__card {
    background-color: var(--pk789-card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--pk789-border);
    color: var(--pk789-text-main);
}

.page-promotions-deposit-offers__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(17, 168, 78, 0.3);
}

.page-promotions-deposit-offers__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-promotions-deposit-offers__card-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--pk789-text-main);
    margin-bottom: 15px;
}

.page-promotions-deposit-offers__card-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--pk789-text-secondary);
    margin-bottom: 20px;
}

.page-promotions-deposit-offers__btn-text {
    color: var(--pk789-glow);
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    position: relative;
    padding-bottom: 3px;
}

.page-promotions-deposit-offers__btn-text::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--pk789-glow);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.page-promotions-deposit-offers__btn-text:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* How to Claim Section */
.page-promotions-deposit-offers__how-to-claim {
    background-color: var(--pk789-deep-green);
}

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

.page-promotions-deposit-offers__step-item {
    background-color: var(--pk789-card-bg);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--pk789-border);
    color: var(--pk789-text-main);
}

.page-promotions-deposit-offers__step-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-promotions-deposit-offers__step-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--pk789-text-main);
    margin-bottom: 10px;
}

.page-promotions-deposit-offers__step-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--pk789-text-secondary);
}

/* Terms and Conditions Section */
.page-promotions-deposit-offers__terms-conditions {
    background-color: var(--pk789-bg);
}

.page-promotions-deposit-offers__list {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 900px;
    margin: 30px auto;
}

.page-promotions-deposit-offers__list-item {
    font-size: 17px;
    line-height: 1.8;
    color: var(--pk789-text-secondary);
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.page-promotions-deposit-offers__list-item::before {
    content: '•';
    color: var(--pk789-glow);
    position: absolute;
    left: 0;
    font-size: 20px;
    line-height: 1.8;
}

/* Why Choose Section */
.page-promotions-deposit-offers__why-choose {
    background-color: var(--pk789-deep-green);
}

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

.page-promotions-deposit-offers__feature-item {
    background-color: var(--pk789-card-bg);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--pk789-border);
    color: var(--pk789-text-main);
}

.page-promotions-deposit-offers__feature-icon {
    width: 200px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
}

.page-promotions-deposit-offers__feature-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--pk789-text-main);
    margin-bottom: 10px;
}

.page-promotions-deposit-offers__feature-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--pk789-text-secondary);
}

/* FAQ Section */
.page-promotions-deposit-offers__faq-section {
    background-color: var(--pk789-bg);
}

.page-promotions-deposit-offers__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

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

.page-promotions-deposit-offers__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 19px;
    font-weight: bold;
    color: var(--pk789-text-main);
    cursor: pointer;
    background-color: var(--pk789-card-bg);
    border-bottom: 1px solid var(--pk789-divider);
    transition: background-color 0.3s ease;
    list-style: none;
}

.page-promotions-deposit-offers__faq-question::-webkit-details-marker {
    display: none;
}

.page-promotions-deposit-offers__faq-question:hover {
    background-color: var(--pk789-deep-green);
}

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

.page-promotions-deposit-offers__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--pk789-text-secondary);
    transition: all 0.3s ease-out;
}

details[open] .page-promotions-deposit-offers__faq-question {
    border-bottom: 1px solid var(--pk789-divider);
}

/* Final CTA Section */
.page-promotions-deposit-offers__cta-final {
    background-color: var(--pk789-deep-green);
    padding: 80px 0;
}

.page-promotions-deposit-offers__btn-primary--large {
    padding: 18px 40px;
    font-size: 20px;
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions-deposit-offers__hero-image-wrapper {
        max-height: 500px;
    }
}

@media (max-width: 768px) {
    .page-promotions-deposit-offers__section {
        padding: 40px 0;
    }

    .page-promotions-deposit-offers__hero-section {
        padding: 10px 15px 40px 15px;
        min-height: 400px;
    }

    .page-promotions-deposit-offers__main-title {
        font-size: clamp(30px, 8vw, 42px);
        margin-bottom: 15px;
    }

    .page-promotions-deposit-offers__hero-description {
        font-size: 17px;
        margin-bottom: 30px;
    }

    .page-promotions-deposit-offers__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-promotions-deposit-offers__btn-primary,
    .page-promotions-deposit-offers__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
    }

    .page-promotions-deposit-offers__section-title {
        font-size: clamp(24px, 6vw, 36px);
        margin-bottom: 20px;
    }

    .page-promotions-deposit-offers__text-block {
        font-size: 16px;
        margin-bottom: 20px;
        padding: 0 15px;
    }

    .page-promotions-deposit-offers__card-grid,
    .page-promotions-deposit-offers__steps-grid,
    .page-promotions-deposit-offers__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .page-promotions-deposit-offers__card,
    .page-promotions-deposit-offers__step-item,
    .page-promotions-deposit-offers__feature-item {
        padding: 20px;
    }

    .page-promotions-deposit-offers__card-image,
    .page-promotions-deposit-offers__step-image,
    .page-promotions-deposit-offers__feature-icon {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin-left: auto;
        margin-right: auto;
    }
    
    .page-promotions-deposit-offers__card-image { height: 180px; }
    .page-promotions-deposit-offers__step-image { height: 150px; }
    .page-promotions-deposit-offers__feature-icon { height: 120px; }

    .page-promotions-deposit-offers__list {
        padding: 0 15px;
    }

    .page-promotions-deposit-offers__list-item {
        font-size: 15px;
        padding-left: 20px;
    }

    .page-promotions-deposit-offers__faq-list {
        padding: 0 15px;
    }

    .page-promotions-deposit-offers__faq-question {
        font-size: 17px;
        padding: 15px 20px;
    }

    .page-promotions-deposit-offers__faq-answer {
        padding: 0 20px 15px 20px;
    }

    .page-promotions-deposit-offers__cta-final {
        padding: 60px 0;
    }

    .page-promotions-deposit-offers__btn-primary--large {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px 25px;
        font-size: 18px;
        margin-top: 20px;
        box-sizing: border-box !important;
    }

    /* Ensure all content containers are responsive */
    .page-promotions-deposit-offers__container,
    .page-promotions-deposit-offers__card-grid,
    .page-promotions-deposit-offers__steps-grid,
    .page-promotions-deposit-offers__features-grid,
    .page-promotions-deposit-offers__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-promotions-deposit-offers img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}

@media (max-width: 480px) {
    .page-promotions-deposit-offers__hero-image-wrapper {
        max-height: 300px;
    }
    .page-promotions-deposit-offers__hero-description {
        font-size: 16px;
    }
}