/* style/support.css */

/* Base styles for the support page */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.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 */
  background-color: #0a0a0a; /* Ensure a dark background for the hero section */
  overflow: hidden;
}

.page-support__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
  order: 1; /* Image appears first */
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Minimum size requirement */
}

.page-support__hero-content {
  position: relative;
  z-index: 2;
  order: 2; /* Content appears second */
  max-width: 800px;
  padding: 20px;
  box-sizing: border-box;
}

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

.page-support__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-support__section-intro {
  font-size: 1.05rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-support__why-choose-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-support__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-support__feature-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-support__feature-item:hover {
  transform: translateY(-5px);
}

.page-support__feature-heading {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-support__feature-text {
  font-size: 1rem;
  color: #f0f0f0;
}

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

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

.page-support__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-support__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff;
  background-color: #26A9E0;
  transition: background-color 0.3s ease;
}

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

.page-support__faq-item summary:hover {
  background-color: #1e87b0;
}

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

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

.page-support__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-support__faq-answer p {
  margin: 0;
  color: #f0f0f0;
}

.page-support__faq-answer a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-support__faq-image-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-support__faq-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  min-height: 200px; /* Minimum size requirement */
}

.page-support__contact-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

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

.page-support__contact-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-support__contact-heading {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-support__contact-text {
  font-size: 1rem;
  color: #f0f0f0;
  margin-bottom: 25px;
}

.page-support__contact-image-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-support__contact-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  min-height: 200px; /* Minimum size requirement */
}

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

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

.page-support__guide-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__guide-heading {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.page-support__guide-heading a {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-support__guide-heading a:hover {
  color: #1e87b0;
  text-decoration: underline;
}

.page-support__guide-text {
  font-size: 1rem;
  color: #f0f0f0;
}

.page-support__guides-image-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-support__guides-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  min-height: 200px; /* Minimum size requirement */
}

.page-support__video-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
  text-align: center;
}

.page-support__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px; /* Adjust max-width for video */
  margin: 0 auto;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-support__video-link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  cursor: pointer;
}

.page-support__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Minimum size requirement */
}

.page-support__responsible-gambling-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-support__responsibility-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
  margin-bottom: 40px;
}

.page-support__responsibility-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__responsibility-heading {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-support__responsibility-text {
  font-size: 1rem;
  color: #f0f0f0;
}

.page-support__responsible-image-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-support__responsible-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  min-height: 200px; /* Minimum size requirement */
}

.page-support__security-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-support__security-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-support__security-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__security-heading {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-support__security-text {
  font-size: 1rem;
  color: #f0f0f0;
}

.page-support__security-text a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-support__cta-final-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
}

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

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons adapt to width */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word;
}

.page-support__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-support__btn-primary:hover {
  background-color: #d16e06;
  transform: translateY(-2px);
}

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

.page-support__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87b0;
  transform: translateY(-2px);
}

/* General link styling within content */
.page-support a {
  color: #26A9E0;
  text-decoration: none;
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-support__hero-section {
    padding: 40px 15px;
  }
  .page-support__section-title {
    font-size: clamp(1.8rem, 4.5vw, 2.5rem);
  }
  .page-support__hero-content {
    padding: 15px;
  }
  .page-support__why-choose-section,
  .page-support__faq-section,
  .page-support__contact-section,
  .page-support__guides-section,
  .page-support__video-section,
  .page-support__responsible-gambling-section,
  .page-support__security-section,
  .page-support__cta-final-section {
    padding: 60px 0;
  }
}

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

  .page-support__container,
  .page-support__hero-section,
  .page-support__why-choose-section,
  .page-support__faq-section,
  .page-support__contact-section,
  .page-support__guides-section,
  .page-support__video-section,
  .page-support__responsible-gambling-section,
  .page-support__security-section,
  .page-support__cta-final-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow-x: hidden !important;
  }

  .page-support__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

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

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

  .page-support__section-intro {
    font-size: 1rem;
  }

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

  /* Image responsive adaptations */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-height: 200px !important; /* Enforce minimum size */
  }

  /* Video responsive adaptations */
  .page-support video,
  .page-support__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-height: 200px !important; /* Enforce minimum size */
  }

  .page-support__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0 !important; /* Handled by container */
    padding-right: 0 !important; /* Handled by container */
    overflow: hidden !important;
  }

  /* Button responsive adaptations */
  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support a[class*="button"],
  .page-support a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

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

  .page-support__video-section {
    padding-top: 10px !important; /* Small top padding for video section */
  }
}

@media (max-width: 480px) {
  .page-support__main-title {
    font-size: clamp(1.8rem, 10vw, 2.2rem);
  }
  .page-support__section-title {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }
  .page-support__btn-primary,
  .page-support__btn-secondary {
    font-size: 1rem;
    padding: 12px 25px;
  }
}