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

/* Custom Colors */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient-start: #2AD16F;
    --color-button-gradient-end: #13994A;
    --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-deposit-offers {
    background-color: var(--color-background); /* Dark background */
    color: var(--color-text-main); /* Light text for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 10px; /* Small padding top for the first section, body handles --header-offset */
}

.page-promotions-deposit-offers h1,
.page-promotions-deposit-offers h2,
.page-promotions-deposit-offers h3 {
    color: var(--color-text-main);
    font-weight: bold;
    margin-bottom: 1em;
}

.page-promotions-deposit-offers h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    text-align: center;
    line-height: 1.2;
}

.page-promotions-deposit-offers h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    text-align: center;
    margin-bottom: 1.5em;
    color: var(--color-gold); /* Using gold for section titles for emphasis */
}

.page-promotions-deposit-offers h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--color-secondary);
}

.page-promotions-deposit-offers p {
    margin-bottom: 1em;
    color: var(--color-text-secondary);
}

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

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

/* Section styling */
.page-promotions-deposit-offers__section {
    padding: 60px 20px;
    border-bottom: 1px solid var(--color-divider);
}

.page-promotions-deposit-offers__container {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 15px; /* Add some padding for smaller screens */
}

.page-promotions-deposit-offers__section-title {
    margin-bottom: 30px;
}

.page-promotions-deposit-offers__section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.1em;
    color: var(--color-text-secondary);
}

/* Hero Section */
.page-promotions-deposit-offers__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 0;
    padding-top: 10px;
}

.page-promotions-deposit-offers__hero-image-wrapper {
    width: 100%;
    position: relative;
    z-index: 0;
}

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

.page-promotions-deposit-offers__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin-top: -150px;
    background: rgba(8, 22, 15, 0.9);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    border: 1px solid var(--color-border);
}

.page-promotions-deposit-offers__hero-description {
    font-size: 1.2em;
    margin-bottom: 2em;
    color: var(--color-text-main);
}

/* Call to Action Buttons */
.page-promotions-deposit-offers__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-promotions-deposit-offers__cta-buttons--center {
    margin-top: 40px;
}

.page-promotions-deposit-offers__btn-primary,
.page-promotions-deposit-offers__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions-deposit-offers__btn-primary {
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.page-promotions-deposit-offers__btn-primary:hover {
    background: linear-gradient(180deg, var(--color-button-gradient-end) 0%, var(--color-button-gradient-start) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.page-promotions-deposit-offers__btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.page-promotions-deposit-offers__btn-secondary:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

/* Feature List */
.page-promotions-deposit-offers__feature-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 900px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.page-promotions-deposit-offers__feature-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 1.05em;
    color: var(--color-text-secondary);
}

.page-promotions-deposit-offers__feature-item::before {
    content: '✅';
    font-size: 1.2em;
    color: var(--color-glow);
    flex-shrink: 0;
}

/* Card Grid for Offer Types */
.page-promotions-deposit-offers__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions-deposit-offers__card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-promotions-deposit-offers__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

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

.page-promotions-deposit-offers__card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-promotions-deposit-offers__card-title {
    color: var(--color-primary);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.page-promotions-deposit-offers__card-text {
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions-deposit-offers__card-link {
    display: inline-block;
    align-self: flex-start;
    color: var(--color-gold);
    font-weight: bold;
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 2px solid var(--color-gold);
    transition: border-color 0.3s ease, color 0.3s ease;
}

.page-promotions-deposit-offers__card-link:hover {
    color: var(--color-glow);
    border-color: var(--color-glow);
}

/* Deposit Steps */
.page-promotions-deposit-offers__deposit-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    counter-reset: step-counter;
}

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

.page-promotions-deposit-offers__step-number {
    counter-increment: step-counter;
    font-size: 2.5em;
    font-weight: bold;
    color: var(--color-gold);
    display: block;
    margin-bottom: 10px;
    line-height: 1;
}

.page-promotions-deposit-offers__step-title {
    color: var(--color-primary);
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.4em;
}

.page-promotions-deposit-offers__step-text {
    color: var(--color-text-secondary);
}

.page-promotions-deposit-offers__deposit-illustration {
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: block;
    margin: 50px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    min-height: 200px;
}

/* Terms and Conditions List */
.page-promotions-deposit-offers__terms-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 900px;
}

.page-promotions-deposit-offers__terms-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-promotions-deposit-offers__terms-subtitle {
    color: var(--color-primary);
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.page-promotions-deposit-offers__terms-text {
    color: var(--color-text-secondary);
}

.page-promotions-deposit-offers__terms-illustration {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 50px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    min-height: 200px;
}

/* FAQ Section */
.page-promotions-deposit-offers__faq-list {
    max-width: 900px;
    margin: 40px auto;
}

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

.page-promotions-deposit-offers__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: bold;
    color: var(--color-primary);
    background-color: var(--color-card-bg);
    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: rgba(var(--color-primary), 0.1);
}

.page-promotions-deposit-offers__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
    color: var(--color-text-main);
}

.page-promotions-deposit-offers__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--color-gold);
}

.page-promotions-deposit-offers__faq-item[open] .page-promotions-deposit-offers__faq-question .page-promotions-deposit-offers__faq-toggle {
    content: '−';
}

.page-promotions-deposit-offers__faq-answer {
    padding: 0 25px 20px 25px;
    color: var(--color-text-secondary);
    font-size: 0.95em;
    line-height: 1.7;
}

/* Conclusion Section */
.page-promotions-deposit-offers__conclusion-section {
    text-align: center;
    padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions-deposit-offers__hero-content {
        margin-top: -100px;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-promotions-deposit-offers__hero-section {
        padding-top: 10px !important;
    }

    .page-promotions-deposit-offers__hero-image {
        max-height: 400px;
    }

    .page-promotions-deposit-offers__hero-content {
        margin-top: -80px;
        padding: 25px;
        width: calc(100% - 30px);
        max-width: none;
    }

    .page-promotions-deposit-offers__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .page-promotions-deposit-offers__hero-description {
        font-size: 1em;
    }

    .page-promotions-deposit-offers__section {
        padding: 40px 10px;
    }

    .page-promotions-deposit-offers__container {
        padding: 0 10px;
    }

    .page-promotions-deposit-offers__section-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
        margin-bottom: 25px;
    }

    .page-promotions-deposit-offers__section-description {
        font-size: 0.95em;
        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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1em;
    }
    
    .page-promotions-deposit-offers__feature-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-promotions-deposit-offers__card-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-promotions-deposit-offers__card-image {
        height: 200px;
    }

    .page-promotions-deposit-offers__deposit-steps {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .page-promotions-deposit-offers__deposit-illustration,
    .page-promotions-deposit-offers__terms-illustration {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-height: 200px;
    }

    .page-promotions-deposit-offers__terms-list {
        max-width: 100%;
    }

    .page-promotions-deposit-offers__faq-list {
        max-width: 100%;
    }

    .page-promotions-deposit-offers img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-promotions-deposit-offers__section,
    .page-promotions-deposit-offers__card,
    .page-promotions-deposit-offers__container,
    .page-promotions-deposit-offers__hero-content {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-promotions-deposit-offers__hero-content {
        margin-top: -60px;
        padding: 20px;
    }
    .page-promotions-deposit-offers__main-title {
        font-size: clamp(1.8rem, 9vw, 2.2rem);
    }
    .page-promotions-deposit-offers__hero-description {
        font-size: 0.9em;
    }
    .page-promotions-deposit-offers__btn-primary,
    .page-promotions-deposit-offers__btn-secondary {
        font-size: 0.9em;
        padding: 10px 15px;
    }
}