/* style/support.css */
.page-support {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Body background is dark, so text should be light */
}

.page-support__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 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: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
  background-color: #0a0a0a; /* Fallback for image */
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 30px;
}

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

.page-support__hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative; /* Ensure content is above any background layering if any */
  z-index: 1;
}

.page-support__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-support__description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-support__btn-primary:hover {
  background-color: #1a8ccb;
  border-color: #1a8ccb;
}

.page-support__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #ffffff;
}

.page-support__btn-secondary:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

.page-support__section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-support__section-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #cccccc;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-support__faq-list {
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-support__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff;
}

.page-support__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: bold;
  color: #26A9E0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

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

.page-support__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

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

.page-support__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 20px;
  color: #ffffff;
}

.page-support__faq-item[open] .page-support__faq-toggle {
  content: '−';
}

.page-support__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: #cccccc;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.page-support__faq-illustration {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 8px;
}

/* Contact Methods Section */
.page-support__contact-methods-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

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

.page-support__contact-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-support__contact-icon {
  width: 100%;
  height: auto;
  max-width: 150px; /* Adjust for card context, but still >200 for generation */
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-support__card-title {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support__contact-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 25px;
}

/* Guides Section */
.page-support__guides-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-support__guide-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.page-support__guide-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-support__guide-card .page-support__card-title {
  padding: 20px 25px 0;
  font-size: 1.3rem;
  text-align: left;
  color: #26A9E0;
}

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

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

.page-support__guide-card p {
  padding: 0 25px 20px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cccccc;
  flex-grow: 1;
}

.page-support__btn-text {
  display: flex;
  align-items: center;
  padding: 0 25px 20px;
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-support__btn-text:hover {
  text-decoration: underline;
}

.page-support__arrow {
  margin-left: 8px;
  font-size: 1.2rem;
  line-height: 1;
}

/* Responsible Gaming Section */
.page-support__responsible-gaming-section {
  padding: 80px 0;
  background-color: #26A9E0;
  text-align: center;
  color: #ffffff;
}

.page-support__responsible-gaming-section .page-support__section-title {
  color: #ffffff;
}

.page-support__responsible-gaming-section .page-support__section-intro {
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-support__responsible-gaming-section .page-support__btn-primary {
  background-color: #ffffff;
  color: #26A9E0;
  border-color: #ffffff;
}

.page-support__responsible-gaming-section .page-support__btn-primary:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

/* Call to Action Bottom Section */
.page-support__cta-bottom-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  text-align: center;
  color: #ffffff;
}

.page-support__cta-bottom-section .page-support__section-title {
  color: #26A9E0;
}

.page-support__cta-bottom-section .page-support__section-intro {
  color: #cccccc;
  margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-support__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-support__hero-image-wrapper,
  .page-support__faq-illustration,
  .page-support__contact-icon,
  .page-support__guide-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__hero-section,
  .page-support__faq-section,
  .page-support__contact-methods-section,
  .page-support__guides-section,
  .page-support__responsible-gaming-section,
  .page-support__cta-bottom-section,
  .page-support__cta-buttons,
  .page-support__contact-grid,
  .page-support__guides-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-support__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px !important;
  }

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

  .page-support__description,
  .page-support__section-intro,
  .page-support p,
  .page-support li {
    font-size: 1rem;
    line-height: 1.6;
  }

  .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: 12px 20px;
  }

  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-support__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-support__faq-toggle {
    font-size: 1.5rem;
  }

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

  .page-support__contact-grid,
  .page-support__guides-grid {
    grid-template-columns: 1fr;
  }

  .page-support__contact-card,
  .page-support__guide-card {
    padding: 25px;
  }

  .page-support__guide-card .page-support__card-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .page-support__main-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }
  .page-support__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }
  .page-support__hero-section,
  .page-support__faq-section,
  .page-support__contact-methods-section,
  .page-support__guides-section,
  .page-support__responsible-gaming-section,
  .page-support__cta-bottom-section {
    padding: 40px 0;
  }
}