/* style/support.css */
/* body đã padding-top: var(--header-offset) từ shared.css, không lặp lại ở đây */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* 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;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background: linear-gradient(180deg, rgba(255,165,58,0.1) 0%, rgba(13,14,18,1) 100%);
  overflow: hidden;
}

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

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-support__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.page-support__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
  color: #FFB04D; /* Glow */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-support__description {
  font-size: 1.15rem;
  color: #FFF3E6;
  margin-bottom: 30px;
}

.page-support__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); /* Responsive font size */
  color: #FFB04D; /* Glow */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-support__intro-section,
.page-support__responsible-gambling {
  padding: 60px 0;
  background-color: #0D0E12; /* Background */
  color: #FFF3E6; /* Text Main */
}

.page-support__faq-section,
.page-support__contact-section,
.page-support__why-choose-us,
.page-support__explore-more {
  padding: 60px 0;
  background-color: #17191F; /* Card BG */
  color: #FFF3E6; /* Text Main */
}

.page-support__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #FFF3E6;
}

.page-support__text-block a {
  color: #FFA53A;
  text-decoration: underline;
}

/* FAQ Styles */
.page-support__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-support__faq-item {
  background-color: #0D0E12; /* Background */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 8px;
  padding: 20px;
  transition: all 0.3s ease;
}

.page-support__faq-item[open] {
  background-color: rgba(255, 165, 58, 0.1);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: bold;
  color: #FFA53A;
  cursor: pointer;
  list-style: none;
}

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

.page-support__faq-qtext {
  flex-grow: 1;
  padding-right: 15px;
}

.page-support__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #FFF3E6;
}

.page-support__faq-answer {
  font-size: 0.95rem;
  color: #FFF3E6;
  padding-top: 15px;
  line-height: 1.6;
}

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

/* Contact Section */
.page-support__contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-support__contact-card {
  background-color: #0D0E12; /* Background */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-support__contact-icon {
  width: 200px; /* Min size 200x200 */
  height: 150px; /* Maintain aspect ratio with object-fit */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 4px;
}

.page-support__card-title {
  font-size: 1.3rem;
  color: #FFB04D; /* Glow */
  margin-bottom: 15px;
}

.page-support__contact-card p {
  font-size: 0.95rem;
  color: #FFF3E6;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Why Choose Us Section */
.page-support__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-support__feature-item {
  background-color: #0D0E12; /* Background */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 8px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support__feature-icon {
  width: 200px; /* Min size 200x200 */
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 4px;
}

.page-support__feature-title {
  font-size: 1.2rem;
  color: #FFA53A;
  margin-bottom: 10px;
}

.page-support__feature-item p {
  font-size: 0.9rem;
  color: #FFF3E6;
}

/* Explore More Section */
.page-support__links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.page-support__link-card {
  display: block;
  background-color: #0D0E12; /* Background */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: bold;
  color: #FFA53A;
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-support__link-card:hover {
  background-color: rgba(255, 165, 58, 0.1);
  border-color: #FFA53A;
}

/* Buttons */
.page-support__cta-button,
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button */
  color: #FFF3E6;
  border: none;
}

.page-support__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-support__btn-secondary {
  background-color: transparent;
  color: #FFA53A;
  border: 2px solid #FFA53A;
}

.page-support__btn-secondary:hover {
  background-color: rgba(255, 165, 58, 0.1);
  color: #FFF3E6;
}

.page-support__mt-40 {
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__hero-content {
    max-width: 700px;
  }
}

@media (max-width: 768px) {
  .page-support__container {
    padding: 0 15px;
  }

  .page-support__hero-section {
    padding-bottom: 40px;
  }

  .page-support__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-support__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-support__description {
    font-size: 1rem;
  }

  .page-support__section-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-support__intro-section,
  .page-support__faq-section,
  .page-support__contact-section,
  .page-support__responsible-gambling,
  .page-support__why-choose-us,
  .page-support__explore-more {
    padding: 40px 0;
  }

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

  .page-support__contact-icon,
  .page-support__feature-icon {
    width: 200px;
    height: 150px;
  }

  /* Mobile image responsiveness */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-support__hero-image-wrapper,
  .page-support__contact-card,
  .page-support__feature-item,
  .page-support__link-card,
  .page-support__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile button responsiveness */
  .page-support__cta-button,
  .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;
    overflow: hidden !important;
  }
  .page-support__hero-section {
    padding-top: 10px !important; /* body đã xử lý padding-top, đây chỉ là khoảng cách nhỏ */
  }
}

@media (max-width: 480px) {
  .page-support__main-title {
    font-size: clamp(1.5rem, 9vw, 2.2rem);
  }

  .page-support__description {
    font-size: 0.95rem;
  }

  .page-support__section-title {
    font-size: clamp(1.4rem, 8vw, 2rem);
  }

  .page-support__cta-button,
  .page-support__btn-primary,
  .page-support__btn-secondary {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}