/* style/payment-methods.css */

.page-payment-methods {
  background-color: #000000; /* Body background is dark, so main content text should be light */
  color: #ffffff;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Apply header offset to main content */
}

.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  /* padding-top is handled by .page-payment-methods */
}

.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-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 20px;
}

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

.page-payment-methods__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-payment-methods__hero-button {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-payment-methods__hero-button:hover {
  background-color: #1a7bb0;
}

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

.page-payment-methods__section--deposit {
  background-color: #0d0d0d; /* Slightly lighter dark background for contrast */
}

.page-payment-methods__section--withdrawal {
  background-color: #000000;
}

.page-payment-methods__section--faq {
  background-color: #0d0d0d;
}

.page-payment-methods__section--safety-tips {
  background-color: #000000;
}

.page-payment-methods__section--cta {
  padding: 80px 0;
  background-color: #26A9E0; /* Brand color background */
  color: #ffffff;
}

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

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #ffffff;
  margin-bottom: 20px;
}

.page-payment-methods__section-intro {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-payment-methods__card {
  background: rgba(255, 255, 255, 0.08); /* Translucent light background on dark body */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

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

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

.page-payment-methods__card-title {
  font-size: 1.8em;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-payment-methods__card-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-payment-methods__card-button {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-payment-methods__card-button:hover {
  background-color: #1a7bb0;
}

.page-payment-methods__flex-container {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-payment-methods__content-block {
  flex: 1;
  color: #f0f0f0;
}

.page-payment-methods__content-block--regulations ul {
  list-style: disc inside;
  padding-left: 20px;
}

.page-payment-methods__content-block--regulations li {
  margin-bottom: 10px;
}

.page-payment-methods__image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-payment-methods__image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.page-payment-methods__sub-title {
  font-size: 2em;
  color: #ffffff;
  margin-bottom: 20px;
}

.page-payment-methods__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.page-payment-methods__btn-primary:hover {
  background-color: #d16b06;
}

.page-payment-methods__btn-primary--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

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

.page-payment-methods__faq-item {
  background: 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;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-toggle {
  transform: rotate(45deg);
}

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

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
}

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

.page-payment-methods__safety-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-payment-methods__safety-list li {
  background: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-payment-methods__safety-list li strong {
  color: #ffffff;
}

.page-payment-methods__cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-payment-methods__cta-image {
  margin-top: 40px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 2.8em;
  }
  .page-payment-methods__section-title {
    font-size: 2em;
  }
  .page-payment-methods__flex-container {
    flex-direction: column;
  }
  .page-payment-methods__image-wrapper {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods {
    padding-top: var(--header-offset, 120px) !important; /* Ensure it applies on mobile */
  }
  .page-payment-methods__hero-section {
    height: 500px;
  }
  .page-payment-methods__hero-title {
    font-size: 2em;
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__section {
    padding: 40px 0;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods__section-intro {
    font-size: 0.95em;
  }
  .page-payment-methods__grid {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__card {
    padding: 20px;
  }
  .page-payment-methods__card-image {
    height: 200px;
  }
  .page-payment-methods__card-title {
    font-size: 1.5em;
  }
  .page-payment-methods__faq-question {
    font-size: 1em;
    padding: 15px;
  }
  .page-payment-methods__faq-answer {
    padding: 0 15px;
  }
  .page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
    padding: 15px;
  }
  .page-payment-methods__safety-list li {
    font-size: 1em;
    padding: 15px;
  }

  /* Mobile image responsiveness */
  .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__image-wrapper,
  .page-payment-methods__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }
  .page-payment-methods__hero-button,
  .page-payment-methods__card-button,
  .page-payment-methods__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-payment-methods__cta-content {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 1.8em;
  }
  .page-payment-methods__hero-description {
    font-size: 0.9em;
  }
  .page-payment-methods__hero-button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-payment-methods__section-title {
    font-size: 1.5em;
  }
  .page-payment-methods__sub-title {
    font-size: 1.5em;
  }
  .page-payment-methods__btn-primary--large {
    padding: 15px 25px;
    font-size: 1em;
  }
}