/* style/support.css */
/* body đã có padding-top: var(--header-offset) từ shared.css, không lặp lại tại đây */

.page-support {
  background-color: #08160F; /* Nền tối */
  color: #F2FFF6; /* Chữ sáng cho nền tối */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-support__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  padding-top: 10px; /* Small decorative top margin */
  text-align: center;
  background-color: #0A4B2C; /* Deep Green for hero section background */
  border-bottom: 1px solid #1E3A2A;
}

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

.page-support__main-title {
  color: #F2C14E; /* Gold for main title */
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

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

.page-support__hero-image-container {
  width: 100%;
  max-width: 100%; /* Ensure it takes full width of its parent */
  overflow: hidden;
  box-sizing: border-box;
}

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

/* Section Titles and Descriptions */
.page-support__section-title {
  color: #F2C14E; /* Gold for section titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.3;
}

.page-support__section-description {
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.05em;
}

.page-support__sub-title {
  color: #F2FFF6; /* Text Main */
  font-size: 1.6em;
  margin-top: 30px;
  margin-bottom: 15px;
}

/* Buttons */
.page-support__btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main for button text */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-support__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-support__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #57E38D; /* Glow for secondary button text */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid #57E38D; /* Glow for secondary button border */
  cursor: pointer;
  text-align: center;
}

.page-support__btn-secondary:hover {
  background-color: #57E38D;
  color: #08160F; /* Background color for hover text */
}

/* FAQ Section */
.page-support__faq-section {
  padding: 60px 0;
  background-color: #08160F;
}

.page-support__faq-list {
  margin-top: 40px;
  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;
  color: #F2FFF6;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  color: #F2FFF6; /* Text Main */
  user-select: none;
  background-color: #11271B; /* Card BG */
  transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
  background-color: #1E3A2A; /* Slightly darker on hover */
}

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

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

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

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

.page-support__faq-item[open] .page-support__faq-toggle {
  content: '−';
}

.page-support__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: #A7D9B8; /* Text Secondary */
}

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

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

/* Contact Section */
.page-support__contact-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green for contact section */
  border-top: 1px solid #1E3A2A;
  border-bottom: 1px solid #1E3A2A;
}

.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: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-support__card-title {
  color: #F2C14E; /* Gold for card titles */
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-support__card-text {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-support__contact-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Responsible Gambling Section */
.page-support__responsible-gambling-section {
  padding: 60px 0;
  background-color: #08160F;
}

.page-support__responsible-gambling-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-support__responsible-gambling-content .page-support__text-block {
  flex: 1;
  text-align: left;
}

.page-support__list {
  list-style-type: disc;
  margin-left: 20px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-support__list li {
  margin-bottom: 10px;
}

.page-support__responsible-gambling-image {
  flex: 0 0 600px; /* Fixed width for desktop */
  width: 600px;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Technical Support Section */
.page-support__technical-support-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green */
  border-top: 1px solid #1E3A2A;
}

.page-support__technical-support-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-support__technical-support-content .page-support__text-block {
  flex: 1;
  text-align: left;
}

.page-support__technical-support-image {
  flex: 0 0 800px; /* Fixed width for desktop */
  width: 800px;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Feedback Section */
.page-support__feedback-section {
  padding: 60px 0;
  background-color: #08160F;
}

.page-support__feedback-form {
  max-width: 700px;
  margin: 40px auto 0 auto;
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-support__form-group {
  margin-bottom: 20px;
}

.page-support__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
}

.page-support__form-input,
.page-support__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 5px;
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
  font-size: 1em;
  box-sizing: border-box;
}

.page-support__form-input::placeholder,
.page-support__form-textarea::placeholder {
  color: #A7D9B8; /* Text Secondary */
  opacity: 0.7;
}

.page-support__form-textarea {
  resize: vertical;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-support__hero-section {
    flex-direction: column-reverse; /* Image on top for smaller screens */
  }
  .page-support__hero-content {
    margin-bottom: 20px;
  }
  .page-support__responsible-gambling-content,
  .page-support__technical-support-content {
    flex-direction: column; /* Stack content vertically */
    text-align: center;
  }
  .page-support__responsible-gambling-content .page-support__text-block,
  .page-support__technical-support-content .page-support__text-block {
    text-align: center;
  }
  .page-support__responsible-gambling-image,
  .page-support__technical-support-image {
    order: -1; /* Image appears first */
    margin-bottom: 30px;
    width: 100%;
    flex: none;
  }
  .page-support__list {
    margin-left: 0;
    padding-left: 20px;
    text-align: left;
  }
  .page-support__sub-title {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section,
  .page-support__faq-section,
  .page-support__contact-section,
  .page-support__responsible-gambling-section,
  .page-support__technical-support-section,
  .page-support__feedback-section {
    padding: 30px 0 !important;
  }

  .page-support__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

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

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

  .page-support__sub-title {
    font-size: 1.4em;
  }

  /* Image Responsive */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-support__hero-image-container,
  .page-support__faq-image,
  .page-support__contact-image,
  .page-support__responsible-gambling-image,
  .page-support__technical-support-image,
  .page-support__contact-card,
  .page-support__feedback-form,
  .page-support__contact-methods {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0 !important; /* Reset padding for these elements */
    padding-right: 0 !important; /* Reset padding for these elements */
  }

  /* Button Responsive */
  .page-support__btn-primary,
  .page-support__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-bottom: 15px; /* Add space between stacked buttons */
  }

  .page-support__contact-card a.page-support__btn-primary,
  .page-support__contact-card a.page-support__btn-secondary {
    margin-left: 0;
    margin-right: 0;
  }

  .page-support__contact-methods {
    grid-template-columns: 1fr; /* Stack contact cards */
  }

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