.page-support {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background color from custom palette */
  line-height: 1.6;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, text below */
  align-items: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  text-align: center;
  background-color: #0A0A0A; /* Ensure consistent background */
  box-sizing: border-box;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px; /* Space between image and content */
}

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

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

.page-support__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  color: #F2C14E; /* Main color */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF6D6; /* Text Main */
}

/* CTA Buttons */
.page-support__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-text {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
  box-sizing: border-box;
  text-align: center;
}

.page-support__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for bright button */
  border: 2px solid transparent;
}

.page-support__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-support__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E; /* Border color */
}

.page-support__btn-secondary:hover {
  background: #F2C14E;
  color: #0A0A0A; /* Dark background color */
  transform: translateY(-2px);
}

.page-support__btn-text {
  color: #F2C14E; /* Main color */
  text-decoration: underline;
  padding: 0;
  border: none;
  background: none;
}

.page-support__btn-text:hover {
  color: #FFD36B; /* Glow color */
}

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

.page-support__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-support__section-description {
  font-size: 1.1em;
  color: #FFF6D6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.page-support__faq-section {
  background-color: #0A0A0A; /* Background color */
  padding: 60px 0;
}

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

.page-support__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  overflow: hidden;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
  background-color: #1a1a1a; /* Slightly lighter hover */
}

.page-support__faq-question h3 {
  margin: 0;
  color: #F2C14E; /* Main color for question text */
  font-size: 1em; /* Keep h3 within question smaller */
}

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #F2C14E; /* Main color */
}

.page-support__faq-item.active .page-support__faq-toggle {
  transform: rotate(45deg); /* Rotate for minus sign effect */
}

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6; /* Text Main */
  background-color: #111111; /* Card BG */
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px 25px 25px; /* Adjust padding when active */
}

.page-support__faq-answer p {
  margin: 0;
  color: #FFF6D6; /* Text Main */
}

.page-support__faq-answer a {
  color: #FFD36B; /* Glow color for links in answers */
  text-decoration: underline;
}

.page-support__faq-answer a:hover {
  color: #F2C14E; /* Main color on hover */
}

/* Contact Section */
.page-support__contact-section {
  background-color: #0A0A0A; /* Background color */
  padding: 60px 0;
}

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

.page-support__contact-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFF6D6; /* Text Main */
}

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

.page-support__card-title {
  font-size: 1.5em;
  color: #F2C14E; /* Main color */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-support__contact-card p {
  margin-bottom: 25px;
  flex-grow: 1; /* Push button to bottom */
}

/* Guides Section */
.page-support__guides-section {
  background-color: #0A0A0A; /* Background color */
  padding: 60px 0;
}

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

.page-support__guide-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #FFF6D6; /* Text Main */
}

.page-support__guide-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-support__guide-card .page-support__card-title {
  padding: 20px 20px 10px;
  margin-bottom: 0;
  text-align: left;
}

.page-support__guide-card .page-support__card-title a {
  color: #F2C14E; /* Main color */
  text-decoration: none;
  font-size: 1.2em;
  line-height: 1.4;
  display: block;
}

.page-support__guide-card .page-support__card-title a:hover {
  color: #FFD36B; /* Glow color on hover */
}

.page-support__guide-card p {
  padding: 0 20px 20px;
  flex-grow: 1;
  text-align: left;
}

.page-support__guide-card .page-support__btn-text {
  align-self: flex-start;
  margin: 0 20px 20px;
}

.page-support__view-all {
  text-align: center;
  margin-top: 50px;
}

/* Responsible Gaming Section */
.page-support__responsible-gaming-section {
  background-color: #0A0A0A; /* Background color */
  padding: 60px 0;
}

.page-support__responsible-gaming-content {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping */
  gap: 40px;
  align-items: center;
  margin-top: 50px;
}

.page-support__responsible-gaming-image {
  flex: 1 1 45%; /* Adjust flex basis for responsiveness */
  max-width: 600px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  min-width: 200px; /* Minimum image size */
}

.page-support__responsible-gaming-list {
  flex: 1 1 45%; /* Adjust flex basis for responsiveness */
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.page-support__responsible-gaming-list li {
  background-color: #111111; /* Card BG */
  border-left: 4px solid #F2C14E; /* Main color accent */
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 4px;
  color: #FFF6D6; /* Text Main */
  font-size: 1.05em;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-support__hero-section {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

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

  .page-support__contact-methods {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-support__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-support__main-title {
    font-size: clamp(1.8em, 6vw, 2.8em);
  }

  .page-support__hero-description {
    font-size: 1em;
  }

  .page-support__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    width: 100%;
    padding: 0 15px; /* Add padding to container */
    box-sizing: border-box;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-support__container {
    padding: 30px 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;
  }

  .page-support__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  
  .page-support__faq-question h3 {
    font-size: 0.95em;
  }

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

  .page-support__faq-item.active .page-support__faq-answer {
    padding: 10px 20px 20px;
  }

  .page-support__contact-methods {
    grid-template-columns: 1fr; /* Single column */
  }

  .page-support__guide-list {
    grid-template-columns: 1fr; /* Single column */
  }

  .page-support__guide-image {
    height: 180px; /* Smaller fixed height for mobile */
  }

  .page-support__responsible-gaming-content {
    flex-direction: column;
  }

  .page-support__responsible-gaming-image {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .page-support__responsible-gaming-list {
    flex: 1 1 100%;
  }

  /* Force responsive images */
  .page-support img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-support__hero-section { 
    padding-top: 10px !important; 
  }
}

/* Ensure link colors contrast correctly on dark background */
.page-support a {
  color: #F2C14E; /* Main color for general links */
  text-decoration: none;
}

.page-support a:hover {
  color: #FFD36B; /* Glow color on hover */
  text-decoration: underline;
}

/* Specific link colors for elements */
.page-support__faq-answer a {
  color: #FFD36B;
}

.page-support__faq-answer a:hover {
  color: #F2C14E;
}

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

.page-support__guide-card .page-support__card-title a:hover {
  color: #FFD36B;
}