/* style/support.css */

/* Base styles for the support page */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  padding-top: 10px; /* Small top padding for the main content area, body handles header offset */
}

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

.page-support__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #F2C14E; /* Main color for titles */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-support__text-block {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 40px;
  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;
  padding: 80px 20px 40px;
  overflow: hidden;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.page-support__hero-content {
  text-align: center;
  max-width: 900px;
  margin-top: -80px; /* Adjust based on image height for visual balance */
  position: relative;
  z-index: 1;
}

.page-support__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #FFD36B; /* Glow color for main title */
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-support__hero-description {
  font-size: 1.2rem;
  color: #FFF6D6;
  margin-bottom: 30px;
}

.page-support__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-support__cta-buttons--center {
  justify-content: center;
}

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

.page-support__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
  opacity: 0.9;
}

.page-support__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E; /* Main color for border */
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
}

.page-support__btn-secondary:hover {
  transform: translateY(-3px);
  background: #F2C14E;
  color: #111111; /* Card BG for text on hover */
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
}

.page-support__btn-small {
    padding: 10px 20px;
    font-size: 0.95rem;
}

/* Info Section */
.page-support__info-section {
  padding: 80px 0;
}

.page-support__dark-section {
  background-color: #111111; /* Card BG */
  color: #FFF6D6;
}

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

.page-support__feature-card {
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards on dark bg */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(242, 193, 78, 0.2);
}

.page-support__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 211, 107, 0.5));
}

.page-support__feature-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #FFD36B; /* Auxiliary color for feature titles */
  margin-bottom: 15px;
}

.page-support__feature-description {
  font-size: 1rem;
  color: #FFF6D6;
}

/* Comprehensive Support Topics Section */
.page-support__topics-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background */
}

.page-support__topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 50px;
}

.page-support__topic-card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__topic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(242, 193, 78, 0.15);
}

.page-support__topic-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: #F2C14E; /* Main color for topic titles */
  margin-bottom: 10px;
}

.page-support__topic-description {
  font-size: 0.95rem;
  color: #FFF6D6;
}

/* How to Reach Jili Support Section */
.page-support__reach-us-section {
  padding: 80px 0;
}

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

.page-support__channel-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__channel-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(255, 211, 107, 0.2);
}

.page-support__channel-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 211, 107, 0.5));
}

.page-support__channel-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #FFD36B;
  margin-bottom: 15px;
}

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

/* Jili App Support Section */
.page-support__app-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

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

.page-support__app-feature {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__app-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(242, 193, 78, 0.15);
}

.page-support__app-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 211, 107, 0.5));
}

.page-support__app-feature-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-support__app-feature-description {
  font-size: 0.95rem;
  color: #FFF6D6;
}

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

.page-support__faq-list {
  max-width: 900px;
  margin: 50px auto 0;
}

.page-support__faq-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #3A2A12;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #FFD36B;
  cursor: pointer;
  background-color: rgba(242, 193, 78, 0.1);
  transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.2);
}

.page-support__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  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 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #FFF6D6;
  font-size: 1rem;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 15px 25px 25px;
}

.page-support__faq-answer p {
  margin-bottom: 0;
  text-align: left;
}

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

/* Final CTA Section */
.page-support__final-cta-section {
  padding: 80px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__hero-content {
    margin-top: -40px;
  }
  .page-support__section-title {
    font-size: 2rem;
  }
  .page-support__hero-description {
    font-size: 1.1rem;
  }
}

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

  .page-support__hero-section {
    padding: 60px 15px 30px;
  }

  .page-support__hero-image-wrapper {
    margin-bottom: 20px;
    max-height: 400px;
  }

  .page-support__hero-content {
    margin-top: -60px;
  }

  .page-support__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    margin-bottom: 15px;
  }

  .page-support__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-support__container {
    padding: 0 15px;
  }

  .page-support__section-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  .page-support__text-block {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-support__features-grid,
  .page-support__topics-grid,
  .page-support__channels-grid,
  .page-support__app-features {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-support__feature-card,
  .page-support__topic-card,
  .page-support__channel-card,
  .page-support__app-feature {
    padding: 20px;
  }

  .page-support__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }

  .page-support__faq-answer {
    padding: 0 20px;
  }

  .page-support__faq-item.active .page-support__faq-answer {
    padding: 10px 20px 20px;
  }

  /* Force images to be responsive and prevent overflow */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__hero-section,
  .page-support__info-section,
  .page-support__topics-section,
  .page-support__reach-us-section,
  .page-support__app-section,
  .page-support__faq-section,
  .page-support__responsible-gaming-section,
  .page-support__final-cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support__hero-section { /* Override padding for hero section */
    padding-left: 0;
    padding-right: 0;
  }

  .page-support__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support__hero-image-wrapper {
    padding-left: 0;
    padding-right: 0;
  }

  .page-support__faq-list {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support__faq-item {
    width: calc(100% - 30px);
    margin-left: auto;
    margin-right: auto;
  }
}