/* Base styles for payment-methods page */
.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #F5F7FA; /* Page background */
}

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

.page-payment-methods__section-title {
  font-size: 32px;
  font-weight: bold;
  color: #E53935;
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.2;
}

.page-payment-methods__section-description {
  font-size: 18px;
  color: #333333;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-payment-methods__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 40px;
  overflow: hidden;
  color: #ffffff; /* White text for dark background */
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Brand gradient background */
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-height: 450px;
  overflow: hidden;
  margin-bottom: 30px;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-payment-methods__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 15px;
}

.page-payment-methods__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-payment-methods__description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
}

.page-payment-methods__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-payment-methods__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
  margin-left: 20px; /* For multiple buttons */
}

.page-payment-methods__btn-secondary:hover {
  background: #f0f0f0;
  color: #c62828;
  border-color: #c62828;
  transform: translateY(-2px);
}

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

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

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

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

.page-payment-methods__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

.page-payment-methods__feature-title {
  font-size: 22px;
  font-weight: 700;
  color: #E53935;
  margin-bottom: 15px;
}

/* Deposit Methods Section */
.page-payment-methods__deposit-methods-section {
  padding: 60px 0;
  background: #E53935;
  color: #ffffff;
}

.page-payment-methods__deposit-methods-section .page-payment-methods__section-title,
.page-payment-methods__deposit-methods-section .page-payment-methods__section-description {
  color: #ffffff;
}

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

.page-payment-methods__method-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #333333;
}

.page-payment-methods__method-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-payment-methods__method-title {
  font-size: 24px;
  font-weight: 700;
  color: #E53935;
  margin-bottom: 15px;
}

.page-payment-methods__method-list {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 15px;
}

.page-payment-methods__method-list li {
  margin-bottom: 8px;
}

/* Withdrawal Guide Section */
.page-payment-methods__withdrawal-guide-section {
  padding: 60px 0;
  background-color: #F5F7FA;
  color: #333333;
}

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

.page-payment-methods__step-item {
  text-align: center;
  background: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__step-icon {
  width: 100%;
  height: auto;
  max-width: 180px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

.page-payment-methods__step-title {
  font-size: 20px;
  font-weight: 700;
  color: #E53935;
  margin-bottom: 15px;
}

.page-payment-methods__step-list {
  list-style-type: decimal;
  padding-left: 20px;
  text-align: left;
}

.page-payment-methods__step-list li {
  margin-bottom: 5px;
}

/* Important Notes Section */
.page-payment-methods__important-notes-section {
  padding: 60px 0;
  background: #FF5A4F;
  color: #ffffff;
}

.page-payment-methods__important-notes-section .page-payment-methods__section-title,
.page-payment-methods__important-notes-section .page-payment-methods__section-description {
  color: #ffffff;
}

.page-payment-methods__notes-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-payment-methods__notes-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  font-size: 17px;
  line-height: 1.5;
}

.page-payment-methods__note-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  margin-right: 20px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.2);
  padding: 10px;
}

.page-payment-methods__notes-list strong {
  color: #ffffff;
  font-weight: bold;
}

/* FAQ Section */
.page-payment-methods__faq-section {
  padding: 60px 0;
  background-color: #F5F7FA;
  color: #333333;
}

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

details.page-payment-methods__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-payment-methods__faq-item summary.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-payment-methods__faq-item summary.page-payment-methods__faq-question::-webkit-details-marker {
  display: none;
}
details.page-payment-methods__faq-item summary.page-payment-methods__faq-question:hover {
  background: #f5f5f5;
}
.page-payment-methods__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-payment-methods__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-payment-methods__faq-item .page-payment-methods__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #333333;
}

/* CTA Section */
.page-payment-methods__cta-section {
  padding: 60px 0;
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  color: #ffffff;
  text-align: center;
}

.page-payment-methods__cta-section .page-payment-methods__section-title,
.page-payment-methods__cta-section .page-payment-methods__section-description {
  color: #ffffff;
}

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

/* Footer Info Section */
.page-payment-methods__footer-info {
  padding: 30px 0;
  background-color: #ffffff;
  text-align: center;
  font-size: 14px;
  color: #666666;
  border-top: 1px solid #e0e0e0;
}

.page-payment-methods__copyright {
  margin-bottom: 10px;
}

.page-payment-methods__footer-links a {
  color: #E53935;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.page-payment-methods__footer-links a:hover {
  color: #FF5A4F;
}

/* Responsive Styles */
@media (max-width: 1023px) {
  .page-payment-methods__section-title {
    font-size: 28px;
  }
  .page-payment-methods__description {
    font-size: 16px;
  }
  .page-payment-methods__main-title {
    font-size: clamp(2rem, 4vw, 3rem);
  }
  .page-payment-methods__features-grid,
  .page-payment-methods__method-cards-grid,
  .page-payment-methods__withdrawal-steps {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-payment-methods__cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-payment-methods__btn-secondary {
    margin-left: 0;
    margin-top: 15px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-payment-methods__hero-section {
    padding-top: 10px; /* Consistent small top padding */
    padding-bottom: 30px;
  }
  .page-payment-methods__hero-image-wrapper {
    max-height: 300px;
  }
  .page-payment-methods__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-payment-methods__section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .page-payment-methods__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-payment-methods__cta-buttons {
    flex-direction: column !important; /* Force column for buttons */
    gap: 15px;
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-payment-methods__features-grid,
  .page-payment-methods__method-cards-grid,
  .page-payment-methods__withdrawal-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-payment-methods__feature-card,
  .page-payment-methods__method-card,
  .page-payment-methods__step-item {
    padding: 20px;
  }
  .page-payment-methods__notes-list li {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .page-payment-methods__note-icon {
    width: 50px;
    height: 50px;
    margin-right: 15px;
  }
  details.page-payment-methods__faq-item summary.page-payment-methods__faq-question { padding: 15px; }
  .page-payment-methods__faq-qtext { font-size: 15px; }
  details.page-payment-methods__faq-item .page-payment-methods__faq-answer { padding: 0 15px 15px; }

  /* Mobile image adaptation */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-payment-methods__container,
  .page-payment-methods__hero-content,
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__box {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* --- START HOMEPAGE GAME TRIAL CSS (FORCED INCLUSION PER INSTRUCTION, NOT USED ON THIS PAGE) --- */
/* The following CSS is included to satisfy the strict output requirements for the `css` field, */
/* even though payment-methods.html does not have a game trial section. */
@media (max-width: 1023px) {
  .page-payment-methods__home-hero {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-payment-methods__hero-brand,
  .page-payment-methods__hero-jackpot {
    display: none !important;
  }
  .page-payment-methods__game-trial {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0 auto;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-payment-methods__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-payment-methods__game-trial-topbar,
  .page-payment-methods__game-trial-bottombar {
    display: none !important;
  }
  .page-payment-methods__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
}