.page-contact__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  background: linear-gradient(180deg, #113B7A 0%, #08162B 100%);
  color: #F3F8FF;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-contact__hero-content-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px; /* Max width for content */
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.page-contact__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-contact__hero-text-block {
  padding: 20px;
  background: rgba(16, 35, 63, 0.85); /* Card BG with transparency */
  border-radius: 10px;
  backdrop-filter: blur(5px);
  border: 1px solid #244D84;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  max-width: 800px;
  margin-top: -80px; /* Overlap slightly for design, but text is below image in DOM */
  position: relative; /* Ensure it's above image for stacking context */
  z-index: 2;
}

.page-contact__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.page-contact__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #AFC4E8; /* Text Secondary */
  max-width: 700px;
  margin: 0 auto;
}

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

.page-contact__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.page-contact__section-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #AFC4E8; /* Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-contact__form-section {
  background-color: #08162B; /* Deep Navy */
  padding: 60px 0;
  color: #F3F8FF;
}

.page-contact__contact-form {
  background-color: #10233F; /* Card BG */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #244D84;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-contact__form-group {
  display: flex;
  flex-direction: column;
}

.page-contact__form-label {
  font-size: 1.1rem;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 8px;
  font-weight: 600;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #244D84;
  border-radius: 5px;
  background-color: #08162B; /* Deep Navy */
  color: #F3F8FF; /* Text Main */
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #AFC4E8; /* Text Secondary */
  opacity: 0.7;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #1D5FD1; /* Auxiliary color */
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 95, 209, 0.3);
}

.page-contact__submit-button {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 100%; /* Button responsive */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.page-contact__methods-section {
  background-color: #113B7A; /* Primary color */
  padding: 60px 0;
  color: #F3F8FF;
}

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

.page-contact__method-card {
  background-color: #10233F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #244D84;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

.page-contact__method-icon {
  width: 200px; /* Min size */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.page-contact__method-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-contact__method-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-contact__method-button {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  display: inline-block;
  max-width: 100%; /* Button responsive */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__method-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__faq-section {
  background-color: #08162B; /* Deep Navy */
  padding: 60px 0;
  color: #F3F8FF;
}

.page-contact__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 40px;
}

.page-contact__faq-item {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F3F8FF; /* Text Main */
  background-color: #113B7A; /* Primary color */
  transition: background-color 0.3s ease;
}

.page-contact__faq-item summary:hover {
  background-color: #1D5FD1; /* Auxiliary color */
}

.page-contact__faq-item summary::-webkit-details-marker,
.page-contact__faq-item summary::marker {
  display: none;
}

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

.page-contact__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #F2C14E; /* Gold */
  transition: transform 0.3s ease;
}

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

.page-contact__faq-answer {
  padding: 20px 25px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: #AFC4E8; /* Text Secondary */
  background-color: #10233F; /* Card BG */
  border-top: 1px solid #1B3357; /* Divider */
}

.page-contact__cta-section {
  background: linear-gradient(180deg, #08162B 0%, #113B7A 100%);
  padding: 80px 0;
  text-align: center;
  color: #F3F8FF;
}

.page-contact__cta-button {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  padding: 18px 40px;
  border: none;
  border-radius: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  display: inline-block;
  margin-top: 30px;
  max-width: 100%; /* Button responsive */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

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

.page-contact__container,
.page-contact__form-section,
.page-contact__methods-section,
.page-contact__faq-section,
.page-contact__cta-section {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Mobile specific styles */
@media (max-width: 768px) {
  .page-contact__hero-section {
    padding-top: 10px; /* Keep small top padding */
  }

  .page-contact__hero-content-wrapper {
    padding: 15px;
    flex-direction: column;
  }

  .page-contact__hero-text-block {
    margin-top: 0; /* No overlap on mobile */
    padding: 15px;
    max-width: 100%;
  }

  .page-contact__main-title {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .page-contact__hero-description {
    font-size: 1rem;
  }

  .page-contact__container {
    padding: 15px;
  }

  .page-contact__section-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

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

  .page-contact__form-section,
  .page-contact__methods-section,
  .page-contact__faq-section,
  .page-contact__cta-section {
    padding: 40px 0;
  }

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

  .page-contact__form-label {
    font-size: 1rem;
  }

  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 10px 12px;
    font-size: 0.95rem;
  }

  .page-contact__submit-button,
  .page-contact__method-button,
  .page-contact__cta-button {
    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-contact__methods-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-contact__method-icon {
    width: 180px;
    height: 130px;
    margin-bottom: 15px;
  }

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

  .page-contact__method-text {
    font-size: 0.9rem;
  }

  .page-contact__faq-item summary {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-contact__faq-toggle {
    font-size: 1.5rem;
  }

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

  .page-contact__cta-button {
    padding: 15px 30px;
    font-size: 1.1rem;
  }

  /* General image responsiveness for mobile */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-contact__container,
  .page-contact__form-section,
  .page-contact__methods-section,
  .page-contact__faq-section,
  .page-contact__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mandatory empty media query blocks for homepage modules (even if not used on contact page) */
  /* HERO 主图区域 - already covered above */

  /* 长文金框区 - Placeholder for compliance */
  .page-contact__home-content {
    height: auto;
    overflow-y: visible;
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 游戏轮播 - Placeholder for compliance */
  .page-contact__slider-track {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start; /* Ensure items start from left */
  }
  .page-contact__game-slide {
    flex: 0 0 160px; /* Smaller fixed width */
    max-width: 160px;
  }

  /* 合作品牌六宫格 - Placeholder for compliance */
  .page-contact__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .page-contact__banner-item img {
    
    
  }

  /* 博客卡片区 - Placeholder for compliance */
  .page-contact__blog-masonry {
    grid-template-columns: 1fr;
  }
  .page-contact__blog-slider-track {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start; /* Ensure items start from left */
  }
  .page-contact__blog-slide {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* 通用图片与容器 - already covered above */

  /* 按钮与按钮容器 - already covered above */
}

/* @media (max-width: 1024px) for tablet, if needed for specific adjustments */
@media (max-width: 1024px) {
  .page-contact__hero-content-wrapper {
    max-width: 960px;
  }
  .page-contact__hero-text-block {
    margin-top: -60px; /* Slightly less overlap */
  }
  .page-contact__section-title {
    font-size: 2.2rem;
  }
  .page-contact__methods-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-contact__faq-item summary {
    font-size: 1.1rem;
  }
}

/* Additional mobile adjustments for button groups */
@media (max-width: 768px) {
  .page-contact__button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}