/* style/support.css */
.page-support {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Matches body background from shared.css */
}

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #017439, #004d2c);
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.page-support__hero-section .page-support__container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.page-support__hero-content {
  flex: 1;
  text-align: left;
  z-index: 1;
}

.page-support__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-support__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-support__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
}

.page-support__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

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

/* Section Titles and Descriptions */
.page-support__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff; /* Default for dark sections */
}

.page-support__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  opacity: 0.9;
}

/* Contact Methods Section */
.page-support__contact-methods {
  padding: 80px 0;
  background-color: #f0f0f0;
  color: #333333;
}

.page-support__contact-methods .page-support__section-title,
.page-support__contact-methods .page-support__section-description {
  color: #333333;
}

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

.page-support__contact-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-support__contact-title {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 15px;
}

.page-support__contact-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-support__contact-image {
  margin-top: 60px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  max-width: 100%;
  height: auto;
  display: block;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 80px 0;
  background-color: #017439;
  color: #ffffff;
}

.page-support__faq-section .page-support__section-title,
.page-support__faq-section .page-support__section-description {
  color: #ffffff;
}

.page-support__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__faq-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.page-support__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-support__faq-title {
  margin: 0;
  color: #ffffff;
  font-size: 1.2em;
}

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

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px 30px;
}

.page-support__faq-item.active .page-support__faq-toggle {
  transform: rotate(45deg);
}

.page-support__faq-image {
  margin-top: 60px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  max-width: 100%;
  height: auto;
  display: block;
}

/* Guides and Resources Section */
.page-support__guides-resources {
  padding: 80px 0;
  background-color: #f0f0f0;
  color: #333333;
}

.page-support__guides-resources .page-support__section-title,
.page-support__guides-resources .page-support__section-description {
  color: #333333;
}

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

.page-support__resource-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-support__resource-title {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 15px;
}

.page-support__resource-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-support__resources-image {
  margin-top: 60px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsible Gaming Section */
.page-support__responsible-gaming {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-support__responsible-gaming .page-support__section-title,
.page-support__responsible-gaming .page-support__section-description {
  color: #ffffff;
}

.page-support__responsible-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
}

.page-support__responsible-item {
  background: rgba(255, 255, 255, 0.08);
  border-left: 5px solid #017439;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-support__responsible-item strong {
  color: #ffffff;
}

.page-support__responsible-image {
  margin-top: 60px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  max-width: 100%;
  height: auto;
  display: block;
}

/* Why Choose Us Section (Customer Service) */
.page-support__why-choose-us {
  padding: 80px 0;
  background-color: #f0f0f0;
  color: #333333;
}

.page-support__why-choose-us .page-support__section-title,
.page-support__why-choose-us .page-support__section-description {
  color: #333333;
}

.page-support__benefits-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
}

.page-support__benefits-item {
  background: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  color: #555555;
  border-left: 4px solid #017439;
}

.page-support__benefits-item strong {
  color: #017439;
}

.page-support__customer-service-image {
  margin-top: 60px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  max-width: 100%;
  height: auto;
  display: block;
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-support__btn-primary {
  background: #C30808; /* Register/Login button background */
  color: #FFFFFF; /* Text color for contrast, overriding #FFFF00 */
  border: 2px solid #C30808;
}

.page-support__btn-primary:hover {
  background: #a30606;
  border-color: #a30606;
}

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

.page-support__btn-secondary:hover {
  background: #ffffff;
  color: #017439;
}

.page-support__btn-link {
  background: #017439;
  color: #ffffff;
  border: 2px solid #017439;
  margin-top: 15px;
}

.page-support__btn-link:hover {
  background: #004d2c;
  border-color: #004d2c;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 2.8em;
  }
  .page-support__section-title {
    font-size: 2em;
  }
  .page-support__hero-section .page-support__container {
    flex-direction: column;
  }
  .page-support__hero-content {
    text-align: center;
    margin-bottom: 40px;
  }
  .page-support__hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
  }
  .page-support__hero-title {
    font-size: 2.2em;
  }
  .page-support__hero-description {
    font-size: 1em;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__section-description {
    font-size: 0.95em;
  }
  .page-support__contact-methods,
  .page-support__faq-section,
  .page-support__guides-resources,
  .page-support__responsible-gaming,
  .page-support__why-choose-us {
    padding: 40px 0;
  }

  .page-support__container {
    padding: 0 15px;
  }

  /* Image and Video Responsive Adaption */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-support__hero-image-wrapper,
  .page-support__contact-item,
  .page-support__resource-item,
  .page-support__responsible-gaming,
  .page-support__why-choose-us,
  .page-support__contact-methods,
  .page-support__faq-section,
  .page-support__guides-resources {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Button Responsive Adaption */
  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support__btn-link,
  .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__hero-buttons,
  .page-support__button-group,
  .page-support__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Stack buttons vertically */
  }

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

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 1.8em;
  }
  .page-support__section-title {
    font-size: 1.5em;
  }
  .page-support__hero-buttons {
    flex-direction: column;
  }
  .page-support__btn-primary,
  .page-support__btn-secondary {
    margin-bottom: 10px;
  }
}