.page-contact {
  color: #F3F8FF; /* Text Main */
  background-color: #08162B; /* Deep Navy - body background from shared */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 50px; /* Ensure space above footer */
}

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

/* Hero Section */
.page-contact__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-contact__hero-content {
  position: relative;
  z-index: 2; /* Ensure text is above image */
  max-width: 900px;
  margin: 0 auto 30px;
}

.page-contact__hero-section h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 */
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-contact__hero-section p {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__btn-secondary {
  background: transparent;
  color: #4FA8FF; /* Glow */
  border: 2px solid #4FA8FF; /* Glow */
}

.page-contact__btn-secondary:hover {
  background: rgba(79, 168, 255, 0.1);
  color: #ffffff;
  border-color: #ffffff;
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-contact__hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Default cover, changed to contain on mobile */
  opacity: 0.3; /* Subtle background image */
}

/* Common Section Styles */
.page-contact__section {
  padding: 50px 0;
  text-align: center;
}

.page-contact__section h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: #F2C14E; /* Gold */
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.3;
}

.page-contact__section h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: #F3F8FF; /* Text Main */
  margin-bottom: 20px;
  font-weight: 600;
}

.page-contact__section p {
  font-size: 1.05rem;
  color: #AFC4E8; /* Text Secondary */
  max-width: 900px;
  margin: 0 auto 20px;
}

/* Support Intro Section */
.page-contact__support-intro {
  padding-bottom: 30px;
}

.page-contact__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__feature-item {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Contact Methods Section */
.page-contact__methods-section {
  background-color: #08162B; /* Deep Navy */
  padding-top: 80px;
  padding-bottom: 80px;
}

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

.page-contact__method-card {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-contact__method-card .page-contact__method-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 25px;
  max-width: 100%;
  height: auto;
  display: block;
}

.page-contact__method-card h3 {
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-contact__method-card p {
  font-size: 0.95rem;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 25px;
  padding: 0 20px;
  flex-grow: 1;
}

.page-contact__social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  padding: 0 20px;
}

.page-contact__social-link {
  color: #4FA8FF; /* Glow */
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: color 0.3s ease;
}

.page-contact__social-link:hover {
  color: #F2C14E; /* Gold */
}

/* Contact Form Section */
.page-contact__form-section {
  background-color: #08162B; /* Deep Navy */
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-contact__form {
  max-width: 700px;
  margin: 50px auto 0;
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 40px;
  text-align: left;
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: calc(100% - 20px); /* Adjust for padding */
  padding: 12px 10px;
  border: 1px solid #244D84; /* Border */
  border-radius: 8px;
  background-color: #08162B; /* Deep Navy */
  color: #F3F8FF; /* Text Main */
  font-size: 1rem;
  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: #4FA8FF; /* Glow */
  outline: none;
  box-shadow: 0 0 0 3px rgba(79, 168, 255, 0.3);
}

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

.page-contact__form .page-contact__cta-button {
  width: auto;
  min-width: 200px;
  margin-top: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.page-contact__faq-section {
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: #08162B; /* Deep Navy */
}

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

details.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 8px; /* Slightly larger radius */
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
  transition: all 0.3s ease;
}

details.page-contact__faq-item[open] {
  border-color: #4FA8FF; /* Glow */
}

details.page-contact__faq-item summary.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px; /* Increased padding */
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  color: #F3F8FF; /* Text Main */
}

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

details.page-contact__faq-item summary.page-contact__faq-question:hover {
  background: rgba(79, 168, 255, 0.1); /* Subtle hover effect */
  color: #F2C14E; /* Gold */
}

.page-contact__faq-qtext {
  flex: 1;
  font-size: 1.1rem; /* Slightly larger text */
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}

.page-contact__faq-toggle {
  font-size: 28px; /* Larger toggle */
  font-weight: bold;
  color: #4FA8FF; /* Glow */
  flex-shrink: 0;
  margin-left: 15px;
  width: 32px; /* Larger hit area */
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, color 0.3s ease;
}

details.page-contact__faq-item[open] .page-contact__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' effect */
  color: #F2C14E; /* Gold */
}

details.page-contact__faq-item .page-contact__faq-answer {
  padding: 0 25px 25px; /* Increased padding */
  background: rgba(16, 35, 63, 0.5); /* Slightly darker Card BG for answer */
  border-radius: 0 0 8px 8px;
  color: #AFC4E8; /* Text Secondary */
  font-size: 1rem;
  line-height: 1.7;
}

/* Responsible Gambling & Quick Links */
.page-contact__responsible-links-section {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: #08162B; /* Deep Navy */
}

.page-contact__links-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-contact__link-item {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 8px;
  padding: 15px 25px;
  text-decoration: none;
  color: #F3F8FF; /* Text Main */
  font-weight: 500;
  transition: all 0.3s ease;
  flex-shrink: 0; /* Prevent shrinking */
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__link-item:hover {
  background: #113B7A; /* Main color */
  color: #F2C14E; /* Gold */
  border-color: #F2C14E; /* Gold */
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Final CTA Section */
.page-contact__final-cta {
  padding-top: 80px;
  padding-bottom: 100px;
  background-color: #08162B; /* Deep Navy */
}

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

/* Mobile Responsive */
@media (max-width: 1024px) {
  .page-contact__container {
    padding: 0 15px;
  }
}

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

  /* HERO 主图区域 */
  .page-contact__hero-section {
    padding-top: 10px; /* Small top padding */
    padding-bottom: 40px;
  }
  .page-contact__hero-content {
    margin-bottom: 20px;
  }
  .page-contact__hero-section h1 {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-contact__hero-section p {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__cta-button {
    padding: 12px 20px;
    font-size: 1rem;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-contact__hero-image {
    position: relative; /* Change to relative for mobile to avoid text overlap */
    height: 200px; /* Adjust height for mobile */
    margin-top: 30px;
  }
  .page-contact__hero-img {
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important;
    opacity: 0.2; /* Slightly more subtle on mobile */
  }

  /* 通用图片与容器 */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-contact__section, 
  .page-contact__card, 
  .page-contact__container, 
  .page-contact__form, 
  .page-contact__faq-list, 
  .page-contact__form-section .page-contact__form {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-contact__section h2 {
    font-size: clamp(1.6rem, 7vw, 2rem);
    margin-bottom: 30px;
  }
  .page-contact__section h3 {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
    margin-bottom: 15px;
  }
  .page-contact__section p {
    font-size: 0.95rem;
    margin-bottom: 15px;
  }

  /* 产品展示图区域 (General grid needs to be responsive) */
  .page-contact__feature-grid,
  .page-contact__method-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }
  .page-contact__feature-item {
    padding: 25px;
  }
  .page-contact__method-card {
    padding-bottom: 20px;
  }
  .page-contact__method-card .page-contact__method-img {
    
  }

  /* 装饰主标题 + 长文 SEO 区 (General text blocks) */
  .page-contact__article-body {
    text-align: left;
    max-width: 100% !important;
    padding: 0 15px;
    box-sizing: border-box;
  }
  .page-contact__support-intro,
  .page-contact__methods-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__responsible-links-section,
  .page-contact__final-cta {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .page-contact__form {
    padding: 25px;
    margin-top: 30px;
  }
  .page-contact__form-input,
  .page-contact__form-textarea {
    width: 100%;
  }
  .page-contact__form .page-contact__cta-button {
    width: 100%;
    min-width: unset;
  }

  /* FAQ */
  details.page-contact__faq-item summary.page-contact__faq-question {
    padding: 15px 20px;
  }
  .page-contact__faq-qtext {
    font-size: 1rem;
  }
  .page-contact__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  details.page-contact__faq-item .page-contact__faq-answer {
    padding: 0 20px 20px;
    font-size: 0.95rem;
  }

  /* Links grid */
  .page-contact__links-grid {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__link-item {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
  }
}