/* style/promotions-deposit-bonus.css */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --register-btn-color: #C30808;
  --login-btn-color: #C30808;
  --background-color: #FFFFFF;
  --register-login-font-color: #FFFF00;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
}

.page-promotions-deposit-bonus {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark); /* Default text color for light background */
  background-color: var(--background-color); /* Assuming body background is light */
}

.page-promotions-deposit-bonus__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  padding: 10px 0 0; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-promotions-deposit-bonus__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-promotions-deposit-bonus__hero-content {
  width: 100%;
  max-width: 1200px;
  padding: 40px 20px;
  text-align: center;
  box-sizing: border-box;
  background-color: var(--secondary-color);
  color: var(--text-color-dark);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-top: -60px; /* Overlap slightly with image */
  position: relative;
  z-index: 1;
  border-radius: 8px;
}

.page-promotions-deposit-bonus__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-promotions-deposit-bonus__description {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-promotions-deposit-bonus__btn-primary,
.page-promotions-deposit-bonus__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-promotions-deposit-bonus__btn-primary {
  background-color: var(--register-btn-color); /* Using register color for primary action */
  color: var(--register-login-font-color); /* Using register/login font color */
  border: 2px solid var(--register-btn-color);
}

.page-promotions-deposit-bonus__btn-primary:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-promotions-deposit-bonus__btn-secondary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-promotions-deposit-bonus__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-promotions-deposit-bonus__content-section {
  padding: 60px 20px;
  background-color: var(--background-color);
  color: var(--text-color-dark);
}

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

.page-promotions-deposit-bonus__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
}

.page-promotions-deposit-bonus__sub-title {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  color: #333;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-promotions-deposit-bonus__text-block {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #444;
}

.page-promotions-deposit-bonus__text-block strong {
  color: var(--primary-color);
}

.page-promotions-deposit-bonus__text-block a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

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

.page-promotions-deposit-bonus__image-content {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions-deposit-bonus__faq-list {
  margin-top: 40px;
}

.page-promotions-deposit-bonus__faq-item {
  background-color: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-promotions-deposit-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  background-color: #f8f8f8;
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* For details/summary */
}

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

.page-promotions-deposit-bonus__faq-qtext {
  flex-grow: 1;
  pointer-events: none; /* Ensure click on summary expands, not just text */
}

.page-promotions-deposit-bonus__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  margin-left: 15px;
  pointer-events: none; /* Ensure click on summary expands, not just toggle */
}

.page-promotions-deposit-bonus__faq-item[open] > .page-promotions-deposit-bonus__faq-question {
  border-bottom: 1px solid var(--primary-color);
  background-color: #e6f7ed; /* Lighter background when open */
}

.page-promotions-deposit-bonus__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #555;
}

.page-promotions-deposit-bonus__faq-answer p {
  margin-bottom: 10px;
}

.page-promotions-deposit-bonus__cta-final {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
  .page-promotions-deposit-bonus {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-promotions-deposit-bonus__hero-section {
    padding-top: 10px !important;
  }

  .page-promotions-deposit-bonus__hero-content {
    padding: 30px 15px;
    margin-top: -40px; /* Adjust overlap for mobile */
  }

  .page-promotions-deposit-bonus__main-title {
    font-size: 2.2rem;
  }

  .page-promotions-deposit-bonus__description {
    font-size: 1rem;
  }

  .page-promotions-deposit-bonus__cta-buttons,
  .page-promotions-deposit-bonus__cta-final {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

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

  .page-promotions-deposit-bonus__content-section {
    padding: 40px 15px;
  }

  .page-promotions-deposit-bonus__container {
    padding-left: 0px;
    padding-right: 0px;
  }

  .page-promotions-deposit-bonus__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .page-promotions-deposit-bonus__sub-title {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-promotions-deposit-bonus__text-block {
    font-size: 0.95rem;
  }

  /* Image responsive rules */
  .page-promotions-deposit-bonus img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions-deposit-bonus__hero-image-wrapper,
  .page-promotions-deposit-bonus__container,
  .page-promotions-deposit-bonus__content-section,
  .page-promotions-deposit-bonus__faq-list,
  .page-promotions-deposit-bonus__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-promotions-deposit-bonus__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-promotions-deposit-bonus__faq-answer {
    padding: 15px 20px;
    font-size: 0.95rem;
  }
}

/* Body background color check for contrast */
/* Assuming --bg-color is light, using dark text. If --bg-color is dark, these need adjustment. */
.page-promotions-deposit-bonus__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

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

.page-promotions-deposit-bonus a {
  color: var(--primary-color);
}