/* style/support.css */

/* Base styles for the support page */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF;
}

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

.page-support__section-title {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-support__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-support__link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
}

.page-support__link:hover {
  text-decoration: underline;
}

/* Color contrast classes */
.page-support__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-support__light-text {
  color: #ffffff;
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-support__btn-primary:hover {
  background-color: #d16b00;
  transform: translateY(-2px);
}

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

.page-support__btn-secondary:hover {
  background-color: #f0f8ff;
  transform: translateY(-2px);
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  overflow: hidden;
}

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

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

.page-support__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
}

.page-support__main-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  color: #ffffff;
}

.page-support__hero-description {
  font-size: clamp(18px, 2.5vw, 22px);
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-support__hero-cta {
  font-size: 18px;
  padding: 15px 35px;
}

/* Intro Section */
.page-support__intro-section {
  padding: 80px 0;
}

/* Channels Section */
.page-support__channels-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-support__channel-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-support__channel-title {
  font-size: 24px;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-support__channel-description {
  font-size: 16px;
  margin-bottom: 20px;
}

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

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

.page-support__faq-image {
  display: block;
  margin: 0 auto 40px auto;
  border-radius: 12px;
  max-width: 100%;
  height: auto;
}

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

.page-support__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #f5f5f5;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

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

.page-support__faq-qtext {
  flex-grow: 1;
  pointer-events: none; /* Allow click on summary to toggle details */
}

.page-support__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  pointer-events: none; /* Allow click on summary to toggle details */
}

.page-support__faq-answer {
  padding: 15px 25px 25px;
  font-size: 16px;
  color: #555555;
}

/* Guides Section */
.page-support__guides-section {
  padding: 80px 0;
  background-color: #f0f0f0;
}

.page-support__resource-block {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-support__resource-title {
  font-size: 22px;
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-support__resource-list {
  list-style: disc;
  padding-left: 25px;
}

.page-support__resource-list-item {
  margin-bottom: 10px;
  font-size: 16px;
}

/* Responsible Gaming Section */
.page-support__responsible-gaming-section {
  padding: 80px 0;
  text-align: center;
}

.page-support__responsible-gaming-cta {
  margin-top: 30px;
}

/* Contact Section */
.page-support__contact-section {
  padding: 80px 0;
  text-align: center;
}

.page-support__contact-image {
  display: block;
  margin: 40px auto 30px auto;
  border-radius: 12px;
  max-width: 100%;
  height: auto;
}

.page-support__contact-cta {
  font-size: 18px;
  padding: 15px 35px;
}

/* Conclusion Section */
.page-support__conclusion-section {
  padding: 80px 0;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-support__hero-content {
    padding: 15px;
  }
  .page-support__main-title {
    font-size: clamp(28px, 4.5vw, 48px);
  }
  .page-support__hero-description {
    font-size: clamp(16px, 2.2vw, 20px);
  }
  .page-support__section-title {
    font-size: clamp(22px, 3vw, 32px);
  }
  .page-support__channel-item, .page-support__resource-block {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .page-support__container {
    padding: 0 15px !important;
  }
  .page-support__hero-section {
    padding: 40px 15px !important;
    padding-top: 10px !important;
  }
  .page-support__main-title {
    font-size: 32px !important;
  }
  .page-support__hero-description {
    font-size: 16px !important;
  }
  .page-support__hero-cta {
    font-size: 16px !important;
    padding: 12px 25px !important;
  }

  .page-support__section-title {
    font-size: 24px !important;
    margin-bottom: 30px !important;
  }

  .page-support__text-block,
  .page-support__channel-description,
  .page-support__faq-answer,
  .page-support__resource-list-item {
    font-size: 15px !important;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support a[class*="button"],
  .page-support a[class*="btn"] {
    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;
  }
  
  .page-support__hero-image,
  .page-support__faq-image,
  .page-support__contact-image,
  .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__intro-section,
  .page-support__channels-section,
  .page-support__faq-section,
  .page-support__guides-section,
  .page-support__responsible-gaming-section,
  .page-support__contact-section,
  .page-support__conclusion-section,
  .page-support__channel-item,
  .page-support__resource-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-support__faq-question {
    font-size: 16px !important;
    padding: 15px 20px !important;
  }

  .page-support__faq-answer {
    padding: 10px 20px 20px !important;
  }

  .page-support__channel-title {
    font-size: 20px !important;
  }
  .page-support__resource-title {
    font-size: 18px !important;
  }

  .page-support__channels-section, .page-support__guides-section, .page-support__responsible-gaming-section, .page-support__contact-section, .page-support__conclusion-section, .page-support__intro-section, .page-support__faq-section {
    padding: 40px 0 !important;
  }
}