.page-support {
  color: #333333; /* Dark text for default light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

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

/* Hero Section */
.page-support__hero-section {
  background-color: #000080; /* Dark Blue */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-support__hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.page-support__hero-content {
  max-width: 800px;
  text-align: center;
}

.page-support__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold */
  font-weight: bold;
  line-height: 1.2;
}

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

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

.page-support__hero-image {
  margin-top: 40px;
}

.page-support__hero-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Ensure image is not too small */
  min-height: 200px;
}

/* Buttons */
.page-support__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px; /* Ensure buttons are not too small */
  text-align: center;
  font-size: 1em;
}

.page-support__button--primary {
  background-color: #FFD700; /* Gold */
  color: #000080; /* Dark Blue */
  border: 2px solid #FFD700;
}

.page-support__button--primary:hover {
  background-color: #e6c200;
  color: #000066;
}

.page-support__button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

.page-support__button--secondary:hover {
  background-color: #FFD700;
  color: #000080;
}

.page-support__button--card {
  background-color: #FFD700; /* Gold */
  color: #000080; /* Dark Blue */
  border: none;
  padding: 10px 20px;
  font-size: 0.9em;
  width: auto;
  min-width: unset;
}

.page-support__button--card:hover {
  background-color: #e6c200;
}

.page-support__button--text {
  background-color: transparent;
  color: #000080; /* Dark Blue */
  border: 2px solid #000080;
  padding: 10px 20px;
  font-size: 0.9em;
  width: auto;
  min-width: unset;
}

.page-support__button--text:hover {
  background-color: #000080;
  color: #FFD700;
}

/* Section Titles */
.page-support__section-title {
  font-size: 2.5em;
  color: #000080; /* Dark Blue */
  text-align: center;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support__section-subtitle {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

.page-support__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-support__faq-question {
  font-size: 1.3em;
  color: #000080; /* Dark Blue */
  margin-bottom: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-support__faq-question::after {
  content: '+';
  font-size: 1.2em;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.page-support__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-support__faq-answer {
  font-size: 1em;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-support__faq-answer.active {
  max-height: 200px; /* Adjust as needed for content */
}

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

.page-support__faq-answer a {
  color: #DC143C; /* Crimson accent */
  text-decoration: none;
}

.page-support__faq-answer a:hover {
  text-decoration: underline;
}

/* Contact Section */
.page-support__contact-section {
  padding: 60px 0;
  background-color: #f0f0f0;
}

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

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

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

.page-support__contact-card img {
  width: 100%;
  height: auto;
  max-width: 400px; /* Max width for card images */
  min-width: 200px; /* Min width for card images */
  min-height: 200px; /* Min height for card images */
  border-radius: 4px;
  margin-bottom: 20px;
}

.page-support__card-title {
  font-size: 1.5em;
  color: #000080; /* Dark Blue */
  margin-bottom: 10px;
}

.page-support__card-description {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Resources Section */
.page-support__resources-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-support__resource-card {
  background-color: #fdfdfd;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  transition: transform 0.3s ease;
}

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

.page-support__resource-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Min width for resource images */
  min-height: 200px; /* Min height for resource images */
}

.page-support__resource-card h3 {
  padding: 20px;
  font-size: 1.3em;
  margin-bottom: 0;
}

.page-support__resource-title a {
  color: #000080; /* Dark Blue */
  text-decoration: none;
}

.page-support__resource-title a:hover {
  text-decoration: underline;
  color: #DC143C; /* Crimson accent */
}

.page-support__resource-description {
  padding: 0 20px 20px;
  font-size: 0.95em;
  color: #666666;
}

/* CTA Section */
.page-support__cta-section {
  background-color: #FFD700; /* Gold */
  color: #000080; /* Dark Blue */
  padding: 60px 0;
  text-align: center;
}

.page-support__cta-section .page-support__section-title {
  color: #000080; /* Dark Blue */
}

.page-support__cta-section .page-support__section-subtitle {
  color: #000066;
}

.page-support__cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-support__cta-section .page-support__button--primary {
  background-color: #000080; /* Dark Blue */
  color: #FFD700; /* Gold */
  border-color: #000080;
}

.page-support__cta-section .page-support__button--primary:hover {
  background-color: #000066;
  border-color: #000066;
  color: #ffffff;
}

.page-support__cta-section .page-support__button--secondary {
  color: #000080; /* Dark Blue */
  border-color: #000080;
}

.page-support__cta-section .page-support__button--secondary:hover {
  background-color: #000080;
  color: #FFD700;
}

/* Responsible Gaming Section */
.page-support__responsible-gaming-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.page-support__responsible-content {
  max-width: 900px;
  margin: 30px auto 0;
  text-align: left;
  font-size: 1.05em;
  color: #444444;
}

.page-support__responsible-list {
  list-style: disc inside;
  margin: 20px 0;
  padding-left: 20px;
}

.page-support__responsible-list li {
  margin-bottom: 10px;
}

/* General link styling for content */
.page-support__faq-answer a, .page-support__responsible-content a {
  color: #DC143C; /* Crimson accent */
  text-decoration: none;
  font-weight: bold;
}

.page-support__faq-answer a:hover, .page-support__responsible-content a:hover {
  text-decoration: underline;
}

/* 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__hero-section {
    padding: 60px 0;
  }

  .page-support__hero-container {
    flex-direction: column;
    gap: 30px;
  }

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

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

  .page-support__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-support__button {
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
  }

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

  .page-support__section-subtitle {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

  .page-support__contact-card, .page-support__resource-card {
    margin-bottom: 20px;
  }

  /* Mobile image scaling */
  .page-support img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
  }

  .page-support__hero-image img,
  .page-support__contact-card img,
  .page-support__resource-card img {
    width: 100%;
    height: auto;
  }

  .page-support__faq-answer.active {
    max-height: 300px; /* Adjust for mobile content */
  }

  .page-support__responsible-list {
    padding-left: 10px;
  }
}

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

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

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

  .page-support__button {
    padding: 12px 20px;
    font-size: 0.9em;
  }
}