.page-support {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #ffffff); /* Fallback to white if var not defined */
}

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

.page-support__hero-section {
  padding-top: 0; /* Handled by body padding in shared.css */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 60px;
  background: linear-gradient(135deg, #26A9E0, #1a8cc7);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit image height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.8); /* Slightly dim image for text contrast */
}

.page-support__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 40px 20px;
  margin-top: -100px; /* Overlap slightly with image for visual flow, but text is below */
  background: rgba(0, 0, 0, 0.3); /* Semi-transparent background for text readability */
  border-radius: 10px;
}

.page-support__main-title {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  /* clamp() for responsive font size, but not strictly fixed large values */
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-support__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-support__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.page-support__btn-primary {
  background: #EA7C07; /* Login color */
  color: #ffffff;
}

.page-support__btn-primary:hover {
  background: #d66f06;
  transform: translateY(-2px);
}

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

.page-support__btn-secondary:hover {
  background: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-support__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0;
}

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

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

.page-support__dark-section .page-support__section-description {
  color: #f0f0f0;
}

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

.page-support__faq-list {
  margin-top: 30px;
}

.page-support__faq-item {
  background: #ffffff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background: #ffffff;
  border-bottom: 1px solid #eee;
  list-style: none;
  transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
  background-color: #f5f5f5;
}

.page-support__faq-item[open] .page-support__faq-question {
  background-color: #f5f5f5;
  border-bottom-color: #ddd;
}

.page-support__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

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

.page-support__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  color: #555555;
}

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

/* Contact Methods Section */
.page-support__contact-methods-section {
  padding: 60px 0;
  background: #26A9E0;
  color: #ffffff;
}

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

.page-support__contact-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-support__contact-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
}

.page-support__contact-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: brightness(1.2); /* Make icons slightly brighter on dark background */
}

.page-support__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-support__card-text {
  font-size: 1rem;
  margin-bottom: 25px;
  color: #f0f0f0;
}

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

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

.page-support__responsible-gaming-content p {
  flex: 1;
  min-width: 300px;
  font-size: 1rem;
  color: #555555;
}

.page-support__responsible-gaming-image {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Security Section */
.page-support__security-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #1a8cc7, #26A9E0);
  color: #ffffff;
}

.page-support__security-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
}

.page-support__security-content p {
  flex: 1;
  min-width: 300px;
  font-size: 1rem;
  color: #f0f0f0;
}

.page-support__security-links {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  flex: 1;
  min-width: 300px;
}

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

.page-support__security-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-support__security-links a:hover {
  color: #f0f0f0;
  text-decoration: underline;
}

.page-support__security-image {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* General image responsiveness */
.page-support img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

  .page-support__hero-section {
    padding-top: 0 !important; /* Ensure no double padding from shared.css */
    padding-bottom: 40px;
  }

  .page-support__hero-content {
    padding: 20px;
    margin-top: -60px; /* Adjust overlap for mobile */
  }

  .page-support__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-support__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-support__cta-button,
  .page-support__btn-primary,
  .page-support__btn-secondary,
  .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;
    margin-bottom: 10px; /* Add space between stacked buttons */
  }

  .page-support__faq-section,
  .page-support__contact-methods-section,
  .page-support__responsible-gaming-section,
  .page-support__security-section {
    padding: 40px 0;
  }

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

  .page-support__section-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

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

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

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

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

  .page-support__responsible-gaming-content,
  .page-support__security-content {
    flex-direction: column;
    gap: 20px;
  }

  .page-support__responsible-gaming-content p,
  .page-support__security-content p,
  .page-support__security-links {
    min-width: unset;
    width: 100%;
  }

  .page-support__responsible-gaming-image,
  .page-support__security-image {
    width: 100%;
    max-width: 100%;
  }

  /* General image responsiveness for content images */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* Ensure all containers are responsive */
  .page-support__section,
  .page-support__card,
  .page-support__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left and padding-right are handled by .page-support__container */
  }

  /* LOGO carousel items are not present on this page, but if they were: */
  /* .page-support__logo-item { */
  /*   width: 80px !important; */
  /*   height: 80px !important; */
  /*   max-width: 80px !important; */
  /*   box-sizing: border-box; */
  /* } */
}