/* style/payment-methods.css */

/* Base styles for the page content, assuming a dark body background from shared.css */
.page-payment-methods {
  color: #FFF5E1; /* Main text color */
  background-color: var(--background-color); /* Inherit from shared, likely dark */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-payment-methods__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background-color: #B71C1C;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height for aesthetic */
  overflow: hidden;
}

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

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

.page-payment-methods__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  color: #FFF5E1;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-payment-methods__description {
  font-size: 1.1em;
  color: #FFF5E1;
  margin-bottom: 30px;
}

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

.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;
  font-size: 1.05em;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

.page-payment-methods__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red text for contrast on gold button */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-payment-methods__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-payment-methods__btn-secondary {
  background: #C91F17; /* Main brand color */
  color: #FFF5E1; /* Main text color */
  border: 2px solid #F2B544; /* Border color */
  box-shadow: 0 4px 15px rgba(201, 31, 23, 0.4);
}

.page-payment-methods__btn-secondary:hover {
  background: #E53935; /* Auxiliary color on hover */
  border-color: #FFCC66; /* Glow color on hover */
  transform: translateY(-2px);
}

.page-payment-methods__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  font-weight: 700;
  color: #FFF5E1;
  text-align: center;
  margin-bottom: 30px;
  margin-top: 40px;
}

.page-payment-methods__section-title--light {
  color: #FFF5E1;
}

.page-payment-methods__text-block {
  font-size: 1.05em;
  color: #FFF5E1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-payment-methods__overview-section,
.page-payment-methods__deposit-section,
.page-payment-methods__withdrawal-section {
  padding: 60px 0;
  background-color: #B71C1C; /* Background color */
}

.page-payment-methods__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-top: 30px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

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

.page-payment-methods__card {
  background-color: #D32F2F; /* Card background */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #F2B544; /* Border color */
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFF5E1; /* Card text color */
}

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

.page-payment-methods__card-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #F4D34D; /* Gold color for titles */
  margin-bottom: 10px;
}

.page-payment-methods__card-text {
  font-size: 1em;
  color: #FFF5E1;
}

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

.page-payment-methods__faq-section {
  background-color: #7A0E0E; /* Deep Red background */
  padding: 60px 0;
  color: #FFF5E1;
}

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

.page-payment-methods__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(242, 181, 68, 0.3);
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #F4D34D; /* Gold color */
  cursor: pointer;
  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;
  color: #FFCC66; /* Glow color */
}

.page-payment-methods__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #FFF5E1;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-answer {
  max-height: 200px; /* Adjust as needed for content */
  padding-top: 10px;
  transition: max-height 0.4s ease-in, padding 0.4s ease-in;
}

.page-payment-methods__register-cta {
  background-color: #C91F17; /* Main brand color */
  padding: 60px 0;
  text-align: center;
}

.page-payment-methods__container--flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-payment-methods__hero-image-wrapper {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-payment-methods__hero-section {
    padding-bottom: 30px;
  }

  .page-payment-methods__hero-image-wrapper {
    max-height: 400px;
  }

  .page-payment-methods__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }

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

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

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }

  .page-payment-methods__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-payment-methods__text-block {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .page-payment-methods__overview-section,
  .page-payment-methods__deposit-section,
  .page-payment-methods__withdrawal-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__register-cta {
    padding: 40px 0;
  }

  .page-payment-methods__cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
  }

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

  .page-payment-methods__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

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

  .page-payment-methods__faq-answer {
    padding: 0 20px 15px 20px;
  }

  /* Image, video, button container responsiveness */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-payment-methods__video-section,
  .page-payment-methods__video-container,
  .page-payment-methods__video-wrapper,
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__cta-buttons,
  .page-payment-methods__button-group,
  .page-payment-methods__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-payment-methods__video-section {
    padding-top: 10px !important; /* Small top padding for video section */
  }
}