/* style/payment-methods.css */

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

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

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

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

.page-payment-methods__content-area--center {
  text-align: center;
}

.page-payment-methods__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 20px;
  color: #26A9E0;
  text-align: center;
}

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

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

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  margin-bottom: 30px;
}

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

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-payment-methods__main-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-payment-methods__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

.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;
}

/* Advantages Section */
.page-payment-methods__advantages-section {
  padding: 60px 0;
}

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

.page-payment-methods__advantage-card {
  text-align: center;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  background-color: rgba(255, 255, 255, 0.05); /* Semi-transparent white on dark bg */
  color: #ffffff;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-payment-methods__card-icon {
  width: 100%;
  max-width: 250px; /* Adjust max-width for icons */
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
}

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

.page-payment-methods__card-text {
  font-size: 16px;
  color: #f0f0f0;
  flex-grow: 1; /* Allow text to grow */
}

/* Deposit/Withdrawal Methods Sections */
.page-payment-methods__deposit-methods,
.page-payment-methods__withdrawal-methods {
  padding: 60px 0;
}

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

.page-payment-methods__method-card {
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  background-color: rgba(255, 255, 255, 0.05); /* Semi-transparent white */
  color: #ffffff;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-payment-methods__method-card.page-payment-methods__card--dark {
  background-color: rgba(255, 255, 255, 0.08);
}

.page-payment-methods__method-icon {
  width: 100%;
  max-width: 300px; /* Adjust max-width for method icons */
  height: auto;
  margin: 0 auto 20px;
  object-fit: contain;
  display: block;
}

.page-payment-methods__card-list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-payment-methods__card-list li {
  margin-bottom: 10px;
  font-size: 16px;
  color: #f0f0f0;
  position: relative;
  padding-left: 25px;
}

.page-payment-methods__card-list li::before {
  content: '✔';
  color: #26A9E0;
  position: absolute;
  left: 0;
  top: 0;
}

/* General Guide Section */
.page-payment-methods__general-guide {
  padding: 60px 0;
}

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

.page-payment-methods__step-item {
  text-align: center;
  padding: 30px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
}

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

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

.page-payment-methods__step-text {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Important Notes Section */
.page-payment-methods__important-notes {
  padding: 60px 0;
}

.page-payment-methods__notes-list {
  list-style: none;
  padding-left: 0;
  max-width: 800px;
  margin: 0 auto;
}

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

.page-payment-methods__notes-list li strong {
  color: #26A9E0;
}

.page-payment-methods__notes-list li::before {
  content: '⚠';
  color: #EA7C07; /* Orange for warning */
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
}

.page-payment-methods__notes-list li a {
  color: #26A9E0;
  text-decoration: none;
}

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

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

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

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

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none; /* For details summary */
}

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

.page-payment-methods__faq-toggle {
  font-size: 24px;
  font-weight: 600;
  color: #FFFFFF;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
  transform: rotate(45deg);
}

.page-payment-methods__faq-answer {
  padding: 20px;
  font-size: 16px;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.03);
}

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

/* CTA Bottom Section */
.page-payment-methods__cta-bottom {
  padding: 60px 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-payment-methods__hero-section {
    padding-bottom: 40px;
  }

  .page-payment-methods__main-title {
    font-size: clamp(32px, 4.5vw, 48px);
  }

  .page-payment-methods__hero-description {
    font-size: 18px;
  }

  .page-payment-methods__section-title {
    font-size: clamp(26px, 3.5vw, 38px);
  }
}

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

  .page-payment-methods__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-payment-methods__hero-image-wrapper {
    max-height: 400px;
  }

  .page-payment-methods__main-title {
    font-size: clamp(28px, 6vw, 40px);
  }

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

  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
    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;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-payment-methods__advantages-grid,
  .page-payment-methods__method-card-grid,
  .page-payment-methods__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-payment-methods__card-title,
  .page-payment-methods__step-title {
    font-size: 20px;
  }

  .page-payment-methods__card-text,
  .page-payment-methods__card-list li,
  .page-payment-methods__notes-list li,
  .page-payment-methods__faq-question,
  .page-payment-methods__faq-answer {
    font-size: 15px;
  }

  .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,
  .page-payment-methods__hero-section,
  .page-payment-methods__advantages-section,
  .page-payment-methods__deposit-methods,
  .page-payment-methods__withdrawal-methods,
  .page-payment-methods__general-guide,
  .page-payment-methods__important-notes,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-payment-methods__video-section {
    padding-top: 10px !important; /* body đã có padding-top, chỉ cần 10px trang trí */
  }

  .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;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__main-title {
    font-size: clamp(24px, 7vw, 36px);
  }

  .page-payment-methods__section-title {
    font-size: clamp(22px, 5vw, 32px);
  }

  .page-payment-methods__hero-description {
    font-size: 15px;
  }

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    font-size: 15px;
    padding: 10px 15px;
  }
}