/* 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 handled by shared.css */
}

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

.page-support__section {
  padding: 60px 0;
}

.page-support__dark-section, .page-support__dark-bg {
  background-color: #26A9E0; /* Brand primary color for dark sections */
  color: #ffffff;
}

.page-support__section-title {
  font-size: 2.5em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 30px;
}

.page-support__sub-title {
  font-size: 1.8em;
  color: #ffffff;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-support__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-support__link {
  color: #FFFFFF; /* White for links on dark background */
  text-decoration: underline;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  padding: 120px 0 60px; /* Adjust for header offset */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 500px;
  background-color: #1a1a1a; /* Darker background for hero */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-support__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3; /* Slightly transparent */
}

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

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

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

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

/* Buttons */
.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;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
}

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

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

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

.page-support__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

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

.page-support__channel-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-support__channel-icon {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
}

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

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

.page-support__email-address {
  font-weight: bold;
  color: #ffffff;
  margin-top: 15px;
  font-size: 1.1em;
}

/* FAQ Section */
.page-support__faq-section {
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: #ffffff;
  position: relative;
}

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

.page-support__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
  transition: background-color 0.3s ease;
  list-style: none;
}

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

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

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

.page-support__faq-item[open] .page-support__faq-toggle {
  content: "−";
}

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

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

/* App Download Section */
.page-support__app-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.page-support__app-text {
  flex: 1;
}

.page-support__app-image {
  flex-shrink: 0;
  width: 600px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Policy Section */
.page-support__policy-section {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-support__policy-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-support__policy-image {
  display: block;
  margin: 40px auto 0;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 3em;
  }
  .page-support__section-title {
    font-size: 2em;
  }
  .page-support__app-content {
    flex-direction: column;
    text-align: center;
  }
  .page-support__app-image {
    order: -1; /* Move image above text on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding: 80px 0 40px; /* Adjust padding for mobile hero */
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  .page-support__hero-title {
    font-size: 2.2em;
  }
  .page-support__hero-description {
    font-size: 1.1em;
  }
  .page-support__section {
    padding: 40px 0;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__sub-title {
    font-size: 1.5em;
  }
  .page-support__paragraph {
    font-size: 1em;
  }

  /* Buttons */
  .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;
  }
  .page-support__hero-buttons,
  .page-support__policy-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Images and Videos */
  .page-support img,
  .page-support video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-support__container,
  .page-support__section,
  .page-support__card,
  .page-support__hero-content,
  .page-support__channels-grid,
  .page-support__faq-list,
  .page-support__app-content,
  .page-support__policy-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  .page-support__channel-icon,
  .page-support__faq-image,
  .page-support__app-image,
  .page-support__policy-image {
    width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 1.8em;
  }
  .page-support__section-title {
    font-size: 1.5em;
  }
  .page-support__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-support__faq-answer {
    padding: 0 20px 15px;
  }
}