/* style/support.css */
.page-support {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light background */
  background-color: #FFFFFF; /* Explicitly set background as per instruction */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
}

.page-support__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  background-color: #000000; /* Dark background for hero section */
  color: #FFFFFF; /* Light text for dark background */
  position: relative;
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-support__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Slightly dim the background image */
  z-index: 0;
}

.page-support__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-support__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-support__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

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

.page-support__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 150px;
  text-align: center;
}

.page-support__button--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Dark text for gold button */
  border: 2px solid #FCBC45;
}

.page-support__button--primary:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

.page-support__button--secondary {
  background-color: #FFFFFF; /* Register color */
  color: #000000; /* Dark text for white button */
  border: 2px solid #FFFFFF;
}

.page-support__button--secondary:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

.page-support__section-title {
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 40px;
  color: #000000;
}

.page-support__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #555555;
}

.page-support__faq-section {
  padding: 80px 20px;
  background-color: #f9f9f9;
}

.page-support__faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-support__faq-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #FCBC45; /* Highlight with accent color */
}

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

.page-support__faq-answer {
  color: #555555;
}

.page-support__faq-answer a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-support__faq-answer a:hover {
  text-decoration: underline;
}

.page-support__faq-more {
  text-align: center;
  margin-top: 50px;
}

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

.page-support__button--tertiary:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-support__contact-options {
  padding: 80px 20px;
  background-color: #FFFFFF;
}

.page-support__contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-support__contact-card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support__contact-icon {
  width: 200px; /* Minimum 200px */
  height: 150px; /* Minimum 200px */
  object-fit: contain;
  margin-bottom: 20px;
  /* No filter properties */
}

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

.page-support__card-description {
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1; /* Allow description to take available space */
}

.page-support__responsible-gaming {
  padding: 80px 20px;
  background-color: #e6f7ff; /* Light blue for responsible gaming */
}

.page-support__action-cta {
  padding: 80px 20px;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-support__action-cta .page-support__section-title,
.page-support__action-cta .page-support__section-description {
  color: #FFFFFF;
}

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

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

.page-support__button--register:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

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

.page-support__button--login:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

/* Responsive design */
@media (max-width: 768px) {
  .page-support {
    padding-top: var(--header-offset-mobile, 80px); /* Adjust for mobile header offset if shared.css provides it */
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

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

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

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

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

  .page-support__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

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

  .page-support__faq-section,
  .page-support__contact-options,
  .page-support__responsible-gaming,
  .page-support__action-cta {
    padding: 50px 15px;
  }

  .page-support__faq-item,
  .page-support__contact-card {
    padding: 20px;
  }

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

  .page-support__contact-icon {
    max-width: 100%; /* Ensure images don't overflow */
    height: auto;
    min-width: 200px; /* Enforce min-width even on mobile if needed for layout */
    min-height: 150px;
  }

  /* Ensure all content images within .page-support are responsive and don't overflow */
  .page-support img {
    max-width: 100%;
    height: auto;
  }
}

/* Ensure content area does not cause horizontal scroll on mobile */
@media (max-width: 768px) {
  .page-support {
    overflow-x: hidden;
  }
  /* Ensure no img within .page-support has fixed width/height less than 200px */
  .page-support img:not(.page-support__contact-icon) {
    min-width: 200px; /* Example, adjust as needed */
    min-height: 200px; /* Example, adjust as needed */
  }
  .page-support__contact-icon {
    min-width: 200px;
    min-height: 150px;
  }
}