/* style/payment-methods.css */

/* Base styles for the payment methods page */
.page-payment-methods {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

.page-payment-methods__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-payment-methods__light-bg {
  background-color: #1a1a1a; /* Slightly lighter for contrast sections */
  color: #f0f0f0;
}

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

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  text-align: center;
  overflow: hidden;
}

.page-payment-methods__video-container {
  width: 100%;
  max-width: 100%;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-bottom: 40px;
}

.page-payment-methods__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.page-payment-methods__hero-content {
  z-index: 1;
  position: relative; /* Ensure content is above video */
  max-width: 900px;
  padding: 0 20px;
}

.page-payment-methods__main-title {
  font-size: clamp(2.5rem, 5vw, 3.2rem); /* Flexible H1 font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-payment-methods__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-payment-methods__cta-buttons {
  display: flex;
  gap: 15px;
  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;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* For responsive buttons */
  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: #1e87b8;
  transform: translateY(-2px);
}

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

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

.page-payment-methods__btn-login {
  background-color: #EA7C07;
  border-color: #EA7C07;
  color: #ffffff;
}

.page-payment-methods__btn-login:hover {
  background-color: #cc6a00;
  border-color: #cc6a00;
}

.page-payment-methods__btn-register {
  background-color: #26A9E0;
  border-color: #26A9E0;
  color: #ffffff;
}

.page-payment-methods__btn-register:hover {
  background-color: #1e87b8;
  border-color: #1e87b8;
}

.page-payment-methods__btn-large {
  padding: 16px 35px;
  font-size: 1.1rem;
}

/* Section Titles */
.page-payment-methods__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
  padding-top: 40px;
}

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

/* Methods Grid */
.page-payment-methods__methods-section {
  padding: 80px 0;
}

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

.page-payment-methods__method-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.page-payment-methods__method-icon {
  width: 100%;
  height: auto;
  max-height: 200px; /* Limit height for consistency */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block; /* Ensure it behaves as a block element */
}

.page-payment-methods__method-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

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

.page-payment-methods__card-btn {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.page-payment-methods__card-btn:hover {
  background-color: #1e87b8;
}

/* Process Sections (Deposit/Withdrawal) */
.page-payment-methods__process-section {
  padding: 80px 0;
}

.page-payment-methods__process-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

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

.page-payment-methods__process-list li strong {
  color: #26A9E0;
  font-size: 1.2rem;
  display: block;
  margin-bottom: 10px;
}

.page-payment-methods__process-list li p {
  margin: 0;
  color: #e0e0e0;
}

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

/* Security Section */
.page-payment-methods__security-section {
  padding: 80px 0;
  text-align: center;
}

.page-payment-methods__security-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.12);
  color: #26A9E0;
  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.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
  content: '−';
}

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

/* Bottom CTA Section */
.page-payment-methods__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-payment-methods__hero-content {
    max-width: 768px;
  }
  .page-payment-methods__main-title {
    font-size: clamp(2.2rem, 6vw, 2.8rem);
  }
  .page-payment-methods__section-title {
    font-size: clamp(1.6rem, 5vw, 2.4rem);
  }
}

@media (max-width: 768px) {
  .page-payment-methods {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-payment-methods__hero-section {
    padding: 10px 0 40px 0; /* Adjust padding for mobile */
  }

  .page-payment-methods__video-container {
    margin-bottom: 20px;
  }

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

  .page-payment-methods__hero-description {
    font-size: 1rem;
  }

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

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary,
  .page-payment-methods a[class*="button"],
  .page-payment-methods a[class*="btn"] {
    max-width: 100% !important;
    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__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;
    flex-wrap: wrap !important;
    gap: 10px;
    overflow: hidden !important;
  }

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

  .page-payment-methods__text-block {
    font-size: 0.95rem;
  }

  .page-payment-methods__methods-section,
  .page-payment-methods__process-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-bottom-section {
    padding: 40px 0;
  }

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

  .page-payment-methods__method-icon {
    max-height: 150px;
  }

  .page-payment-methods__method-title {
    font-size: 1.3rem;
  }

  .page-payment-methods__process-list li {
    padding: 15px;
  }

  .page-payment-methods__process-list li strong {
    font-size: 1.1rem;
  }

  .page-payment-methods__security-image {
    margin-top: 30px;
  }

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

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

  /* Image responsive rules for content area */
  .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;
    overflow: hidden !important;
  }

  .page-payment-methods__video-section {
    padding-top: 10px !important;
  }

  .page-payment-methods video,
  .page-payment-methods__video {
    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 {
    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-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

}