/* style/support.css */

.page-support {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light background */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  overflow-x: hidden; /* Prevent horizontal overflow */
}

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

/* Hero Section */
.page-support__hero-section {
  background: linear-gradient(135deg, #1E90FF, #0028ff); /* Deep blue gradient */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden; /* Prevent image overflow */
}

.page-support__hero-content {
  max-width: 800px;
  z-index: 1;
}

.page-support__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

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

.page-support__hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-support__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.page-support__cta-button--primary {
  background-color: #FFD700; /* Gold button */
  color: #1E90FF; /* Deep blue text */
  border: 2px solid #FFD700;
}

.page-support__cta-button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-support__cta-button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-support__cta-button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

.page-support__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.3; /* Subtle background image */
}

.page-support__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-width: 200px; /* Enforce min-size */
  min-height: 200px; /* Enforce min-size */
}

/* Section Titles & Subtitles */
.page-support__section-title {
  font-size: 2.5em;
  color: #1E90FF; /* Deep blue title */
  text-align: center;
  margin-bottom: 15px;
  margin-top: 60px;
}

.page-support__section-subtitle {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

.page-support__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 25px;
  border-left: 5px solid #FFD700; /* Gold accent */
}

.page-support__faq-question {
  font-size: 1.3em;
  color: #1E90FF; /* Deep blue question */
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px; /* Space for arrow */
}

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

.page-support__faq-question--active::after {
  content: '-';
  transform: translateY(-50%) rotate(0deg); /* No rotation for minus, just change content */
}

.page-support__faq-answer {
  display: none; /* Hidden by default, JS toggles */
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed #eee;
  color: #666666;
  font-size: 0.95em;
}

.page-support__faq-answer a {
  color: #1E90FF;
  text-decoration: none;
}

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

/* Contact Options Section */
.page-support__contact-options-section {
  padding: 60px 0;
}

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

.page-support__contact-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-support__contact-card:hover {
  transform: translateY(-5px);
}

.page-support__card-title {
  font-size: 1.5em;
  color: #FFD700; /* Gold title */
  margin-bottom: 15px;
}

.page-support__card-description {
  color: #666666;
  margin-bottom: 25px;
  min-height: 60px; /* Ensure consistent card height */
}

/* Download CTA Section */
.page-support__download-cta-section {
  background: linear-gradient(45deg, #1E90FF, #FFD700); /* Gradient background */
  padding: 80px 0;
  color: #ffffff;
  text-align: center;
}

.page-support__download-cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-support__download-cta-section .page-support__section-title {
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-support__download-cta-section .page-support__section-subtitle {
  color: #f0f0f0;
}

.page-support__download-cta-section .page-support__cta-button--primary {
  background-color: #ffffff;
  color: #1E90FF;
  border-color: #ffffff;
}

.page-support__download-cta-section .page-support__cta-button--primary:hover {
  background-color: #f0f0f0;
}

.page-support__download-cta-section .page-support__cta-button--secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.page-support__download-cta-section .page-support__cta-button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-support__download-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce min-size */
  min-height: 200px; /* Enforce min-size */
}

/* Responsible Gaming Section */
.page-support__responsible-gaming-section {
  padding: 60px 0 80px 0;
  background-color: #f0f0f0;
}

.page-support__responsible-gaming-section .page-support__section-title {
  color: #FFD700; /* Gold title */
}

.page-support__responsible-gaming-section .page-support__section-subtitle {
  color: #444444;
}

.page-support__responsible-gaming-section .page-support__cta-button {
  margin-top: 30px;
  background-color: #1E90FF;
  color: #ffffff;
  border-color: #1E90FF;
}

.page-support__responsible-gaming-section .page-support__cta-button:hover {
  background-color: #1565b3;
}

/* Images in content areas */
.page-support__image-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-support__section-image,
.page-support img { /* Universal rule for all images within .page-support */
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min-size */
  min-height: 200px; /* Enforce min-size */
}


/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 2.8em;
  }
  .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-section {
    padding: 60px 15px;
    gap: 30px;
  }
  .page-support__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-support__section-title {
    font-size: 1.8em;
    margin-top: 40px;
  }
  .page-support__section-subtitle {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-support__faq-item,
  .page-support__contact-card {
    padding: 20px;
  }
  .page-support__faq-question {
    font-size: 1.1em;
  }
  .page-support__download-cta-section {
    padding: 60px 0;
  }
  .page-support__download-cta-content {
    flex-direction: column;
    gap: 30px;
  }

  /* Ensure content area images are responsive and don't overflow */
  .page-support__hero-image,
  .page-support__section-image,
  .page-support__download-image,
  .page-support img { /* Universal rule for all images within .page-support */
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Maintain min-size even on mobile */
    min-height: 200px; /* Maintain min-size even on mobile */
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 1.8em;
  }
  .page-support__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-support__cta-button {
    width: 100%;
    max-width: 280px;
  }
  .page-support__section-title {
    font-size: 1.5em;
  }
}