/* style/support.css */

/* Base styles for the page content */
.page-support {
  color: #FFF6D6; /* Text Main for dark background */
  background-color: #0A0A0A; /* Page background color */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-support__dark-bg {
  background-color: #0A0A0A;
}

.page-support__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Responsive padding */
}

.page-support__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #FFD36B; /* Auxiliary color for titles */
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5); /* Soft glow */
}

.page-support__description {
  font-size: 18px;
  margin-bottom: 40px;
  color: #FFF6D6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  /* body { padding-top: var(--header-offset); } in shared.css; this is just small top padding */
  padding-top: 10px;
  overflow: hidden; /* Ensure no overflow */
}

.page-support__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure full width within container */
}

.page-support__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-support__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #3A2A12; /* Border color */
  box-shadow: 0 0 20px rgba(255, 211, 107, 0.3); /* Soft glow */
}

.page-support__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-support__hero-content h1 {
  font-size: clamp(28px, 4vw, 48px); /* Responsive font size */
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD36B; /* Auxiliary color for H1 */
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(255, 211, 107, 0.7);
}

.page-support__hero-content p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 30px;
  color: #FFF6D6;
}

/* CTA Button */
.page-support__cta-button,
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Button responsive */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__cta-button,
.page-support__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for light button */
  border: none;
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

.page-support__cta-button:hover,
.page-support__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.6);
  opacity: 0.9;
}

.page-support__btn-secondary {
  background: transparent;
  color: #FFD36B; /* Auxiliary color for text */
  border: 2px solid #FFD36B;
  box-shadow: 0 0 10px rgba(255, 211, 107, 0.3);
}

.page-support__btn-secondary:hover {
  background: rgba(255, 211, 107, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.5);
}

/* Card styles */
.page-support__card {
  background-color: #111111; /* Card background */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  height: 100%; /* Ensure cards in grid have equal height */
  display: flex;
  flex-direction: column;
}

.page-support__card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F2C14E; /* Primary color for card titles */
  line-height: 1.3;
}

.page-support__card-text {
  font-size: 16px;
  color: #FFF6D6;
  flex-grow: 1; /* Allow text to grow */
}

/* 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-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #3A2A12;
}

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

.page-support__topic-card ul {
  list-style: none;
  padding-left: 0;
  margin-top: 15px;
}

.page-support__topic-card li {
  margin-bottom: 10px;
  font-size: 16px;
  color: #FFF6D6;
  position: relative;
  padding-left: 25px;
}

.page-support__topic-card li::before {
  content: '✓';
  color: #F2C14E; /* Primary color for list checkmark */
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Contact Methods */
.page-support__contact-methods {
  background-color: #111111; /* Card background color for this section */
  border-top: 1px solid #3A2A12;
  border-bottom: 1px solid #3A2A12;
}

.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;
}

.page-support__contact-item .page-support__btn-primary {
  margin-top: 20px;
  width: auto; /* Allow button to size to content */
  padding-left: 30px;
  padding-right: 30px;
}

/* FAQ Section */
.page-support__faq-section {
  padding-bottom: 80px;
}

details.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border color */
  overflow: hidden;
  background: #111111; /* Card background */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
details.page-support__faq-item summary.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F2C14E; /* Primary color for FAQ question */
  font-weight: bold;
}
details.page-support__faq-item summary.page-support__faq-question::-webkit-details-marker {
  display: none;
}
details.page-support__faq-item summary.page-support__faq-question:hover {
  background: rgba(255, 211, 107, 0.05); /* Light hover effect */
}
.page-support__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF6D6; /* Text Main for question text */
}
.page-support__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Primary color for toggle icon */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-support__faq-item .page-support__faq-answer {
  padding: 0 20px 20px;
  background: rgba(0, 0, 0, 0.3); /* Slightly darker background for answer */
  border-radius: 0 0 5px 5px;
  color: #FFF6D6;
}
.page-support__faq-answer p {
  margin: 0;
  padding-top: 10px;
  font-size: 16px;
}


/* Responsible Gaming Section */
.page-support__responsible-gaming {
  background-color: #0A0A0A;
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Image responsiveness base */
.page-support img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-support__section-title {
    font-size: 32px;
  }
  .page-support__hero-content h1 {
    font-size: clamp(24px, 5vw, 40px);
  }
}

@media (max-width: 768px) {
  .page-support__section {
    padding: 40px 15px;
  }
  .page-support__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-support__description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-support__hero-section {
    padding-top: 10px !important; /* Fixed top padding */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-support__hero-content h1 {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 15px;
  }
  .page-support__hero-content p {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-support__cta-button,
  .page-support__btn-primary,
  .page-support__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
    margin-top: 15px;
  }

  /* Button containers for multiple 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;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-support__contact-item .page-support__btn-primary {
    width: 100% !important;
  }

  .page-support__card {
    padding: 20px;
    text-align: center; /* Center text in mobile cards */
  }
  .page-support__card-title {
    font-size: 20px;
  }
  .page-support__card-text {
    font-size: 15px;
  }
  .page-support__feature-card img {
    
  }

  .page-support__topics-grid,
  .page-support__features-grid,
  .page-support__contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-support__topic-card ul {
    text-align: left;
  }

  details.page-support__faq-item summary.page-support__faq-question {
    padding: 15px;
  }
  .page-support__faq-qtext {
    font-size: 15px;
  }
  details.page-support__faq-item .page-support__faq-answer {
    padding: 0 15px 15px;
  }
  .page-support__faq-answer p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .page-support__section-title {
    font-size: 24px;
  }
  .page-support__hero-content h1 {
    font-size: clamp(20px, 7vw, 32px);
  }
}

/* Image min size constraint for content area images */
.page-support__feature-card img,
.page-support__hero-image img {
  min-width: 200px;
  min-height: 200px;
}

/* Specific rule for content area images to ensure they are not shrunk by CSS */
.page-support img {
  min-width: 200px;
  min-height: 200px;
}

/* Mobile image and container responsiveness */
@media (max-width: 768px) {
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important; /* Ensure min size even on mobile */
    min- /* Adjust min height for mobile if necessary, or keep 200px */
  }
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__hero-section,
  .page-support__hero-container,
  .page-support__hero-image,
  .page-support__hero-content,
  .page-support__features-grid,
  .page-support__topics-grid,
  .page-support__contact-grid,
  .page-support__faq-section,
  .page-support__responsible-gaming {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}