/* style/support.css */
/* body 已 padding-top: var(--header-offset)；页面禁止再写该变量 */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

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

.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  background-color: #08160F;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-support__hero-content {
  max-width: 800px;
}

.page-support__hero-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-support__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-support__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-support__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background-color: #11271B; /* Card BG */
  color: #57E38D; /* Glow */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
  cursor: pointer;
}

.page-support__btn-secondary:hover {
  background-color: #2E7A4E; /* Border */
  color: #F2FFF6; /* Text Main */
  transform: translateY(-2px);
}

.page-support__btn-link {
  color: #57E38D; /* Glow */
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-support__btn-link:hover {
  color: #F2C14E; /* Gold */
}

.page-support__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-support__section-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__contact-channels-section,
.page-support__faq-section,
.page-support__transaction-support-section,
.page-support__technical-support-section,
.page-support__responsible-gaming-section,
.page-support__why-choose-section,
.page-support__cta-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

.page-support__channels-grid,
.page-support__content-grid,
.page-support__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-support__channel-card,
.page-support__feature-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
}

.page-support__channel-card:hover,
.page-support__feature-card:hover {
  transform: translateY(-5px);
}

.page-support__channel-icon,
.page-support__feature-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-support__channel-title,
.page-support__feature-card h3 {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-support__channel-text,
.page-support__feature-card p {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-support__phone-number {
  font-size: 1.2em;
  font-weight: bold;
  color: #F2C14E; /* Gold */
}

.page-support__faq-list {
  margin-bottom: 40px;
}

.page-support__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green */
  transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
  background-color: #13994A;
}

.page-support__faq-item[open] .page-support__faq-question {
  background-color: #13994A;
}

.page-support__faq-qtext {
  flex-grow: 1;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #57E38D; /* Glow */
}

.page-support__faq-answer {
  padding: 20px 30px;
  color: #A7D9B8; /* Text Secondary */
  background-color: #11271B; /* Card BG */
  border-top: 1px solid #2E7A4E; /* Border */
}

.page-support__faq-answer p {
  margin-bottom: 10px;
}

.page-support__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-support__faq-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__content-block h3 {
  font-size: 1.8em;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
}

.page-support__content-block ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-support__content-block li {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-support__content-block li::before {
  content: '✔️';
  position: absolute;
  left: 0;
  color: #57E38D; /* Glow */
}

.page-support__content-block p {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 15px;
}

.page-support__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.page-support__content-grid.reverse-order {
  grid-template-areas: "image text";
}

.page-support__content-grid.reverse-order .page-support__content-block:first-child {
  grid-area: image;
}

.page-support__content-grid.reverse-order .page-support__content-block:last-child {
  grid-area: text;
}

.page-support__cta-section {
  text-align: center;
  padding: 100px 20px;
  background-color: #0A4B2C; /* Deep Green */
}

.page-support__cta-title {
  font-size: 3em;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
}

.page-support__cta-description {
  font-size: 1.2em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-support__content-grid {
    grid-template-columns: 1fr;
    grid-template-areas: unset;
  }
  .page-support__content-grid.reverse-order .page-support__content-block:first-child,
  .page-support__content-grid.reverse-order .page-support__content-block:last-child {
    grid-area: unset;
  }
  .page-support__content-grid.reverse-order {
    flex-direction: column;
  }
}

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

  .page-support__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-support__hero-title {
    font-size: 2em; /* Adjusted for mobile */
  }

  .page-support__hero-description {
    font-size: 1em;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support a[class*="button"],
  .page-support 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-support__cta-buttons,
  .page-support__button-group,
  .page-support__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;
  }

  .page-support__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  .page-support__section-title {
    font-size: 2em;
  }

  .page-support__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-support__contact-channels-section,
  .page-support__faq-section,
  .page-support__transaction-support-section,
  .page-support__technical-support-section,
  .page-support__responsible-gaming-section,
  .page-support__why-choose-section,
  .page-support__cta-section {
    padding: 50px 0;
  }

  .page-support__channels-grid,
  .page-support__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-support__channel-card,
  .page-support__feature-card {
    padding: 20px;
  }

  .page-support__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-support__faq-answer {
    padding: 15px 20px;
  }

  .page-support__cta-title {
    font-size: 2.2em;
  }

  .page-support__cta-description {
    font-size: 1em;
  }

  /* Mobile image responsiveness */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-support__section,
  .page-support__card,
  .page-support__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-support__hero-section {
    padding-top: 10px !important; /* body đã xử lý --header-offset */
  }

  /* Ensure content area images are not too small */
  .page-support__channel-icon,
  .page-support__feature-icon {
    max-width: 150px;
    height: auto;
  }

  .page-support__faq-image,
  .page-support__content-image {
    min-width: 200px;
    min-height: 150px;
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 1.8em;
  }
  .page-support__section-title,
  .page-support__cta-title {
    font-size: 1.8em;
  }
}