/* style/support.css */
/* 
  Body background color from shared.css: var(--bg-color)
  Assuming var(--bg-color) is dark based on custom colors like #08160F for background.
  Therefore, text colors will be light.
*/

.page-support {
  background-color: var(--bg-color, #08160F); /* Fallback to custom deep green */
  color: var(--text-main-color, #F2FFF6); /* Main text color for dark background */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

.page-support__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  box-sizing: border-box;
}

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

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

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

.page-support__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  max-width: 600px; /* Limit H1 width on large screens */
  margin-left: auto;
  margin-right: auto;
}

.page-support__hero-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.page-support__cta-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%; /* Ensure button doesn't overflow */
  box-sizing: border-box;
}

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

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

.page-support__cta-button--secondary {
  background: transparent;
  color: #2AD16F; /* Green from button gradient */
  border: 2px solid #2AD16F;
}

.page-support__cta-button--secondary:hover {
  background: rgba(42, 209, 111, 0.1);
  transform: translateY(-2px);
}

.page-support__section {
  padding: 80px 20px;
  text-align: center;
  box-sizing: border-box;
}

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

.page-support__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
}

.page-support__section-intro {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-support__card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border color */
  color: #F2FFF6; /* Text Main for card content */
  display: flex;
  flex-direction: column;
  height: 100%; /* Ensure cards are same height in a row */
  box-sizing: border-box;
}

.page-support__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-support__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure image behaves as block */
  min-width: 200px; /* Ensure card images are not too small */
  min-height: 200px; /* Ensure card images are not too small */
}

.page-support__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-support__card-text {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1; /* Allow text to grow and push link to bottom */
}

.page-support__card-link {
  display: inline-block;
  color: #2AD16F; /* Green from button gradient */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-support__card-link:hover {
  color: #57E38D; /* Glow */
  text-decoration: underline;
}

.page-support__faq-section {
  background-color: #0A4B2C; /* Deep Green */
  padding: 80px 20px;
}

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

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

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #11271B; /* Card BG */
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default marker for details */
}

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

.page-support__faq-question:hover {
  background-color: rgba(42, 209, 111, 0.1); /* Slight hover effect */
}

.page-support__faq-qtext {
  flex-grow: 1;
}

.page-support__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  line-height: 1;
}

.page-support__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.8;
}

.page-support__faq-answer p {
  margin-bottom: 15px;
}

.page-support__faq-answer-link {
  display: inline-block;
  color: #2AD16F; /* Green from button gradient */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-support__faq-answer-link:hover {
  color: #57E38D; /* Glow */
  text-decoration: underline;
}

.page-support__responsible-gaming-promo {
  background-color: #08160F; /* Background color */
  padding: 80px 20px;
}

.page-support__responsible-gaming-promo .page-support__container {
  background-color: #11271B; /* Card BG for this section's container */
  border-radius: 12px;
  padding: 50px;
  border: 1px solid #2E7A4E; /* Border color */
}

/* Links within content */
.page-support p a,
.page-support li a {
  color: #2AD16F;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-support p a:hover,
.page-support li a:hover {
  color: #57E38D;
}


/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-support__hero-section {
    padding: 40px 15px;
  }
  .page-support__section {
    padding: 60px 15px;
  }
  .page-support__container {
    padding: 0 15px;
  }
  .page-support__responsible-gaming-promo .page-support__container {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important; /* Ensure small top padding for mobile */
  }

  .page-support__hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

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

  .page-support__cta-group {
    flex-direction: column;
    gap: 10px;
  }

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

  .page-support__section,
  .page-support__faq-section,
  .page-support__contact-methods,
  .page-support__responsible-gaming-promo {
    padding: 40px 15px;
  }

  .page-support__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
  }

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

  .page-support__grid {
    grid-template-columns: 1fr;
  }

  .page-support__card {
    padding: 25px;
  }
  
  .page-support__card-image {
    height: 180px; /* Adjust height for mobile cards */
    min-width: 200px !important;
    min-height: 180px !important;
  }

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

  .page-support__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95rem;
  }

  .page-support__responsible-gaming-promo .page-support__container {
    padding: 30px 20px;
  }

  /* Mobile image and container responsiveness */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-support__hero-image-wrapper,
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__faq-section,
  .page-support__contact-methods,
  .page-support__responsible-gaming-promo {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
}