/* style/support.css */
.page-support {
  background-color: #08160F; /* Custom background color */
  color: #F2FFF6; /* Main text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-support a {
  color: #2AD16F;
  text-decoration: none;
}

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 60px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
  box-sizing: border-box;
}

.page-support__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-support__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text contrast */
}

.page-support__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(17, 39, 27, 0.7); /* Card BG with transparency for readability */
  border-radius: 10px;
  margin-top: 80px;
}

.page-support__main-title {
  font-size: 2.8em;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6;
}

.page-support__tagline {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #A7D9B8; /* Secondary text color */
}

.page-support__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-support__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-support__cta-button--secondary {
  background: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border color */
}

.page-support__cta-button--secondary:hover {
  background: #0A4B2C; /* Deep Green */
}

/* Section common styles */
.page-support__contact-methods,
.page-support__faq-section,
.page-support__guides-section,
.page-support__responsible-gaming-section,
.page-support__feedback-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px 20px;
  box-sizing: border-box;
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-support__section-title {
  font-size: 2em;
  color: #F2FFF6;
  margin-bottom: 20px;
  text-align: center;
}

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

/* Contact Methods */
.page-support__methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-support__method-card {
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-support__method-icon {
  width: 100%;
  max-width: 120px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-support__method-title {
  font-size: 1.5em;
  color: #F2FFF6;
  margin-bottom: 15px;
}

.page-support__method-description {
  color: #A7D9B8;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-support__method-button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-support__method-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

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

.page-support__faq-item {
  background-color: #0A4B2C; /* Deep Green */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  overflow: hidden;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  color: #F2FFF6;
  font-size: 1.1em;
  font-weight: bold;
  background-color: #11271B; /* Card BG */
  list-style: none;
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-support__faq-question::-webkit-details-marker {
  display: none;
}

.page-support__faq-question:hover {
  background-color: #0A4B2C; /* Deep Green */
}

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-support__faq-item[open] .page-support__faq-toggle {
  transform: rotate(45deg);
}

.page-support__faq-answer {
  padding: 20px 25px;
  color: #A7D9B8;
  border-top: 1px solid #2E7A4E; /* Divider color */
}

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

.page-support__faq-link {
  display: inline-block;
  margin-top: 10px;
  color: #57E38D; /* Glow color for links */
  text-decoration: underline;
}

.page-support__game-list {
  list-style: disc;
  margin-left: 20px;
  margin-top: 10px;
}

.page-support__game-list li {
  margin-bottom: 5px;
}

.page-support__game-list a {
  color: #F2FFF6;
  font-weight: normal;
}

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

.page-support__guide-card {
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-support__guide-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #2E7A4E;
}

.page-support__guide-card h3 {
  padding: 15px 20px 0;
  color: #F2FFF6;
  font-size: 1.3em;
}

.page-support__guide-card h3 a {
  color: #F2FFF6;
  text-decoration: none;
}

.page-support__guide-card h3 a:hover {
  text-decoration: underline;
}

.page-support__guide-description {
  padding: 10px 20px 20px;
  color: #A7D9B8;
  flex-grow: 1;
}

.page-support__view-all-button-wrapper {
  text-align: center;
  margin-top: 20px;
}

/* Responsible Gaming Section */
.page-support__responsibility-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.page-support__responsibility-item {
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-support__item-title {
  font-size: 1.4em;
  color: #57E38D; /* Glow color */
  margin-bottom: 10px;
}

.page-support__item-text {
  color: #A7D9B8;
}

/* Feedback Section */
.page-support__feedback-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-support__form-group {
  display: flex;
  flex-direction: column;
}

.page-support__form-label {
  font-size: 1.1em;
  color: #F2FFF6;
  margin-bottom: 8px;
}

.page-support__form-input,
.page-support__form-textarea {
  padding: 12px 15px;
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 5px;
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
  font-size: 1em;
}

.page-support__form-input::placeholder,
.page-support__form-textarea::placeholder {
  color: #A7D9B8;
}

.page-support__form-textarea {
  resize: vertical;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-support__main-title {
    font-size: 2.2em;
  }
  .page-support__tagline {
    font-size: 1.1em;
  }
  .page-support__contact-methods,
  .page-support__faq-section,
  .page-support__guides-section,
  .page-support__responsible-gaming-section,
  .page-support__feedback-section {
    margin: 30px auto;
    padding: 30px 15px;
  }
}

@media (max-width: 768px) {
  .page-support__hero-content {
    margin-top: 40px;
    padding: 20px 15px;
  }
  .page-support__main-title {
    font-size: 1.8em;
  }
  .page-support__tagline {
    font-size: 1em;
  }
  .page-support__cta-button {
    padding: 12px 25px;
  }

  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__section-description {
    font-size: 0.95em;
  }
  .page-support__methods-grid,
  .page-support__guides-grid,
  .page-support__responsibility-points {
    grid-template-columns: 1fr;
  }

  /* Mobile image responsiveness */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-support__method-icon {
    max-width: 80px;
  }

  /* Mobile button responsiveness */
  .page-support__cta-button,
  .page-support__method-button {
    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__view-all-button-wrapper {
    padding: 0 15px;
    box-sizing: border-box;
  }
  .page-support__hero-section,
  .page-support__contact-methods,
  .page-support__faq-section,
  .page-support__guides-section,
  .page-support__responsible-gaming-section,
  .page-support__feedback-section,
  .page-support__method-card,
  .page-support__guide-card,
  .page-support__responsibility-item,
  .page-support__feedback-form {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: 0;
    margin-right: 0;
  }
  .page-support__faq-question {
    padding: 15px 20px;
  }
  .page-support__faq-answer {
    padding: 15px 20px;
  }
  .page-support__hero-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-support__hero-content {
    width: calc(100% - 30px); /* Adjust for padding within content */
    margin-left: 15px;
    margin-right: 15px;
  }
}