/* style/support.css */
/* body background is #000000 (dark), so text should be light (#FFFFFF) for main content areas unless specified otherwise for light background elements. */

.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
}

.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more at bottom */
  overflow: hidden;
  background-color: #000000; /* Dark background for hero section */
}

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

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

.page-support__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

.page-support__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

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

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

.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  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;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

.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__btn-link {
  background-color: transparent;
  color: #26A9E0;
  border: 1px solid #26A9E0;
  padding: 8px 15px;
  font-size: 0.9rem;
}

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

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

.page-support__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

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

/* Sections */
.page-support__contact-channels,
.page-support__guides-section,
.page-support__why-choose-us {
  padding: 80px 0;
  color: #333333; /* For light background */
  background-color: #ffffff; /* Explicit light background */
}

.page-support__faq-section,
.page-support__responsible-gaming-section,
.page-support__final-cta {
  padding: 80px 0;
  color: #ffffff; /* For dark background */
  background-color: #26A9E0; /* Brand color dark background */
}

.page-support__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

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

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

.page-support__channel-item {
  background: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support__channel-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-support__channel-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-support__channel-text {
  font-size: 1rem;
  margin-bottom: 20px;
}

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

.page-support__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  background-color: rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-support__faq-item[open] .page-support__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.page-support__faq-question::-webkit-details-marker, 
.page-support__faq-question::marker {
  display: none;
  content: "";
}

.page-support__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-support__faq-item[open] .page-support__faq-toggle {
  transform: rotate(45deg);
}

.page-support__faq-answer {
  padding: 20px;
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-support__faq-answer p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

/* Guides Section */
.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: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  color: #333333;
  display: flex;
  flex-direction: column;
}

.page-support__guide-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-support__guide-card .page-support__btn-link {
  margin-top: auto;
  margin-bottom: 20px;
  align-self: center;
}

.page-support__guide-title {
  font-size: 1.3rem;
  padding: 15px 20px 10px;
  color: #26A9E0;
}

.page-support__guide-text {
  font-size: 0.95rem;
  padding: 0 20px 20px;
  flex-grow: 1;
}

/* Responsible Gaming Section */
.page-support__responsible-gaming-section .page-support__btn-primary {
  margin-top: 40px;
}

/* Why Choose Us Section */
.page-support__why-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-support__why-list li {
  background-color: #f8f8f8;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  color: #333333;
}

.page-support__why-list li p {
  margin: 0;
  color: #333333;
}

.page-support__why-list li strong {
  color: #26A9E0;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 10px;
}

/* Final CTA Section */
.page-support__final-cta .page-support__btn-primary,
.page-support__final-cta .page-support__btn-secondary {
  margin-top: 40px;
}

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

  .page-support__hero-section {
    padding: 10px 15px 40px;
  }

  .page-support__main-title {
    font-size: 2rem;
  }

  .page-support__intro-description {
    font-size: 1rem;
  }

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

  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support__btn-link {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support__contact-channels,
  .page-support__faq-section,
  .page-support__guides-section,
  .page-support__responsible-gaming-section,
  .page-support__why-choose-us,
  .page-support__final-cta {
    padding: 40px 0;
  }

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

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

  .page-support__channel-grid,
  .page-support__guide-grid,
  .page-support__why-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-support__channel-item,
  .page-support__guide-card,
  .page-support__why-list li {
    padding: 20px;
  }

  .page-support__faq-list {
    margin-left: 0;
    margin-right: 0;
    padding: 0 15px;
  }

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

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

  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__hero-section,
  .page-support__contact-channels,
  .page-support__faq-section,
  .page-support__guides-section,
  .page-support__responsible-gaming-section,
  .page-support__why-choose-us,
  .page-support__final-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-support__video-section {
    padding-top: 10px !important;
  }
}

/* Ensure images are at least 200x200px where relevant, not small icons */
.page-support__channel-icon, .page-support__guide-image {
  min-width: 200px;
  min-height: 200px;
}

/* Card background for light sections */
.page-support__card {
  background: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

/* Specific contrast for light background sections */
.page-support__contact-channels .page-support__section-title,
.page-support__contact-channels .page-support__section-description,
.page-support__guides-section .page-support__section-title,
.page-support__guides-section .page-support__section-description,
.page-support__why-choose-us .page-support__section-title,
.page-support__why-choose-us .page-support__section-description {
  color: #333333;
}

.page-support__contact-channels .page-support__card .page-support__channel-title,
.page-support__contact-channels .page-support__card .page-support__channel-text,
.page-support__guides-section .page-support__guide-card .page-support__guide-title,
.page-support__guides-section .page-support__guide-card .page-support__guide-text {
  color: #333333;
}

.page-support__why-list li p {
  color: #333333;
}

/* Ensure no filter on images */
.page-support img {
  filter: none; /* Remove any potential default filters */
}

/* Hero image is intentionally darkened for text readability */
.page-support__hero-image {
  filter: brightness(0.4); /* Allowed for visual effect, not color change */
}