/* style/customer-service.css */
.page-customer-service {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark body background #000000, so use light text */
  background-color: #000000;
}

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

/* Fixed navigation bar spacing */
.page-customer-service__intro-section {
  padding-top: 70px; /* Adjusted for fixed header, 60px for header + 10px spacing */
  padding-bottom: 40px;
  background-color: #0d0d0d;
  text-align: center;
}

.page-customer-service__main-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-customer-service__intro-text {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-customer-service__link {
  color: #FFD700;
  text-decoration: none;
}

.page-customer-service__link:hover {
  text-decoration: underline;
}

.page-customer-service__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-customer-service__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.page-customer-service__btn--primary {
  background-color: #FFD700;
  color: #000000;
  border-color: #FFD700;
}

.page-customer-service__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-customer-service__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border-color: #FFD700;
}

.page-customer-service__btn--secondary:hover {
  background-color: #FFD700;
  color: #000000;
}

.page-customer-service__btn--small {
  padding: 8px 18px;
  font-size: 0.9em;
}

.page-customer-service__contact-methods,
.page-customer-service__faq-section,
.page-customer-service__security-responsible-gaming,
.page-customer-service__feedback-cta {
  padding: 60px 0;
  background-color: #1a1a1a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-customer-service__contact-methods {
  background-color: #000000;
}

.page-customer-service__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-customer-service__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-customer-service__contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-customer-service__contact-card,
.page-customer-service__info-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-customer-service__contact-card:hover,
.page-customer-service__info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-customer-service__contact-icon,
.page-customer-service__info-icon {
  margin-bottom: 20px;
  display: inline-block;
  width: 100%;
  max-width: 250px;
  height: auto;
  overflow: hidden;
}

.page-customer-service__contact-icon img,
.page-customer-service__info-icon img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.page-customer-service__card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-customer-service__card-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
}

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

.page-customer-service__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-customer-service__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
}

.page-customer-service__faq-item.active .page-customer-service__faq-answer {
  max-height: 2000px !important; /* Ensure enough height for content */
  padding: 20px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0 0 5px 5px;
}

.page-customer-service__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-customer-service__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFD700;
}

.page-customer-service__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  color: #FFD700;
  pointer-events: none;
}

.page-customer-service__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.page-customer-service__faq-item.active .page-customer-service__faq-toggle {
  color: #000000;
  background-color: #FFD700;
  transform: rotate(45deg);
}

.page-customer-service__faq-answer p {
  color: #f0f0f0;
  font-size: 1em;
}

/* Security & Responsible Gaming */
.page-customer-service__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

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

  .page-customer-service__intro-section {
    padding-top: 60px; /* Adjusted for mobile fixed header */
    padding-bottom: 30px;
  }

  .page-customer-service__main-title {
    font-size: 2em;
  }

  .page-customer-service__intro-text {
    font-size: 1em;
  }

  .page-customer-service__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-customer-service__btn {
    width: 100%;
    padding: 10px 20px;
  }

  .page-customer-service__contact-methods,
  .page-customer-service__faq-section,
  .page-customer-service__security-responsible-gaming,
  .page-customer-service__feedback-cta {
    padding: 40px 0;
  }

  .page-customer-service__section-title {
    font-size: 1.8em;
  }

  .page-customer-service__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-customer-service__contact-grid,
  .page-customer-service__info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-customer-service__contact-card,
  .page-customer-service__info-card {
    padding: 25px;
  }

  .page-customer-service__card-title {
    font-size: 1.5em;
  }

  .page-customer-service__card-text {
    font-size: 0.95em;
  }

  .page-customer-service__faq-list {
    margin-top: 30px;
  }

  .page-customer-service__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-customer-service__faq-question h3 {
    font-size: 1em;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-customer-service__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-customer-service__faq-answer {
    padding: 0 15px;
  }
  
  .page-customer-service__faq-item.active .page-customer-service__faq-answer {
    padding: 15px !important;
  }

  /* Image responsiveness */
  .page-customer-service img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-customer-service__intro-section,
  .page-customer-service__contact-methods,
  .page-customer-service__faq-section,
  .page-customer-service__security-responsible-gaming,
  .page-customer-service__feedback-cta,
  .page-customer-service__container,
  .page-customer-service__contact-card,
  .page-customer-service__info-card,
  .page-customer-service__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-customer-service__container {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Color Contrast Fixes (if needed, applied automatically) */
.page-customer-service__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

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