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

.page-support__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-support__light-bg {
  background-color: #ffffff;
  color: #333333;
}

/* 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: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-support__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-support__hero-content {
  flex: 1;
  text-align: left;
  z-index: 2;
  color: #ffffff;
}

.page-support__main-title {
  font-size: 44px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff; /* Ensures contrast on dark background */
}

.page-support__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-support__hero-cta {
  display: flex;
  gap: 15px;
  justify-content: flex-start;
}

.page-support__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* General Section Styles */
.page-support__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-support__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: inherit; /* Inherits from parent section */
}

.page-support__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

/* CTA Buttons */
.page-support__cta-button,
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary {
  background: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

.page-support__btn-secondary {
  background: #ffffff;
  color: #017439; /* Primary brand color */
  border: 2px solid #017439;
}

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

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

.page-support__method-card {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 350px;
}

.page-support__method-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-support__method-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #017439;
}

.page-support__method-text {
  font-size: 16px;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* FAQ Section */
.page-support__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-support__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

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

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

.page-support__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  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: #017439;
  transform: rotate(45deg);
}

.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;
  background: #f9f9f9;
  color: #333333;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  border-radius: 0 0 5px 5px;
}

.page-support__faq-cta {
  text-align: center;
  margin-top: 40px;
}

/* Responsible Gaming Section */
.page-support__responsible-gaming {
  padding: 60px 20px;
}

.page-support__gaming-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-support__gaming-text {
  flex: 1;
}

.page-support__gaming-text h3 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #017439;
}

.page-support__gaming-text p {
  font-size: 16px;
  margin-bottom: 20px;
}

.page-support__gaming-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-support__gaming-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Feedback Section */
.page-support__feedback-section {
  padding: 60px 20px;
}

.page-support__feedback-form {
  max-width: 700px;
  margin: 40px auto 0 auto;
  background: #ffffff;
  padding: 35px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.page-support__form-group {
  margin-bottom: 20px;
}

.page-support__form-label {
  display: block;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #333333;
}

.page-support__form-input,
.page-support__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
  background-color: #fcfcfc;
  color: #333333;
}

.page-support__form-input::placeholder,
.page-support__form-textarea::placeholder {
  color: #999999;
}

.page-support__form-textarea {
  resize: vertical;
}

.page-support__feedback-form button[type="submit"] {
  width: 100%;
  padding: 15px;
  font-size: 20px;
  background: #017439;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-support__feedback-form button[type="submit"]:hover {
  background: #005f2c;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-support__hero-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .page-support__hero-content {
    text-align: center;
  }

  .page-support__hero-cta {
    justify-content: center;
  }

  .page-support__main-title {
    font-size: 38px;
  }

  .page-support__section-title {
    font-size: 32px;
  }

  .page-support__gaming-content {
    flex-direction: column;
  }

  .page-support__gaming-text h3 {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support__main-title {
    font-size: 30px;
    margin-bottom: 15px;
  }

  .page-support__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-support__hero-cta {
    flex-direction: column;
    gap: 10px;
  }

  .page-support__cta-button,
  .page-support__btn-primary,
  .page-support__btn-secondary {
    padding: 12px 20px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-support__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support__section-title {
    font-size: 28px;
  }

  .page-support__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-support__methods-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-support__method-card {
    padding: 25px;
  }

  .page-support__method-title {
    font-size: 20px;
  }

  .page-support__method-text {
    font-size: 15px;
  }

  .page-support__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-support__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    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__gaming-text h3 {
    font-size: 22px;
  }

  .page-support__gaming-text p {
    font-size: 15px;
  }

  .page-support__feedback-form {
    padding: 25px;
  }

  .page-support__form-label {
    font-size: 15px;
  }

  .page-support__form-input,
  .page-support__form-textarea {
    padding: 10px 12px;
    font-size: 15px;
  }

  .page-support__feedback-form button[type="submit"] {
    font-size: 18px;
    padding: 12px;
  }

  /* Ensure all images are responsive */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__methods-grid,
  .page-support__gaming-content,
  .page-support__feedback-form {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}