/* style/payment-methods.css */

/* Base Styles & Global Overrides (scoped to .page-payment-methods) */
.page-payment-methods {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: #000; /* Assuming body background is #000 from shared.css */
}

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

.page-payment-methods__dark-section {
  background-color: #0A2033;
  color: #ffffff;
}

.page-payment-methods__light-bg-card {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-payment-methods__main-title {
  font-size: 42px;
  font-weight: 700;
  color: #E8B900;
  text-align: center;
  margin-bottom: 20px;
}

.page-payment-methods__description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-payment-methods__section-title {
  font-size: 32px;
  font-weight: 700;
  color: #E8B900;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-payment-methods__section-intro {
  font-size: 17px;
  text-align: center;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-payment-methods__subsection-title {
  font-size: 24px;
  font-weight: 600;
  color: #E8B900;
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
}

.page-payment-methods__text-link {
  color: #E8B900;
  text-decoration: none;
  font-weight: bold;
}

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

/* Buttons */
.page-payment-methods__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  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: #E8B900;
  color: #0A2033; /* Dark text for gold background */
  border: 2px solid #E8B900;
}

.page-payment-methods__btn-primary:hover {
  background-color: #ffc107;
  border-color: #ffc107;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(232, 185, 0, 0.4);
}

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

.page-payment-methods__btn-secondary:hover {
  background-color: #E8B900;
  color: #0A2033;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(232, 185, 0, 0.4);
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  padding-top: 0; /* shared already handles body padding-top */
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  margin-top: 0;
  overflow: hidden;
}

.page-payment-methods__hero-container {
  position: relative;
  margin: 0 auto;
  width: 100%;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Ensure minimum size */
}

/* Method Grid (Deposit/Withdrawal) */
.page-payment-methods__method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-payment-methods__method-card {
  background: rgba(255, 255, 255, 0.08);
  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;
  border: 1px solid rgba(232, 185, 0, 0.2);
}

.page-payment-methods__method-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-color: #E8B900;
}

.page-payment-methods__method-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(232, 185, 0, 0.15);
  overflow: hidden;
}

.page-payment-methods__method-icon img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  filter: brightness(1.2); /* Slightly brighten icon for visibility */
}

.page-payment-methods__method-title {
  font-size: 22px;
  font-weight: 600;
  color: #E8B900;
  margin-bottom: 15px;
}

.page-payment-methods__method-description {
  font-size: 16px;
  color: #e0e0e0;
}

/* Process List */
.page-payment-methods__process-list {
  list-style: none;
  padding: 0;
  margin: 30px auto 0 auto;
  max-width: 800px;
  text-align: left;
}

.page-payment-methods__process-list li {
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #E8B900;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 17px;
  color: #f0f0f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__process-list li strong {
  color: #E8B900;
}

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

.page-payment-methods__feature-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(232, 185, 0, 0.2);
}

.page-payment-methods__feature-item img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
  filter: brightness(1.2);
}

.page-payment-methods__feature-item h3 {
  font-size: 22px;
  font-weight: 600;
  color: #E8B900;
  margin-bottom: 15px;
}

.page-payment-methods__feature-item p {
  font-size: 16px;
  color: #e0e0e0;
}

/* Limits & Fees Table */
.page-payment-methods__table-responsive {
  overflow-x: auto;
  margin-top: 40px;
  margin-bottom: 30px;
}

.page-payment-methods__transaction-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  min-width: 600px; /* Ensure table is readable on smaller screens */
}

.page-payment-methods__transaction-table th,
.page-payment-methods__transaction-table td {
  border: 1px solid rgba(232, 185, 0, 0.3);
  padding: 15px;
  text-align: left;
  font-size: 16px;
  color: #f0f0f0;
}

.page-payment-methods__transaction-table th {
  background-color: rgba(232, 185, 0, 0.15);
  color: #E8B900;
  font-weight: 600;
}

.page-payment-methods__transaction-table tbody tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.03);
}

.page-payment-methods__transaction-table tbody tr:hover {
  background-color: rgba(232, 185, 0, 0.08);
}

.page-payment-methods__note {
  font-size: 15px;
  color: #aaaaaa;
  text-align: center;
  margin-top: 20px;
}

/* Troubleshooting Section */
.page-payment-methods__issue-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 800px;
  text-align: left;
}

.page-payment-methods__issue-list li {
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #E8B900;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 17px;
  color: #f0f0f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__issue-list li strong {
  color: #E8B900;
}

.page-payment-methods__issue-list ul {
  list-style: disc;
  margin-left: 25px;
  margin-top: 10px;
  color: #e0e0e0;
}

.page-payment-methods__issue-list ul li {
  background: none;
  border: none;
  padding: 5px 0;
  margin-bottom: 5px;
  box-shadow: none;
  font-size: 16px;
}

.page-payment-methods__contact-prompt {
  text-align: center;
  font-size: 17px;
  margin-top: 30px;
  color: #e0e0e0;
}

/* FAQ Section */
.page-payment-methods__faq-section {
  padding-bottom: 60px;
}

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

.page-payment-methods__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(232, 185, 0, 0.2);
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

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

.page-payment-methods__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #E8B900;
  pointer-events: none;
}

.page-payment-methods__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #E8B900;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Rotate to form an 'X' or similar */
}

.page-payment-methods__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  color: #f0f0f0;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 0 8px 8px;
}

/* Support CTA Section */
.page-payment-methods__support-cta {
  padding-top: 60px;
  padding-bottom: 80px;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__main-title {
    font-size: 38px;
  }

  .page-payment-methods__section-title {
    font-size: 28px;
  }

  .page-payment-methods__subsection-title {
    font-size: 22px;
  }

  .page-payment-methods__method-card,
  .page-payment-methods__feature-item {
    padding: 25px;
  }

  .page-payment-methods__method-icon {
    width: 90px;
    height: 90px;
  }

  .page-payment-methods__method-title,
  .page-payment-methods__feature-item h3 {
    font-size: 20px;
  }

  .page-payment-methods__faq-question h3 {
    font-size: 17px;
  }
}

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

  .page-payment-methods__main-title {
    font-size: 30px;
    line-height: 1.3;
  }

  .page-payment-methods__description {
    font-size: 16px;
  }

  .page-payment-methods__section-title {
    font-size: 24px;
    padding-top: 30px;
  }

  .page-payment-methods__section-intro {
    font-size: 15px;
  }

  .page-payment-methods__subsection-title {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-payment-methods__cta-group {
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 30px;
  }

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

  .page-payment-methods__hero-image {
    height: 250px;
  }

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

  .page-payment-methods__method-card,
  .page-payment-methods__feature-item {
    padding: 20px;
  }

  .page-payment-methods__method-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
  }

  .page-payment-methods__method-title,
  .page-payment-methods__feature-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .page-payment-methods__method-description,
  .page-payment-methods__feature-item p {
    font-size: 15px;
  }

  .page-payment-methods__process-list li,
  .page-payment-methods__issue-list li {
    font-size: 16px;
    padding: 12px 15px;
    margin-bottom: 10px;
  }

  .page-payment-methods__issue-list ul li {
    font-size: 15px;
  }

  .page-payment-methods__table-responsive {
    min-width: 100%;
  }

  .page-payment-methods__transaction-table th,
  .page-payment-methods__transaction-table td {
    padding: 12px;
    font-size: 14px;
  }

  .page-payment-methods__note {
    font-size: 14px;
  }

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

  .page-payment-methods__faq-item {
    margin-bottom: 10px;
  }

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

  .page-payment-methods__faq-question h3 {
    font-size: 16px;
  }

  .page-payment-methods__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

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

  .page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
    padding: 15px 20px !important;
  }

  .page-payment-methods__support-cta {
    padding-top: 40px;
    padding-bottom: 60px;
  }

  /* General image responsive rules */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure containers correctly handle overflow */
  .page-payment-methods__hero-container,
  .page-payment-methods__introduction-section,
  .page-payment-methods__deposit-methods,
  .page-payment-methods__withdrawal-methods,
  .page-payment-methods__security-section,
  .page-payment-methods__limits-fees,
  .page-payment-methods__troubleshooting,
  .page-payment-methods__faq-section,
  .page-payment-methods__support-cta,
  .page-payment-methods__method-card,
  .page-payment-methods__feature-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}