/* style/support.css */
.page-support {
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF; /* Explicitly set background for page content area */
  padding-top: var(--header-offset, 120px); /* Ensures content starts below the fixed header */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-support__hero-section {
  position: relative;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-support__hero-container {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-support__hero-title {
  font-size: 3.5em;
  color: #000000;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-support__hero-description {
  font-size: 1.3em;
  color: #333333;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-support__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.2;
}

.page-support__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.page-support__button--register {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-support__button--register:hover {
  background-color: #333333;
  color: #FCBC45;
}

.page-support__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-support__button--login:hover {
  background-color: #e0a73d;
  color: #FFFFFF;
}

.page-support__button--live-chat {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-support__button--live-chat:hover {
  background-color: #333333;
  color: #FCBC45;
}

.page-support__faq-section,
.page-support__contact-section,
.page-support__responsible-gambling-section,
.page-support__resources-section,
.page-support__cta-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

.page-support__faq-section {
  background-color: #f9f9f9;
}

.page-support__faq-container,
.page-support__contact-container,
.page-support__responsible-gambling-container,
.page-support__resources-container,
.page-support__cta-container {
  position: relative;
  z-index: 2;
}

.page-support__faq-title,
.page-support__contact-title,
.page-support__responsible-gambling-title,
.page-support__resources-title,
.page-support__cta-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
}

.page-support__faq-intro,
.page-support__contact-description,
.page-support__responsible-gambling-description,
.page-support__resources-description,
.page-support__cta-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-support__accordion {
  margin-bottom: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.page-support__accordion-header {
  background-color: #000000;
  color: #FFFFFF;
  padding: 20px;
  cursor: pointer;
  font-size: 1.4em;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.page-support__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-support__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-support__accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  background-color: #FFFFFF;
}

.page-support__accordion-content.active {
  max-height: 1000px; /* Adjust as needed for content */
  padding: 20px;
}

.page-support__faq-item {
  margin-bottom: 20px;
}

.page-support__faq-question {
  font-size: 1.2em;
  color: #000000;
  margin-bottom: 10px;
}

.page-support__faq-answer {
  font-size: 1em;
  color: #555555;
}

.page-support__faq-image,
.page-support__contact-image,
.page-support__responsible-gambling-image,
.page-support__resources-image {
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  height: auto;
}

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

.page-support__contact-card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-support__contact-card:hover {
  transform: translateY(-5px);
}

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

.page-support__card-text {
  color: #555555;
  margin-bottom: 25px;
}

.page-support__button--email {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-support__button--email:hover {
  background-color: #333333;
  color: #FCBC45;
}

.page-support__button--phone {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-support__button--phone:hover {
  background-color: #333333;
  color: #FCBC45;
}

.page-support__button--learn-more,
.page-support__button--explore {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
}

.page-support__button--learn-more:hover,
.page-support__button--explore:hover {
  background-color: #e0a73d;
  color: #FFFFFF;
}

.page-support__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-support__cta-title {
  color: #FFFFFF;
}

.page-support__cta-description {
  color: #f0f0f0;
}

.page-support__cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 3em;
  }

  .page-support__faq-title,
  .page-support__contact-title,
  .page-support__responsible-gambling-title,
  .page-support__resources-title,
  .page-support__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-support {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
  }

  .page-support__hero-section {
    padding: 60px 15px;
  }

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

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

  .page-support__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-support__button {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-support__faq-section,
  .page-support__contact-section,
  .page-support__responsible-gambling-section,
  .page-support__resources-section,
  .page-support__cta-section {
    padding: 40px 15px;
  }

  .page-support__faq-title,
  .page-support__contact-title,
  .page-support__responsible-gambling-title,
  .page-support__resources-title,
  .page-support__cta-title {
    font-size: 2em;
  }

  .page-support__faq-intro,
  .page-support__contact-description,
  .page-support__responsible-gambling-description,
  .page-support__resources-description,
  .page-support__cta-description {
    font-size: 0.95em;
  }

  .page-support__accordion-header {
    font-size: 1.2em;
    padding: 15px;
  }

  .page-support__accordion-content.active {
    padding: 15px;
  }

  .page-support__faq-question {
    font-size: 1.1em;
  }

  .page-support__contact-methods {
    grid-template-columns: 1fr;
  }

  /* Ensure all content area images are responsive and do not cause overflow */
  .page-support img {
    max-width: 100%;
    height: auto;
  }
  /* Specific overrides for images to ensure min-width is not violated by other rules */
  .page-support__faq-image, 
  .page-support__contact-image, 
  .page-support__responsible-gambling-image, 
  .page-support__resources-image {
    min-width: 200px; /* Ensure images are not too small */
    width: 100%;
    height: auto;
  }
  .page-support__hero-image {
    min-width: 200px; 
    width: 100%;
    height: auto;
  }
}

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

  .page-support__faq-title,
  .page-support__contact-title,
  .page-support__responsible-gambling-title,
  .page-support__resources-title,
  .page-support__cta-title {
    font-size: 1.8em;
  }
}