/* style/payment-methods.css */
.page-payment-methods {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: #FFFFFF; /* Ensure content background is white as per body background */
}

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

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-payment-methods__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

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

.page-payment-methods__button {
  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, transform 0.2s ease;
  text-align: center;
  cursor: pointer;
  min-width: 180px; /* Ensure buttons are not too small */
}

.page-payment-methods__button--register, .page-payment-methods__button--register-free {
  background-color: #FCBC45; /* Login color for register button as well for prominence */
  color: #000000;
  border: 2px solid #FCBC45;
}

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

.page-payment-methods__button--deposit, .page-payment-methods__button--withdraw, .page-payment-methods__button--view-details {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-payment-methods__button--explore-games {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-payment-methods__button:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  padding: 0;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-payment-methods__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-payment-methods__hero-container {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 20px;
  background: rgba(0, 0, 0, 0.6); /* Overlay for readability */
  border-radius: 10px;
  max-width: 900px;
  margin: 0 auto;
}

.page-payment-methods__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45;
  line-height: 1.2;
}

.page-payment-methods__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

/* Why Choose Section */
.page-payment-methods__why-choose-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

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

.page-payment-methods__feature-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-payment-methods__feature-card:hover {
  transform: translateY(-10px);
}

.page-payment-methods__feature-icon {
  width: 100%; /* Ensure images are large within card */
  height: auto;
  max-width: 400px; /* Max width to maintain aspect ratio and prevent overflow */
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  object-fit: cover;
}

.page-payment-methods__feature-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

.page-payment-methods__feature-description {
  color: #555555;
}

/* Guide Sections (Deposit/Withdrawal) */
.page-payment-methods__deposit-guide-section, .page-payment-methods__withdrawal-guide-section {
  padding: 80px 0;
}

.page-payment-methods__guide-content {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-top: 50px;
}

.page-payment-methods__guide-content--reverse {
  flex-direction: row-reverse;
}

.page-payment-methods__guide-steps {
  flex: 1;
}

.page-payment-methods__guide-subtitle {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 25px;
}

.page-payment-methods__step-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 40px;
}

.page-payment-methods__step-list li {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #444444;
}

.page-payment-methods__step-list li strong {
  color: #000000;
}

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

.page-payment-methods__guide-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  object-fit: cover;
}

.page-payment-methods__note {
  background-color: #fff8e1;
  border-left: 5px solid #ffc107;
  padding: 15px 20px;
  margin-top: 40px;
  border-radius: 5px;
  color: #616161;
  font-size: 0.95em;
}

/* Security Section */
.page-payment-methods__security-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

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

.page-payment-methods__security-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-payment-methods__security-icon {
  width: 100%; /* Ensure images are large within card */
  height: auto;
  max-width: 300px; /* Max width to maintain aspect ratio and prevent overflow */
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  object-fit: cover;
}

.page-payment-methods__security-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

.page-payment-methods__security-text {
  color: #555555;
}

/* FAQ Section */
.page-payment-methods__faq-section {
  padding: 80px 0;
}

.page-payment-methods__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-payment-methods__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-payment-methods__faq-question {
  font-size: 1.2em;
  color: #000000;
  padding: 20px;
  cursor: pointer;
  position: relative;
  margin: 0;
  background-color: #f5f5f5;
  transition: background-color 0.3s ease;
}

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

.page-payment-methods__faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-question::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-payment-methods__faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

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

.page-payment-methods__faq-answer p {
  margin-bottom: 0;
  color: #555555;
}

/* Resources Section */
.page-payment-methods__resources-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

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

.page-payment-methods__resource-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-payment-methods__resource-card:hover {
  transform: translateY(-10px);
}

.page-payment-methods__resource-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-payment-methods__resource-card h3 {
  font-size: 1.4em;
  margin: 20px 15px 10px 15px;
}

.page-payment-methods__resource-card h3 a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-payment-methods__resource-card h3 a:hover {
  color: #FCBC45;
}

.page-payment-methods__resource-description {
  color: #555555;
  padding: 0 15px 20px 15px;
}

.page-payment-methods__resource-card .page-payment-methods__button {
  margin-bottom: 20px;
}

/* CTA Section */
.page-payment-methods__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #000000;
  color: #FFFFFF;
}

.page-payment-methods__cta-section .page-payment-methods__section-title {
  color: #FCBC45;
}

.page-payment-methods__cta-section .page-payment-methods__section-title::after {
  background-color: #FFFFFF;
}

.page-payment-methods__cta-section .page-payment-methods__section-description {
  color: #f0f0f0;
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-payment-methods__hero-title {
    font-size: 2.8em;
  }
  .page-payment-methods__hero-description {
    font-size: 1.1em;
  }
  .page-payment-methods__guide-content {
    flex-direction: column;
    gap: 40px;
  }
  .page-payment-methods__guide-content--reverse {
    flex-direction: column-reverse;
  }
  .page-payment-methods__guide-image-wrapper {
    order: -1; /* Image appears first on mobile for reversed layout */
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    min-height: 400px;
  }
  .page-payment-methods__hero-title {
    font-size: 2.2em;
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__hero-actions, .page-payment-methods__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-payment-methods__section-title {
    font-size: 2em;
  }
  .page-payment-methods__section-description {
    font-size: 1em;
    margin-bottom: 40px;
  }
  .page-payment-methods__feature-grid, .page-payment-methods__security-features, .page-payment-methods__resource-list {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__feature-icon, .page-payment-methods__guide-image, .page-payment-methods__security-icon, .page-payment-methods__resource-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
  }
  /* Ensure all content area images are responsive and not too small */
  .page-payment-methods img {
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 1.8em;
  }
  .page-payment-methods__hero-container {
    padding: 60px 15px;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods__button {
    min-width: unset;
  }
}