.page-support {
  font-family: 'Arial', sans-serif;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #0a0a0a; /* Body background color from shared.css */
  line-height: 1.6;
  padding-top: 120px; /* Default desktop padding for fixed header */
}

@media (max-width: 768px) {
  .page-support {
    padding-top: 100px !important; /* Mobile padding for fixed header */
  }
}

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

@media (max-width: 768px) {
  .page-support__container {
    padding: 20px 15px;
  }
}

.page-support__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-support__section-title--light {
  color: #ffffff;
}

.page-support__section-intro {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__section-intro--light {
  color: #f0f0f0;
}

.page-support__link {
  color: #ffc107; /* Highlight color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-support__link:hover {
  color: #e0a800;
  text-decoration: underline;
}

.page-support__card {
  background: #ffffff; /* White background for cards */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  color: #333333; /* Dark text for light background */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-support__card-title {
  font-size: 24px;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #0056b3; /* Brand primary color for titles */
}

.page-support__card-text {
  font-size: 16px;
  margin-bottom: 20px;
  color: #333333;
  flex-grow: 1;
}

.page-support__card-button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(135deg, #0056b3, #004085); /* Primary color gradient */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 200px;
  box-sizing: border-box;
}

.page-support__card-button:hover {
  background: linear-gradient(135deg, #004085, #002a55);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Hero Banner Section */
.page-support__hero-banner {
  background: linear-gradient(135deg, #0056b3, #004085);
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
  padding-top: 180px; /* Desktop padding for fixed header */
}

.page-support__hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-support__hero-title {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 800;
}

.page-support__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__cta-button {
  display: inline-block;
  padding: 18px 40px;
  background: #ffc107; /* Auxiliary color for CTA */
  color: #000000;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__cta-button:hover {
  background: #e0a800;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.text-highlight {
  color: #ffc107;
}

/* Contact Section */
.page-support__contact-section {
  padding: 60px 20px;
  background-color: #f1f3f5; /* Light background for contrast */
  color: #333333;
}

.page-support__contact-section .page-support__section-title {
  color: #333333;
}

.page-support__contact-section .page-support__section-intro {
  color: #555555;
}

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

.page-support__contact-icon {
  width: 100px;
  height: auto;
  margin-bottom: 15px;
  max-width: 100px;
  min-width: 100px;
  object-fit: contain;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 60px 20px;
  background-color: #0d0d0d; /* Darker background */
  color: #f0f0f0;
}

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

.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 2000px !important; /* Ensure enough height for content */
  padding: 20px 15px !important;
  opacity: 1;
  background: #1a1a1a;
  border-radius: 0 0 5px 5px;
  color: #f0f0f0;
}

.page-support__faq-answer p {
  color: #f0f0f0;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-support__faq-question:hover {
  background: #3a3a3a;
  border-color: #4a4a4a;
}

.page-support__faq-question:active {
  background: #4a4a4a;
}

.page-support__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #ffffff;
}

.page-support__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #ffc107; /* Auxiliary color for toggle */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-support__faq-item.active .page-support__faq-toggle {
  color: #e0a800;
  transform: rotate(45deg); /* Rotate for 'x' effect */
}

/* Responsible Gambling Section */
.page-support__responsible-gambling-section {
  padding: 60px 20px;
  background-color: #f1f3f5; /* Light background for contrast */
  color: #333333;
}

.page-support__responsible-gambling-section .page-support__section-title {
  color: #333333;
}

.page-support__responsible-gambling-section .page-support__section-intro {
  color: #555555;
}

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

.page-support__info-icon {
  width: 100px;
  height: auto;
  margin-bottom: 15px;
  max-width: 100px;
  min-width: 100px;
  object-fit: contain;
}

/* Legal Links Section */
.page-support__legal-links-section {
  padding: 60px 20px;
  background-color: #0056b3; /* Primary brand color background */
  color: #ffffff;
}

.page-support__legal-links-section .page-support__section-title {
  color: #ffffff;
}

.page-support__legal-links-section .page-support__section-intro {
  color: #f0f0f0;
}

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

.page-support__legal-link {
  display: inline-block;
  padding: 12px 25px;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-support__legal-link:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 40px;
  }
  .page-support__hero-description {
    font-size: 18px;
  }
  .page-support__section-title {
    font-size: 30px;
  }
  .page-support__section-intro {
    font-size: 16px;
  }
  .page-support__card-title {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .page-support__hero-banner {
    padding: 60px 15px;
    padding-top: 160px !important; /* Mobile padding for fixed header */
  }
  .page-support__hero-title {
    font-size: 32px;
  }
  .page-support__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-support__cta-button {
    padding: 15px 30px;
    font-size: 18px;
  }
  .page-support__section-title {
    font-size: 26px;
  }
  .page-support__section-intro {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-support__contact-section,
  .page-support__faq-section,
  .page-support__responsible-gambling-section,
  .page-support__legal-links-section {
    padding: 40px 15px;
  }
  .page-support__contact-grid,
  .page-support__info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-support__card {
    padding: 25px;
  }
  .page-support__card-title {
    font-size: 20px;
  }
  .page-support__card-text {
    font-size: 15px;
  }
  .page-support__card-button {
    max-width: 180px;
  }
  .page-support__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-support__faq-question h3 {
    font-size: 16px;
    width: calc(100% - 40px);
  }
  .page-support__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-support__faq-answer {
    padding: 0 15px;
  }
  .page-support__faq-item.active .page-support__faq-answer {
    padding: 15px !important;
  }
  .page-support__legal-links {
    flex-direction: column;
    gap: 15px;
  }
  .page-support__legal-link {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }
}

/* Ensure all images are responsive and do not overflow */
.page-support img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-support__container,
  .page-support__hero-container,
  .page-support__contact-grid,
  .page-support__info-grid,
  .page-support__faq-list,
  .page-support__legal-links {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  .page-support__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}