.page-support {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main for dark background */
  background-color: var(--bg-color, #08160F); /* Fallback to Deep Green if --bg-color is not set by shared.css */
  line-height: 1.6;
}

.page-support h1,
.page-support h2,
.page-support h3,
.page-support h4,
.page-support h5,
.page-support h6 {
  color: #F2FFF6; /* Text Main */
  margin-bottom: 1em;
}

.page-support__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: #08160F; /* Deep Green */
  position: relative;
  overflow: hidden;
}

.page-support__hero-content {
  text-align: center;
  max-width: 900px;
  margin-bottom: 40px; /* Space between text and image */
  z-index: 1; /* Ensure text is above image if any overlap */
}

.page-support__hero-title {
  font-size: clamp(2em, 4vw, 3em); /* Responsive H1 font size */
  font-weight: 700;
  line-height: 1.2;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
}

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

.page-support__hero-image {
  width: 100%;
  max-width: 1200px; /* Max width for the image */
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  margin-top: 20px; /* Space below the hero content */
}

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

.page-support__section-title {
  text-align: center;
  font-size: 2.2em;
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 40px;
  position: relative;
}

.page-support__section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #2AD16F 0%, #13994A 100%);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-support__quick-links {
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 12px;
  padding: 40px;
  margin-top: 40px;
}

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

.page-support__card {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.page-support__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px #57E38D; /* Glow */
}

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

.page-support__card-text {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
}

.page-support__guides-section {
  background-color: #08160F; /* Deep Green */
}

.page-support__guide-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-support__text-block {
  background-color: #11271B; /* Card B G */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #2E7A4E; /* Border */
  color: #F2FFF6; /* Text Main */
  margin-bottom: 40px;
}

.page-support__text-block h3 {
  color: #57E38D; /* Glow */
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-support__text-block p {
  margin-bottom: 15px;
  color: #F2FFF6;
}

.page-support__text-block ol,
.page-support__text-block ul {
  margin-bottom: 15px;
  padding-left: 25px;
  color: #F2FFF6;
}

.page-support__text-block li {
  margin-bottom: 8px;
  color: #F2FFF6;
}

.page-support__text-block a {
  color: #2AD16F; /* Lighter green for links */
  text-decoration: none;
  font-weight: bold;
}

.page-support__text-block a:hover {
  text-decoration: underline;
  color: #57E38D; /* Glow */
}

.page-support__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  margin-top: 20px;
}

.page-support__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px #57E38D; /* Glow */
}

.page-support__read-more-button {
  margin-left: 0;
  display: block;
  width: fit-content;
}

.page-support__faq-section {
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 12px;
  margin-top: 40px;
}

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

.page-support__faq-item {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  color: #F2FFF6; /* Text Main */
  overflow: hidden;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: 600;
  cursor: pointer;
  list-style: none; /* For details/summary */
  -webkit-touch-callout: none; /* Disable callout on iOS */
  -webkit-user-select: none;   /* Disable text selection */
  -khtml-user-select: none;    /* Disable text selection */
  -moz-user-select: none;      /* Disable text selection */
  -ms-user-select: none;       /* Disable text selection */
  user-select: none;           /* Disable text selection */
}

.page-support__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome/Safari */
}

.page-support__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #57E38D; /* Glow */
  margin-left: 15px;
  line-height: 1;
}

.page-support__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  max-height: 0; /* Default for JS controlled */
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

/* For details tag, the answer will be visible by default when open */
.page-support__faq-item[open] .page-support__faq-answer {
    max-height: fit-content; /* Allow content to dictate height */
    max-height: 1000px; /* A large enough value to accommodate content */
    transition: max-height 0.5s ease-in;
}

.page-support__contact-section {
  background-color: #08160F; /* Deep Green */
}

.page-support__contact-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-support__responsible-gaming {
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 12px;
  margin-bottom: 40px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: clamp(1.8em, 5vw, 2.8em);
  }
}

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

  .page-support__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-support__hero-content {
    margin-bottom: 30px;
  }

  .page-support__hero-title {
    font-size: clamp(1.5em, 7vw, 2.5em);
  }

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

  .page-support__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-support__section {
    padding: 40px 15px;
  }

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

  .page-support__quick-links {
    padding: 30px 15px;
  }

  .page-support__link-cards {
    grid-template-columns: 1fr; /* Stack cards on mobile */
  }

  .page-support__card {
    padding: 20px;
  }

  .page-support__guide-image,
  .page-support__contact-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 30px;
  }

  .page-support__text-block {
    padding: 20px;
  }

  .page-support__text-block h3 {
    font-size: 1.3em;
  }

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

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

  /* Image responsiveness for all img tags */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containers with images/buttons/videos */
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__link-card,
  .page-support__text-block,
  .page-support__faq-item,
  .page-support__faq-list,
  .page-support__link-cards {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button specific mobile rules */
  .page-support__cta-buttons,
  .page-support__button-group,
  .page-support__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column;
  }
  
  /* Video specific mobile rules (if any video is added) */
  .page-support video,
  .page-support__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-support__video-section,
  .page-support__video-container,
  .page-support__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-support__video-section {
    padding-top: 10px !important;
  }
}