/* style/support.css */
.page-support {
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background from shared.css */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-support__section-title,
.page-support__hero-title {
  color: #D4AF37;
  text-align: center;
  margin-bottom: 20px;
  font-size: 2.5em;
  font-weight: bold;
}

.page-support__section-intro,
.page-support__hero-description,
.page-support__responsible-gambling-description,
.page-support__cta-description {
  text-align: center;
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__hero-section {
  position: relative;
  overflow: hidden;
  padding-bottom: 60px;
}

.page-support__hero-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability, not changing color */
}

.page-support__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  z-index: 10;
  padding: 20px;
  max-width: 90%;
}

.page-support__hero-title {
  font-size: 3.5em;
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-support__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.page-support__hero-button,
.page-support__faq-button,
.page-support__guide-card-link,
.page-support__contact-method-button,
.page-support__responsible-gambling-button,
.page-support__cta-button {
  display: inline-block;
  background-color: #D4AF37;
  color: #1A202C;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-support__hero-button:hover,
.page-support__faq-button:hover,
.page-support__guide-card-link:hover,
.page-support__contact-method-button:hover,
.page-support__responsible-gambling-button:hover,
.page-support__cta-button:hover {
  background-color: #e1c773;
  transform: translateY(-3px);
}

.page-support__faq-section,
.page-support__guides-section,
.page-support__contact-section,
.page-support__responsible-gambling-section,
.page-support__cta-section {
  padding: 80px 0;
}

.page-support__faq-section {
  background-color: rgba(26, 32, 44, 0.8);
}

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

.page-support__faq-item {
  background-color: #1A202C;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid #D4AF37;
}

.page-support__faq-question {
  color: #D4AF37;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  position: relative;
  margin: 0;
  text-align: left;
}

.page-support__faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}

.page-support__faq-answer {
  padding: 0 20px 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding: 0 20px 20px;
}

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

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

.page-support__guides-section {
  background-color: #1A202C;
}

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

.page-support__guide-card {
  background-color: rgba(212, 175, 55, 0.1);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #D4AF37;
}

.page-support__guide-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-support__guide-card-title {
  font-size: 1.3em;
  color: #D4AF37;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-support__guide-card-title a {
  color: #D4AF37;
  text-decoration: none;
}

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

.page-support__guide-card-description {
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-support__contact-section {
  background-color: rgba(26, 32, 44, 0.8);
}

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

.page-support__contact-method-card {
  background-color: #1A202C;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  border: 1px solid #D4AF37;
}

.page-support__contact-method-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  min-width: 60px;
  min-height: 60px;
}

.page-support__contact-method-title {
  font-size: 1.5em;
  color: #D4AF37;
  margin-bottom: 10px;
}

.page-support__contact-method-description {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-support__responsible-gambling-section {
  background-color: #1A202C;
  text-align: center;
}

.page-support__responsible-gambling-description {
  max-width: 900px;
  margin: 0 auto 40px;
  font-size: 1.1em;
  line-height: 1.7;
}

.page-support__cta-section {
  background-color: rgba(212, 175, 55, 0.1);
  padding: 100px 0;
  text-align: center;
  border-top: 2px solid #D4AF37;
}

.page-support__cta-title {
  color: #D4AF37;
  font-size: 2.8em;
  margin-bottom: 20px;
}

.page-support__cta-description {
  font-size: 1.2em;
  max-width: 700px;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 3em;
  }
  .page-support__hero-description {
    font-size: 1.2em;
  }
  .page-support__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-support__hero-title {
    font-size: 2.2em;
  }
  .page-support__hero-description {
    font-size: 1em;
  }
  .page-support__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-support__faq-section,
  .page-support__guides-section,
  .page-support__contact-section,
  .page-support__responsible-gambling-section,
  .page-support__cta-section {
    padding: 60px 0;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__guide-card-image,
  .page-support__guide-card,
  .page-support__contact-method-card {
    max-width: 100%;
  }
  .page-support__guides-section .page-support__guide-card-image,
  .page-support__contact-section .page-support__contact-method-icon,
  .page-support__faq-section .page-support__faq-answer img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-support__faq-answer img {
    width: 100%;
    height: auto;
  }
  .page-support__faq-question {
    font-size: 1.1em;
  }
  .page-support__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 1.8em;
  }
  .page-support__hero-description {
    font-size: 0.9em;
  }
  .page-support__section-title {
    font-size: 1.5em;
  }
  .page-support__faq-question {
    font-size: 1em;
    padding: 15px;
  }
  .page-support__faq-question::after {
    right: 15px;
  }
  .page-support__faq-answer {
    padding: 0 15px 15px;
  }
  .page-support__guide-card,
  .page-support__contact-method-card {
    padding: 20px;
  }
  .page-support__cta-title {
    font-size: 1.8em;
  }
}

/* Ensure all images within content area are responsive and not too small */
.page-support img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* Specific rules for images to meet minimum size requirements */
.page-support__guide-card-image {
  min-width: 200px;
  min-height: 200px;
}

/* The contact method icons are decorative and smaller, they are not part of the content area images that need to be 200x200px */
.page-support__contact-method-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
}