/* style/payment-methods.css */

/* Body background is #1a1a2e (dark), so main text color should be light */
.page-payment-methods {
  color: #ffffff; /* Default text color for dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-payment-methods__dark-bg {
  background-color: #1a1a2e;
  color: #ffffff;
}

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

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

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

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  color: #ffffff;
}

.page-payment-methods__hero-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #ffffff;
  /* Use clamp for responsive font-size, avoiding fixed large values */
  font-size: clamp(2.2rem, 4vw + 1rem, 3.8rem);
}

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

.page-payment-methods__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-payment-methods__cta-buttons--centered {
  margin-top: 30px;
}

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

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

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

.page-payment-methods__btn-secondary {
  background-color: #EA7C07; /* Login color used for secondary CTA */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

.page-payment-methods__section {
  padding: 60px 0;
}

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

.page-payment-methods__section-title {
  font-size: clamp(1.8rem, 3vw + 1rem, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0; /* Brand color for titles */
}

.page-payment-methods__intro-section,
.page-payment-methods__deposit-guide,
.page-payment-methods__withdrawal-guide,
.page-payment-methods__security-section,
.page-payment-methods__conclusion-section {
  background-color: #ffffff;
  color: #333333;
}

.page-payment-methods__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: justify;
  color: #333333;
}

.page-payment-methods__text-block .highlight {
  color: #26A9E0;
  font-weight: 600;
}

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

.page-payment-methods__method-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-payment-methods__method-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px; /* Ensure min size for images */
  min-height: 200px;
}

.page-payment-methods__method-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-payment-methods__method-description {
  font-size: 1rem;
  color: #f0f0f0;
}

.page-payment-methods__guide-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 30px;
  color: #333333;
}

.page-payment-methods__guide-list li {
  margin-bottom: 15px;
  font-size: 1.1rem;
  line-height: 1.7;
}

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

.page-payment-methods__info-list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-payment-methods__info-list li {
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.6;
}

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

.page-payment-methods__security-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
}

.page-payment-methods__security-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure min size for images */
  min-height: 200px;
}

.page-payment-methods__security-text {
  flex: 1;
  color: #333333;
}

.page-payment-methods__security-features {
  list-style-type: disc;
  padding-left: 25px;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #333333;
}

.page-payment-methods__security-features li {
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.page-payment-methods__security-features li strong {
  color: #26A9E0;
}

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

.page-payment-methods__faq-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-payment-methods__faq-item details {
  border: none;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  color: #ffffff;
  background-color: #2a2a47; /* Slightly darker shade of body bg */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-payment-methods__faq-item summary {
  list-style: none;
}

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

.page-payment-methods__faq-qtext {
  flex-grow: 1;
}

.page-payment-methods__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  color: #26A9E0;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-payment-methods__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
  background-color: #1a1a2e;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: clamp(2rem, 5vw + 1rem, 3.5rem);
  }
  .page-payment-methods__hero-description {
    font-size: 1.05rem;
  }
  .page-payment-methods__section-title {
    font-size: clamp(1.6rem, 4vw + 1rem, 2.5rem);
  }
  .page-payment-methods__security-content {
    flex-direction: column;
  }
  .page-payment-methods__security-image {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__security-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-payment-methods__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-payment-methods__hero-title {
    font-size: clamp(1.8rem, 6vw + 1rem, 3rem);
  }
  .page-payment-methods__hero-description {
    font-size: 1rem;
  }

  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-payment-methods__methods-grid {
    grid-template-columns: 1fr;
  }

  .page-payment-methods__security-image {
    max-width: 100%;
  }

  .page-payment-methods__text-block, 
  .page-payment-methods__guide-list li, 
  .page-payment-methods__info-list li, 
  .page-payment-methods__security-features li, 
  .page-payment-methods__method-description, 
  .page-payment-methods__faq-answer {
    font-size: 0.95rem;
  }

  .page-payment-methods__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
}