.page-contact {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
}

/* Placeholder styles for sections mentioned in prompt's example CSS, even if not directly used on contact page */
.page-contact__hero-section{padding-top:10px}
.page-contact__home-content{border:1px solid #FBB00D;border-radius:10px;height:650px;overflow-y:auto; padding: 20px;}
.page-contact__row-games,.page-contact__row-sport,.page-contact__row-coop{background-color:#1A202C;padding:40px 20px;max-width:1330px;margin:0 auto}
.page-contact__games-title,.page-contact__sport-title,.page-contact__coop-title{color:#fff;text-align:center}
.page-contact__slider-wrapper{overflow:hidden}
.page-contact__slider-track{display:flex;flex-wrap:nowrap;gap:16px}
.page-contact__game-slide{flex:0 0 200px;max-width:200px}
.page-contact__banners-top-wrapper{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;max-width:900px;margin:0 auto}
.page-contact__banner-item img{object-fit:contain;margin:0 auto;display:block}
.page-contact__blog-masonry{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
.page-contact__blog-card-link{display:flex;flex-direction:column;height:100%}
.page-contact__btn-outline{margin-top:auto}
.page-contact__blog-slider-track{display:flex;flex-wrap:nowrap;gap:20px}
.page-contact__blog-slide{flex:0 0 calc(33.333% - 14px);max-width:calc(33.333% - 14px)}

/* My contact page specific styles below, complementing the above placeholders where applicable */

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, assuming body has header offset */
  background-color: #f5f5f5; /* Light background for the section */
  text-align: center;
  overflow: hidden; /* Ensure content doesn't spill */
}

.page-contact__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: cover;
  width: 100%; /* Ensure image fills its container */
  height: 675px; /* Aspect ratio control for desktop */
}

.page-contact__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  background-color: #ffffff; /* Ensure content block has a clear background */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-50px); /* Slightly overlap the image for visual effect */
  position: relative;
  z-index: 1;
}

.page-contact__main-title {
  font-size: 2.8em;
  color: #017439; /* Brand color for title */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-contact__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555555;
}

/* CTA Buttons */
.page-contact__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary {
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
  border: 2px solid #017439;
}

.page-contact__btn-primary:hover {
  background-color: #005f2e; /* Darker shade on hover */
  border-color: #005f2e;
}

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

.page-contact__btn-secondary:hover {
  background-color: #f0f0f0;
}

/* General Section Styles */
.page-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

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

.page-contact__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
}

/* Contact Form Section */
.page-contact__form-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-contact__contact-form {
  flex: 1;
  min-width: 300px;
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #017439;
  outline: none;
}

.page-contact__form-textarea {
  resize: vertical;
  min-height: 120px;
}

.page-contact__submit-button {
  width: auto;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  background-color: #017439;
  color: #ffffff;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  max-width: 100%; /* Button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__submit-button:hover {
  background-color: #005f2e;
}

.page-contact__form-image-area {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-contact__form-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px;
  object-fit: cover;
}

/* Social Section */
.page-contact__social-section {
  padding: 60px 0;
  background-color: #017439; /* Dark brand color background */
  color: #ffffff; /* Light text for dark background */
}

.page-contact__social-section .page-contact__section-title,
.page-contact__social-section .page-contact__section-description {
  color: #ffffff;
}

.page-contact__social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.page-contact__social-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.page-contact__social-icon:hover {
  transform: translateY(-5px);
}

.page-contact__social-icon img {
  width: 200px; /* Enforce 200x200 as per strict rule */
  height: 200px; /* Enforce 200x200 as per strict rule */
  min-width: 200px; /* Enforce min image size */
  min-height: 200px;
  margin-bottom: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 5px;
  object-fit: contain;
}

.page-contact__social-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 8px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px;
  object-fit: cover;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

.page-contact__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-weight: bold;
  font-size: 1.1em;
  color: #333333;
  cursor: pointer;
  background-color: #f0f0f0;
  list-style: none; /* For <summary> tag */
  -webkit-touch-callout: none; /* Disable text selection on mobile */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.page-contact__faq-question::-webkit-details-marker {
  display: none; /* Hide default arrow for <summary> */
}

.page-contact__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
  color: #017439; /* Plus/minus icon color */
}

.page-contact__faq-item[open] .page-contact__faq-question::after {
  content: '-';
  transform: rotate(0deg); /* No rotation for +/- */
}

.page-contact__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  color: #555555;
}

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

.page-contact__faq-answer a {
  color: #017439;
  text-decoration: underline;
}

.page-contact__cta-faq {
  text-align: center;
  margin-top: 40px;
}

.page-contact__cta-text {
  font-size: 1.2em;
  color: #333333;
  margin-bottom: 20px;
}

.page-contact__faq-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 8px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px;
  object-fit: cover;
}

/* --- Mobile Responsiveness (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-contact__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-height: 200px !important;
  }

  .page-contact__hero-content {
    padding: 20px 15px;
    transform: translateY(-30px);
    margin: 0 15px;
  }

  .page-contact__main-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

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

  /* General containers and images */
  .page-contact__container {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
    box-sizing: border-box !important;
  }

  /* Contact Form Section */
  .page-contact__form-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .page-contact__contact-form {
    min-width: unset;
    width: 100%;
    padding: 20px;
  }

  .page-contact__form-input,
  .page-contact__form-textarea,
  .page-contact__submit-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Social Section */
  .page-contact__social-links {
    gap: 20px;
  }

  .page-contact__social-icon img {
    width: 200px !important;
    height: 200px !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* FAQ Section */
  .page-contact__faq-question {
    padding: 15px;
    font-size: 1em;
  }

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

  .page-contact__cta-text {
    font-size: 1.1em;
  }

  /* Button responsiveness for all buttons on the page */
  .page-contact__cta-button,
  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .page-contact__submit-button,
  .page-contact a[class*="button"],
  .page-contact a[class*="btn"] {
    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__cta-buttons,
  .page-contact__button-group,
  .page-contact__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column;
  }

  /* Placeholder for other required mobile rules (even if not directly used on this page, they must be present for the check) */
  /* 长文金框区 */
  .page-contact__home-content {
    height: auto !important;
    overflow-y: visible !important;
    padding: 20px 15px !important;
  }
  /* 游戏轮播 */
  .page-contact__slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .page-contact__game-slide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    scroll-snap-align: start;
  }
  /* 合作品牌六宫格 */
  .page-contact__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .page-contact__banner-item img {
    
    
  }
  /* 博客卡片区 */
  .page-contact__blog-masonry {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
  .page-contact__blog-slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .page-contact__blog-slide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    scroll-snap-align: start;
  }
}

/* Specific color rules for contrast */
.page-contact__dark-bg {
  background: #017439;
  color: #ffffff;
}

.page-contact__light-bg {
  background: #ffffff;
  color: #333333;
}

/* Register/Login colors (not directly used on contact, but for completeness if they were buttons) */
.page-contact__register-button {
  background-color: #C30808;
  color: #FFFF00;
}
.page-contact__login-button {
  background-color: #C30808;
  color: #FFFF00;
}

/* Ensure content area images are at least 200x200 */
.page-contact__form-section img,
.page-contact__social-section img,
.page-contact__faq-section img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}