/* style/support.css */

/* Base styles for the support page */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background from shared.css */
}

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

.page-support__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding-bottom: 60px; /* Space below content */
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px; /* Limit height for hero image */
  margin-bottom: 30px; /* Space between image and content */
  border-radius: 8px;
}

.page-support__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-support__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-support__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%;
}

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

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

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

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

/* Specific login button color */
a.page-support__btn-primary[href*="pl_1772764845703_pqu5xuc0q"] {
  background-color: #EA7C07; /* Login specific color */
  border-color: #EA7C07;
}

a.page-support__btn-primary[href*="pl_1772764845703_pqu5xuc0q"]:hover {
  background-color: #c76706;
  border-color: #c76706;
}

.page-support__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-support__dark-section {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent dark background */
  padding: 60px 0;
  margin-bottom: 40px;
  border-radius: 8px;
}

.page-support__text-block {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-support__contact-card {
  background-color: rgba(255, 255, 255, 0.1); /* Light background for cards */
  color: #ffffff; /* Ensure text is light */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-support__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0; /* Brand color for card titles */
}

.page-support__card-text {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-support__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 30px;
}

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

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

.page-support__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for FAQ items */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
  color: #ffffff; /* Ensure text is light */
}

.page-support__faq-item[open] {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  color: #ffffff;
  list-style: none; /* Remove default marker for summary */
  -webkit-touch-callout: none; /* Disable callout on iOS */
  -webkit-user-select: none; /* Disable text selection on iOS */
  -khtml-user-select: none; /* Disable text selection on Konqueror */
  -moz-user-select: none; /* Disable text selection on Firefox */
  -ms-user-select: none; /* Disable text selection on Internet Explorer/Edge */
  user-select: none; /* Disable text selection */
}

.page-support__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker in WebKit */
}

.page-support__faq-qtext {
  flex-grow: 1;
  color: #26A9E0; /* Brand color for question text */
}

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #ffffff;
}

.page-support__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.05em;
  color: #f0f0f0;
  text-align: justify;
}

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

.page-support__faq-answer .page-support__btn-small {
  margin-top: 10px;
  margin-right: 10px;
}

/* Responsible Gambling Section */
.page-support__responsible-gambling {
  text-align: center;
}

.page-support__responsible-gambling .page-support__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__responsible-gambling .page-support__btn-primary {
  margin-top: 30px;
}

/* Technical Support Section & Account/Payment Support Section */
.page-support__technical-support,
.page-support__account-payment-support,
.page-support__legal-compliance {
  padding: 60px 0;
}

.page-support__technical-support .page-support__section-title,
.page-support__legal-compliance .page-support__section-title {
  color: #ffffff; /* Ensure titles are light */
}

.page-support__image-wrapper {
  margin: 30px auto;
  max-width: 800px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-support__content-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-support__legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-support__link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 15px;
  border: 1px solid #26A9E0;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* Final CTA Section */
.page-support__final-cta {
  text-align: center;
}

.page-support__final-cta .page-support__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

.page-support__final-cta .page-support__btn-primary,
.page-support__final-cta .page-support__btn-secondary {
  margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-support__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }
  .page-support__section-title {
    font-size: clamp(1.6em, 4vw, 2.5em);
  }
}

@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-support__container {
    padding: 0 15px !important;
  }

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

  .page-support__hero-image {
    max-height: 300px;
  }

  .page-support__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-support__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-support__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px;
  }
  
  .page-support__btn-primary,
  .page-support__btn-secondary {
    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; /* Ensure padding inside button */
  }

  .page-support__section-title {
    font-size: clamp(1.4em, 5.5vw, 2em);
    margin-bottom: 20px;
  }

  .page-support__dark-section,
  .page-support__faq-section,
  .page-support__technical-support,
  .page-support__account-payment-support,
  .page-support__legal-compliance {
    padding: 40px 0;
    margin-bottom: 20px;
  }

  .page-support__contact-grid {
    grid-template-columns: 1fr; /* Single column for contact cards */
    gap: 20px;
  }

  .page-support__contact-card {
    padding: 20px;
  }

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

  .page-support__faq-answer {
    font-size: 1em;
    padding: 0 20px 15px;
  }
  
  /* Images responsive */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-support__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .page-support__legal-links {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-support__hero-section {
    padding-top: 10px !important;
  }
  .page-support__hero-image {
    border-radius: 0; /* Remove border-radius for full width on tiny screens */
  }
  .page-support__main-title {
    font-size: clamp(1.3em, 7vw, 2em);
  }
  .page-support__section-title {
    font-size: clamp(1.2em, 6.5vw, 1.8em);
  }
}