.page-support {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default dark text for light body background */
  background-color: #f8f9fa; /* Body background from shared.css, ensuring contrast */
  line-height: 1.6;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Stack image and content vertically */
  align-items: center;
  text-align: center;
  padding-bottom: 60px; /* Padding for content below image */
  background-color: #08160F; /* Deep Green background for hero */
  color: #F2FFF6; /* Light text for dark background */
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit hero image height */
  overflow: hidden;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-support__hero-content {
  max-width: 900px;
  padding: 40px 20px 0; /* Adjust padding to appear below image */
  position: relative; /* Ensure content is above any potential background */
  z-index: 2;
  margin-top: -100px; /* Pull content up slightly over the image if needed, but primarily below */
  color: #F2FFF6; /* Light text for dark background */
}

.page-support__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 700;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold for main title */
  line-height: 1.2;
}

.page-support__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #A7D9B8; /* Secondary text color */
}

.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: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-support__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-support__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-support__btn-secondary {
  background-color: transparent;
  color: #F2C14E; /* Gold for secondary text */
  border: 2px solid #F2C14E; /* Gold border */
}

.page-support__btn-secondary:hover {
  background-color: #F2C14E; /* Gold background on hover */
  color: #08160F; /* Deep Green text on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Info Section */
.page-support__info-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #0A4B2C; /* Deep Green background */
  color: #F2FFF6; /* Light text */
}

.page-support__dark-bg { /* Reusable class for dark backgrounds */
  background-color: #0A4B2C;
  color: #F2FFF6;
}

.page-support__light-bg { /* Reusable class for light backgrounds */
  background-color: #f8f9fa;
  color: #333333;
}

.page-support__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-support__section-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold for section titles */
}

.page-support__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #A7D9B8; /* Secondary text color */
}

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

.page-support__feature-card {
  background-color: #11271B; /* Card BG color */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease;
  color: #F2FFF6; /* Light text */
}

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

.page-support__feature-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #57E38D; /* Glow color for feature titles */
}

.page-support__feature-text {
  font-size: 1em;
  color: #A7D9B8; /* Secondary text color */
}

/* FAQ Section */
.page-support__faq-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #f8f9fa; /* Light background */
  color: #333333; /* Dark text */
}

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

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

.page-support__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  list-style: none; /* Remove default marker */
  color: #11A84E; /* Main brand color for questions */
  background-color: #f0fdf5;
}

.page-support__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit browsers */
}

.page-support__faq-qtext {
  flex-grow: 1;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  margin-left: 15px;
  color: #11A84E;
}

.page-support__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: #333333;
  border-top: 1px solid #e9e9e9;
  background-color: #ffffff;
}

.page-support__faq-answer p {
  margin-bottom: 0;
}

.page-support__cta-contact {
  margin-top: 50px;
}

.page-support__cta-contact p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
}

/* Contact Section */
.page-support__contact-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #f8f9fa; /* Light background */
  color: #333333; /* Dark text */
}

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

.page-support__method-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-support__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-support__method-icon {
  width: 100%; /* Ensure image fills card width */
  max-width: 150px; /* Limit max size */
  height: auto;
  margin: 0 auto 20px;
  display: block;
}

.page-support__method-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #11A84E; /* Main brand color */
}

.page-support__method-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1; /* Push button to bottom */
}

/* Responsible Gaming Section */
.page-support__responsible-gaming-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #0A4B2C; /* Deep Green background */
  color: #F2FFF6; /* Light text */
}

.page-support__content-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-support__text-block {
  flex: 1;
  min-width: 300px;
  color: #A7D9B8; /* Secondary text color */
}

.page-support__text-block p {
  margin-bottom: 15px;
}

.page-support__text-block a {
  color: #F2C14E; /* Gold for links */
  text-decoration: underline;
}

.page-support__text-block a:hover {
  color: #57E38D; /* Glow on hover */
}

.page-support__image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-support__image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-support__cta-bottom {
  margin-top: 50px;
}

/* Feedback Section */
.page-support__feedback-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #f8f9fa; /* Light background */
  color: #333333; /* Dark text */
}

.page-support__feedback-section p {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-support__hero-content {
    margin-top: -80px;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding-bottom: 40px;
  }
  .page-support__hero-content {
    padding: 30px 15px 0;
    margin-top: -60px;
  }
  .page-support__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-support__description {
    font-size: 1em;
  }
  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-support__info-section,
  .page-support__faq-section,
  .page-support__contact-section,
  .page-support__responsible-gaming-section,
  .page-support__feedback-section {
    padding: 60px 15px;
  }

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

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

  .page-support__features-grid,
  .page-support__contact-methods-grid {
    grid-template-columns: 1fr;
  }
  
  .page-support__content-flex {
    flex-direction: column;
  }
  .page-support__text-block,
  .page-support__image-wrapper {
    min-width: unset;
    width: 100%;
  }

  .page-support__faq-item summary {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-support__faq-answer {
    padding: 10px 20px 15px;
  }

  /* Force responsive for all images */
  .page-support img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Force responsive for all containers */
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__hero-section,
  .page-support__info-section,
  .page-support__faq-section,
  .page-support__contact-section,
  .page-support__responsible-gaming-section,
  .page-support__feedback-section,
  .page-support__hero-image-wrapper,
  .page-support__hero-content,
  .page-support__cta-buttons,
  .page-support__features-grid,
  .page-support__feature-card,
  .page-support__faq-list,
  .page-support__faq-item,
  .page-support__contact-methods-grid,
  .page-support__method-card,
  .page-support__content-flex,
  .page-support__text-block,
  .page-support__image-wrapper,
  .page-support__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px; /* Add padding to prevent content touching edges */
    padding-right: 15px; /* Add padding to prevent content touching edges */
  }

  /* Specific override for hero-section to avoid double padding */
  .page-support__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-support__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-support__hero-image-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Ensure body text contrast for light background */
.page-support p,
.page-support li,
.page-support__description,
.page-support__feature-text,
.page-support__faq-answer p,
.page-support__method-text,
.page-support__feedback-section p {
  color: #333333; /* Default dark text */
}

/* Overrides for dark background sections */
.page-support__dark-bg p,
.page-support__dark-bg li,
.page-support__dark-bg .page-support__description,
.page-support__dark-bg .page-support__feature-text,
.page-support__dark-bg .page-support__method-text,
.page-support__dark-bg .page-support__feedback-section p {
  color: #A7D9B8; /* Secondary text color for dark backgrounds */
}

.page-support__dark-bg .page-support__main-title,
.page-support__dark-bg .page-support__section-title {
  color: #F2C14E; /* Gold for titles on dark background */
}

.page-support__dark-bg .page-support__feature-title {
  color: #57E38D; /* Glow for feature titles on dark background */
}

.page-support__faq-item summary {
  color: #11A84E; /* Main brand color for FAQ questions */
}

.page-support__faq-toggle {
  color: #11A84E; /* Main brand color for FAQ toggle */
}

.page-support__text-block a {
  color: #F2C14E; /* Gold for links in text blocks */
}