/* style/payment-methods.css */
.page-payment-methods {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-payment-methods__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #FFD700; /* Gold accent color */
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.page-payment-methods__section-description {
  font-size: 18px;
  color: #e0e0e0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  padding: 100px 0;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #1A202C 0%, #0a0a0a 100%);
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-payment-methods__hero-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-payment-methods__main-title {
  font-size: 48px;
  font-weight: 900;
  color: #FFD700; /* Gold accent color */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__hero-description {
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-payment-methods__btn-primary {
  background-color: #FFD700; /* Gold accent */
  color: #1A202C; /* Dark text for gold background */
  border: 2px solid #FFD700;
}

.page-payment-methods__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text for dark background */
  border: 2px solid #FFD700;
}

.page-payment-methods__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Deposit Section */
.page-payment-methods__deposit-section {
  padding: 80px 0;
  background-color: #0a0a0a;
}

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

.page-payment-methods__method-card {
  background-color: #1A202C; /* Dark background for cards */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.page-payment-methods__method-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__method-icon {
  width: 100%; /* Ensure image fills card width */
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 25px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-payment-methods__method-title {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
}

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

.page-payment-methods__method-features {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
  text-align: left;
}

.page-payment-methods__method-features li {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 8px;
}

.page-payment-methods__feature-icon {
  color: #FFD700;
  font-size: 20px;
  margin-right: 10px;
}

.page-payment-methods__method-button {
  display: block;
  width: calc(100% - 40px); /* Adjust for padding */
  margin: 0 auto;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Withdrawal Section */
.page-payment-methods__withdrawal-section {
  padding: 80px 0;
  background-color: #1A202C;
  color: #ffffff;
}

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

.page-payment-methods__step-item {
  text-align: center;
  padding: 25px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__step-number {
  font-size: 48px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
  line-height: 1;
}

.page-payment-methods__step-title {
  font-size: 22px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 10px;
}

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

.page-payment-methods__cta-center {
  text-align: center;
  margin-top: 50px;
}

/* Security Section */
.page-payment-methods__security-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-payment-methods__feature-card {
  background-color: #1A202C;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

.page-payment-methods__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__feature-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 25px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-payment-methods__feature-title {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
}

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

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

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

.page-payment-methods__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: #2b3341; /* Slightly lighter dark background */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  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: #3a4454;
  border-color: rgba(255, 255, 255, 0.2);
}

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

.page-payment-methods__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  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 '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;
  background: #2b3341; /* Match question background for consistency */
  border-top: none;
  border-radius: 0 0 8px 8px;
  color: #e0e0e0;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
  max-height: 1000px !important; /* Sufficiently large for content */
  padding: 20px 25px !important;
  opacity: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: none;
}

.page-payment-methods__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

/* Call to Action Bottom Section */
.page-payment-methods__cta-bottom {
  padding: 80px 0;
  background-color: #0a0a0a;
  text-align: center;
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__main-title {
    font-size: 42px;
  }
  .page-payment-methods__hero-description {
    font-size: 18px;
  }
  .page-payment-methods__section-title {
    font-size: 32px;
  }
  .page-payment-methods__section-description {
    font-size: 16px;
  }
  .page-payment-methods__method-icon,
  .page-payment-methods__feature-img {
    
  }
}

@media (max-width: 768px) {
  .page-payment-methods {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-payment-methods__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important;
    min-height: 400px;
  }
  .page-payment-methods__hero-container {
    padding: 0 15px;
  }
  .page-payment-methods__main-title {
    font-size: 36px;
    margin-bottom: 15px;
  }
  .page-payment-methods__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 25px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-payment-methods__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .page-payment-methods__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-payment-methods__deposit-section,
  .page-payment-methods__withdrawal-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-bottom {
    padding: 50px 0;
  }
  .page-payment-methods__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-payment-methods__methods-grid,
  .page-payment-methods__withdrawal-steps,
  .page-payment-methods__security-features {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-payment-methods__method-card,
  .page-payment-methods__feature-card {
    padding: 25px;
  }
  .page-payment-methods__method-icon,
  .page-payment-methods__feature-img {
    
    min-width: 200px !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
  .page-payment-methods__method-title,
  .page-payment-methods__feature-title {
    font-size: 20px;
  }
  .page-payment-methods__method-description,
  .page-payment-methods__feature-description {
    font-size: 15px;
  }
  .page-payment-methods__method-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-payment-methods__step-number {
    font-size: 40px;
  }
  .page-payment-methods__step-title {
    font-size: 18px;
  }
  .page-payment-methods__step-description {
    font-size: 15px;
  }
  .page-payment-methods__faq-question {
    padding: 18px 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: 18px 20px !important;
  }
  .page-payment-methods__faq-answer p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__main-title {
    font-size: 32px;
  }
  .page-payment-methods__hero-description {
    font-size: 15px;
  }
  .page-payment-methods__cta-button {
    font-size: 15px;
    padding: 10px 20px;
  }
  .page-payment-methods__section-title {
    font-size: 24px;
  }
  .page-payment-methods__section-description {
    font-size: 14px;
  }
  .page-payment-methods__method-icon,
  .page-payment-methods__feature-img {
    
  }
  .page-payment-methods__method-title,
  .page-payment-methods__feature-title {
    font-size: 18px;
  }
  .page-payment-methods__step-title {
    font-size: 16px;
  }
}