.page-payment-methods {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f8f8f8; /* Light background for body, consistent with default */
  padding-top: var(--header-offset, 120px);
}

.page-payment-methods__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #0A2463; /* Dark blue background for hero */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
}

.page-payment-methods__hero-container {
  position: relative;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-payment-methods__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Slightly transparent to let content stand out */
  z-index: 0;
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #E3B23C; /* Gold for main title */
  font-weight: bold;
}

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

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

.page-payment-methods__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
}

.page-payment-methods__hero-button--primary {
  background-color: #E3B23C;
  color: #0A2463;
  border: 2px solid #E3B23C;
}

.page-payment-methods__hero-button--primary:hover {
  background-color: #f0c96e;
  transform: translateY(-2px);
}

.page-payment-methods__hero-button--secondary {
  background-color: transparent;
  color: #E3B23C;
  border: 2px solid #E3B23C;
}

.page-payment-methods__hero-button--secondary:hover {
  background-color: rgba(227, 178, 60, 0.1);
  transform: translateY(-2px);
}

.page-payment-methods__section {
  padding: 60px 20px;
  background-color: #ffffff;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__section:nth-of-type(odd) {
  background-color: #fdfdfd;
}

.page-payment-methods__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #0A2463;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-payment-methods__section-intro {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-payment-methods__features-grid,
.page-payment-methods__methods-grid,
.page-payment-methods__security-features,
.page-payment-methods__guide-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-payment-methods__feature-card,
.page-payment-methods__method-card,
.page-payment-methods__security-item,
.page-payment-methods__guide-card {
  background-color: #fdfdfd;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-payment-methods__feature-card:hover,
.page-payment-methods__method-card:hover,
.page-payment-methods__security-item:hover,
.page-payment-methods__guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.page-payment-methods__feature-title,
.page-payment-methods__method-title,
.page-payment-methods__security-item-title,
.page-payment-methods__guide-title {
  font-size: 1.8em;
  color: #0A2463;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-payment-methods__feature-description,
.page-payment-methods__method-description,
.page-payment-methods__security-item-description,
.page-payment-methods__guide-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
}

.page-payment-methods__method-icon,
.page-payment-methods__security-icon {
  width: 200px; /* Minimum size requirement */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: contain;
}

.page-payment-methods__method-button,
.page-payment-methods__guide-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0A2463;
  color: #ffffff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: auto; /* Push button to bottom */
}

.page-payment-methods__method-button:hover,
.page-payment-methods__guide-button:hover {
  background-color: #1a3c7e;
}

.page-payment-methods__note {
  text-align: center;
  font-size: 0.9em;
  color: #777777;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px dashed #e0e0e0;
}

.page-payment-methods__faqs {
  background-color: #fdfdfd;
  padding: 60px 20px;
}

.page-payment-methods__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 25px;
  transition: box-shadow 0.3s ease;
}

.page-payment-methods__faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.page-payment-methods__faq-question {
  font-size: 1.4em;
  color: #0A2463;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page-payment-methods__faq-question::after {
  content: '+';
  font-size: 1.2em;
  margin-left: 10px;
  color: #E3B23C;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-question::after {
  content: '-';
}

.page-payment-methods__faq-answer {
  font-size: 1em;
  color: #666666;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
  max-height: 200px; /* Adjust as needed */
}

.page-payment-methods__responsible-gaming {
  background-color: #0A2463;
  color: #ffffff;
  text-align: center;
}

.page-payment-methods__responsible-gaming .page-payment-methods__section-title {
  color: #E3B23C;
}

.page-payment-methods__responsible-gaming .page-payment-methods__section-intro {
  color: #f0f0f0;
}

.page-payment-methods__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
  margin-top: 30px;
}

.page-payment-methods__button--secondary {
  background-color: transparent;
  color: #E3B23C;
  border: 2px solid #E3B23C;
}

.page-payment-methods__button--secondary:hover {
  background-color: rgba(227, 178, 60, 0.1);
  transform: translateY(-2px);
}

.page-payment-methods__guide-title a {
  color: #0A2463;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-payment-methods__guide-title a:hover {
  color: #E3B23C;
}

.page-payment-methods__cta-section {
  background: linear-gradient(135deg, #0A2463, #1a3c7e);
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
  border-radius: 10px;
  margin-top: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__cta-title {
  font-size: 2.8em;
  color: #E3B23C;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 18px 40px;
  background-color: #E3B23C;
  color: #0A2463;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3em;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__cta-button:hover {
  background-color: #f0c96e;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

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

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

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

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

  .page-payment-methods__hero-button {
    width: 80%;
    max-width: 300px;
  }

  .page-payment-methods__section {
    padding: 40px 15px;
  }

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

  .page-payment-methods__section-intro {
    font-size: 0.95em;
  }

  .page-payment-methods__features-grid,
  .page-payment-methods__methods-grid,
  .page-payment-methods__security-features,
  .page-payment-methods__guide-list {
    grid-template-columns: 1fr;
  }

  .page-payment-methods__method-icon,
  .page-payment-methods__security-icon {
    max-width: 100%;
    height: auto;
  }

  .page-payment-methods__faq-question {
    font-size: 1.2em;
  }

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

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

  .page-payment-methods__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  
  /* Mobile content area images must be constrained */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }
  
  /* Ensure no horizontal overflow */
  .page-payment-methods {
    overflow-x: hidden;
  }
}

@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__hero-button {
    width: 100%;
  }

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

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