.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #f4f4f4; /* Inherited from body */
}

/* Ensure main content is below fixed header */
.page-support__hero-section {
  padding-top: var(--header-offset, 120px);
}

/* --- Hero Section --- */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px;
  overflow: hidden;
  background: #0A2240; /* Main brand color for dark background */
  color: #ffffff; /* Light text for dark background */
}

.page-support__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 20px;
}

.page-support__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

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

.page-support__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

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

.page-support__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.page-support__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  min-width: 200px; /* Ensure buttons are not too small */
}

.page-support__btn-primary {
  background: #FFD700; /* Auxiliary color for primary action */
  color: #0A2240; /* Dark text for light background */
  border: 2px solid #FFD700;
}

.page-support__btn-primary:hover {
  background: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-support__btn-secondary:hover {
  background: #FFD700;
  color: #0A2240;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* --- General Section Styles --- */
.page-support__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  width: 100%; /* For mobile responsiveness */
  box-sizing: border-box;
}

.page-support__section-title {
  font-size: 2.5em;
  color: #0A2240;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-support__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-support__dark-bg .page-support__section-title,
.page-support__dark-bg .page-support__section-description,
.page-support__dark-bg .page-support__card-text,
.page-support__dark-bg .page-support__list li,
.page-support__dark-bg .page-support__info-title,
.page-support__dark-bg .page-support__info-text,
.page-support__dark-bg .page-support__btn-link {
  color: #ffffff;
}

.page-support__dark-bg .page-support__btn-link:hover {
  color: #FFD700;
}

/* --- Contact Options Section --- */
.page-support__contact-options {
  background-color: #f4f4f4;
}

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

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

.page-support__contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-support__contact-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 25px;
  border-radius: 8px;
}

.page-support__card-title {
  font-size: 1.5em;
  color: #0A2240;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-support__btn-link {
  display: inline-block;
  color: #0A2240;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 5px;
  transition: all 0.3s ease;
}

.page-support__btn-link:hover {
  color: #FFD700;
  border-color: #0A2240;
}

/* --- FAQ Section --- */
.page-support__faq-section {
  background-color: #0A2240;
}

.page-support__faq-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto 60px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-support__faq-list {
  margin-top: 40px;
}

.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #1a3a5e; /* Slightly lighter dark background for answer */
  border-radius: 0 0 5px 5px;
  color: #f0f0f0;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #0A2240;
  border: 1px solid #1a3a5e;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #ffffff;
}

.page-support__faq-question:hover {
  background: #1a3a5e;
  border-color: #2b507d;
}

.page-support__faq-question:active {
  background: #2b507d;
}

.page-support__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #ffffff;
}

.page-support__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-support__faq-item.active .page-support__faq-toggle {
  color: #FFD700;
  transform: rotate(45deg); /* Optional: rotate for 'X' effect */
}

/* --- Responsible Gaming Section --- */
.page-support__responsible-gaming {
  background-color: #f4f4f4;
}

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

.page-support__btn-center {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 300px;
  text-align: center;
}

/* --- Technical Support Section --- */
.page-support__technical-support {
  background-color: #0A2240;
}

.page-support__list {
  list-style: disc inside;
  color: #f0f0f0;
  margin: 40px auto;
  max-width: 900px;
  padding-left: 20px;
}

.page-support__list li {
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-support__list li strong {
  color: #FFD700;
}

.page-support__text-center {
  text-align: center;
  color: #f0f0f0;
}

/* --- Security & Privacy Section --- */
.page-support__security-privacy {
  background-color: #f4f4f4;
}

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

.page-support__info-item {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
}

.page-support__info-title {
  font-size: 1.4em;
  color: #0A2240;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support__info-text {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
}

/* --- Final CTA Section --- */
.page-support__final-cta {
  background-color: #0A2240;
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-support__final-cta .page-support__section-title,
.page-support__final-cta .page-support__section-description {
  color: #ffffff;
}

.page-support__final-cta .page-support__cta-button {
  margin-top: 40px;
  padding: 18px 50px;
  font-size: 1.2em;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 2.8em;
  }
  .page-support__section-title {
    font-size: 2em;
  }
  .page-support__hero-image img {
    border-radius: 6px;
  }
  .page-support__image-full {
    border-radius: 6px;
  }
}

@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-support__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-support__hero-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-support__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-support__cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-support__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-support__container {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-support__contact-grid, .page-support__info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-support__contact-card, .page-support__info-item {
    padding: 25px;
  }
  .page-support__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-support__faq-question h3 {
    font-size: 1em;
    width: calc(100% - 40px);
  }
  .page-support__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-support__faq-answer {
    padding: 0 15px;
  }
  .page-support__faq-item.active .page-support__faq-answer {
    padding: 15px !important;
  }
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-support__image-full {
    margin: 20px auto;
  }
  .page-support__list {
    padding-left: 15px;
  }
  .page-support__final-cta {
    padding: 60px 15px;
  }
  .page-support__final-cta .page-support__cta-button {
    font-size: 1em;
    padding: 15px 30px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-support__hero-image img,
  .page-support__faq-image,
  .page-support__image-full {
    border-radius: 4px;
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 1.8em;
  }
  .page-support__section-title {
    font-size: 1.6em;
  }
  .page-support__hero-description {
    font-size: 0.9em;
  }
  .page-support__contact-icon {
    max-width: 150px;
  }
  .page-support__card-title {
    font-size: 1.3em;
  }
}