/* style/support.css */
.page-support {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is #000000, so text is white */
  background-color: transparent; /* Body background handled by shared.css */
}

.page-support__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: #000000; /* Dark background for hero section */
  color: #ffffff;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Max height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: none; /* Ensure no filter is applied */
}

.page-support__hero-content {
  max-width: 900px;
  margin: 20px auto 0;
  text-align: center;
  padding: 0 20px;
  z-index: 1;
}

.page-support__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em); /* Responsive font size */
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  line-height: 1.2;
}

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

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

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  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; /* Main brand color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

.page-support__btn-login {
  background-color: #EA7C07; /* Custom login color */
  border-color: #EA7C07;
}

.page-support__btn-login:hover {
  background-color: #c96706;
  border-color: #c96706;
}

.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__intro-section,
.page-support__contact-section,
.page-support__responsible-gaming {
  background-color: #ffffff; /* Light background for content sections */
  color: #333333;
  padding: 60px 0;
}

.page-support__faq-section,
.page-support__security-section,
.page-support__final-cta {
  background-color: #0d0d0d; /* Slightly lighter dark background for contrast */
  color: #ffffff;
  padding: 60px 0;
}

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

.page-support__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: inherit; /* Inherit color from parent section */
}

.page-support__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

.page-support__faq-list {
  margin-top: 40px;
}

.page-support__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  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;
  font-weight: 600;
  font-size: 1.1em;
  cursor: pointer;
  list-style: none; /* For details/summary */
  color: #ffffff;
}

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

.page-support__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0; /* Brand color for toggle icon */
}

.page-support__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #f0f0f0;
}

.page-support__faq-answer p {
  margin-bottom: 10px;
  color: inherit;
}

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

.page-support__contact-card {
  background-color: #f8f8f8; /* Light background for cards in light section */
  border-radius: 12px;
  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;
  justify-content: space-between;
}

.page-support__contact-icon {
  width: 200px; /* Minimum size 200x200px */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: none; /* Ensure no filter is applied */
}

.page-support__contact-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0; /* Brand color for titles */
}

.page-support__contact-card p {
  margin-bottom: 20px;
  color: #555555;
}

.page-support__security-image {
  width: 800px;
  height: 600px;
  object-fit: contain;
  margin: 40px auto 0;
  display: block;
  filter: none; /* Ensure no filter is applied */
}

.page-support__inline-link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-support__inline-link:hover {
  color: #1a8cc4;
}

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

  .page-support__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-support__hero-content {
    margin-top: 10px;
    padding: 0 15px;
  }

  .page-support__main-title {
    font-size: 2em; /* Adjust for mobile */
  }

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

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

  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support__container {
    padding: 0 15px;
  }

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

  .page-support__text-block {
    font-size: 0.95em;
  }

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

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

  .page-support__contact-methods {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-support__contact-icon {
    width: 200px;
    height: 150px;
  }

  .page-support__security-image {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

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

  /* All containers with images/buttons/videos */
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__hero-image-wrapper,
  .page-support__contact-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* Padding already applied where necessary, avoid double padding */
  }

  /* Specific overrides for padding if needed for direct children of sections */
  .page-support__intro-section > .page-support__container,
  .page-support__faq-section > .page-support__container,
  .page-support__contact-section > .page-support__container,
  .page-support__security-section > .page-support__container,
  .page-support__responsible-gaming > .page-support__container,
  .page-support__final-cta > .page-support__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}