.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Main text color for dark background */
  background-color: #140C0C; /* Overall background color */
}

.page-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-contact__hero-section {
  position: relative;
  text-align: center;
  padding-top: 10px; /* Small top padding to avoid header overlap */
  padding-bottom: 60px;
  overflow: hidden;
  color: #FFF1E8;
  background-color: #140C0C; /* Ensure background matches */
}

.page-contact__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.page-contact__hero-title {
  font-size: 3.2em;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F3C54D; /* Gold color for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF1E8;
}

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

.page-contact__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #F3C54D; /* Gold color for section titles */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-contact__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #FFF1E8;
}

.page-contact__info-section {
  padding: 60px 0;
  background-color: #2A1212; /* Card BG color for this section */
  border-bottom: 1px solid #6A1E1E;
}

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

.page-contact__contact-card {
  background-color: #140C0C; /* Background color for cards */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #6A1E1E;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 300px; /* Ensure cards have a minimum height */
}

.page-contact__contact-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  /* Ensure images are not too small */
  min-width: 200px;
  min-height: 200px;
  width: auto;
  height: auto;
  max-width: 100%;
}

.page-contact__card-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F3C54D;
}

.page-contact__card-text {
  font-size: 1em;
  color: #FFF1E8;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-contact__card-link {
  display: inline-block;
  color: #FFB04A; /* Gold-orange for links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-contact__card-link:hover {
  color: #D86A14;
}

.page-contact__form-section {
  padding: 60px 0;
  background-color: #140C0C;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #2A1212;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #6A1E1E;
}

.page-contact__form-group {
  margin-bottom: 20px;
}

.page-contact__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #F3C54D;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #6A1E1E;
  border-radius: 5px;
  background-color: #140C0C;
  color: #FFF1E8;
  font-size: 1em;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: rgba(255, 241, 232, 0.6);
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #FFB04A;
  outline: none;
  box-shadow: 0 0 5px rgba(255, 176, 74, 0.5);
}

.page-contact__form-submit-btn {
  width: auto;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #FFF1E8;
  transition: background 0.3s ease, transform 0.2s ease;
}

.page-contact__form-submit-btn:hover {
  background: linear-gradient(180deg, #D86A14 0%, #FFB04A 100%);
  transform: translateY(-2px);
}

.page-contact__faq-section {
  padding: 60px 0;
  background-color: #2A1212;
  border-top: 1px solid #6A1E1E;
}

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

.page-contact__faq-item {
  background-color: #140C0C;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #6A1E1E;
  overflow: hidden;
  color: #FFF1E8;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F3C54D;
  cursor: pointer;
  background-color: #140C0C;
  border-bottom: 1px solid transparent; /* default */
  transition: background-color 0.3s ease, border-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-contact__faq-item[open] > .page-contact__faq-question {
  border-bottom-color: #6A1E1E;
  background-color: #0D0808; /* Slightly darker when open */
}

.page-contact__faq-question::-webkit-details-marker {
  display: none;
}

.page-contact__faq-qtext {
  flex-grow: 1;
  text-align: left;
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #FFB04A;
}

.page-contact__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1.05em;
  color: #FFF1E8;
}

.page-contact__faq-answer p {
  margin-top: 0;
  margin-bottom: 1em;
}

.page-contact__inline-link {
  color: #FFB04A;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-contact__inline-link:hover {
  color: #D86A14;
}

.page-contact__why-choose-us {
  padding: 60px 0;
  background-color: #140C0C;
  border-top: 1px solid #6A1E1E;
}

.page-contact__why-choose-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-contact__why-choose-image {
  flex: 1;
  min-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #6A1E1E;
  min-height: 200px;
  max-width: 100%;
}

.page-contact__why-choose-text {
  flex: 2;
  min-width: 300px;
  color: #FFF1E8;
}

.page-contact__why-choose-list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.page-contact__why-choose-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.page-contact__why-choose-list li::before {
  content: '✔️';
  position: absolute;
  left: 0;
  color: #FFB04A;
}

.page-contact__responsible-gaming-section {
  padding: 60px 0;
  background-color: #2A1212;
  border-top: 1px solid #6A1E1E;
}

.page-contact__cta-final-section {
  padding: 60px 0;
  text-align: center;
  background-color: #140C0C;
  border-top: 1px solid #6A1E1E;
}

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

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

.page-contact__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #FFF1E8;
  border: 2px solid transparent;
}

.page-contact__btn-primary:hover {
  background: linear-gradient(180deg, #D86A14 0%, #FFB04A 100%);
  transform: translateY(-2px);
}

.page-contact__btn-secondary {
  background-color: transparent;
  color: #FFB04A;
  border: 2px solid #FFB04A;
}

.page-contact__btn-secondary:hover {
  background-color: #FFB04A;
  color: #140C0C;
  transform: translateY(-2px);
}

.page-contact__copyright-section {
  padding: 20px 0;
  background-color: #0D0808; /* Darker background for copyright */
  border-top: 1px solid #6A1E1E;
  text-align: center;
  font-size: 0.9em;
  color: rgba(255, 241, 232, 0.7);
}

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-contact {
    font-size: 14px;
    line-height: 1.5;
  }

  .page-contact__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* HERO 主图区域 */
  .page-contact__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-contact__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-contact__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-contact__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

  /* 产品展示图区域 (Not explicitly present, but general image rules apply) */
  /* 通用图片与容器 */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-contact__contact-icon {
    min-width: 150px !important;
    min-height: 150px !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-contact__contact-grid {
    grid-template-columns: 1fr;
  }

  .page-contact__contact-card {
    min-height: auto;
  }

  .page-contact__why-choose-content {
    flex-direction: column;
  }

  .page-contact__why-choose-image {
    min-width: unset;
  }

  /* 按钮与按钮容器 */
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__form-submit-btn {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* 其他内容模块 */
  .page-contact__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-contact__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-contact__contact-form {
    padding: 25px;
  }

  .page-contact__form-label {
    font-size: 0.95em;
  }

  .page-contact__form-input,
  .page-contact__form-textarea {
    font-size: 0.9em;
    padding: 10px;
  }

  .page-contact__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-contact__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95em;
  }

  .page-contact__why-choose-text {
    min-width: unset;
  }
}