:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f9f9f9;
    --background-dark: #26A9E0; /* Using primary color for dark sections */
    --border-color: #e0e0e0;
    --login-color: #EA7C07;
}

/* Base styles for the page content */
.page-promotions-daily-deposit-rebate {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light backgrounds */
    background-color: var(--secondary-color); /* Default body background is light */
}

/* Hero Section */
.page-promotions-daily-deposit-rebate__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); /* Brand colors */
    color: var(--text-light); /* Light text for mixed background */
    overflow: hidden; /* Prevent content overflow */
}

.page-promotions-daily-deposit-rebate__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-promotions-daily-deposit-rebate__hero-image {
    width: 100%;
    margin-bottom: 30px;
    z-index: 1; /* Ensure image is behind text if text is overlayed */
}

.page-promotions-daily-deposit-rebate__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    /* No filter allowed */
}

.page-promotions-daily-deposit-rebate__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin-top: -100px; /* Overlap with image slightly for visual appeal */
    background: rgba(0, 0, 0, 0.3); /* Semi-transparent overlay for text readability */
    padding: 30px;
    border-radius: 10px;
}

.page-promotions-daily-deposit-rebate__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.2;
}

.page-promotions-daily-deposit-rebate__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-promotions-daily-deposit-rebate__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--login-color); /* Use specific login color for CTA */
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-promotions-daily-deposit-rebate__cta-button:hover {
    background: #c76a06; /* Darken on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* General Section Styles */
.page-promotions-daily-deposit-rebate__section {
    padding: 80px 20px;
    text-align: center;
    overflow: hidden; /* Prevent content overflow */
}

.page-promotions-daily-deposit-rebate__container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.page-promotions-daily-deposit-rebate__section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.page-promotions-daily-deposit-rebate__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

/* Background Color Handling */
.page-promotions-daily-deposit-rebate__dark-bg {
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-promotions-daily-deposit-rebate__dark-bg .page-promotions-daily-deposit-rebate__section-title {
    color: var(--text-light);
}

.page-promotions-daily-deposit-rebate__dark-bg .page-promotions-daily-deposit-rebate__text-block {
    color: var(--text-light);
}

.page-promotions-daily-deposit-rebate__dark-bg .page-promotions-daily-deposit-rebate__inline-link {
    color: var(--secondary-color); /* Lighter link for dark background */
}

.page-promotions-daily-deposit-rebate__light-bg {
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-promotions-daily-deposit-rebate__light-bg .page-promotions-daily-deposit-rebate__inline-link {
    color: var(--primary-color); /* Primary link for light background */
}

/* Image Wrapper for content images */
.page-promotions-daily-deposit-rebate__image-wrapper {
    margin: 40px auto;
    max-width: 1000px;
    width: 100%;
    box-sizing: border-box;
}

.page-promotions-daily-deposit-rebate__image-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    margin: 0 auto; /* Center image */
    /* No filter allowed */
}

/* List Styles */
.page-promotions-daily-deposit-rebate__list {
    list-style: none;
    padding: 0;
    margin: 30px auto;
    max-width: 900px;
    text-align: left;
}

.page-promotions-daily-deposit-rebate__list-item {
    background: var(--secondary-color);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    font-size: 1.05em;
    color: var(--text-dark);
}

.page-promotions-daily-deposit-rebate__dark-bg .page-promotions-daily-deposit-rebate__list-item {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

/* Card Styles (for benefits grid) */
.page-promotions-daily-deposit-rebate__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: left;
}

.page-promotions-daily-deposit-rebate__card {
    background: var(--secondary-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
}

.page-promotions-daily-deposit-rebate__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-promotions-daily-deposit-rebate__card-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-promotions-daily-deposit-rebate__card-text {
    font-size: 1em;
    color: var(--text-dark);
}

/* Step-by-step Guide */
.page-promotions-daily-deposit-rebate__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: left;
}

.page-promotions-daily-deposit-rebate__step-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-promotions-daily-deposit-rebate__step-icon {
    font-size: 2em;
    font-weight: bold;
    color: var(--secondary-color);
    background: var(--primary-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-promotions-daily-deposit-rebate__step-title {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-promotions-daily-deposit-rebate__step-text {
    font-size: 1em;
    color: var(--text-light);
}

/* Call to Action Buttons Group */
.page-promotions-daily-deposit-rebate__cta-buttons {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    max-width: 100%; /* Ensure button does not exceed container */
}

.page-promotions-daily-deposit-rebate__btn-primary,
.page-promotions-daily-deposit-rebate__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    max-width: 100%; /* Ensure button does not exceed container */
}

.page-promotions-daily-deposit-rebate__btn-primary {
    background: var(--login-color); /* Primary action, use login color */
    color: var(--text-light);
    border: 2px solid transparent;
}

.page-promotions-daily-deposit-rebate__btn-primary:hover {
    background: #c76a06;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}}