/* style/support.css */

/* Base styles for the support page */
.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 handled by shared.css */
}

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

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

.page-support__section-intro {
  font-size: 1.1em;
  color: #f0f0f0; /* Slightly lighter for intro text */
  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%;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  overflow: hidden;
}

.page-support__hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 1;
}

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

.page-support__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: bold;
}

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

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  margin: 10px;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box; /* Ensure padding is included in width */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

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

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

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

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

/* Why Choose Us Section */
.page-support__why-choose-us {
  padding: 80px 0;
  background-color: #0a0a0a; /* Dark background from body */
  color: #ffffff;
}

.page-support__why-choose-us .page-support__section-title {
  color: #26A9E0;
}

.page-support__why-choose-us .page-support__section-intro {
  color: #f0f0f0;
}

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

.page-support__feature-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly visible card on dark background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

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

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

/* Contact Channels Section */
.page-support__contact-channels {
  padding: 80px 0;
  background-color: #ffffff; /* Light background */
  color: #333333; /* Dark text for light background */
}

.page-support__contact-channels .page-support__section-title {
  color: #000000;
}

.page-support__contact-channels .page-support__section-intro {
  color: #333333;
}

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

.page-support__channel-card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-support__channel-card:hover {
  transform: translateY(-5px);
}

.page-support__channel-icon {
  width: 200px; /* Minimum size 200x200 */
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
}

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

.page-support__channel-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 80px 0;
  background-color: #0a0a0a; /* Dark background */
  color: #ffffff;
}

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

.page-support__faq-section .page-support__section-intro {
  color: #f0f0f0;
}

.page-support__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

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

.page-support__faq-title {
  font-size: 1.2em;
  color: #ffffff;
  margin: 0;
  flex-grow: 1;
}

.page-support__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #26A9E0;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-toggle {
  transform: rotate(45deg); /* Plus sign to X or minus */
}

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 20px;
}

.page-support__faq-answer p {
  margin: 0;
  color: #f0f0f0;
}

/* Video Guide Section */
.page-support__video-guide {
  padding: 80px 0;
  background-color: #ffffff; /* Light background */
  color: #333333;
}

.page-support__video-guide .page-support__section-title {
  color: #000000;
}

.page-support__video-guide .page-support__section-intro {
  color: #333333;
}

.page-support__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin-top: 40px;
  border-radius: 10px;
}

.page-support__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  cursor: pointer; /* For JS click handling */
}

.page-support__video-caption {
  text-align: center;
  margin-top: 20px;
  font-style: italic;
  color: #555555;
}

.page-support__video-cta {
  display: block;
  margin: 30px auto 0 auto;
  width: fit-content;
}

/* Responsible Gaming Section */
.page-support__responsible-gaming {
  padding: 80px 0;
  background-color: #0a0a0a; /* Dark background */
  color: #ffffff;
}

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

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

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

.page-support__responsible-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

/* Call to Action Section */
.page-support__cta {
  padding: 80px 0;
  background-color: #ffffff; /* Light background */
  color: #333333;
}

.page-support__cta .page-support__section-title {
  color: #000000;
}

.page-support__cta .page-support__section-intro {
  color: #333333;
}

.page-support__cta-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  justify-content: center;
}

.page-support__cta-image {
  width: 100%;
  max-width: 600px; /* Example max width, adjust as needed */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-support__cta-text {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-support__cta-text .page-support__btn-primary,
.page-support__cta-text .page-support__btn-secondary {
  margin-left: 0;
  margin-right: 15px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-support__main-title {
    font-size: 3em;
  }
  .page-support__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-support__main-title {
    font-size: 2.5em;
  }
  .page-support__hero-description {
    font-size: 1em;
  }
  .page-support__section-title {
    font-size: 2em;
  }
  .page-support__section-intro {
    font-size: 0.95em;
  }
  .page-support__feature-grid,
  .page-support__channels-grid,
  .page-support__responsible-grid {
    grid-template-columns: 1fr;
  }
  .page-support__cta-content {
    flex-direction: column;
    text-align: center;
  }
  .page-support__cta-text {
    text-align: center;
  }
  .page-support__cta-text .page-support__btn-primary,
  .page-support__cta-text .page-support__btn-secondary {
    margin: 10px auto;
    width: 100%; /* Full width buttons on mobile */
  }

  /* Mobile image responsiveness */
  .page-support img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-support__hero-section,
  .page-support__why-choose-us,
  .page-support__contact-channels,
  .page-support__faq-section,
  .page-support__video-guide,
  .page-support__responsible-gaming,
  .page-support__cta,
  .page-support__container,
  .page-support__cta-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile video responsiveness */
  .page-support video,
  .page-support__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-support__video-section,
  .page-support__video-container,
  .page-support__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-support__video-wrapper {
    padding-bottom: 56.25% !important; /* Maintain aspect ratio */
    height: 0 !important;
  }

  /* Mobile button responsiveness */
  .page-support__cta-button,
  .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__cta-buttons,
  .page-support__button-group,
  .page-support__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-support__cta-text .page-support__btn-primary,
  .page-support__cta-text .page-support__btn-secondary {
    width: calc(100% - 30px) !important; /* Adjust for padding on the button itself */
  }
}