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

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

.page-support__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 80px 0;
}

.page-support__hero-section {
  padding: 100px 0 80px 0;
  padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
  text-align: center;
}

.page-support__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

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

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

.page-support__btn-primary--large {
  font-size: 1.2em;
  padding: 18px 35px;
}

.page-support__section-title {
  font-size: 2.2em;
  color: #ffffff; /* Default for dark sections */
  text-align: center;
  margin-bottom: 20px;
}

.page-support__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  opacity: 0.8;
}

/* Adjust for light background sections */
.page-support__faq-section,
.page-support__troubleshooting-section,
.page-support__security-section {
  background-color: #ffffff;
  color: #333333;
  padding: 80px 0;
}

.page-support__faq-section .page-support__section-title,
.page-support__troubleshooting-section .page-support__section-title,
.page-support__security-section .page-support__section-title {
  color: #26A9E0;
}

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

.page-support__video-section {
  background-color: #0a0a0a; /* Dark background for video */
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
}

.page-support__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-support__video-wrapper .page-support__video,
.page-support__video-wrapper .page-support__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

.page-support__video-link {
  display: block;
  cursor: pointer;
}

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

.page-support__faq-item {
  background-color: #f8f8f8;
  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: 20px 25px;
  cursor: pointer;
  background-color: #eaf6fd;
  color: #26A9E0;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

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

.page-support__faq-title {
  margin: 0;
  color: #26A9E0;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background-color: #ffffff;
  color: #555555;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 20px 25px;
}

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

.page-support__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block; /* Ensure no extra space below image */
}

.page-support__image--center {
  margin: 40px auto 0 auto;
}

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

.page-support__channel-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

.page-support__channel-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-support__icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  filter: invert(100%) saturate(0%) brightness(100%) contrast(100%); /* Example: to make icons white on dark background, if icons are originally dark */
  /* IMPORTANT: Remove filter if original icon colors are required or if it changes the color */
  /* Revert to original color: filter: none; */
  /* The icons themselves should be designed to match the color scheme, not forced by filter */
}

.page-support__channel-card .page-support__icon {
  filter: none; /* Ensure original icon colors are kept */
}

.page-support__card-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-support__channel-card p {
  font-size: 1em;
  opacity: 0.8;
  flex-grow: 1;
  margin-bottom: 25px;
}

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

.page-support__grid-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  color: #333333;
}

.page-support__grid-item:hover {
  transform: translateY(-5px);
}

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

.page-support__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 50px;
}

.page-support__content-grid--reverse {
  grid-template-columns: 1fr 1fr;
}

.page-support__text-block {
  padding: 20px;
}

.page-support__text-block .page-support__block-title {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: inherit;
}

.page-support__text-block p {
  margin-bottom: 30px;
  font-size: 1.1em;
  line-height: 1.7;
  color: inherit;
}

.page-support__image-wrapper {
  text-align: center;
}

.page-support__final-cta-section {
  text-align: center;
  padding: 100px 0;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .page-support__main-title {
    font-size: 2.5em;
  }
  .page-support__section-title {
    font-size: 2em;
  }
  .page-support__content-grid {
    grid-template-columns: 1fr;
  }
  .page-support__content-grid--reverse {
    grid-template-columns: 1fr;
  }
  .page-support__image-wrapper {
    order: -1; /* Image first on mobile for reverse grid */
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding: 80px 0 60px 0;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-support__main-title {
    font-size: 2em;
  }
  .page-support__hero-description {
    font-size: 1em;
  }
  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-support__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-support__faq-answer {
    padding: 0 20px;
  }
  .page-support__faq-item.active .page-support__faq-answer {
    padding: 15px 20px;
  }
  .page-support__channels-grid,
  .page-support__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-support__channel-card,
  .page-support__grid-item {
    padding: 25px;
  }
  .page-support__card-title {
    font-size: 1.3em;
  }
  .page-support__text-block .page-support__block-title {
    font-size: 1.6em;
  }
  .page-support__text-block p {
    font-size: 1em;
  }
  .page-support__image {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-support__video,
  .page-support__video-wrapper,
  .page-support__video-link {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-support__video-section,
  .page-support__faq-section,
  .page-support__contact-channels,
  .page-support__troubleshooting-section,
  .page-support__responsible-gaming-section,
  .page-support__security-section,
  .page-support__final-cta-section {
    padding: 50px 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-support__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-support__final-cta-section .page-support__btn-primary--large {
    font-size: 1em;
    padding: 15px 25px;
  }
}

@media (max-width: 480px) {
  .page-support__main-title {
    font-size: 1.8em;
  }
  .page-support__section-title {
    font-size: 1.6em;
  }
  .page-support__faq-question {
    font-size: 0.95em;
  }
  .page-support__card-title {
    font-size: 1.2em;
  }
}