/* style/support.css */

.page-support {
  color: #ffffff; /* Body background #0a0a0a (dark), so main text is light */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 450px;
  padding: 60px 20px;
  padding-top: 10px; /* body already handles --header-offset */
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

.page-support__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-support__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  color: #ffffff;
}

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

.page-support__intro-text {
  font-size: 1.15rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* General Section Styling */
.page-support__why-us-section,
.page-support__faq-section,
.page-support__contact-methods-section,
.page-support__responsible-gaming-section,
.page-support__resources-section {
  padding: 80px 0;
  background: #0a0a0a; /* Dark background from body */
  color: #ffffff;
}

.page-support__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for titles */
}

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

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

.page-support__feature-item {
  text-align: center;
  padding: 30px;
}

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

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

/* Card Styling */
.page-support__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

.page-support__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-support__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-support__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  list-style: none;
}

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

.page-support__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-support__faq-item[open] .page-support__faq-toggle {
  transform: rotate(45deg);
}

.page-support__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  line-height: 1.8;
  color: #f0f0f0;
  background: rgba(255, 255, 255, 0.02);
}

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

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

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

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

.page-support__contact-item {
  text-align: center;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support__contact-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-support__contact-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

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

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

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

.page-support__resource-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  text-decoration: none;
  color: #ffffff;
  padding: 25px;
}

.page-support__resource-card:hover .page-support__resource-title {
  color: #26A9E0; /* Highlight on hover */
}

.page-support__resource-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
  transition: color 0.3s ease;
}

.page-support__resource-text {
  font-size: 0.95rem;
  color: #f0f0f0;
}

/* Buttons */
.page-support__cta-button,
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
}

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

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

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

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

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

@media (max-width: 768px) {
  .page-support__hero-section {
    min-height: 400px;
    padding: 40px 15px;
  }
  .page-support__hero-content {
    padding: 0 15px;
  }
  .page-support__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  .page-support__intro-text {
    font-size: 1rem;
  }
  .page-support__why-us-section,
  .page-support__faq-section,
  .page-support__contact-methods-section,
  .page-support__responsible-gaming-section,
  .page-support__resources-section {
    padding: 50px 0;
  }
  .page-support__section-title {
    font-size: 1.8rem;
  }
  .page-support__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
  .page-support__features-grid,
  .page-support__contact-grid,
  .page-support__resources-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-support__faq-item summary {
    font-size: 1.1rem;
    padding: 15px 20px;
  }
  .page-support__faq-answer {
    padding: 10px 20px 15px;
  }

  /* Force responsive for images, videos, buttons */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-support__hero-image {
    width: 100% !important;
    height: 100% !important;
  }
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__cta-buttons,
  .page-support__button-group,
  .page-support__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-support__cta-button,
  .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: 15px;
    padding-right: 15px;
    margin-bottom: 10px; /* Add spacing for stacked buttons */
  }
  .page-support__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-support__main-title {
    font-size: clamp(1.5rem, 9vw, 2.2rem);
  }
  .page-support__section-title {
    font-size: 1.6rem;
  }
  .page-support__faq-item summary {
    font-size: 1rem;
  }
  .page-support__feature-title,
  .page-support__contact-title,
  .page-support__resource-title {
    font-size: 1.3rem;
  }
  .page-support__intro-text,
  .page-support__section-description,
  .page-support__feature-text,
  .page-support__contact-text,
  .page-support__faq-answer,
  .page-support__resource-text {
    font-size: 0.9rem;
  }
}