/* 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 color, suitable for dark background */
  background-color: #0A0A0A; /* Background color */
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image above text on mobile, flex-wrap on desktop */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* 10px top padding as per rule for non-video sections, 60px bottom */
  background-color: #0A0A0A; /* Ensure background consistency */
}

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

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

.page-support__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Use clamp for H1 */
  font-weight: 700;
  line-height: 1.2;
  color: #F2C14E; /* Main color for emphasis */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5); /* Subtle glow */
}

.page-support__intro-text {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #FFF6D6;
}

/* CTA Buttons */
.page-support__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  width: 100%; /* Ensure container takes full width for responsive padding */
  max-width: 600px; /* Max width for button group */
  margin-left: auto;
  margin-right: auto;
}

.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow text to break words */
  box-sizing: border-box; /* Include padding and border in element's total width and height */
  max-width: 100%; /* Ensure buttons don't exceed container width */
  width: auto; /* Default width */
}

.page-support__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Custom button color */
  color: #ffffff; /* White text for contrast */
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-support__btn-primary:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #C4921A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

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

.page-support__btn-secondary:hover {
  background-color: #F2C14E;
  color: #0A0A0A; /* Dark text on main color background */
  transform: translateY(-2px);
}

.page-support__btn-small {
  padding: 10px 20px;
  font-size: 0.95rem;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  border: none;
}

.page-support__btn-small:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #C4921A 100%);
  transform: translateY(-1px);
}

/* Generic Section Styles */
.page-support__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #F2C14E;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px; /* Padding for sections */
}

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

/* Contact Methods Section */
.page-support__contact-methods {
  padding: 60px 20px;
  background-color: #0A0A0A;
}

.page-support__methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-support__method-card {
  background-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6;
}

.page-support__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(242, 193, 78, 0.2); /* Glow effect on hover */
}

.page-support__method-icon {
  width: 200px; /* Minimum size requirement */
  height: 200px;
  margin-bottom: 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px #FFD36B); /* Glow effect */
}

.page-support__card-title {
  font-size: 1.5rem;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-support__card-description {
  font-size: 1rem;
  margin-bottom: 25px;
  color: #FFF6D6;
}

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

.page-support__faq-list {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid #3A2A12; /* Border color */
}

.page-support__faq-item {
  border-bottom: 1px solid #3A2A12; /* Border color */
  color: #FFF6D6;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: #FFF6D6;
  transition: color 0.3s ease;
}

.page-support__faq-question:hover {
  color: #F2C14E;
}

.page-support__faq-question h3 {
  margin: 0;
  font-size: 1.15rem;
  color: inherit; /* Inherit color from parent for hover effect */
}

.page-support__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  color: #F2C14E;
}

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

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px !important; /* Important for JS functionality */
  padding: 15px 15px 20px;
}

.page-support__faq-answer p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}

.page-support__cta-buttons--center {
    margin-top: 50px;
}

/* Responsible Gaming Section */
.page-support__responsible-gaming-section {
  padding: 60px 20px;
  background-color: #111111; /* Card BG color for this section */
  text-align: center;
  color: #FFF6D6;
}

/* Feedback Section */
.page-support__feedback-section {
  padding: 60px 20px;
  background-color: #0A0A0A;
  text-align: center;
  color: #FFF6D6;
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-support__hero-section {
    flex-direction: row; /* Desktop: text and image side-by-side */
    padding: 80px 40px;
    text-align: left;
    gap: 40px;
  }

  .page-support__hero-image {
    width: 50%;
    margin-bottom: 0;
    order: 2; /* Image on the right */
  }

  .page-support__hero-content {
    width: 50%;
    order: 1; /* Content on the left */
    text-align: left;
  }
  
  .page-support__cta-buttons {
    justify-content: flex-start; /* Align buttons to the left */
  }

  .page-support__section-title,
  .page-support__section-description {
    text-align: center;
  }
}

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

  /* All images responsive */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  
  /* All video responsive (though not used on this page, good to include for robustness) */
  .page-support video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Containers for responsive images/videos/buttons */
  .page-support__hero-section,
  .page-support__contact-methods,
  .page-support__faq-section,
  .page-support__responsible-gaming-section,
  .page-support__feedback-section,
  .page-support__methods-grid,
  .page-support__method-card,
  .page-support__faq-list,
  .page-support__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons responsive */
  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support__btn-small {
    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;
  }
  
  .page-support__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 10px;
  }

  .page-support__main-title {
    font-size: 2rem;
  }

  .page-support__section-title {
    font-size: 1.8rem;
  }

  .page-support__hero-section {
    padding-top: 10px !important; /* Explicitly set small top padding for mobile */
  }
}

/* Ensure contrast for specific elements if needed - based on dark background */
.page-support p,
.page-support li {
  color: #FFF6D6; /* Ensure light text on dark background */
}

/* Contrast fix classes (as per prompt, though main colors already provide good contrast) */
.page-support__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-support__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}