/* Base styles for the page */
.page-phuong-thuc-thanh-toan {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark text for light body background */
  background-color: #f8f9fa;
}

.page-phuong-thuc-thanh-toan__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-phuong-thuc-thanh-toan__section {
  padding: 40px 0;
  margin-bottom: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-phuong-thuc-thanh-toan__section:nth-child(even) {
  background-color: #fdfdfd;
}

.page-phuong-thuc-thanh-toan__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.page-phuong-thuc-thanh-toan__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

/* Hero Section */
.page-phuong-thuc-thanh-toan__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, main padding handled by body */
  margin-bottom: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 400px;
  background-color: #26A9E0; /* Fallback background */
}

.page-phuong-thuc-thanh-toan__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  max-height: 500px;
}

.page-phuong-thuc-thanh-toan__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  color: #FFFFFF;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin-top: 20px;
  margin-bottom: 20px;
}

.page-phuong-thuc-thanh-toan__main-title {
  font-size: 3.2em;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  color: #FFFFFF;
}

.page-phuong-thuc-thanh-toan__hero-description {
  font-size: 1.3em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* CTA Buttons */
.page-phuong-thuc-thanh-toan__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-phuong-thuc-thanh-toan__cta-center {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-phuong-thuc-thanh-toan__btn-primary,
.page-phuong-thuc-thanh-toan__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* For button responsiveness */
  white-space: normal;
  word-wrap: break-word;
}

.page-phuong-thuc-thanh-toan__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-phuong-thuc-thanh-toan__btn-primary:hover {
  background-color: #1a8cc7;
  border-color: #1a8cc7;
  transform: translateY(-2px);
}

.page-phuong-thuc-thanh-toan__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-phuong-thuc-thanh-toan__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1a8cc7;
  border-color: #1a8cc7;
  transform: translateY(-2px);
}

/* Specific button colors */
.page-phuong-thuc-thanh-toan a[href*="login.html"].page-phuong-thuc-thanh-toan__btn-primary,
.page-phuong-thuc-thanh-toan a[href*="register.html"].page-phuong-thuc-thanh-toan__btn-primary,
.page-phuong-thuc-thanh-toan a[href*="ads.win2026vn.com"].page-phuong-thuc-thanh-toan__btn-primary {
  background-color: #EA7C07;
  border-color: #EA7C07;
  color: #FFFFFF;
}

.page-phuong-thuc-thanh-toan a[href*="login.html"].page-phuong-thuc-thanh-toan__btn-primary:hover,
.page-phuong-thuc-thanh-toan a[href*="register.html"].page-phuong-thuc-thanh-toan__btn-primary:hover,
.page-phuong-thuc-thanh-toan a[href*="ads.win2026vn.com"].page-phuong-thuc-thanh-toan__btn-primary:hover {
  background-color: #cc6a00;
  border-color: #cc6a00;
}

/* Method Grid (Deposit/Withdrawal) */
.page-phuong-thuc-thanh-toan__method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-phuong-thuc-thanh-toan__card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-phuong-thuc-thanh-toan__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-phuong-thuc-thanh-toan__card-title {
  font-size: 1.8em;
  color: #26A9E0;
  padding: 20px;
  margin-bottom: 0;
  font-weight: 700;
  border-bottom: 1px solid #e0e0e0;
}

.page-phuong-thuc-thanh-toan__card-content {
  padding: 20px;
  flex-grow: 1;
}

.page-phuong-thuc-thanh-toan__card-content h4 {
  color: #333333;
  font-size: 1.2em;
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-phuong-thuc-thanh-toan__card-content ul,
.page-phuong-thuc-thanh-toan__card-content ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-phuong-thuc-thanh-toan__card-content li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* General Process Section */
.page-phuong-thuc-thanh-toan__process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-phuong-thuc-thanh-toan__step-item {
  background-color: #f0f8ff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #26A9E0;
}

.page-phuong-thuc-thanh-toan__step-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: 600;
}

/* Important Notes Section */
.page-phuong-thuc-thanh-toan__important-notes .page-phuong-thuc-thanh-toan__container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-phuong-thuc-thanh-toan__notes-content {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
}

.page-phuong-thuc-thanh-toan__notes-image {
  flex-shrink: 0;
  width: 400px;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-phuong-thuc-thanh-toan__notes-list {
  list-style-type: disc;
  margin-left: 25px;
  flex-grow: 1;
}

.page-phuong-thuc-thanh-toan__notes-list li {
  margin-bottom: 12px;
  line-height: 1.7;
  font-size: 1.1em;
  color: #444444;
}

.page-phuong-thuc-thanh-toan__notes-list li strong {
  color: #26A9E0;
}

/* FAQ Section */
.page-phuong-thuc-thanh-toan__faq-list {
  margin-top: 30px;
}

.page-phuong-thuc-thanh-toan__faq-item {
  background-color: #f0f8ff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-phuong-thuc-thanh-toan__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #e6f7ff;
  border-bottom: 1px solid #d0e9f7;
  list-style: none; /* Hide default marker for <summary> */
}

.page-phuong-thuc-thanh-toan__faq-question::-webkit-details-marker {
  display: none;
}

.page-phuong-thuc-thanh-toan__faq-qtext {
  flex-grow: 1;
  color: #26A9E0;
}

.page-phuong-thuc-thanh-toan__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-phuong-thuc-thanh-toan__faq-item[open] .page-phuong-thuc-thanh-toan__faq-toggle {
  transform: rotate(45deg);
}

.page-phuong-thuc-thanh-toan__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1.05em;
  line-height: 1.6;
  color: #555555;
  background-color: #fdfdfd;
}

/* Final CTA Section */
.page-phuong-thuc-thanh-toan__final-cta {
  padding: 60px 0;
  text-align: center;
}

.page-phuong-thuc-thanh-toan__dark-section {
  background-color: #26A9E0; /* Brand primary color */
  color: #FFFFFF; /* White text for dark background */
}

.page-phuong-thuc-thanh-toan__dark-section .page-phuong-thuc-thanh-toan__section-title {
  color: #FFFFFF;
}

.page-phuong-thuc-thanh-toan__dark-section .page-phuong-thuc-thanh-toan__text-block {
  color: #e0f2f7;
}

/* General link styling */
.page-phuong-thuc-thanh-toan a {
  color: #26A9E0;
  text-decoration: none;
}

.page-phuong-thuc-thanh-toan a:hover {
  text-decoration: underline;
}

/* Image responsiveness */
.page-phuong-thuc-thanh-toan img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-phuong-thuc-thanh-toan__container {
    padding: 15px;
  }

  .page-phuong-thuc-thanh-toan__section-title {
    font-size: 2em;
  }

  .page-phuong-thuc-thanh-toan__main-title {
    font-size: 2.8em;
  }

  .page-phuong-thuc-thanh-toan__hero-description {
    font-size: 1.2em;
  }

  .page-phuong-thuc-thanh-toan__method-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }

  .page-phuong-thuc-thanh-toan__process-steps {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
  }

  .page-phuong-thuc-thanh-toan__important-notes .page-phuong-thuc-thanh-toan__container {
    flex-direction: column;
    align-items: center;
  }

  .page-phuong-thuc-thanh-toan__notes-content {
    flex-direction: column;
    gap: 20px;
  }

  .page-phuong-thuc-thanh-toan__notes-image {
    width: 100%;
    max-width: 500px;
    height: auto;
  }

  .page-phuong-thuc-thanh-toan__notes-list {
    margin-left: 0;
    padding-left: 20px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-phuong-thuc-thanh-toan__hero-section {
    padding-top: 10px; /* Consistent small top padding */
    min-height: 350px;
  }

  .page-phuong-thuc-thanh-toan__hero-image {
    max-height: 400px;
  }

  .page-phuong-thuc-thanh-toan__hero-content {
    padding: 30px 15px;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .page-phuong-thuc-thanh-toan__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-phuong-thuc-thanh-toan__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-phuong-thuc-thanh-toan__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  /* 所有按钮和按钮容器的移动端强制适配 */
  .page-phuong-thuc-thanh-toan__btn-primary,
  .page-phuong-thuc-thanh-toan__btn-secondary,
  .page-phuong-thuc-thanh-toan a[class*="button"],
  .page-phuong-thuc-thanh-toan 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-phuong-thuc-thanh-toan__cta-buttons,
  .page-phuong-thuc-thanh-toan__button-group,
  .page-phuong-thuc-thanh-toan__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important; /* Ensure buttons wrap if multiple */
    gap: 10px;
  }

  .page-phuong-thuc-thanh-toan__section {
    padding: 30px 0;
  }

  .page-phuong-thuc-thanh-toan__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  .page-phuong-thuc-thanh-toan__text-block {
    font-size: 1em;
  }

  /* 通用图片与容器 */
  .page-phuong-thuc-thanh-toan img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-phuong-thuc-thanh-toan__container,
  .page-phuong-thuc-thanh-toan__card,
  .page-phuong-thuc-thanh-toan__section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-phuong-thuc-thanh-toan__method-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-phuong-thuc-thanh-toan__card-image {
    height: 200px;
  }

  .page-phuong-thuc-thanh-toan__card-title {
    font-size: 1.5em;
    padding: 15px;
  }

  .page-phuong-thuc-thanh-toan__card-content {
    padding: 15px;
  }

  .page-phuong-thuc-thanh-toan__process-steps {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-phuong-thuc-thanh-toan__notes-image {
    width: 100%;
    height: auto;
  }

  .page-phuong-thuc-thanh-toan__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-phuong-thuc-thanh-toan__faq-answer {
    padding: 10px 20px 15px;
    font-size: 1em;
  }

  .page-phuong-thuc-thanh-toan__final-cta {
    padding: 40px 0;
  }

  /* 长文金框区 - N/A for this page, but if it existed, it would be here */
  /* 游戏轮播 - N/A for this page, but if it existed, it would be here */
  /* 合作品牌六宫格 - N/A for this page, but if it existed, it would be here */
  /* 博客卡片区 - N/A for this page, but if it existed, it would be here */
}

@media (max-width: 480px) {
  .page-phuong-thuc-thanh-toan__main-title {
    font-size: 1.8em;
  }

  .page-phuong-thuc-thanh-toan__hero-description {
    font-size: 0.95em;
  }

  .page-phuong-thuc-thanh-toan__btn-primary,
  .page-phuong-thuc-thanh-toan__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-phuong-thuc-thanh-toan__section-title {
    font-size: 1.5em;
  }

  .page-phuong-thuc-thanh-toan__card-title {
    font-size: 1.3em;
  }
}