/* style/payment-methods.css */

/* Base styles for the page */
.page-payment-methods {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

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

.page-payment-methods__section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  color: #26A9E0;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-payment-methods__text-block {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #f0f0f0;
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  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;
  opacity: 0.3; /* Slightly dim the image to ensure text readability */
}

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

.page-payment-methods__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-payment-methods__cta-buttons--center {
  margin-top: 40px;
}

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-payment-methods__btn-secondary:hover {
  background: #26A9E0;
  color: #ffffff;
}

/* Overview Section */
.page-payment-methods__overview .page-payment-methods__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Detailed Options Grid */
.page-payment-methods__detailed-options {
  background-color: rgba(255, 255, 255, 0.05); /* Light background for contrast */
}

.page-payment-methods__detailed-options .page-payment-methods__section-title {
  color: #26A9E0;
}

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

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

.page-payment-methods__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__card-image {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-payment-methods__card-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #f0f0f0;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-payment-methods__card-link {
  display: inline-block;
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
  margin-top: auto;
  transition: color 0.3s ease;
}

.page-payment-methods__card-link:hover {
  color: #ffffff;
}

/* Deposit and Withdrawal Guides */
.page-payment-methods__deposit-guide .page-payment-methods__section-title,
.page-payment-methods__withdrawal-guide .page-payment-methods__section-title {
  color: #26A9E0;
}

.page-payment-methods__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__steps-list li {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  color: #ffffff;
}

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

.page-payment-methods__steps-list li p {
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-payment-methods__image-full-width {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

.page-payment-methods__withdrawal-guide {
  background-color: rgba(255, 255, 255, 0.05);
}

/* Security Section */
.page-payment-methods__security .page-payment-methods__section-title {
  color: #26A9E0;
}

.page-payment-methods__security-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__security-list li {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid #26A9E0;
  border-radius: 8px;
  color: #ffffff;
}

.page-payment-methods__list-item-title {
  font-size: 1.2rem;
  color: #26A9E0;
  margin-bottom: 5px;
  font-weight: 600;
}

.page-payment-methods__security-list li p {
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
}

/* Fees and Limits Section */
.page-payment-methods__fees-limits .page-payment-methods__section-title {
  color: #26A9E0;
}

.page-payment-methods__fees-limits .page-payment-methods__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.page-payment-methods__faq {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-payment-methods__faq .page-payment-methods__section-title {
  color: #26A9E0;
}

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

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

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
  background-color: #26A9E0;
}

.page-payment-methods__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.7);
}

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

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

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

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

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

/* Contact Support Section */
.page-payment-methods__contact-support .page-payment-methods__section-title {
  color: #26A9E0;
}

.page-payment-methods__contact-support .page-payment-methods__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-content {
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__section {
    padding: 40px 0;
  }

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

  .page-payment-methods__text-block {
    font-size: 1rem;
  }

  .page-payment-methods__main-title {
    font-size: 2.5rem;
  }

  .page-payment-methods__description {
    font-size: 1rem;
  }

  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-payment-methods__grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .page-payment-methods__card {
    padding: 20px;
  }

  .page-payment-methods__card-image {
    height: 180px;
  }

  .page-payment-methods__card-title {
    font-size: 1.3rem;
  }

  .page-payment-methods__card-text {
    font-size: 0.95rem;
  }

  .page-payment-methods__steps-list,
  .page-payment-methods__security-list,
  .page-payment-methods__faq-list {
    padding: 0 15px;
  }

  .page-payment-methods__steps-list li,
  .page-payment-methods__security-list li,
  .page-payment-methods__faq-item {
    padding: 15px;
  }

  .page-payment-methods__step-title,
  .page-payment-methods__list-item-title,
  .page-payment-methods__faq-question {
    font-size: 1.1rem;
  }

  .page-payment-methods__steps-list li p,
  .page-payment-methods__security-list li p,
  .page-payment-methods__faq-answer p {
    font-size: 0.9rem;
  }

  /* Mobile responsive for images */
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-payment-methods__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  /* Ensure all content areas don't overflow */
  .page-payment-methods {
    overflow-x: hidden;
  }
}