/* style/payment-methods.css */

/* Core Styles for Payment Methods Page */
.page-payment-methods {
  color: #ffffff; /* Light text for dark body background */
  background-color: #1a1a2e; /* Inherited from shared, but specified for clarity */
  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__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0; /* Brand color for titles */
}

.page-payment-methods__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 60px;
  color: #f0f0f0;
}

.page-payment-methods__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-payment-methods__text-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-payment-methods__text-list li {
  margin-bottom: 8px;
}

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

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 40px; /* Space between image and content */
}

.page-payment-methods__hero-image {
  width: 100%;
  max-width: 1200px; /* Max width for desktop display */
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  object-fit: cover;
}

.page-payment-methods__hero-content {
  text-align: center;
  max-width: 900px;
  margin-top: 20px;
}

.page-payment-methods__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 font size */
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

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

.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: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  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: #1e87b3;
  border-color: #1e87b3;
  transform: translateY(-2px);
}

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

.page-payment-methods__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #26A9E0;
  transform: translateY(-2px);
}

/* Introduction Section */
.page-payment-methods__introduction-section {
  padding: 80px 0;
  background-color: #1a1a2e; /* Ensure dark background for light text */
}

/* Deposit Methods Section */
.page-payment-methods__deposit-methods {
  padding: 80px 0;
  background-color: #121224; /* Slightly darker background for contrast */
}

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

.page-payment-methods__method-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 450px; /* Ensure cards have similar height */
}

.page-payment-methods__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__method-icon {
  width: 100%;
  max-width: 400px; /* Ensure image fits card width */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 150px;
}

.page-payment-methods__method-title {
  font-size: 1.8em;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

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

.page-payment-methods__method-features {
  list-style-type: none;
  padding: 0;
  text-align: left;
  width: 100%;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-payment-methods__method-features li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-payment-methods__method-features li::before {
  content: '✓';
  color: #26A9E0;
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

/* Withdrawal Guide Section */
.page-payment-methods__withdrawal-guide {
  padding: 80px 0;
  background-color: #1a1a2e;
}

.page-payment-methods__section-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 150px;
}

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

.page-payment-methods__detail-block {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__detail-title {
  font-size: 1.6em;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 20px;
}

/* Important Notes Section */
.page-payment-methods__important-notes {
  padding: 80px 0;
  background-color: #121224;
}

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

.page-payment-methods__note-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-payment-methods__note-title {
  font-size: 1.6em;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-payment-methods__note-button {
  margin-top: auto;
  display: inline-block;
  align-self: flex-start;
}

/* FAQ Section */
.page-payment-methods__faq-section {
  padding: 80px 0;
  background-color: #1a1a2e;
}

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

.page-payment-methods__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #FFFFFF;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-payment-methods__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for details/summary */
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-payment-methods__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 25px;
  text-align: center;
  color: #26A9E0;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-payment-methods__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-payment-methods {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-payment-methods__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  .page-payment-methods__hero-image-wrapper {
    margin-bottom: 30px;
  }
  .page-payment-methods__hero-content {
    padding: 0 15px;
  }
  .page-payment-methods__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
  }
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    max-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__container {
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-payment-methods__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-payment-methods__section-description {
    font-size: 0.95em;
    margin-bottom: 40px;
  }
  .page-payment-methods__deposit-methods,
  .page-payment-methods__withdrawal-guide,
  .page-payment-methods__important-notes,
  .page-payment-methods__faq-section {
    padding: 60px 0;
  }

  .page-payment-methods__methods-grid,
  .page-payment-methods__withdrawal-details,
  .page-payment-methods__notes-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods__method-card,
  .page-payment-methods__detail-block,
  .page-payment-methods__note-item {
    padding: 25px;
  }
  .page-payment-methods__method-title,
  .page-payment-methods__detail-title,
  .page-payment-methods__note-title {
    font-size: 1.4em;
  }
  .page-payment-methods__faq-question {
    font-size: 1.1em;
    padding: 18px 20px;
  }
  .page-payment-methods__faq-answer {
    padding: 0 20px 18px 20px;
  }
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-payment-methods__hero-image-wrapper,
  .page-payment-methods__method-icon,
  .page-payment-methods__section-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__main-title {
    font-size: clamp(1.6em, 8vw, 2.2em);
  }
  .page-payment-methods__section-title {
    font-size: 1.6em;
  }
  .page-payment-methods__hero-description {
    font-size: 0.9em;
  }
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    font-size: 1em;
    padding: 12px 20px;
  }
}