/* style/payment-methods.css */

/* Custom Colors */
:root {
  --page-payment-methods-bg: #08160F;
  --page-payment-methods-card-bg: #11271B;
  --page-payment-methods-text-main: #F2FFF6;
  --page-payment-methods-text-secondary: #A7D9B8;
  --page-payment-methods-border: #2E7A4E;
  --page-payment-methods-glow: #57E38D;
  --page-payment-methods-gold: #F2C14E;
  --page-payment-methods-divider: #1E3A2A;
  --page-payment-methods-deep-green: #0A4B2C;
  --page-payment-methods-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-payment-methods {
  background-color: var(--page-payment-methods-bg);
  color: var(--page-payment-methods-text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-payment-methods__dark-bg {
  background-color: var(--page-payment-methods-bg);
  color: var(--page-payment-methods-text-main);
}

.page-payment-methods__dark-section {
  background-color: var(--page-payment-methods-deep-green);
  color: var(--page-payment-methods-text-main);
}

.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

.page-payment-methods__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-payment-methods__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--page-payment-methods-text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-payment-methods__hero-description {
  font-size: 1.15rem;
  color: var(--page-payment-methods-text-secondary);
  margin-bottom: 30px;
}

.page-payment-methods__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: var(--page-payment-methods-btn-gradient);
  color: var(--page-payment-methods-text-main);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__section-title {
  font-size: 2.5rem;
  color: var(--page-payment-methods-text-main);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

.page-payment-methods__intro-section, 
.page-payment-methods__deposit-methods, 
.page-payment-methods__withdrawal-methods, 
.page-payment-methods__faq-section, 
.page-payment-methods__conclusion-section {
  padding: 40px 0;
}

.page-payment-methods__text-block {
  font-size: 1rem;
  color: var(--page-payment-methods-text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

.page-payment-methods__text-link {
  color: var(--page-payment-methods-glow);
  text-decoration: none;
}

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

.page-payment-methods__feature-grid, .page-payment-methods__method-grid, .page-payment-methods__steps-grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

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

.page-payment-methods__feature-item {
  text-align: center;
  background-color: var(--page-payment-methods-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__feature-icon {
  width: 100%;
  max-width: 250px; /* Adjust as needed */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-payment-methods__feature-title {
  font-size: 1.5rem;
  color: var(--page-payment-methods-text-main);
  margin-bottom: 15px;
}

.page-payment-methods__feature-description {
  font-size: 0.95rem;
  color: var(--page-payment-methods-text-secondary);
}

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

.page-payment-methods__card {
  background-color: var(--page-payment-methods-card-bg);
  border: 1px solid var(--page-payment-methods-border);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-payment-methods__card-image {
  width: 100%;
  height: 200px;
  object-fit: contain; /* Use contain to show full logos/icons */
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-payment-methods__card-title {
  font-size: 1.4rem;
  color: var(--page-payment-methods-text-main);
  margin-bottom: 10px;
}

.page-payment-methods__card-description {
  font-size: 0.9rem;
  color: var(--page-payment-methods-text-secondary);
}

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

.page-payment-methods__step-item {
  background-color: var(--page-payment-methods-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-payment-methods__step-number {
  width: 50px;
  height: 50px;
  background: var(--page-payment-methods-btn-gradient);
  color: var(--page-payment-methods-text-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 auto 20px auto;
}

.page-payment-methods__step-title {
  font-size: 1.4rem;
  color: var(--page-payment-methods-text-main);
  margin-bottom: 15px;
}

.page-payment-methods__step-description {
  font-size: 0.95rem;
  color: var(--page-payment-methods-text-secondary);
}

.page-payment-methods__image-wrapper {
  margin-top: 40px;
  text-align: center;
}

.page-payment-methods__process-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-payment-methods__faq-list {
  margin-top: 40px;
}

.page-payment-methods__faq-item {
  background-color: var(--page-payment-methods-card-bg);
  border: 1px solid var(--page-payment-methods-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  color: var(--page-payment-methods-text-main);
  cursor: pointer;
  background-color: var(--page-payment-methods-deep-green);
  border-bottom: 1px solid var(--page-payment-methods-divider);
  list-style: none; /* For details/summary */
  -webkit-touch-callout: none; /* Disable text selection on iOS */
  -webkit-user-select: none;   /* Disable text selection on iOS Safari */
  -khtml-user-select: none;    /* Disable text selection on Konqueror HTML */
  -moz-user-select: none;      /* Disable text selection on Firefox */
  -ms-user-select: none;       /* Disable text selection on Internet Explorer/Edge */
  user-select: none;           /* Standard syntax */
}

.page-payment-methods__faq-question::-webkit-details-marker {
  display: none;
}

.page-payment-methods__faq-question:hover {
  filter: brightness(1.1);
}

.page-payment-methods__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-payment-methods__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--page-payment-methods-glow);
  width: 25px;
  text-align: center;
}

.page-payment-methods__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--page-payment-methods-text-secondary);
  background-color: var(--page-payment-methods-card-bg);
}

.page-payment-methods__faq-answer p {
  margin-bottom: 10px;
}

.page-payment-methods__faq-answer p:last-child {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-payment-methods__section-title {
    font-size: 2rem;
  }
  .page-payment-methods__hero-description {
    font-size: 1.05rem;
  }
  .page-payment-methods__feature-grid, .page-payment-methods__method-grid, .page-payment-methods__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-payment-methods {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-payment-methods__container {
    padding: 0 15px;
  }
  .page-payment-methods__hero-content {
    padding: 30px 15px;
  }
  .page-payment-methods__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  .page-payment-methods__section-title {
    font-size: 1.8rem;
    padding-top: 40px;
  }
  .page-payment-methods__hero-description {
    font-size: 1rem;
  }
  .page-payment-methods__btn-primary {
    padding: 12px 25px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-payment-methods__feature-grid, .page-payment-methods__method-grid, .page-payment-methods__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__feature-item, .page-payment-methods__card, .page-payment-methods__step-item {
    padding: 20px;
  }
  .page-payment-methods__feature-title, .page-payment-methods__card-title, .page-payment-methods__step-title {
    font-size: 1.3rem;
  }
  .page-payment-methods__hero-section, .page-payment-methods__intro-section, .page-payment-methods__why-choose-fu88, .page-payment-methods__deposit-methods, .page-payment-methods__deposit-guide, .page-payment-methods__withdrawal-methods, .page-payment-methods__withdrawal-guide, .page-payment-methods__faq-section, .page-payment-methods__conclusion-section {
    padding: 30px 0;
  }

  /* Mobile image responsiveness */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-payment-methods__hero-image,
  .page-payment-methods__feature-icon,
  .page-payment-methods__card-image,
  .page-payment-methods__process-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-payment-methods__hero-image-wrapper,
  .page-payment-methods__image-wrapper,
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__feature-item,
  .page-payment-methods__step-item,
  .page-payment-methods__cta-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-payment-methods__hero-section {
    padding-top: 10px !important;
  }
  
  /* Button group specific mobile handling */
  .page-payment-methods__cta-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__main-title {
    font-size: clamp(1.5rem, 9vw, 2rem);
  }
  .page-payment-methods__section-title {
    font-size: 1.6rem;
  }
  .page-payment-methods__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-payment-methods__faq-answer {
    padding: 15px 20px;
    font-size: 0.95rem;
  }
}