/* style/payment-methods-deposit-guide.css */
.page-payment-methods-deposit-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark background */
  background-color: var(--dark-bg); /* Assuming --dark-bg is dark */
}

.page-payment-methods-deposit-guide__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); /* Fixed header offset */
  background: linear-gradient(rgba(1, 116, 57, 0.8), rgba(1, 116, 57, 0.8)), url('[GALLERY:hero_deposit_guide:1920x1080:deposit_process,online_betting,secure_transaction,vietnam_casino]') center/cover no-repeat;
  color: #ffffff;
}

.page-payment-methods-deposit-guide__hero-content {
  max-width: 900px;
  margin-bottom: 30px;
  z-index: 1;
}

.page-payment-methods-deposit-guide__hero-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-payment-methods-deposit-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-payment-methods-deposit-guide__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-payment-methods-deposit-guide__btn-primary,
.page-payment-methods-deposit-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods-deposit-guide__btn-primary {
  background-color: #C30808; /* Register button color */
  color: #ffffff; /* Forced white text for contrast */
  border: 2px solid #C30808;
}

.page-payment-methods-deposit-guide__btn-primary:hover {
  background-color: #e02020;
  border-color: #e02020;
}

.page-payment-methods-deposit-guide__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-payment-methods-deposit-guide__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

.page-payment-methods-deposit-guide__hero-media {
  width: 100%;
  max-width: 1200px;
  margin-top: 30px;
}

.page-payment-methods-deposit-guide__video {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.page-payment-methods-deposit-guide__section {
  padding: 80px 20px;
  text-align: center;
}

.page-payment-methods-deposit-guide__introduction.page-payment-methods-deposit-guide__light-bg {
  background-color: #ffffff; /* Light background for contrast */
  color: #333333;
}

.page-payment-methods-deposit-guide__step-by-step.page-payment-methods-deposit-guide__dark-bg {
  background-color: #017439; /* Brand color dark background */
  color: #ffffff;
}

.page-payment-methods-deposit-guide__tips.page-payment-methods-deposit-guide__light-bg {
  background-color: #f5f5f5; /* Light background for contrast */
  color: #333333;
}

.page-payment-methods-deposit-guide__partners.page-payment-methods-deposit-guide__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-payment-methods-deposit-guide__faq-section.page-payment-methods-deposit-guide__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-payment-methods-deposit-guide__cta-final.page-payment-methods-deposit-guide__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-payment-methods-deposit-guide__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-payment-methods-deposit-guide__heading {
  font-size: 2.2em;
  margin-bottom: 40px;
  color: inherit;
}

.page-payment-methods-deposit-guide__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: inherit;
}

.page-payment-methods-deposit-guide__method-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  text-align: left;
}

.page-payment-methods-deposit-guide__method-title {
  font-size: 1.8em;
  color: #ffffff;
  margin-bottom: 25px;
}

.page-payment-methods-deposit-guide__method-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-payment-methods-deposit-guide__step-list {
  list-style: none;
  padding: 0;
}

.page-payment-methods-deposit-guide__step-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #00b359; /* A brighter green for accent */
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
}

.page-payment-methods-deposit-guide__step-heading {
  font-size: 1.3em;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-payment-methods-deposit-guide__step-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-payment-methods-deposit-guide__tip-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-payment-methods-deposit-guide__tip-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  color: #333333;
}

.page-payment-methods-deposit-guide__tip-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 15px;
}

.page-payment-methods-deposit-guide__tip-description {
  font-size: 1em;
  color: #555555;
}

.page-payment-methods-deposit-guide__partner-logos {
  margin-top: 30px;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.page-payment-methods-deposit-guide__partner-logo {
  max-width: 100%;
  height: auto;
  filter: brightness(0) invert(1); /* Adjust for dark background if logos are dark */
  min-width: 200px;
  min-height: 200px;
}

.page-payment-methods-deposit-guide__partner-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px 30px;
  font-size: 1.1em;
  color: #ffffff;
}

.page-payment-methods-deposit-guide__partner-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-payment-methods-deposit-guide__faq-list {
  margin-top: 40px;
  text-align: left;
}

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

.page-payment-methods-deposit-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #f9f9f9;
  transition: background-color 0.3s ease;
}

.page-payment-methods-deposit-guide__faq-question:hover {
  background-color: #f0f0f0;
}

.page-payment-methods-deposit-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-payment-methods-deposit-guide__faq-item.active .page-payment-methods-deposit-guide__faq-toggle {
  transform: rotate(45deg); /* Plus to X */
}

.page-payment-methods-deposit-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
  background-color: #ffffff;
}

.page-payment-methods-deposit-guide__faq-item.active .page-payment-methods-deposit-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to reveal content */
  padding: 15px 20px;
}

.page-payment-methods-deposit-guide__faq-answer p {
  margin-bottom: 0;
  color: inherit;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-payment-methods-deposit-guide__hero-title {
    font-size: 2em;
  }

  .page-payment-methods-deposit-guide__hero-description {
    font-size: 1em;
  }

  .page-payment-methods-deposit-guide__section {
    padding: 40px 15px;
  }

  .page-payment-methods-deposit-guide__heading {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-payment-methods-deposit-guide__text-block,
  .page-payment-methods-deposit-guide__step-description,
  .page-payment-methods-deposit-guide__tip-description,
  .page-payment-methods-deposit-guide__faq-answer p {
    font-size: 0.95em;
  }

  .page-payment-methods-deposit-guide__method-card,
  .page-payment-methods-deposit-guide__tip-item,
  .page-payment-methods-deposit-guide__faq-item {
    padding: 20px;
  }

  .page-payment-methods-deposit-guide__method-title {
    font-size: 1.5em;
  }

  .page-payment-methods-deposit-guide__step-heading {
    font-size: 1.2em;
  }

  /* Mobile image responsiveness */
  .page-payment-methods-deposit-guide img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Mobile video responsiveness */
  .page-payment-methods-deposit-guide video,
  .page-payment-methods-deposit-guide__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Mobile container responsiveness */
  .page-payment-methods-deposit-guide__section,
  .page-payment-methods-deposit-guide__container,
  .page-payment-methods-deposit-guide__hero-section,
  .page-payment-methods-deposit-guide__hero-media,
  .page-payment-methods-deposit-guide__video-wrapper,
  .page-payment-methods-deposit-guide__cta-buttons,
  .page-payment-methods-deposit-guide__method-card,
  .page-payment-methods-deposit-guide__tip-item,
  .page-payment-methods-deposit-guide__faq-item,
  .page-payment-methods-deposit-guide__partner-logos {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile button responsiveness */
  .page-payment-methods-deposit-guide__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
  }

  .page-payment-methods-deposit-guide__btn-primary,
  .page-payment-methods-deposit-guide__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
  }

  .page-payment-methods-deposit-guide__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

  .page-payment-methods-deposit-guide__partner-logo {
    filter: brightness(0) invert(1) !important; /* Ensure visibility on dark background */
  }
}

/* Ensure partner logos are visible on dark background */
.page-payment-methods-deposit-guide__partner-logo {
  filter: brightness(0) invert(1); /* Invert color for dark background */
}