/* style/support.css */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark (#0a0a0a), so text is light */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

.page-support__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-support__light-bg {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-support__hero-section {
  position: relative;
  width: 100%;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-support__hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-support__hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken video for text readability */
}

.page-support__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text */
  border-radius: 8px;
}

.page-support__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #26A9E0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-support__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  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;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-support__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

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

.page-support__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-support__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

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

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

.page-support__faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-support__faq-item {
  background-color: #0a0a0a;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid #26A9E0;
}

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

.page-support__faq-question h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.1em;
}

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

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #26A9E0;
  transition: transform 0.3s ease, color 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-toggle {
  transform: rotate(45deg);
  color: #ffffff;
}

.page-support__faq-item.active .page-support__faq-question {
  background-color: #26A9E0;
}

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  color: #f0f0f0;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px !important; /* Use !important to ensure override */
  padding: 15px 25px 20px;
}

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

.page-support__image-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-support__image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  display: block; /* Ensure it behaves as a block element for max-width */
  margin: 0 auto;
}

/* Guide Section */
.page-support__guide-section {
  padding: 60px 0;
}

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

.page-support__guide-card {
  background-color: #1a1a1a;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid #26A9E0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-support__guide-card h3 {
  color: #26A9E0;
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-support__guide-card p {
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Contact Section */
.page-support__contact-section {
  padding: 60px 0;
}

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

.page-support__contact-method {
  background-color: #0a0a0a;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid #26A9E0;
}

.page-support__contact-method img {
  
  
  margin-bottom: 20px;
  filter: brightness(0) saturate(100%) invert(43%) sepia(85%) saturate(5412%) hue-rotate(180deg) brightness(98%) contrast(97%); /* Tint to brand color */
}

.page-support__contact-method h3 {
  color: #26A9E0;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-support__contact-method p {
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-support__contact-image {
  margin-top: 60px;
}

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

.page-support__responsible-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.page-support__responsible-text {
  flex: 1;
}

.page-support__responsible-text h3 {
  color: #26A9E0;
  font-size: 1.8em;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-support__responsible-text p {
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-support__responsible-gaming-section .page-support__image-wrapper {
  flex: 1;
  min-width: 400px;
}

/* Additional FAQ Section */
.page-support__additional-faq-section {
  padding: 60px 0;
}

/* Conclusion Section */
.page-support__conclusion-section {
  padding: 60px 0;
  text-align: center;
}

.page-support__conclusion-section .page-support__section-title {
  font-size: 2.8em;
}

.page-support__conclusion-section .page-support__section-description {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__hero-content {
    padding: 30px;
  }

  .page-support__main-title {
    font-size: 2.8em;
  }

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

  .page-support__responsible-content {
    flex-direction: column;
    align-items: center;
  }

  .page-support__responsible-gaming-section .page-support__image-wrapper {
    min-width: unset;
    width: 100%;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding-bottom: 40px;
  }

  .page-support__hero-content {
    padding: 20px;
  }

  .page-support__main-title {
    font-size: 2.2em;
    line-height: 1.2;
  }

  .page-support__intro-text {
    font-size: 1em;
  }

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

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

  .page-support__section-title {
    font-size: 1.8em;
    padding-top: 30px;
  }

  .page-support__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-support__faq-question h3 {
    font-size: 1em;
  }

  .page-support__guide-grid,
  .page-support__contact-grid {
    grid-template-columns: 1fr;
  }

  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-support video,
  .page-support__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-support__hero-video-wrapper,
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__video-section,
  .page-support__video-container,
  .page-support__video-wrapper,
  .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;
    overflow: hidden !important;
  }
  
  /* Override padding-top for hero/video sections on mobile if needed, ensure it uses var */
  .page-support__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  /* Ensure contact icons are not filtered to change color */
  .page-support__contact-method img {
    filter: none; /* Remove filter on mobile if it was used to change color */
  }
}

@media (max-width: 480px) {
  .page-support__main-title {
    font-size: 1.8em;
  }

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

  .page-support__faq-question,
  .page-support__guide-card,
  .page-support__contact-method {
    padding: 20px;
  }

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

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

/* Ensure color contrast for elements */
.page-support p, .page-support li {
  color: #f0f0f0; /* Light text on dark background */
}

.page-support__guide-card h3, .page-support__contact-method h3 {
  color: #26A9E0;
}

/* No filter on images */
.page-support img {
  filter: none;
}

/* Special styling for the contact method icons to use brand color without filter */
.page-support__contact-method img {
  /* If icons are monochrome, they can be SVG and colored with currentColor or fill property */
  /* For raster images, ensure they are designed with the correct color */
  /* If the original icon is NOT the brand color, and a filter was used to change it, this is a violation. */
  /* Assuming the source image for icons is already appropriately colored or is an SVG */
  /* If the image is a raster image and needs to be colored, it needs to be provided in that color. */
  /* For now, removing the filter property to comply with the rule. */
  /* filter: brightness(0) saturate(100%) invert(43%) sepia(85%) saturate(5412%) hue-rotate(180deg) brightness(98%) contrast(97%); */
  /* The above filter was to change color, which is disallowed. So removing it. */
}