.page-support {
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Inherit body background */
}

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 600px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  padding-bottom: 60px;
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-support__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-support__hero-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  color: #f0f0f0;
}

.page-support__hero-cta {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  background-color: #017439; /* Primary brand color */
  color: #ffffff;
  border: 2px solid #017439;
}

.page-support__hero-cta:hover {
  background-color: #02944b;
  transform: translateY(-2px);
}

/* General Section Styling */
.page-support__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-support__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
  color: #f0f0f0;
}

/* Dark Section Background */
.page-support__dark-section {
  background-color: #017439; /* Primary brand color */
  padding: 80px 0;
  color: #ffffff;
}

/* Channels Section */
.page-support__channels-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.page-support__channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
  position: relative;
  z-index: 1;
}

.page-support__channel-card {
  background-color: rgba(255, 255, 255, 0.1); /* Light transparent background for contrast */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-support__channel-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-support__channel-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFFF00; /* Use yellow for titles for emphasis, as per "Register/Login font" color */
}

.page-support__channel-text {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-support__channels-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.3); /* Darken image for text readability */
}

/* FAQ Section */
.page-support__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Match body background for consistency */
  position: relative;
  overflow: hidden;
}

.page-support__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
  position: relative;
  z-index: 1;
}

.page-support__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter transparent for contrast */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-support__faq-item summary {
  list-style: none; /* Hide default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05); /* Even lighter transparent for summary */
  color: #ffffff;
  transition: background-color 0.3s ease;
}

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

.page-support__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

.page-support__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #FFFF00; /* Yellow for toggle icon */
}

.page-support__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.03); /* Very light transparent for answer */
}

.page-support__faq-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.2); /* Darken image for text readability */
}

/* Guides Section */
.page-support__guides-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.page-support__guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
  position: relative;
  z-index: 1;
}

.page-support__guide-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-support__guide-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-support__guide-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFFF00;
}

.page-support__guide-text {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-support__guides-cta {
  margin-top: 50px;
  text-align: center;
  display: block;
}

.page-support__guides-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.3);
}

/* Responsible Gaming Section */
.page-support__responsible-gaming-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Match body background */
  position: relative;
  overflow: hidden;
}

.page-support__responsible-list {
  max-width: 900px;
  margin: 50px auto;
  list-style: none;
  padding: 0;
  position: relative;
  z-index: 1;
}

.page-support__responsible-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1em;
  line-height: 1.6;
  color: #f0f0f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-support__responsible-item strong {
  color: #FFFF00; /* Yellow for strong emphasis */
}

.page-support__responsible-cta {
  margin-top: 30px;
  text-align: center;
  display: block;
}

.page-support__responsible-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.2);
}

/* Contact CTA Section */
.page-support__contact-cta-section {
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-support__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  position: relative;
  z-index: 1;
}

.page-support__contact-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.4);
}

/* General Button Styles (Primary & Secondary) */
.page-support__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  background-color: #C30808; /* Register/Login button color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

.page-support__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
  background-color: transparent;
  color: #FFFF00; /* Yellow text for secondary buttons */
  border: 2px solid #FFFF00; /* Yellow border */
}

.page-support__btn-secondary:hover {
  background-color: #FFFF00;
  color: #017439; /* Dark green text on hover */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 2.8em;
  }
  .page-support__section-title {
    font-size: 2em;
  }
  .page-support__hero-description,
  .page-support__section-description,
  .page-support__faq-item summary,
  .page-support__responsible-item {
    font-size: 1em;
  }
}

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

  /* Fixed header offset for mobile */
  .page-support__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-support__hero-title {
    font-size: 2.2em;
  }
  .page-support__hero-description {
    font-size: 0.95em;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__section-description {
    font-size: 0.9em;
  }

  .page-support__channels-grid,
  .page-support__guides-grid {
    grid-template-columns: 1fr;
  }

  .page-support__channel-card,
  .page-support__guide-card {
    padding: 20px;
  }

  .page-support__channel-title,
  .page-support__guide-title {
    font-size: 1.5em;
  }

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

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

  .page-support__responsible-item {
    font-size: 0.95em;
  }

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

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

  /* Mobile button responsiveness */
  .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;
  }

  /* Container for buttons in mobile */
  .page-support__cta-buttons,
  .page-support__button-group,
  .page-support__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-support__channels-section,
  .page-support__faq-section,
  .page-support__guides-section,
  .page-support__responsible-gaming-section,
  .page-support__contact-cta-section {
    padding: 40px 0;
  }
}

/* Ensure content areas don't cause horizontal scroll on mobile */
@media (max-width: 768px) {
  .page-support__hero-section,
  .page-support__channels-section,
  .page-support__faq-section,
  .page-support__guides-section,
  .page-support__responsible-gaming-section,
  .page-support__contact-cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
}

/* Image min-size check for content area */
.page-support img:not(.shared-header__logo):not(.shared-footer__payment-icon):not(.shared-footer__social-icon):not(.shared-footer__game-provider) {
  min-width: 200px;
  min-height: 200px;
}
/* Ensure no CSS rule overrides to make images smaller than 200px */
.page-support__channels-image,
.page-support__faq-image,
.page-support__guides-image,
.page-support__responsible-image,
.page-support__contact-image {
  width: 100%; /* Will be overridden by max-width: 100% on mobile */
  height: auto;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}