/* style/support.css */

/* Base styles for page-support */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
}

/* Color contrast specific classes */
.page-support__dark-bg {
  background-color: #26A9E0; /* Main brand color for dark sections */
  color: #ffffff; /* White text for dark backgrounds */
}

.page-support__light-bg {
  background-color: #ffffff; /* Auxiliary color for light sections */
  color: #333333; /* Dark text for light backgrounds */
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 30px;
}

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

.page-support__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.page-support__main-title {
  font-size: clamp(2.2em, 4vw, 3em); /* Responsive font size */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff; /* White text for dark hero */
}

.page-support__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0; /* Slightly off-white for description */
}

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

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-support__btn-primary {
  background-color: #EA7C07; /* Login/CTA color */
  color: #ffffff;
  border: 2px solid transparent;
}

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

.page-support__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0; /* Main brand color */
  border: 2px solid #26A9E0;
}

.page-support__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87b7;
  border-color: #1e87b7;
}

.page-support__cta-buttons--single .page-support__btn-primary {
    width: auto;
}

/* General Section Styling */
.page-support__section {
  padding: 80px 20px;
  text-align: center;
}

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

.page-support__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-support__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Grid Cards */
.page-support__grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-support__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
  color: #333333;
  border: 1px solid #e0e0e0; /* Add border for contrast */
}

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

.page-support__card-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-support__card-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
}

.page-support__card-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-support__card-title a:hover {
  text-decoration: underline;
}

.page-support__card-text {
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-support__card-link {
  color: #EA7C07;
  text-decoration: none;
  font-weight: bold;
}

.page-support__card-link:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 80px 20px;
  text-align: center;
}

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

.page-support__faq-list {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-support__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

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

.page-support__faq-item[open] .page-support__faq-question {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-support__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

/* Hide default details marker */
.page-support__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-support__faq-item summary {
  list-style: none;
}


/* Contact Methods Section */
.page-support__contact-methods {
  padding: 80px 20px;
  text-align: center;
}

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

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

.page-support__contact-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  min-width: 64px; /* Ensure min size */
  min-height: 64px; /* Ensure min size */
}

.page-support__contact-heading {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-support__contact-text {
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Responsible Gaming Section */
.page-support__responsible-gaming {
  padding: 80px 20px;
  text-align: center;
}

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

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

.page-support__info-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-support__info-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-support__info-text {
  font-size: 0.95em;
  color: #f0f0f0;
}

/* Download App Section */
.page-support__download-app {
  padding: 80px 20px;
  text-align: center;
}

.page-support__app-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  min-height: 200px;
}

/* Final CTA Section */
.page-support__final-cta {
  padding: 80px 20px;
  text-align: center;
}

.page-support__final-cta .page-support__section-title,
.page-support__final-cta .page-support__section-description {
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }

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

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

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

  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-support__section {
    padding: 50px 15px;
  }

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

  .page-support__section-description {
    font-size: 0.95em;
  }

  .page-support__grid-cards,
  .page-support__contact-grid,
  .page-support__responsible-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-support__card,
  .page-support__contact-card,
  .page-support__info-card {
    padding: 20px;
  }

  .page-support__card-image,
  .page-support__app-image {
    min-width: 200px !important;
    min-height: 200px !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-support__contact-icon {
    min-width: 64px !important;
    min-height: 64px !important;
    max-width: 100% !important;
    width: 64px !important;
    height: 64px !important;
  }

  .page-support__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-support__faq-answer {
    padding: 0 20px 15px;
  }

  /* Ensure all images are responsive in mobile */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure all image containers are responsive in mobile */
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__hero-image-wrapper,
  .page-support__download-app {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}