/* style/payment-methods.css */

/* --- General Styles --- */
.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

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

.page-payment-methods__section-title {
  font-size: clamp(1.8rem, 5vw, 2.8rem); /* Use clamp for H1, H2, H3 to prevent large fixed sizes */
  font-weight: bold;
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-payment-methods__text-block {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: #FFF6D6; /* Text Main */
}

.page-payment-methods__text-block a {
  color: #FFD36B; /* Auxiliary color for links */
  text-decoration: none;
}

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

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

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic reasons */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-payment-methods__hero-content {
  position: relative; /* Ensure content is above the image if needed, but not overlaying */
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
  margin-top: -100px; /* Pull content up slightly over the image if desired, but ensure no overlap */
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.8) 50%, rgba(10, 10, 10, 1) 100%);
}

.page-payment-methods__main-title {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: bold;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5); /* Glow */
}

.page-payment-methods__hero-description {
  font-size: 1.2rem;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  text-align: center;
}

.page-payment-methods__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #0A0A0A; /* Dark text for contrast on bright button */
  border: 2px solid transparent;
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.6); /* Glow */
}

.page-payment-methods__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(255, 211, 107, 0.8);
}

.page-payment-methods__btn-secondary {
  background: #111111; /* Card BG */
  color: #FFD36B; /* Auxiliary color */
  border: 2px solid #FFD36B; /* Auxiliary color */
}

.page-payment-methods__btn-secondary:hover {
  transform: translateY(-3px);
  background: #FFD36B; /* Auxiliary color */
  color: #0A0A0A; /* Dark text for contrast */
}

/* --- Overview Section --- */
.page-payment-methods__overview-section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Background */
}

.page-payment-methods__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
  object-fit: cover;
}

/* --- Deposit Methods Section --- */
.page-payment-methods__deposit-section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Background */
}

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

.page-payment-methods__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px; /* Ensure cards have some height */
}

.page-payment-methods__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(255, 211, 107, 0.4); /* Glow */
}

.page-payment-methods__card-title {
  font-size: 1.6rem;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-payment-methods__card-text {
  color: #FFF6D6; /* Text Main */
  font-size: 1rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-payment-methods__card-button {
  margin-top: auto; /* Push button to bottom */
}

/* --- Withdrawal Section --- */
.page-payment-methods__withdrawal-section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Background */
}

.page-payment-methods__numbered-list {
  list-style: none;
  counter-reset: my-awesome-counter;
  padding: 0;
  margin: 30px 0;
  color: #FFF6D6; /* Text Main */
}

.page-payment-methods__numbered-list li {
  counter-increment: my-awesome-counter;
  margin-bottom: 15px;
  padding-left: 40px;
  position: relative;
  font-size: 1.1rem;
}

.page-payment-methods__numbered-list li::before {
  content: counter(my-awesome-counter);
  background-color: #F2C14E; /* Main color */
  color: #0A0A0A; /* Dark text for contrast */
  font-weight: bold;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 0;
  top: 0;
}

.page-payment-methods__numbered-list li strong {
  color: #F2C14E; /* Main color */
}

/* --- Security Section --- */
.page-payment-methods__security-section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Background */
}

.page-payment-methods__feature-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-payment-methods__feature-list li {
  background-color: #111111; /* Card BG */
  border-left: 5px solid #F2C14E; /* Main color */
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1rem;
  color: #FFF6D6; /* Text Main */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__feature-list li strong {
  color: #F2C14E; /* Main color */
}

/* --- Tips Section --- */
.page-payment-methods__tips-section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Background */
}

.page-payment-methods__tips-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-payment-methods__tips-list li {
  background-color: #111111; /* Card BG */
  border-bottom: 1px dashed #3A2A12; /* Border */
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 1.1rem;
  color: #FFF6D6; /* Text Main */
}

.page-payment-methods__tips-list li:last-child {
  border-bottom: none;
}

.page-payment-methods__tips-list li a {
  color: #FFD36B; /* Auxiliary color for links */
  text-decoration: none;
}

.page-payment-methods__tips-list li a:hover {
  text-decoration: underline;
}

/* --- FAQ Section --- */
.page-payment-methods__faq-section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Background */
}

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

.page-payment-methods__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* 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;
  background-color: #1a1a1a; /* Slightly darker than card bg */
  color: #F2C14E; /* Main color */
  font-weight: bold;
  font-size: 1.2rem;
  cursor: pointer;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

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

.page-payment-methods__faq-item[open] > .page-payment-methods__faq-question {
  background-color: #222222; /* Even darker when open */
}

.page-payment-methods__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #FFD36B; /* Auxiliary color */
  margin-left: 10px;
}

.page-payment-methods__faq-answer {
  padding: 0 20px 20px 20px;
  color: #FFF6D6; /* Text Main */
  font-size: 1.1rem;
}

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

/* --- CTA Section --- */
.page-payment-methods__cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: #0A0A0A; /* Background */
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-payment-methods__hero-content {
    margin-top: -50px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__container {
    padding: 15px;
  }

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

  .page-payment-methods__hero-content {
    margin-top: -30px;
    padding: 15px;
  }

  .page-payment-methods__main-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .page-payment-methods__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

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

  .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__method-cards {
    grid-template-columns: 1fr;
  }

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

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

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

  .page-payment-methods__numbered-list li,
  .page-payment-methods__feature-list li,
  .page-payment-methods__tips-list li,
  .page-payment-methods__faq-answer p {
    font-size: 1rem;
  }

  .page-payment-methods__faq-question {
    font-size: 1.1rem;
    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 {
    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 handles --header-offset, this is small decoration */
  }

  /* Ensure all image containers are responsive */
  .page-payment-methods__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
}

/* --- Image specific styles for min size --- */
.page-payment-methods__image-content {
  min-width: 200px;
  min-height: 200px;
}

.page-payment-methods__hero-image {
  min-width: 200px;
  min-height: 200px;
}