.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is #000000 (dark), so use light text */
  background-color: transparent; /* Rely on body background from shared.css */
}

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

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

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

.page-support__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-support__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0; /* Slightly off-white for body text on dark background */
  text-align: justify;
}

.page-support__text-block--note {
  font-style: italic;
  text-align: center;
  font-size: 0.95em;
}

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

.page-support__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
  box-sizing: border-box;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

.page-support__hero-content {
  max-width: 900px;
  margin: 0 auto;
  color: #ffffff;
}

.page-support__main-title {
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
}

.page-support__hero-content .page-support__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-link,
.page-support__btn-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

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

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

.page-support__btn-link {
  background-color: #EA7C07; /* Login color for specific actions */
  color: #ffffff;
  border: 2px solid #EA7C07;
  padding: 8px 15px;
  font-size: 0.9em;
  margin-top: 10px;
  margin-right: 10px;
}

.page-support__btn-link:hover {
  background-color: #c06306;
  border-color: #c06306;
}

.page-support__btn-text-link {
  background: none;
  border: none;
  color: #26A9E0;
  text-decoration: underline;
  padding: 0;
  font-size: 1em;
  margin-top: 15px;
}

.page-support__btn-text-link:hover {
  color: #1a8cc2;
}

/* Contact Methods Grid */
.page-support__contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

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

.page-support__contact-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
}

.page-support__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-support__card-text {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
}

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

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

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #26A9E0;
  color: #ffffff;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  font-size: 1.15em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-support__faq-item[open] .page-support__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

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

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

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

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

.page-support__faq-answer {
  padding: 20px 25px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #f0f0f0;
  font-size: 1em;
}

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

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

/* Security and Responsible Gaming */
.page-support__security-gaming {
  background-color: #0d0d0d; /* Slightly lighter dark for contrast */
  padding: 60px 0;
}

.page-support__security-gaming .page-support__section-title {
  color: #ffffff;
}

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

.page-support__content-block {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  color: #ffffff;
}

.page-support__content-block .page-support__sub-title {
  color: #26A9E0;
}

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

/* Getting Started */
.page-support__getting-started .page-support__section-title {
  color: #26A9E0;
}

.page-support__step-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-support__step-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  color: #ffffff;
  position: relative;
  padding-left: 70px;
}

.page-support__step-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 25px;
  top: 25px;
  background-color: #26A9E0;
  color: #ffffff;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-support__step-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-support__step-item p {
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-support__step-item .page-support__btn-link {
  margin-top: 0;
}

/* Final CTA */
.page-support__cta-final .page-support__container {
  background-color: #26A9E0; /* Brand color as background */
  color: #ffffff;
  padding: 50px 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.page-support__cta-final .page-support__section-title {
  color: #ffffff;
  margin-bottom: 25px;
}

.page-support__cta-final .page-support__text-block {
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-support__cta-final .page-support__btn-primary {
  background-color: #EA7C07;
  border-color: #EA7C07;
}

.page-support__cta-final .page-support__btn-primary:hover {
  background-color: #c06306;
  border-color: #c06306;
}

/* Utility classes for color contrast */
.page-support__dark-bg {
  background-color: #000000; /* Explicitly dark background */
  color: #ffffff; /* Light text */
}

.page-support__light-bg {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for cards on dark body */
  color: #ffffff; /* Light text */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-support__container {
    padding: 0 15px;
  }

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

  .page-support__section-title {
    font-size: 2em;
    margin-bottom: 20px;
  }

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

  .page-support__text-block {
    font-size: 1em;
  }

  .page-support__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-support__main-title {
    font-size: clamp(2em, 8vw, 2.8em);
  }

  .page-support__hero-content .page-support__description {
    font-size: 1.1em;
  }

  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .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__contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-support__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-support__faq-answer {
    padding: 15px 20px;
  }

  .page-support__grid-two-cols {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-support__step-item {
    padding-left: 60px;
  }

  .page-support__step-item::before {
    left: 20px;
    top: 20px;
    width: 30px;
    height: 30px;
    font-size: 1.1em;
  }

  /* Mobile image responsiveness */
  .page-support img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-support__hero-image-wrapper,
  .page-support__contact-card,
  .page-support__content-block,
  .page-support__cta-final .page-support__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }
}

/* Ensure no image filter */
.page-support img {
  filter: none !important;
}