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

.page-support__hero-section {
  position: relative;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
  background: linear-gradient(rgba(1, 116, 57, 0.9), rgba(1, 116, 57, 0.9)), url('[GALLERY:bg_hero_pattern:1920x1080:abstract_pattern,green_gradient,secure_background]') center/cover no-repeat; /* Brand color overlay */
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

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

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

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

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

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.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: #e00b0b;
  border-color: #e00b0b;
}

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

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

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

.page-support__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15; /* Subtle background image */
}

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

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

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

.page-support__faq-section {
  background-color: #ffffff;
  color: #333333;
}

.page-support__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-support__faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f9f9f9;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #017439;
  color: #ffffff;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

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

.page-support__faq-title {
  margin: 0;
  color: #ffffff;
}

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

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

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #ffffff;
  color: #333333;
}

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

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

.page-support__contact-section {
  background-color: #017439;
  color: #ffffff;
}

.page-support__contact-section .page-support__section-title {
  color: #ffffff;
}

.page-support__contact-section .page-support__section-description {
  color: #f0f0f0;
}

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

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

.page-support__contact-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-support__contact-card-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 10px;
}

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

.page-support__contact-card .page-support__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border-color: #017439;
}

.page-support__contact-card .page-support__btn-primary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

.page-support__responsible-gaming-section {
  background-color: #f5f5f5;
  color: #333333;
}

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

.page-support__responsible-gaming-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-top: 5px solid #017439;
}

.page-support__responsible-gaming-card-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 15px;
}

.page-support__responsible-gaming-card-text {
  color: #555555;
  margin-bottom: 25px;
}

.page-support__responsible-gaming-card .page-support__btn-secondary {
  background-color: transparent;
  color: #017439;
  border: 2px solid #017439;
}

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

.page-support__responsible-gaming-footer-text {
  text-align: center;
  margin-top: 40px;
  font-style: italic;
  color: #666666;
}

.page-support__newbie-guide-section {
  background-color: #017439;
  color: #ffffff;
}

.page-support__newbie-guide-section .page-support__section-title {
  color: #ffffff;
}

.page-support__newbie-guide-section .page-support__section-description {
  color: #f0f0f0;
}

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

.page-support__guide-card {
  background-color: #ffffff;
  color: #333333;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.page-support__guide-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-support__guide-card-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
}

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

.page-support__guide-card .page-support__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border-color: #017439;
}

.page-support__guide-card .page-support__btn-primary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

.page-support__newbie-guide-footer-text {
  text-align: center;
  margin-top: 40px;
  color: #f0f0f0;
}

.page-support__inline-link {
  color: #FFFF00;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-support__inline-link:hover {
  color: #e0e000;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-support__main-title {
    font-size: 2.8em;
  }
  .page-support__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-support__main-title {
    font-size: 2.2em;
  }
  .page-support__hero-description {
    font-size: 1em;
  }
  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-support__content-area {
    padding: 40px 15px;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__section-description {
    font-size: 0.95em;
  }
  .page-support__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-support__faq-answer {
    padding: 0 20px;
  }
  .page-support__faq-item.active .page-support__faq-answer {
    padding: 10px 20px;
  }
  .page-support__contact-methods,
  .page-support__responsible-gaming-grid,
  .page-support__guide-steps {
    grid-template-columns: 1fr;
  }
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__contact-card,
  .page-support__responsible-gaming-card,
  .page-support__guide-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }
  .page-support__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  /* Content images CSS size lower limit check */
  .page-support__contact-icon, .page-support__guide-image {
    width: auto; /* Allow auto width to scale with max-width: 100% */
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
    max-width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-support__main-title {
    font-size: 1.8em;
  }
  .page-support__hero-section {
    min-height: 400px;
  }
  .page-support__section-title {
    font-size: 1.6em;
  }
}