:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --button-login-color: #EA7C07;
    --background-color: #FFFFFF;
}

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

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

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

.page-promotions-daily-deposit-rebate__section-title {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: bold;
}

.page-promotions-daily-deposit-rebate__text-block {
    font-size: 18px;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-dark);
}

/* Color contrast classes */
.page-promotions-daily-deposit-rebate__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

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

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

.page-promotions-daily-deposit-rebate__medium-bg {
    background-color: #f9f9f9;
    color: var(--text-dark);
}

/* Buttons */
.page-promotions-daily-deposit-rebate__cta-button,
.page-promotions-daily-deposit-rebate__btn-primary,
.page-promotions-daily-deposit-rebate__btn-secondary {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-promotions-daily-deposit-rebate__cta-button,
.page-promotions-daily-deposit-rebate__btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.page-promotions-daily-deposit-rebate__cta-button:hover,
.page-promotions-daily-deposit-rebate__btn-primary:hover {
    background: #1e87b7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-promotions-daily-deposit-rebate__btn-secondary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--primary-color);
    margin-left: 15px;
}

.page-promotions-daily-deposit-rebate__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-promotions-daily-deposit-rebate__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* 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);
  overflow: hidden;
}

.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;
  border-radius: 12px;
  overflow: hidden;
}

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

.page-promotions-daily-deposit-rebate__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

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

.page-promotions-daily-deposit-rebate__hero-description {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--text-light);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* How to participate section */
.page-promotions-daily-deposit-rebate__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-promotions-daily-deposit-rebate__step-item {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.page-promotions-daily-deposit-rebate__step-item:hover {
    transform: translateY(-5px);
}

.page-promotions-daily-deposit-rebate__step-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions-daily-deposit-rebate__step-item p {
    color: var(--text-dark);
    font-size: 16px;
    flex-grow: 1;
}

/* Terms & Conditions list */
.page-promotions-daily-deposit-rebate__terms-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-promotions-daily-deposit-rebate__terms-list li {
    background-color: #f0f8ff;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 17px;
    color: var(--text-dark);
    border-left: 4px solid var(--primary-color);
}

/* Benefits section */
.page-promotions-daily-deposit-rebate__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-promotions-daily-deposit-rebate__benefit-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.page-promotions-daily-deposit-rebate__benefit-item:hover {
    transform: translateY(-5px);
}

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

.page-promotions-daily-deposit-rebate__benefit-item p {
    color: var(--text-light);
    font-size: 16px;
    flex-grow: 1;
}

/* Image wrappers for content images */
.page-promotions-daily-deposit-rebate__image-wrapper {
    margin: 40px auto;
    max-width: 800px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-promotions-daily-deposit-rebate__image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* FAQ Section */
.page-promotions-daily-deposit-rebate__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-promotions-daily-deposit-rebate__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-promotions-daily-deposit-rebate__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-promotions-daily-deposit-rebate__faq-item.active .page-promotions-daily-deposit-rebate__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--text-dark);
}

.page-promotions-daily-deposit-rebate__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-promotions-daily-deposit-rebate__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-promotions-daily-deposit-rebate__faq-question:active {
  background: #eeeeee;
}

.page-promotions-daily-deposit-rebate__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-dark);
}

.page-promotions-daily-deposit-rebate__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-promotions-daily-deposit-rebate__faq-item.active .page-promotions-daily-deposit-rebate__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

/* Final CTA */
.page-promotions-daily-deposit-rebate__cta-final {
    padding: 80px 0;
}

.page-promotions-daily-deposit-rebate__cta-container {
    padding: 40px 20px;
    background-color: var(--primary-color);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-promotions-daily-deposit-rebate__cta-container .page-promotions-daily-deposit-rebate__section-title,
.page-promotions-daily-deposit-rebate__cta-container .page-promotions-daily-deposit-rebate__text-block {
    color: var(--text-light);
}

/* Responsive design */
@media (max-width: 1024px) {
    .page-promotions-daily-deposit-rebate__hero-title {
        font-size: 40px;
    }
    .page-promotions-daily-deposit-rebate__section-title {
        font-size: 30px;
    }
    .page-promotions-daily-deposit-rebate__text-block {
        font-size: 17px;
    }
    .page-promotions-daily-deposit-rebate__cta-button,
    .page-promotions-daily-deposit-rebate__btn-primary,
    .page-promotions-daily-deposit-rebate__btn-secondary {
        padding: 12px 30px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .page-promotions-daily-deposit-rebate__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
    }
    .page-promotions-daily-deposit-rebate__hero-title {
        font-size: 32px;
    }
    .page-promotions-daily-deposit-rebate__hero-description {
        font-size: 16px;
    }
    .page-promotions-daily-deposit-rebate__section {
        padding: 40px 0;
    }
    .page-promotions-daily-deposit-rebate__section-title {
        font-size: 26px;
        margin-bottom: 20px;
    }
    .page-promotions-daily-deposit-rebate__text-block {
        font-size: 16px;
        padding: 0 15px;
    }
    .page-promotions-daily-deposit-rebate__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Images responsiveness */
    .page-promotions-daily-deposit-rebate img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-promotions-daily-deposit-rebate__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }
    .page-promotions-daily-deposit-rebate__hero-image {
        border-radius: 8px;
    }

    /* Buttons responsiveness */
    .page-promotions-daily-deposit-rebate__cta-button,
    .page-promotions-daily-deposit-rebate__btn-primary,
    .page-promotions-daily-deposit-rebate__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        margin-left: 0;
        margin-right: 0;
    }
    .page-promotions-daily-deposit-rebate__button-group {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }

    /* Steps grid */
    .page-promotions-daily-deposit-rebate__steps-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    .page-promotions-daily-deposit-rebate__step-item {
        padding: 20px;
    }
    .page-promotions-daily-deposit-rebate__step-title {
        font-size: 20px;
    }

    /* Benefits grid */
    .page-promotions-daily-deposit-rebate__benefits-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    .page-promotions-daily-deposit-rebate__benefit-item {
        padding: 20px;
    }
    .page-promotions-daily-deposit-rebate__benefit-title {
        font-size: 20px;
    }

    /* Terms list */
    .page-promotions-daily-deposit-rebate__terms-list {
        padding: 0 15px;
    }
    .page-promotions-daily-deposit-rebate__terms-list li {
        font-size: 15px;
        padding: 12px 15px;
    }

    /* FAQ */
    .page-promotions-daily-deposit-rebate__faq-section .page-promotions-daily-deposit-rebate__container {
        padding: 0 15px;
    }
    .page-promotions-daily-deposit-rebate__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-promotions-daily-deposit-rebate__faq-question h3 {
        font-size: 15px;
        width: calc(100% - 40px);
    }
    .page-promotions-daily-deposit-rebate__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-promotions-daily-deposit-rebate__faq-answer {
        padding: 0 15px;
    }
    .page-promotions-daily-deposit-rebate__faq-item.active .page-promotions-daily-deposit-rebate__faq-answer {
        padding: 15px !important;
    }
}