/* style/support.css */

/* --- General Page Styling --- */
.page-support {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by shared.css var(--dark-bg) */
}

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

.page-support__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #26A9E0; /* Brand color for titles */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.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;
}

/* --- Hero Section --- */
.page-support__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: #0d0d0d; /* A dark background for this section */
  overflow: hidden; /* Ensure content doesn't spill */
}

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

.page-support__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1; /* Ensure text is above any potential background elements */
}

.page-support__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-support__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 */
}

.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  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%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word;
}

.page-support__btn-primary {
  background-color: #26A9E0; /* Brand primary color */
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

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

.page-support__btn-secondary {
  background-color: #EA7C07; /* Login color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-support__btn-secondary:hover {
  background-color: #c96a07;
  border-color: #c96a07;
}

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

.page-support__btn-tertiary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

/* --- FAQ Section --- */
.page-support__faq-section {
  padding: 80px 0;
  background-color: #FFFFFF; /* Light background for dark text */
  color: #333333; /* Dark text for light background */
}

.page-support__faq-section .page-support__section-title {
  color: #333333; /* Dark title on light background */
}

.page-support__faq-section .page-support__section-description {
  color: #555555; /* Darker description on light background */
}

.page-support__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-support__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  overflow: hidden;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #e9e9e9;
  border-bottom: 1px solid #ddd;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

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

.page-support__faq-item[open] .page-support__faq-question {
  background-color: #e0e0e0;
  border-bottom-color: transparent;
}

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

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

.page-support__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #555555;
  background-color: #f8f8f8;
}

/* --- Contact Methods Section --- */
.page-support__contact-methods {
  padding: 80px 0;
  background-color: #000000; /* Dark background */
  color: #FFFFFF; /* Light text */
}

.page-support__contact-methods .page-support__section-title {
  color: #26A9E0;
}

.page-support__contact-methods .page-support__section-description {
  color: #f0f0f0;
}

.page-support__grid-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-support__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-support__contact-item {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-support__contact-item strong {
  color: #26A9E0;
}

.page-support__email-link,
.page-support__phone-link {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-support__email-link:hover,
.page-support__phone-link:hover {
  color: #FFFFFF;
}

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

.page-support__mt-20 {
  margin-top: 20px;
}

/* --- Security Section --- */
.page-support__security-section {
  padding: 80px 0;
  background-color: #FFFFFF; /* Light background */
  color: #333333; /* Dark text */
}

.page-support__security-section .page-support__section-title {
  color: #333333;
}

.page-support__security-section .page-support__section-description {
  color: #555555;
}

.page-support__grid-two-cols-reverse {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-support__security-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-support__security-item {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #555555;
}

.page-support__security-item strong {
  color: #26A9E0;
}

/* --- Responsible Gaming Section --- */
.page-support__responsible-gaming {
  padding: 80px 0;
  background-color: #000000; /* Dark background */
  color: #FFFFFF; /* Light text */
  text-align: center;
}

.page-support__responsible-gaming .page-support__section-title {
  color: #26A9E0;
}

.page-support__responsible-gaming .page-support__section-description {
  color: #f0f0f0;
}

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

.page-support__responsible-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support__card-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-support__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-support__card-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-support__mt-40 {
  margin-top: 40px;
}

/* --- Why Choose Section --- */
.page-support__why-choose {
  padding: 80px 0;
  background-color: #FFFFFF; /* Light background */
  color: #333333; /* Dark text */
}

.page-support__why-choose .page-support__section-title {
  color: #333333;
}

.page-support__why-choose .page-support__section-description {
  color: #555555;
}

.page-support__benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-support__benefit-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
}

.page-support__benefit-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-support__benefit-text {
  font-size: 1em;
  color: #555555;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
  .page-support__grid-two-cols,
  .page-support__grid-two-cols-reverse {
    grid-template-columns: 1fr;
  }

  .page-support__grid-two-cols-reverse .page-support__image-block {
    order: -1; /* Image appears above text on smaller screens */
  }

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

@media (max-width: 768px) {
  .page-support__section-title {
    font-size: 2em;
  }

  .page-support__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-support__description {
    font-size: 1em;
  }

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

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

  /* Image containers responsive */
  .page-support__hero-section,
  .page-support__container,
  .page-support__text-block,
  .page-support__image-block,
  .page-support__faq-list,
  .page-support__responsible-grid,
  .page-support__responsible-card,
  .page-support__benefits-list,
  .page-support__benefit-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  /* Buttons responsive */
  .page-support__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support__btn-tertiary {
    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;
  }

  /* FAQ items for mobile */
  .page-support__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-support__faq-answer {
    padding: 15px 20px;
  }
}

/* --- Color Contrast Classes (for body dark background) --- */
/* Default text color is light for dark body bg */
.page-support {
  color: #ffffff;
}

/* Sections with light background need dark text */
.page-support__light-bg {
  background-color: #ffffff;
  color: #333333;
}
.page-support__light-bg .page-support__section-title { color: #333333; }
.page-support__light-bg .page-support__section-description { color: #555555; }
.page-support__light-bg .page-support__card-title { color: #26A9E0; }
.page-support__light-bg .page-support__card-text { color: #555555; }
.page-support__light-bg .page-support__benefit-title { color: #26A9E0; }
.page-support__light-bg .page-support__benefit-text { color: #555555; }


/* Sections with dark background need light text */
.page-support__dark-bg {
  background-color: #000000; /* Use #000000 for dark background, as specified by other colors */
  color: #ffffff;
}
.page-support__dark-bg .page-support__section-title { color: #26A9E0; }
.page-support__dark-bg .page-support__section-description { color: #f0f0f0; }
.page-support__dark-bg .page-support__card-title { color: #26A9E0; }
.page-support__dark-bg .page-support__card-text { color: #f0f0f0; }
.page-support__dark-bg .page-support__benefit-title { color: #26A9E0; }
.page-support__dark-bg .page-support__benefit-text { color: #f0f0f0; }

/* Specific overrides for text on dark backgrounds */
.page-support__contact-item,
.page-support__security-item {
  color: #f0f0f0;
}
.page-support__contact-item strong,
.page-support__security-item strong {
  color: #26A9E0;
}

/* Links on dark background */
.page-support__email-link,
.page-support__phone-link {
  color: #26A9E0;
}
.page-support__email-link:hover,
.page-support__phone-link:hover {
  color: #FFFFFF;
}

/* Buttons already handle their own colors */

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