/* style/support.css */
/* Body background is #08160F (dark), so main text color should be #F2FFF6 (light) */
.page-support {
  background-color: var(--background-color, #08160F); /* Fallback to custom color if shared doesn't define */
  color: var(--text-main-color, #F2FFF6); /* Main text color */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-support__hero-section {
  background-color: #0A4B2C; /* Deep Green, slightly different from body for distinction */
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 400px; /* Ensure hero section has a minimum height */
}

.page-support__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-support__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-support__hero-content h1 {
  color: #F2FFF6; /* Text Main */
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 */
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-support__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* For mobile responsiveness */
}

.page-support__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-support__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Section styling */
.page-support__section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-support__section-dark {
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
}

.page-support__section-light {
  background-color: #11271B; /* Card BG, lighter than body for contrast */
  color: #F2FFF6;
}

.page-support__section-title {
  color: #F2FFF6;
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
}

.page-support__section-subtitle {
  color: #A7D9B8;
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.page-support__faq-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-support__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 20px 25px;
  color: #F2FFF6;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-support__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: #F2FFF6;
  list-style: none; /* Hide default marker */
}

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

.page-support__faq-question {
  flex-grow: 1;
  padding-right: 10px;
}

.page-support__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #57E38D; /* Glow */
}

.page-support__faq-answer {
  padding-top: 15px;
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
}

/* Contact Section */
.page-support__contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-support__contact-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 30px 20px;
  color: #F2FFF6;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-support__contact-item h3 {
  color: #F2FFF6;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.page-support__contact-item p {
  color: #A7D9B8;
  margin-bottom: 15px;
}

.page-support__contact-item a {
  color: #57E38D; /* Glow */
  text-decoration: none;
  font-weight: bold;
}

.page-support__contact-item a:hover {
  text-decoration: underline;
}

/* Guides Section */
.page-support__guide-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-support__guide-card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 25px;
  color: #F2FFF6;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-support__guide-card h3 {
  color: #F2FFF6;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.page-support__guide-card ol {
  list-style: decimal;
  padding-left: 20px;
  color: #A7D9B8;
}

.page-support__guide-card ol li {
  margin-bottom: 10px;
}

/* Responsible Gambling Section */
.page-support__responsible-gambling {
  text-align: center;
}

.page-support__responsible-gambling p {
  color: #A7D9B8;
  max-width: 800px;
  margin: 0 auto 20px auto;
}

.page-support__responsible-gambling a {
  color: #57E38D;
  text-decoration: none;
  font-weight: bold;
}

.page-support__responsible-gambling a:hover {
  text-decoration: underline;
}

/* Image containers */
.page-support__image-container {
  margin-top: 40px;
  text-align: center;
}

.page-support__image-container--center img {
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Divider */
.page-support__divider {
  border: none;
  border-top: 1px solid #1E3A2A; /* Divider */
  margin: 40px auto;
  max-width: 80%;
}

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

  .page-support__hero-section {
    padding: 40px 15px;
    padding-top: 10px;
    min-height: 300px;
  }

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

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

  .page-support__button-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-support__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;
  }

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

  .page-support__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-support__section-subtitle {
    font-size: 1rem;
    margin-bottom: 40px;
  }

  .page-support__faq-list,
  .page-support__contact-grid,
  .page-support__guide-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Images responsiveness */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__hero-section,
  .page-support__faq-item,
  .page-support__contact-item,
  .page-support__guide-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }
  
  .page-support__image-container--center img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-support__divider {
    margin: 30px auto;
  }
}