/* style/support.css */
/* BEM Naming: page-support__element-name */

/* Base Styles for .page-support */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body handles the background */
}

/* Section Styling */
.page-support__section {
  padding: 60px 20px;
  text-align: center;
}

.page-support__dark-section {
  background-color: rgba(38, 169, 224, 0.1); /* Semi-transparent main color for contrast */
}

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  overflow: hidden; /* Ensure content doesn't overflow */
}

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

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 300px; /* Ensure minimum height */
}

.page-support__hero-content {
  position: relative; /* Not absolute, to ensure it's below the image */
  z-index: 1;
  max-width: 800px;
  margin-top: 40px; /* Spacing from image */
  padding: 0 20px;
  text-align: center;
}

.page-support__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Responsive H1 font size */
  color: #26A9E0; /* Brand color for title */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-support__description {
  font-size: 18px;
  color: #f0f0f0; /* Slightly off-white for body text */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Call to Action Buttons */
.page-support__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-tertiary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
  max-width: 100%; /* Ensure buttons don't exceed container width */
}

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

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

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

.page-support__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

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

.page-support__btn-tertiary:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
}


/* Section Titles */
.page-support__section-title {
  font-size: clamp(24px, 3vw, 40px);
  color: #26A9E0;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-support__text-block {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-support__text-block a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

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

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

.page-support__feature-item {
  background-color: rgba(255, 255, 255, 0.05); /* Light transparent background for cards */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support__feature-icon {
  width: 100%; /* Ensure images are responsive */
  height: auto;
  max-width: 150px; /* Adjust size as needed */
  margin-bottom: 20px;
  border-radius: 5px;
}

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

.page-support__feature-description {
  font-size: 15px;
  color: #cccccc;
}

/* Video Section */
.page-support__video-section {
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding for this section */
  background-color: rgba(255, 255, 255, 0.02); /* Slightly different background */
}

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

.page-support__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block; /* Ensure it's a block element */
  object-fit: cover;
}

/* FAQ Section */
.page-support__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-support__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-support__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 18px;
  font-weight: bold;
  color: #FFFFFF;
  background-color: #26A9E0;
  cursor: pointer;
  outline: none;
  list-style: none; /* Hide default marker */
}

.page-support__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

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

.page-support__faq-answer {
  padding: 20px 25px;
  font-size: 16px;
  color: #cccccc;
  background-color: rgba(255, 255, 255, 0.02); /* Lighter transparent background for answer */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-support__faq-answer p {
  margin-bottom: 10px;
  text-align: left;
}

.page-support__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-support__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

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

/* Contact Section */
.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: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support__contact-icon {
  width: 100%;
  height: auto;
  max-width: 180px; /* Larger icons for contact */
  margin-bottom: 20px;
  border-radius: 5px;
}

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

.page-support__contact-description {
  font-size: 15px;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1; /* Allow description to take available space */
}

/* Responsible Gaming Section */
.page-support__responsible-gaming-section .page-support__text-block {
  text-align: center;
}

/* Final CTA Section */
.page-support__final-cta-section {
  background-color: #26A9E0; /* Use main brand color for strong CTA */
  padding: 80px 20px;
}

.page-support__final-cta-section .page-support__section-title {
  color: #FFFFFF;
}

.page-support__final-cta-section .page-support__text-block {
  color: #FFFFFF;
}

.page-support__final-cta-section .page-support__text-block a {
  color: #FFFFFF;
  text-decoration: underline;
}

.page-support__final-cta-section .page-support__btn-primary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border-color: #FFFFFF;
}

.page-support__final-cta-section .page-support__btn-primary:hover {
  background-color: #f0f0f0;
  color: #1e87b7;
  border-color: #f0f0f0;
}

.page-support__final-cta-section .page-support__btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.page-support__final-cta-section .page-support__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .page-support__hero-content {
    margin-top: 20px;
  }
  .page-support__main-title {
    font-size: clamp(24px, 5vw, 40px);
  }
  .page-support__section-title {
    font-size: clamp(20px, 4vw, 36px);
  }
}

@media (max-width: 768px) {
  .page-support__section {
    padding: 40px 15px;
  }

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

  .page-support__hero-image {
    min-height: 200px;
  }

  .page-support__hero-content {
    margin-top: 20px;
    padding: 0 15px;
  }

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

  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support__btn-tertiary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 15px;
    font-size: 16px;
  }

  .page-support__features-grid,
  .page-support__contact-methods {
    grid-template-columns: 1fr; /* Single column layout for mobile */
  }

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

  .page-support__feature-icon,
  .page-support__contact-icon {
    max-width: 120px;
  }

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

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

  .page-support__text-block {
    font-size: 15px;
    text-align: left; /* Ensure text alignment */
    padding: 0 15px;
  }

  /* Images responsive */
  .page-support img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__hero-image-wrapper,
  .page-support__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

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

  .page-support__final-cta-section {
    padding: 60px 15px;
  }

  /* Video Section Mobile */
  .page-support__video-section {
    padding-top: 10px !important;
  }

  .page-support__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-radius: 0;
  }

  .page-support__video {
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
  }
}

/* Ensure image width/height attributes are respected by CSS if not overridden */
.page-support img[width][height] {
  max-width: 100%;
  height: auto;
}