.page-support {
  background-color: var(--primary-color); /* Body background is primary-color (#000000) */
  color: #ffffff; /* Light text for dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.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: var(--header-offset, 120px); /* Account for fixed header */
  background-color: #000000; /* Ensure dark background for hero */
  color: #ffffff;
  overflow: hidden;
}

.page-support__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
  z-index: 1;
}

.page-support__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--secondary-color); /* Gold for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

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

.page-support__btn-primary {
  background-color: var(--secondary-color); /* Gold background */
  color: #000000; /* Black text */
  border: 2px solid var(--secondary-color);
}

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

.page-support__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color); /* Gold text */
  border: 2px solid var(--secondary-color);
}

.page-support__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: #000000;
}

.page-support__btn-tertiary {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 20px;
  font-size: 0.9em;
}

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

.page-support__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3;
}

.page-support__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.page-support__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: var(--secondary-color); /* Gold for titles */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-support__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #f0f0f0; /* Light text for description */
}

/* Contact Methods Section */
.page-support__contact-methods {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: #ffffff;
}

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

.page-support__method-card {
  background-color: rgba(255, 255, 255, 0.05); /* Semi-transparent white */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support__method-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-support__method-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 3px solid var(--secondary-color);
  padding: 10px;
  background-color: rgba(255, 215, 0, 0.1);
}

.page-support__method-title {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-support__method-text {
  color: #f0f0f0;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-support__method-link {
  background-color: var(--secondary-color);
  color: #000000;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-support__method-link:hover {
  background-color: #e0b800;
}

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

.page-support__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: var(--secondary-color);
  background-color: rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s ease;
}

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

.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 30px;
  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: 20px 30px;
}

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

/* Resources Section */
.page-support__resources-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: #ffffff;
}

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

.page-support__resource-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-support__resource-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-support__resource-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-support__resource-card-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  padding: 20px;
  margin-bottom: 0;
}

.page-support__resource-card-title a {
  color: inherit;
  text-decoration: none;
}

.page-support__resource-card-title a:hover {
  text-decoration: underline;
}

.page-support__resource-card-text {
  color: #f0f0f0;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-support__resource-card .page-support__btn-secondary {
  margin: 0 20px 20px;
  align-self: flex-start;
}

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

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

.page-support__info-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-support__info-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-support__info-image {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 2px solid var(--secondary-color);
  padding: 8px;
  background-color: rgba(255, 215, 0, 0.1);
}

.page-support__info-card-title {
  font-size: 1.4em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-support__info-card-title a {
  color: inherit;
  text-decoration: none;
}

.page-support__info-card-title a:hover {
  text-decoration: underline;
}

.page-support__info-card-text {
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Final CTA Section */
.page-support__cta-final {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: #ffffff;
  text-align: center;
}

.page-support__cta-content {
  max-width: 800px;
}

/* General text styles */
.page-support p {
  color: #f0f0f0;
}

.page-support a {
  color: var(--secondary-color);
}

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

@media (max-width: 768px) {
  .page-support__hero-section {
    padding: 40px 15px;
    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: 1em;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support__btn-tertiary,
  .page-support__method-link,
  .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__hero-cta-buttons,
  .page-support__method-grid,
  .page-support__resource-grid,
  .page-support__info-grid {
    flex-direction: column;
    gap: 20px;
  }
  
  .page-support__container,
  .page-support__section,
  .page-support__card,
  .page-support__method-card,
  .page-support__resource-card,
  .page-support__info-card,
  .page-support__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-support__section-description {
    font-size: 0.95em;
  }

  .page-support__method-icon {
    width: 100px;
    height: 100px;
  }

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

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

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

  .page-support__hero-image-wrapper {
    opacity: 0.2;
  }

  /* Ensure all sections have proper padding on mobile */
  .page-support__contact-methods,
  .page-support__faq-section,
  .page-support__resources-section,
  .page-support__responsible-gaming,
  .page-support__cta-final {
    padding: 60px 0;
  }
}

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

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

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

  .page-support__info-card-title,
  .page-support__resource-card-title {
    font-size: 1.2em;
  }

  .page-support__faq-question {
    font-size: 1em;
  }
}