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

.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); /* Ensure content is below fixed header */
  background: linear-gradient(135deg, #017439, #017439 50%, #FFFFFF); /* Brand color gradient */
  color: #ffffff;
}

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

.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;
  color: #FFFFFF;
  font-weight: bold;
}

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

.page-support__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
}

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

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

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

.page-support__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Color scheme application */
.page-support__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

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

.page-support__dark-bg .page-support__section-title,
.page-support__dark-bg .page-support__section-description,
.page-support__dark-bg .page-support__card-title,
.page-support__dark-bg p,
.page-support__dark-bg li,
.page-support__dark-bg h3 {
  color: #ffffff;
}

.page-support__light-bg .page-support__section-title,
.page-support__light-bg .page-support__section-description,
.page-support__light-bg .page-support__card-title,
.page-support__light-bg p,
.page-support__light-bg li,
.page-support__light-bg h3 {
  color: #333333;
}

/* Channels Section */
.page-support__channels-section {
  padding: 80px 0;
}

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

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

.page-support__channel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-support__channel-card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

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

.page-support__channel-card p {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-support__btn-secondary {
  display: inline-block;
  padding: 10px 25px;
  background: #ffffff;
  color: #017439;
  border: 2px solid #017439;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
}

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

/* Guide Section */
.page-support__guide-section {
  padding: 80px 0;
}

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

.page-support__step-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-support__step-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #FFFF00; /* Highlight for titles */
}

.page-support__step-item p {
  font-size: 1em;
  color: #ffffff;
}

/* Common Issues Section */
.page-support__common-issues-section {
  padding: 80px 0;
}

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

.page-support__issue-card {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-support__issue-card h3 {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #017439;
  font-weight: bold;
}

.page-support__issue-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-support__issue-card li {
  margin-bottom: 10px;
  font-size: 1em;
  color: #333333;
}

.page-support__issue-card strong {
  color: #017439;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 80px 0;
}

.page-support__faq-illustration {
  text-align: center;
  margin-bottom: 50px;
}

.page-support__faq-illustration img {
  max-width: 80%;
  height: auto;
  border-radius: 10px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

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

.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  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 h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  color: #333333;
  pointer-events: none;
}

.page-support__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #017439;
  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: #C30808;
  transform: rotate(45deg); /* Optional: rotate for 'X' effect */
}

.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;
  padding: 0 25px;
  opacity: 0;
  background: #fdfdfd;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: #fdfdfd;
}

.page-support__faq-answer p {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

/* Responsible Gaming Section */
.page-support__responsible-gaming-section {
  padding: 80px 0;
}

.page-support__responsible-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-support__responsible-text {
  flex: 1;
  min-width: 300px;
}

.page-support__responsible-text p {
  margin-bottom: 20px;
  color: #333333;
}

.page-support__responsible-text ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-support__responsible-text li {
  margin-bottom: 10px;
  color: #333333;
}

.page-support__responsible-text a {
  color: #017439;
  text-decoration: underline;
  font-weight: bold;
}

.page-support__responsible-text a:hover {
  color: #C30808;
}

.page-support__responsible-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-support__responsible-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

/* Why Choose Us Section */
.page-support__why-choose-us-section {
  padding: 80px 0;
}

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

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

.page-support__advantage-card h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #FFFF00; /* Highlight for titles */
}

.page-support__advantage-card p {
  font-size: 1em;
  color: #ffffff;
}

.page-support__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

.page-support__cta-bottom p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 2.8em;
  }
  .page-support__section-title {
    font-size: 2em;
  }
  .page-support__container {
    padding: 30px 15px;
  }
  .page-support__channels-grid,
  .page-support__guide-steps,
  .page-support__issues-grid,
  .page-support__advantages-grid {
    gap: 20px;
  }
}

@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__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-support__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-support__cta-button {
    padding: 12px 30px;
    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__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-support__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-support__channel-card,
  .page-support__step-item,
  .page-support__issue-card,
  .page-support__advantage-card {
    padding: 20px;
  }
  .page-support__card-title,
  .page-support__step-title,
  .page-support__issue-card h3,
  .page-support__advantage-card h3 {
    font-size: 1.3em;
  }
  .page-support__channel-card img,
  .page-support__responsible-image img,
  .page-support__faq-illustration img,
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important; /* Enforce minimum size */
    min-height: 200px !important;
  }
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__channels-grid,
  .page-support__guide-steps,
  .page-support__issues-grid,
  .page-support__advantages-grid,
  .page-support__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-support__cta-bottom .page-support__cta-button {
    width: calc(100% - 30px) !important; /* Adjust for padding */
    margin-left: 15px;
    margin-right: 15px;
  }
  .page-support__responsible-content {
    flex-direction: column;
  }
  .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__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
}