/* Base styles for the contact page */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

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

.page-contact__hero-section {
  padding-top: 10px; /* Small top padding, relies on body padding-top for header offset */
  margin-bottom: 40px;
  text-align: center;
  background-color: #F4F7FB;
}

.page-contact__hero-image-wrapper {
  margin-bottom: 20px;
}

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

.page-contact__hero-content {
  padding: 0 20px;
}

.page-contact__main-title {
  font-size: clamp(2em, 5vw, 3em);
  font-weight: 700;
  color: #2F6BFF; /* Main color */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 1.1em;
  color: #1F2D3D; /* Text Main */
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-contact__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #2F6BFF;
  text-align: center;
  margin-bottom: 20px;
}

.page-contact__section-description {
  font-size: 1em;
  color: #1F2D3D;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

/* Form Section */
.page-contact__form-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* Card BG */
  margin-bottom: 40px;
}

.page-contact__form-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.page-contact__form-image {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-contact__contact-form {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  padding: 30px;
  border-radius: 10px;
  background-color: #F4F7FB;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.page-contact__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #1F2D3D;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 1em;
  color: #000000; /* Custom Color_1776249996415 */
  background-color: #ffffff;
}

.page-contact__form-textarea {
  resize: vertical;
}

.page-contact__submit-button {
  display: block;
  width: 100%;
  padding: 15px 25px;
  border: none;
  border-radius: 5px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__submit-button:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

/* Methods Section */
.page-contact__methods-section {
  padding: 60px 0;
  background-color: #F4F7FB;
  margin-bottom: 40px;
}

.page-contact__methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-content: center;
}

.page-contact__method-card {
  background-color: #FFFFFF; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.page-contact__method-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-contact__method-title {
  font-size: 1.5em;
  color: #2F6BFF;
  margin-bottom: 15px;
}

.page-contact__method-text {
  color: #1F2D3D;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-contact__method-button,
.page-contact__social-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  margin: 5px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__method-button {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
}

.page-contact__method-button:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

.page-contact__social-links {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.page-contact__social-button {
  background-color: #6FA3FF; /* Auxiliary color */
  color: #ffffff;
}

.page-contact__social-button:hover {
  background-color: #2F6BFF;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* Card BG */
  margin-bottom: 40px;
}

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

.page-contact__faq-item {
  background-color: #F4F7FB;
  border: 1px solid #D6E2FF;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: 600;
  color: #2F6BFF;
  cursor: pointer;
  list-style: none; /* For <summary> */
}

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

.page-contact__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #2F6BFF;
  transition: transform 0.3s ease;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
  transform: rotate(45deg);
}

.page-contact__faq-answer {
  padding: 0 25px 20px 25px;
  color: #1F2D3D;
  line-height: 1.7;
}

.page-contact__faq-answer p {
  margin: 0;
}

/* Why Us / CTA Section */
.page-contact__why-us-section {
  padding: 60px 0;
  background-color: #F4F7FB;
  text-align: center;
}

.page-contact__why-us-section .page-contact__section-description {
  margin-bottom: 40px;
}

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

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-contact__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(47, 107, 255, 0.4);
}

.page-contact__btn-secondary {
  background: #ffffff;
  color: #2F6BFF; /* Main color */
  border: 2px solid #2F6BFF; /* Main color */
}

.page-contact__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(47, 107, 255, 0.2);
}

/* Common image and container responsive styles */
.page-contact img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-contact__section,
.page-contact__card,
.page-contact__container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* No module 0-2 (these are usually for home page, contact page starts fresh) */
/* No home page specific modules like __row-games, __slider-wrapper, __banners-top-wrapper, __blog-masonry, __blog-slider-track for a contact page */

/* Responsive styles for tablet and mobile */
@media (max-width: 1024px) {
  .page-contact__main-title {
    font-size: clamp(1.8em, 4.5vw, 2.5em);
  }

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

  .page-contact__form-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-contact__form-image {
    max-width: 100%;
  }

  .page-contact__contact-form {
    max-width: 100%;
  }

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

  .page-contact__faq-list {
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-contact__hero-section {
    padding-top: 10px !important; /* Small top padding, relies on body padding-top for header offset */
    margin-bottom: 30px;
  }

  .page-contact__hero-content {
    padding: 0 15px;
  }

  .page-contact__main-title {
    font-size: clamp(1.5em, 8vw, 2em);
    line-height: 1.3;
  }

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

  /* General section titles and descriptions */
  .page-contact__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-contact__section-description {
    font-size: 0.95em;
    margin-bottom: 25px;
  }

  /* Form Section */
  .page-contact__form-section {
    padding: 40px 0;
    margin-bottom: 30px;
  }

  .page-contact__form-wrapper {
    gap: 20px;
  }

  .page-contact__form-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 10px;
  }

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

  /* Methods Section */
  .page-contact__methods-section {
    padding: 40px 0;
    margin-bottom: 30px;
  }

  .page-contact__method-card {
    padding: 20px;
  }

  .page-contact__method-title {
    font-size: 1.3em;
  }

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

  .page-contact__method-button,
  .page-contact__social-button {
    padding: 10px 20px;
    font-size: 0.95em;
    margin: 3px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-contact__social-links {
    flex-direction: column;
    gap: 5px;
  }

  /* FAQ Section */
  .page-contact__faq-section {
    padding: 40px 0;
    margin-bottom: 30px;
  }

  .page-contact__faq-list {
    padding: 0 10px;
  }

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

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

  /* Why Us / CTA Section */
  .page-contact__why-us-section {
    padding: 40px 0;
  }

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

  .page-contact__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Generic image responsive */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-contact__section,
  .page-contact__card,
  .page-contact__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ensure content area does not cause horizontal scroll */
  .page-contact {
    overflow-x: hidden;
  }
}

/* No home page specific styles needed for a contact page */
/* The following are placeholders for homepage-specific modules, NOT applicable here */
/* .page-contact__home-content {} */
/* .page-contact__row-games, .page-contact__row-sport, .page-contact__row-coop {} */
/* .page-contact__games-title, .page-contact__sport-title, .page-contact__coop-title {} */
/* .page-contact__slider-wrapper {} */
/* .page-contact__slider-track {} */
/* .page-contact__game-slide {} */
/* .page-contact__banners-top-wrapper {} */
/* .page-contact__banner-item img {} */
/* .page-contact__blog-masonry {} */
/* .page-contact__blog-card-link {} */
/* .page-contact__btn-outline {} */
/* .page-contact__blog-slider-track {} */
/* .page-contact__blog-slide {} */