/* style/support.css */
.page-support {
  color: #333333; /* Dark text for light body background #f4f4f4 */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  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__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #0D1117; /* Dark background for hero section */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-support__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 1;
}

.page-support__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-support__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Auxiliary gold color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-support__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-support__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  font-size: 1.1em;
}

.page-support__button--primary {
  background-color: #FFD700;
  color: #0D1117;
  border: 2px solid #FFD700;
}

.page-support__button--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-support__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-support__button--secondary:hover {
  background-color: #FFD700;
  color: #0D1117;
}

.page-support__button--outline {
  background-color: transparent;
  color: #0D1117;
  border: 2px solid #0D1117;
}

.page-support__button--outline:hover {
  background-color: #0D1117;
  color: #ffffff;
}

.page-support__section-title {
  font-size: 2.8em;
  color: #0D1117;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.page-support__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

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

.page-support__faq-section,
.page-support__guides-section,
.page-support__contact-section,
.page-support__responsible-gaming-section,
.page-support__download-promo-section {
  padding: 60px 0;
}

.page-support__faq-section {
  background-color: #f9f9f9;
}

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

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

.page-support__faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-support__faq-question {
  font-size: 1.4em;
  color: #0D1117;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support__faq-answer {
  color: #666666;
  font-size: 1em;
}

.page-support__call-to-action {
  text-align: center;
  margin-top: 60px;
}

.page-support__call-to-action-text {
  font-size: 1.3em;
  color: #0D1117;
  margin-bottom: 30px;
  font-weight: 600;
}

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

.page-support__guide-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-support__guide-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block; /* Ensure no extra space below image */
}

.page-support__guide-card h3,
.page-support__guide-card p {
  padding: 0 25px;
}

.page-support__guide-title {
  font-size: 1.3em;
  color: #0D1117;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-support__guide-link {
  text-decoration: none;
  color: #0D1117;
  transition: color 0.3s ease;
}

.page-support__guide-link:hover {
  color: #FFD700;
}

.page-support__guide-text {
  color: #666666;
  font-size: 0.95em;
  margin-bottom: 25px;
}

.page-support__contact-section {
  background-color: #0D1117;
  color: #ffffff;
}

.page-support__contact-section .page-support__section-title,
.page-support__contact-section .page-support__section-description {
  color: #ffffff;
}

.page-support__contact-section .page-support__section-title::after {
  background-color: #FFD700;
}

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

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

.page-support__contact-heading {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-support__contact-text {
  color: #e0e0e0;
  margin-bottom: 25px;
}

.page-support__contact-note {
  text-align: center;
  margin-top: 40px;
  font-size: 1em;
  color: #cccccc;
}

.page-support__responsible-gaming-section {
  background-color: #f9f9f9;
}

.page-support__responsible-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-support__responsible-image {
  flex: 1 1 45%;
  min-width: 300px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-support__responsible-text-content {
  flex: 1 1 50%;
  min-width: 350px;
}

.page-support__responsible-text-content p {
  margin-bottom: 20px;
  color: #555555;
}

.page-support__download-promo-section {
  background-color: #0D1117;
  color: #ffffff;
  text-align: center;
}

.page-support__download-promo-section .page-support__section-title,
.page-support__download-promo-section .page-support__section-description {
  color: #ffffff;
}

.page-support__download-promo-section .page-support__section-title::after {
  background-color: #FFD700;
}

/* Responsive adjustments */
@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: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding: 60px 0;
  }
  .page-support__hero-title {
    font-size: 2.5em;
  }
  .page-support__hero-description {
    font-size: 1em;
  }
  .page-support__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-support__button {
    padding: 12px 25px;
    font-size: 1em;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-support__faq-grid,
  .page-support__guide-grid,
  .page-support__contact-methods {
    grid-template-columns: 1fr;
  }
  .page-support__responsible-content {
    flex-direction: column;
  }
  .page-support__responsible-image,
  .page-support__responsible-text-content {
    flex: 1 1 100%;
    min-width: unset;
  }
  /* Mobile content area image constraint */
  .page-support img {
    max-width: 100%;
    height: auto;
  }
  .page-support__guide-image {
    height: 200px;
  }
  .page-support__responsible-image {
    height: auto; /* Allow image height to adjust naturally */
  }
  .page-support__faq-item, .page-support__guide-card, .page-support__contact-item {
    margin: 0 10px;
  }
  .page-support__container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 2em;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__faq-question {
    font-size: 1.2em;
  }
  .page-support__guide-title {
    font-size: 1.1em;
  }
  .page-support__contact-heading {
    font-size: 1.4em;
  }
}

/* Ensure content images are not small */
.page-support img:not(.page-support__hero-image) {
  min-width: 200px;
  min-height: 200px;
}

.page-support__guide-image {
  width: 100%; /* Override min-width for responsive scaling within card */
  height: 250px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .page-support__guide-image {
    height: 180px;
  }
}