.page-payment-methods {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-payment-methods__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-payment-methods__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(rgba(1, 116, 57, 0.8), rgba(1, 116, 57, 0.8)), url('[GALLERY:hero:1920x1080:168f bet,payment methods,secure,online betting,vietnam]') no-repeat center center/cover;
  background-attachment: fixed;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-payment-methods__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

.page-payment-methods__section {
  padding: 60px 0;
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: inherit; /* Inherit from section background */
}

.page-payment-methods__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: inherit;
}

.page-payment-methods__dark-bg {
  background-color: #017439; /* Brand primary dark green */
  color: #ffffff;
}

.page-payment-methods__light-bg {
  background-color: #ffffff; /* White background */
  color: #333333; /* Dark text for light background */
}

.page-payment-methods__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #ffffff;
}

.page-payment-methods__card-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto 20px;
  display: block;
}

.page-payment-methods__card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #ffff00; /* Yellow for card titles */
}

.page-payment-methods__card-text {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-payment-methods__list {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: 20px;
}

.page-payment-methods__list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-payment-methods__list li::before {
  content: '✔';
  color: #ffff00; /* Yellow checkmark */
  position: absolute;
  left: 0;
  top: 0;
}

.page-payment-methods__flex-wrapper {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-top: 40px;
}

.page-payment-methods__content-block {
  flex: 1;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background-color: #ffffff; /* White background for content block */
  color: #333333; /* Dark text */
}

.page-payment-methods__sub-title {
  font-size: 1.8em;
  margin-top: 0;
  margin-bottom: 20px;
  color: #017439; /* Brand primary green */
}

.page-payment-methods__ordered-list {
  list-style: decimal;
  padding-left: 20px;
  margin-bottom: 30px;
}

.page-payment-methods__ordered-list li {
  margin-bottom: 10px;
}

.page-payment-methods__text {
  margin-bottom: 20px;
}

.page-payment-methods__image-wrapper {
  flex: 1;
  text-align: center;
}

.page-payment-methods__main-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: block;
}

.page-payment-methods__grid-advantages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__advantage-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-payment-methods__advantage-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #ffff00; /* Yellow for advantage titles */
}

.page-payment-methods__advantage-text {
  font-size: 1em;
  margin-bottom: 15px;
}

.page-payment-methods__img-bottom {
  position: absolute;
  bottom: 0;
  right: 0;
  
  height: auto;
  opacity: 0.3;
  border-radius: 0;
  box-shadow: none;
  pointer-events: none;
}

.page-payment-methods__grid-issues {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__issue-card {
  background-color: #ffffff; /* White background */
  color: #333333; /* Dark text */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.page-payment-methods__issue-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #C30808; /* Red for issue titles */
}

.page-payment-methods__faq-section {
  padding: 60px 0;
}

.page-payment-methods__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__faq-item {
  background-color: #017439; /* Dark green for FAQ item */
  color: #ffffff;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  background-color: #017439; /* Brand primary dark green */
  transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
  background-color: #005f2e;
}

.page-payment-methods__faq-title {
  margin: 0;
  color: #ffffff;
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #ffff00; /* Yellow for toggle icon */
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-toggle {
  transform: rotate(45deg);
}

.page-payment-methods__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: rgba(255, 255, 255, 0.1); /* Lighter background for answer */
  color: #f0f0f0;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-payment-methods__cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: #017439; /* Brand primary dark green */
  color: #ffffff;
}

.page-payment-methods__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffff00; /* Yellow for CTA title */
}

.page-payment-methods__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

.page-payment-methods__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Red for registration button */
  color: #FFFF00; /* Yellow text for registration button */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-payment-methods__btn-primary:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 2.8em;
  }

  .page-payment-methods__section-title {
    font-size: 2em;
  }

  .page-payment-methods__flex-wrapper {
    flex-direction: column;
  }

  .page-payment-methods__main-image {
    max-width: 100%;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section,
  .page-payment-methods__section,
  .page-payment-methods__cta-section {
    padding: 40px 0;
  }

  .page-payment-methods__hero-title {
    font-size: 2.2em;
  }

  .page-payment-methods__hero-description,
  .page-payment-methods__section-description,
  .page-payment-methods__cta-description {
    font-size: 1em;
  }

  .page-payment-methods__section-title {
    font-size: 1.8em;
  }

  .page-payment-methods__grid,
  .page-payment-methods__grid-advantages,
  .page-payment-methods__grid-issues {
    grid-template-columns: 1fr;
  }

  .page-payment-methods__card,
  .page-payment-methods__advantage-item,
  .page-payment-methods__issue-card {
    padding: 20px;
  }

  .page-payment-methods__sub-title,
  .page-payment-methods__card-title,
  .page-payment-methods__advantage-title,
  .page-payment-methods__issue-title {
    font-size: 1.5em;
  }

  .page-payment-methods__content-block {
    padding: 25px;
  }

  .page-payment-methods__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-payment-methods__faq-answer {
    padding: 0 20px;
  }

  .page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
    padding: 15px 20px;
  }

  .page-payment-methods__cta-title {
    font-size: 2em;
  }

  .page-payment-methods__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
  }

  /* Mobile image responsiveness */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-payment-methods__hero-section,
  .page-payment-methods__section,
  .page-payment-methods__cta-section,
  .page-payment-methods__container,
  .page-payment-methods__grid,
  .page-payment-methods__flex-wrapper,
  .page-payment-methods__grid-advantages,
  .page-payment-methods__grid-issues,
  .page-payment-methods__faq-list,
  .page-payment-methods__content-block,
  .page-payment-methods__image-wrapper,
  .page-payment-methods__card,
  .page-payment-methods__advantage-item,
  .page-payment-methods__issue-card,
  .page-payment-methods__faq-item,
  .page-payment-methods__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  .page-payment-methods__btn-primary {
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-payment-methods__flex-wrapper {
    flex-direction: column !important;
    gap: 20px !important;
  }

  .page-payment-methods__grid {
    gap: 20px !important;
  }
  .page-payment-methods__img-bottom {
    
  }
}