/* style/phuong-thuc-thanh-toan.css */

:root {
  --n188-primary-color: #FF8C1A;
  --n188-secondary-color: #FFA53A;
  --n188-card-bg: #17191F;
  --n188-background: #0D0E12;
  --n188-text-main: #FFF3E6;
  --n188-border: #A84F0C;
  --n188-glow: #FFB04D;
  --n188-deep-orange: #D96800;
}

.page-phuong-thuc-thanh-toan {
  color: var(--n188-text-main); /* Ensure text is visible on dark body background */
  background-color: var(--n188-background); /* Consistent with body background */
}

.page-phuong-thuc-thanh-toan__hero-section {
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
  padding-bottom: 40px;
  background: var(--n188-background);
  color: var(--n188-text-main);
}

.page-phuong-thuc-thanh-toan__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center; /* Center content on desktop */
  padding: 40px 16px;
  gap: 40px;
}

.page-phuong-thuc-thanh-toan__hero-image {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
  order: 2; /* Image below text on mobile, above on desktop */
}

.page-phuong-thuc-thanh-toan__hero-main-img {
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-phuong-thuc-thanh-toan__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  order: 1;
  text-align: left;
}

.page-phuong-thuc-thanh-toan__hero-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--n188-secondary-color);
}

.page-phuong-thuc-thanh-toan__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--n188-text-main);
}

.page-phuong-thuc-thanh-toan__hero-cta-buttons,
.page-phuong-thuc-thanh-toan__bottom-cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-phuong-thuc-thanh-toan__btn-primary,
.page-phuong-thuc-thanh-toan__btn-secondary {
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-phuong-thuc-thanh-toan__btn-primary {
  background: linear-gradient(180deg, var(--n188-secondary-color) 0%, var(--n188-deep-orange) 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-phuong-thuc-thanh-toan__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-phuong-thuc-thanh-toan__btn-secondary {
  background-color: transparent;
  color: var(--n188-secondary-color);
  border: 2px solid var(--n188-secondary-color);
}

.page-phuong-thuc-thanh-toan__btn-secondary:hover {
  background-color: var(--n188-secondary-color);
  color: #ffffff;
}

.page-phuong-thuc-thanh-toan__content-area {
  max-width: 1170px;
  margin: 0 auto;
  padding: 60px 16px;
  background-color: var(--n188-background);
  color: var(--n188-text-main);
}

.page-phuong-thuc-thanh-toan__section-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: var(--n188-secondary-color);
}

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

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

.page-phuong-thuc-thanh-toan__method-card {
  background-color: var(--n188-card-bg);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid var(--n188-border);
  transition: transform 0.3s ease;
}

.page-phuong-thuc-thanh-toan__method-card:hover {
  transform: translateY(-5px);
}

.page-phuong-thuc-thanh-toan__method-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

.page-phuong-thuc-thanh-toan__method-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--n188-secondary-color);
}

.page-phuong-thuc-thanh-toan__method-text {
  font-size: 1em;
  line-height: 1.6;
  color: var(--n188-text-main);
}

.page-phuong-thuc-thanh-toan__list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-phuong-thuc-thanh-toan__list-item {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: var(--n188-text-main);
}

.page-phuong-thuc-thanh-toan__list-item::before {
  content: '✓';
  color: var(--n188-secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-phuong-thuc-thanh-toan__faq-section {
  padding-bottom: 80px;
}

.page-phuong-thuc-thanh-toan__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-phuong-thuc-thanh-toan__faq-item {
  background-color: var(--n188-card-bg);
  border: 1px solid var(--n188-border);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-phuong-thuc-thanh-toan__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--n188-secondary-color);
  list-style: none; /* Hide default marker */
}

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

.page-phuong-thuc-thanh-toan__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.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: 0 25px 20px;
  font-size: 1.05em;
  line-height: 1.7;
  color: var(--n188-text-main);
}

.page-phuong-thuc-thanh-toan__cta-bottom {
  text-align: center;
  padding-top: 40px;
  padding-bottom: 80px;
}

.page-phuong-thuc-thanh-toan__cta-bottom .page-phuong-thuc-thanh-toan__section-title {
  margin-bottom: 20px;
}

.page-phuong-thuc-thanh-toan__cta-bottom .page-phuong-thuc-thanh-toan__section-description {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

.page-phuong-thuc-thanh-toan__bottom-cta-buttons {
  justify-content: center;
}

/* --- Responsive Styles --- */

@media (max-width: 1024px) {
  .page-phuong-thuc-thanh-toan__hero-container {
    padding: 30px 16px;
    gap: 30px;
  }

  .page-phuong-thuc-thanh-toan__hero-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }

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

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

  .page-phuong-thuc-thanh-toan__content-area {
    padding: 50px 16px;
  }

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

  .page-phuong-thuc-thanh-toan__faq-item summary {
    font-size: 1.1em;
    padding: 18px 20px;
  }
}

@media (max-width: 768px) {
  .page-phuong-thuc-thanh-toan {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-phuong-thuc-thanh-toan__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 30px;
  }

  .page-phuong-thuc-thanh-toan__hero-container {
    flex-direction: column; /* Stack image and text vertically */
    padding: 20px 15px;
    gap: 25px;
  }

  .page-phuong-thuc-thanh-toan__hero-image {
    order: 1; /* Image appears first */
  }

  .page-phuong-thuc-thanh-toan__hero-content {
    order: 2; /* Text appears after image */
    text-align: center;
  }

  .page-phuong-thuc-thanh-toan__hero-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

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

  .page-phuong-thuc-thanh-toan__hero-cta-buttons,
  .page-phuong-thuc-thanh-toan__bottom-cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px; /* Add padding to container */
  }

  .page-phuong-thuc-thanh-toan__btn-primary,
  .page-phuong-thuc-thanh-toan__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 15px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-phuong-thuc-thanh-toan__content-area {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

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

  .page-phuong-thuc-thanh-toan__section-description {
    font-size: 1em;
    text-align: left;
  }

  .page-phuong-thuc-thanh-toan__methods-grid {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
  }

  .page-phuong-thuc-thanh-toan__method-card {
    padding: 20px;
  }

  .page-phuong-thuc-thanh-toan__method-img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-phuong-thuc-thanh-toan__method-title {
    font-size: 1.4em;
  }

  .page-phuong-thuc-thanh-toan__list-item {
    font-size: 1em;
  }

  .page-phuong-thuc-thanh-toan__faq-item summary {
    font-size: 1em;
    padding: 15px 18px;
  }

  .page-phuong-thuc-thanh-toan__faq-answer {
    font-size: 0.95em;
    padding: 0 18px 15px;
  }

  .page-phuong-thuc-thanh-toan img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-phuong-thuc-thanh-toan__section,
  .page-phuong-thuc-thanh-toan__card,
  .page-phuong-thuc-thanh-toan__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* No __icon-box-media, game-tabs, promo, guide, trust, blog sections in this specific page */
}