.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark body background #0a0a0a, so light text */
  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__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  box-sizing: border-box;
}

.page-support__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-support__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

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

.page-support__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFF00; /* Register/Login font color for emphasis */
}

.page-support__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-support__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #017439; /* Primary color */
  font-weight: bold;
}

.page-support__section-subtitle {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-support__introduction-section,
.page-support__contact-section,
.page-support__technical-section {
  padding: 60px 0;
  background-color: #0d0d0d; /* Slightly lighter than body background for subtle contrast */
}

.page-support__dark-section .page-support__section-title {
  color: #FFFFFF;
}

.page-support__dark-section .page-support__text-block {
  color: #f0f0f0;
}

.page-support__faq-section,
.page-support__responsible-gaming-section,
.page-support__cta-section {
  padding: 60px 0;
  background-color: #0a0a0a; /* Same as body background */
}

.page-support__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #ffffff;
}

.page-support__text-block a {
  color: #FFFF00; /* Yellow for links in dark sections */
  text-decoration: underline;
}

.page-support__text-block a:hover {
  color: #017439;
}

.page-support__image-full-width {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__image-center {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  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;
  box-sizing: border-box;
}

.page-support__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

.page-support__btn-secondary {
  background-color: transparent;
  color: #017439; /* Primary color for text */
  border: 2px solid #017439;
}

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

.page-support__large-button {
  font-size: 1.2em;
  padding: 15px 30px;
}

/* FAQ Section */
.page-support__faq-list {
  margin-top: 50px;
}

.page-support__faq-item {
  background: rgba(255, 255, 255, 0.05); /* Semi-transparent white for cards on dark background */
  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: 15px 20px;
  cursor: pointer;
  font-weight: bold;
  color: #ffffff;
  background-color: #017439; /* Primary color for question background */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-support__faq-question h3 {
  margin: 0;
  font-size: 1.1em;
  color: #ffffff;
}

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

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

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

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

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

.page-support__faq-answer p:last-child {
  padding-bottom: 0;
}

.page-support__faq-answer a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-support__faq-answer a:hover {
  color: #017439;
}

/* Contact Section */
.page-support__contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
  text-align: center;
}

.page-support__contact-card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards on dark background */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

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

.page-support__contact-card p {
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-support__contact-card .page-support__btn-secondary {
  margin-top: auto;
  width: 100%;
}

/* Guide Grid for Technical Section */
.page-support__guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-support__guide-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-support__guide-card .page-support__card-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #FFFF00;
}

.page-support__guide-card p {
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-support__guide-card .page-support__btn-secondary {
  margin-top: auto;
  width: 100%;
}

.page-support__cta-section {
  text-align: center;
  padding: 80px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 2.8em;
  }

  .page-support__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-support__container {
    padding: 0 15px;
  }

  .page-support__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-support__hero-title {
    font-size: 2.2em;
  }

  .page-support__hero-description {
    font-size: 1em;
  }

  .page-support__section-title {
    font-size: 1.8em;
  }

  .page-support__introduction-section,
  .page-support__faq-section,
  .page-support__contact-section,
  .page-support__responsible-gaming-section,
  .page-support__technical-section,
  .page-support__cta-section {
    padding: 40px 0;
  }

  .page-support__image-full-width,
  .page-support__image-center {
    margin: 30px auto;
  }

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

  /* Responsive containers for images/videos/buttons */
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__contact-methods,
  .page-support__guide-grid,
  .page-support__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Responsive buttons */
  .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;
    margin-bottom: 10px; /* Add spacing between stacked buttons */
  }

  .page-support__cta-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px; /* Space between stacked buttons */
  }

  .page-support__contact-methods,
  .page-support__guide-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 1.8em;
  }

  .page-support__hero-description {
    font-size: 0.9em;
  }

  .page-support__section-title {
    font-size: 1.5em;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary {
    padding: 10px 15px;
  }
}