/* style/support.css */

/* Body background color is handled by shared.css var(--site-bg). 
   Assuming a dark background based on provided color scheme, using light text. */
.page-support {
  color: #F2FFF6; /* Text Main */
  background-color: transparent; /* Handled by body in shared.css */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

.page-support__hero-image-wrapper {
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  opacity: 0.6;
}

.page-support__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #F2FFF6; /* Text Main */
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for readability */
  border-radius: 8px;
}

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

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

.page-support__section-title {
  font-size: 2.5em;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-top: 50px;
  margin-bottom: 20px;
}

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

.page-support__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
  max-width: 100%; /* Ensure button does not overflow */
  box-sizing: border-box; /* Include padding in width */
}

.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%);
  transform: translateY(-2px);
}

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

.page-support__btn-secondary:hover {
  background: #11A84E; /* Main Color */
  color: #ffffff;
  transform: translateY(-2px);
}

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

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

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

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  font-size: 1.15em;
  list-style: none; /* For details tag */
}

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

.page-support__faq-item[open] .page-support__faq-question {
  background-color: #0A4B2C; /* Deep Green */
}

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

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

.page-support__faq-answer h3 {
  color: #F2FFF6; /* Text Main */
  font-size: 1.05em;
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-support__faq-image {
  display: block;
  margin: 40px auto 0;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

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

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

.page-support__guide-card {
  background-color: #11271B; /* Card BG */
  border-radius: 8px;
  padding: 30px;
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-support__guide-card-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
}

.page-support__guide-steps {
  list-style-type: decimal;
  margin-left: 20px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

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

.page-support__guide-steps strong {
  color: #F2FFF6; /* Text Main */
}

.page-support__guide-image {
  display: block;
  margin: 40px auto 0;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

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

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

.page-support__contact-card {
  background-color: #11271B; /* Card BG */
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-support__contact-card-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-support__contact-card p {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 25px;
  flex-grow: 1;
}

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

.page-support__responsible-gaming-list {
  list-style-type: disc;
  margin-left: 25px;
  color: #A7D9B8; /* Text Secondary */
  margin-top: 30px;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
}

.page-support__responsible-gaming-list li {
  margin-bottom: 10px;
  color: #F2FFF6; /* Text Main */
}

.page-support__responsible-gaming-list li strong {
  color: #57E38D; /* Glow */
}

.page-support__responsible-gaming-image {
  display: block;
  margin: 40px auto 0;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-support__hero-content {
    max-width: 90%;
  }

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

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

  .page-support__faq-question, .page-support__guide-card-title, .page-support__contact-card-title {
    font-size: 1.05em;
  }
}

@media (max-width: 768px) {
  .page-support__container {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-support__hero-content {
    padding: 15px;
  }

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

  .page-support__description {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .page-support__section-title {
    font-size: 1.8em;
    margin-top: 30px;
  }

  .page-support__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-support__cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  /* Force responsive for images, videos, buttons */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-support__hero-image-wrapper,
  .page-support__faq-image,
  .page-support__guide-image,
  .page-support__responsible-gaming-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-support__faq-section,
  .page-support__guides-section,
  .page-support__contact-section,
  .page-support__responsible-gaming-section {
    padding: 30px 0;
  }

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

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

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

  .page-support__responsible-gaming-list {
    grid-template-columns: 1fr;
    margin-left: 15px;
    gap: 10px;
  }
  
  .page-support__cta-button,
  .page-support__btn-primary,
  .page-support__btn-secondary {
    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__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;
  }
}