/* style/support.css */
/* Base styles for the support page content */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  padding-bottom: 60px; /* Space for footer */
}

/* Fixed header spacing - Relying on shared.css body padding-top */
/* Only add a small top padding to the first section for visual spacing */
.page-support__hero-section {
  padding-top: 10px; /* Small top padding for the first section */
}

.page-support__hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #F2C14E, #FFD36B); /* Primary and Secondary colors */
  padding-bottom: 60px; /* Space below image before content */
}

.page-support__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  padding: 0 20px;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px; /* Space between image and text */
}

.page-support__hero-content {
  text-align: center;
  max-width: 800px;
  color: #FFF6D6; /* Text Main */
}

.page-support__hero-title {
  font-size: 2.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFF6D6; /* Text Main */
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF6D6; /* Text Main */
}

.page-support__hero-cta {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.3s ease;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for light button */
  border: none;
}

.page-support__hero-cta:hover {
  opacity: 0.9;
}

/* General Section Styling */
.page-support__section {
  padding: 60px 0;
}

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

.page-support__section-title {
  font-size: 2.2em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #F2C14E; /* Primary color */
}

.page-support__section-intro {
  font-size: 1.05em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #FFF6D6; /* Text Main */
}

/* Card Styling */
.page-support__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #FFF6D6; /* Text Main */
}

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

.page-support__feature-item,
.page-support__contact-item {
  text-align: center;
}

.page-support__feature-icon,
.page-support__contact-icon {
  width: 100%; /* Ensure images take full width of card */
  height: 200px; /* Min height for content images */
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
}

.page-support__feature-title,
.page-support__contact-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F2C14E; /* Primary color */
}

.page-support__feature-text,
.page-support__contact-text {
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* For mobile responsiveness */
  box-sizing: border-box; /* For mobile responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-support__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for light button */
  border: none;
}

.page-support__btn-primary:hover {
  opacity: 0.9;
}

.page-support__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Primary color */
  border: 2px solid #F2C14E; /* Primary color */
}

.page-support__btn-secondary:hover {
  background: #F2C14E; /* Primary color */
  color: #111111; /* Dark text for light button */
}

/* Contact Methods specific */
.page-support__contact-item .page-support__btn-secondary {
  margin-top: 20px;
}

/* FAQ Section */
.page-support__faq-section {
  background-color: #0A0A0A; /* Background */
}

.page-support__faq-list {
  margin-top: 40px;
}

.page-support__faq-item {
  margin-bottom: 20px;
  padding: 0;
  overflow: hidden;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px;
  background-color: #111111; /* Card BG */
  border-bottom: 1px solid #3A2A12; /* Border */
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-support__faq-title {
  font-size: 1.3em;
  font-weight: bold;
  color: #F2C14E; /* Primary color */
  margin: 0;
  flex-grow: 1;
}

.page-support__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFD36B; /* Secondary color */
  margin-left: 20px;
  transition: transform 0.3s ease;
}

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

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  background-color: rgba(17, 17, 17, 0.9); /* Slightly lighter than card BG */
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6; /* Text Main */
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px !important;
  padding: 25px !important;
}

.page-support__faq-answer p {
  margin-bottom: 15px;
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
}

.page-support__faq-answer .page-support__btn-secondary {
  margin-right: 10px;
  margin-bottom: 10px;
}

/* Responsible Gaming Section */
.page-support__responsible-gaming {
  background-color: #0A0A0A; /* Background */
}

/* Security and Privacy Section */
.page-support__security-privacy {
  background-color: #111111; /* Card BG */
  padding: 80px 0;
}

.page-support__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-support__security-item {
  padding: 25px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark bg */
  border: 1px solid #3A2A12; /* Border */
  color: #FFF6D6; /* Text Main */
}

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

.page-support__security-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F2C14E; /* Primary color */
}

.page-support__security-text {
  font-size: 0.95em;
  color: #FFF6D6; /* Text Main */
}

/* Feedback and CTA sections */
.page-support__feedback,
.page-support__cta {
  text-align: center;
  background-color: #0A0A0A; /* Background */
}

.page-support__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on mobile */
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 2.5em;
  }
  .page-support__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-support__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-support__hero-title {
    font-size: 2em;
    padding: 0 10px;
  }

  .page-support__hero-description {
    font-size: 1em;
    padding: 0 10px;
  }

  .page-support__section-title {
    font-size: 1.8em;
    padding: 0 10px;
  }

  .page-support__section-intro {
    font-size: 0.95em;
    padding: 0 10px;
  }

  .page-support__feature-grid,
  .page-support__contact-grid,
  .page-support__security-features {
    grid-template-columns: 1fr;
  }

  .page-support__container,
  .page-support__section,
  .page-support__card,
  .page-support__hero-container,
  .page-support__hero-content,
  .page-support__faq-item,
  .page-support__faq-question,
  .page-support__faq-answer,
  .page-support__security-item,
  .page-support__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .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 !important;
    padding-right: 15px !important;
  }

  .page-support__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 1.8em;
  }
  .page-support__section-title {
    font-size: 1.5em;
  }
  .page-support__faq-title {
    font-size: 1.1em;
  }
}