.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--black-color); /* Inherited from shared.css, dark background */
}

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

.page-payment-methods__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-payment-methods__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-payment-methods__hero-section {
  position: relative;
  padding: 120px 0 60px; /* Adjusted padding-top to account for header offset */
  text-align: center;
  background-image: url('[GALLERY:hero_main:1920x1080:loto188,payment_hero,secure_online_banking,modern_interface]');
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

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

.page-payment-methods__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.page-payment-methods__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-payment-methods__btn-primary:hover {
  background-color: #1a7fb3;
  border-color: #1a7fb3;
}

.page-payment-methods__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-payment-methods__btn-secondary:hover {
  background-color: #e0e0e0;
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 60px;
}

.page-payment-methods__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__intro-section,
.page-payment-methods__guide-section,
.page-payment-methods__notes-section,
.page-payment-methods__cta-section {
  padding: 80px 0;
}

.page-payment-methods__methods-section,
.page-payment-methods__faq-section {
  padding: 80px 0;
}

.page-payment-methods__intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  font-size: 1.1em;
}

.page-payment-methods__intro-content p {
  max-width: 800px;
  text-align: center;
}

.page-payment-methods__text-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-payment-methods__text-link:hover {
  text-decoration: underline;
}

.page-payment-methods__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 20px auto;
}

.page-payment-methods__image--large {
  max-width: 90%;
}

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

.page-payment-methods__card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-payment-methods__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-payment-methods__card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-payment-methods__card-text {
  font-size: 1em;
  padding: 0 15px;
}

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

.page-payment-methods__step-card {
  background-color: #f9f9f9;
  color: #333333;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__step-number {
  font-size: 2.5em;
  color: #26A9E0;
  font-weight: bold;
  margin-bottom: 15px;
}

.page-payment-methods__step-title {
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-payment-methods__step-text {
  font-size: 1em;
}

.page-payment-methods__video-section {
  padding: 80px 0;
  text-align: center;
}

.page-payment-methods__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__video-wrapper .page-payment-methods__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
}

.page-payment-methods__notes-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  font-size: 1.1em;
  color: #333333;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__notes-list li {
  background-color: #f0f8ff;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-left: 5px solid #26A9E0;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__notes-list li strong {
  color: #26A9E0;
}

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

.page-payment-methods__faq-item {
  background-color: #ffffff;
  color: #333333;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f5f5f5;
  border-bottom: 1px solid #eee;
}

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

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.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 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 1.1em;
}

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

.page-payment-methods__cta-section {
  text-align: center;
}

.page-payment-methods__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

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

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

  .page-payment-methods__cards-grid,
  .page-payment-methods__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-payment-methods {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-payment-methods__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
  }

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

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

  .page-payment-methods__hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-payment-methods__section-title {
    font-size: 1.8em;
    padding-top: 40px;
  }

  .page-payment-methods__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-payment-methods__intro-section,
  .page-payment-methods__methods-section,
  .page-payment-methods__guide-section,
  .page-payment-methods__video-section,
  .page-payment-methods__notes-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-section {
    padding: 50px 0;
  }

  .page-payment-methods__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-payment-methods__cards-grid,
  .page-payment-methods__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods__card-image {
    height: 180px;
  }

  .page-payment-methods__image {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-payment-methods__video-wrapper {
    margin: 30px auto;
    padding-bottom: 56.25% !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-payment-methods__video-wrapper .page-payment-methods__video {
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
  }

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

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

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

  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 1.8em;
  }

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

  .page-payment-methods__card-title {
    font-size: 1.3em;
  }
}