.page-support {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Default text color for dark background */
  line-height: 1.6;
}

.page-support__dark-bg {
  background-color: #08160F;
  color: #F2FFF6;
}

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

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

.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  min-height: 200px; /* Ensure min size */
}

.page-support__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.page-support__main-title {
  font-size: 2.8em;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold color for main title */
}

.page-support__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #A7D9B8;
}

.page-support__section-title {
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  color: #F2C14E; /* Gold color for section titles */
}

.page-support__light-bg .page-support__section-title {
  color: #11A84E; /* Primary color for light background titles */
}

.page-support__section-intro {
  font-size: 1.05em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #A7D9B8;
}

.page-support__light-bg .page-support__section-intro {
  color: #333333;
}

.page-support__why-us-section, 
.page-support__faq-section, 
.page-support__contact-methods-section, 
.page-support__guides-section, 
.page-support__responsible-gaming-section, 
.page-support__cta-final-section {
  padding: 80px 0;
}

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

.page-support__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 400px; /* Ensure sufficient height */
}

.page-support__feature-icon {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

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

.page-support__feature-text {
  font-size: 1em;
  color: #555555;
}

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

.page-support__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15em;
  font-weight: bold;
  color: #F2FFF6;
  cursor: pointer;
  background-color: #11271B;
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-support__faq-question::-webkit-details-marker {
  display: none;
}

.page-support__faq-item[open] > .page-support__faq-question {
  background-color: #0A4B2C;
}

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

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

.page-support__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #A7D9B8;
}

.page-support__faq-answer p {
  margin: 0;
  padding-top: 10px;
}

.page-support__cta-group {
  text-align: center;
  margin-top: 40px;
}

.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-color: #11271B;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #2E7A4E;
  color: #F2FFF6;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support__contact-icon {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

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

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

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

.page-support__guide-card {
  background-color: #11271B;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #2E7A4E;
  color: #F2FFF6;
  display: flex;
  flex-direction: column;
}

.page-support__guide-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  min-height: 200px; /* Ensure min size */
}

.page-support__guide-card .page-support__card-title {
  padding: 20px 20px 10px;
  font-size: 1.2em;
  margin-bottom: 0;
}

.page-support__guide-card .page-support__card-title a {
  color: #F2C14E;
  text-decoration: none;
}

.page-support__guide-card .page-support__card-title a:hover {
  text-decoration: underline;
}

.page-support__guide-card .page-support__card-text {
  padding: 0 20px 20px;
  font-size: 0.95em;
  color: #A7D9B8;
  flex-grow: 1;
}

.page-support__btn-text {
  display: inline-block;
  padding: 10px 20px;
  margin: 0 20px 20px;
  color: #57E38D;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: color 0.3s ease;
}

.page-support__btn-text:hover {
  color: #2AD16F;
}

.page-support__responsible-gaming-list {
  list-style: disc;
  max-width: 800px;
  margin: 40px auto;
  padding-left: 40px;
  font-size: 1.05em;
  color: #333333;
}

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

.page-support__cta-final-section {
  text-align: center;
  padding: 100px 0;
}

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

.page-support__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-support__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px #57E38D;
}

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

.page-support__btn-secondary:hover {
  background-color: #57E38D;
  color: #08160F;
}

/* Image and Video Responsiveness */
.page-support img {
  max-width: 100%;
  height: auto;
  display: block;
  min-width: 200px; /* Global min size */
  min-height: 200px; /* Global min size */
}

/* Mobile specific styles */
@media (max-width: 768px) {
  .page-support__container {
    padding: 0 15px;
  }

  .page-support__hero-section {
    padding-bottom: 40px;
  }

  .page-support__main-title {
    font-size: 2em;
  }

  .page-support__description {
    font-size: 1em;
  }

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

  .page-support__section-intro {
    font-size: 0.95em;
  }

  .page-support__why-us-section, 
  .page-support__faq-section, 
  .page-support__contact-methods-section, 
  .page-support__guides-section, 
  .page-support__responsible-gaming-section, 
  .page-support__cta-final-section {
    padding: 40px 0;
  }

  .page-support__features-grid,
  .page-support__contact-grid,
  .page-support__guides-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-support__feature-item,
  .page-support__contact-card,
  .page-support__guide-card {
    padding: 20px;
    min-height: auto;
  }

  .page-support__faq-question {
    font-size: 1em;
    padding: 15px;
  }

  .page-support__faq-answer {
    padding: 0 15px 15px;
  }

  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-support__cta-button,
  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support a[class*="button"],
  .page-support a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Image responsive rules for mobile */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Containers for images/content on mobile */
  .page-support__hero-section,
  .page-support__why-us-section .page-support__container,
  .page-support__faq-section .page-support__container,
  .page-support__contact-methods-section .page-support__container,
  .page-support__guides-section .page-support__container,
  .page-support__responsible-gaming-section .page-support__container,
  .page-support__cta-final-section .page-support__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
  }

  .page-support__hero-image-wrapper {
    max-height: 300px;
  }

  .page-support__guide-image {
    height: 180px;
  }

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

  /* Ensure no content overflow */
  .page-support__hero-content,
  .page-support__features-grid,
  .page-support__faq-list,
  .page-support__contact-grid,
  .page-support__guides-grid,
  .page-support__cta-buttons {
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
}