/* ===== 超创游乐 Contact 联系页面专属样式 ===== */

/* ============ 第一屏：联系+表单融合区 ============ */
.contact-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* 背景图容器 */
.contact-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.contact-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.7);
}

/* 深色渐变遮罩 */
.contact-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(30, 42, 58, 0.92) 0%,
    rgba(30, 42, 58, 0.88) 40%,
    rgba(30, 42, 58, 0.82) 100%
  );
  z-index: 1;
}

/* 内容区 */
.contact-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  padding: 120px 80px 80px;
  display: flex;
  align-items: center;
  min-height: 100vh;
}

.contact-hero-inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 80px;
  width: 100%;
  align-items: start;
}

/* 左侧联系信息卡片 */
.contact-info-panel {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 48px 40px;
  color: white;
  transition: var(--transition-smooth);
}

.contact-info-panel:hover {
  border-color: rgba(255, 107, 53, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.contact-panel-label {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 6px;
  text-transform: uppercase;
  font-family: var(--font-en);
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-panel-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.contact-panel-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 40px;
  line-height: 1.3;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  transition: all 0.6s ease;
}

.contact-info-item:hover .contact-info-icon {
  border-color: var(--accent);
  background: rgba(255, 107, 53, 0.1);
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info-text h4 {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-en);
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
}

.contact-info-text p,
.contact-info-text a {
  font-size: 15px;
  color: white;
  line-height: 1.6;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-text a:hover {
  color: var(--accent);
}

.contact-info-text .service-area {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.contact-info-text .service-area span {
  font-size: 13px;
  padding: 4px 12px;
  background: rgba(255, 107, 53, 0.15);
  border: 1px solid rgba(255, 107, 53, 0.25);
  color: var(--accent-light);
  letter-spacing: 1px;
}

/* 底部工作时间和社交区 */
.contact-panel-bottom {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-work-hours {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 2;
}

.contact-work-hours strong {
  color: white;
  font-weight: 500;
  letter-spacing: 1px;
}

.contact-social-links {
  display: flex;
  gap: 12px;
}

.contact-social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.4s ease;
}

.contact-social-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.contact-social-links a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* 右侧表单卡片 */
.contact-form-panel {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 48px 44px;
  transition: var(--transition-smooth);
}

.contact-form-panel:hover {
  border-color: rgba(255, 107, 53, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.contact-form-panel .form-group {
  margin-bottom: 20px;
}

.contact-form-panel .form-group label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-en);
  margin-bottom: 8px;
  display: block;
}

.contact-form-panel .form-group input,
.contact-form-panel .form-group textarea,
.contact-form-panel .form-group select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(30, 42, 58, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  font-family: var(--font-cn);
  font-size: 15px;
  letter-spacing: 0.5px;
  outline: none;
  transition: all 0.6s ease;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form-panel .form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.contact-form-panel .form-group input::placeholder,
.contact-form-panel .form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.contact-form-panel .form-group input:focus,
.contact-form-panel .form-group textarea:focus,
.contact-form-panel .form-group select:focus {
  border-color: var(--accent);
  background: rgba(30, 42, 58, 0.7);
}

.contact-form-panel .form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-form-panel .form-submit {
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: white;
  border: 1px solid var(--accent);
  font-family: var(--font-en), var(--font-cn);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-weight: 400;
  margin-top: 8px;
}

.contact-form-panel .form-submit:hover {
  background: transparent;
  color: var(--accent);
}

.contact-form-panel .form-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.contact-form-panel .form-success {
  display: none;
  padding: 14px;
  background: rgba(78, 205, 196, 0.15);
  border: 1px solid rgba(78, 205, 196, 0.3);
  color: var(--accent-mint);
  font-size: 14px;
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.contact-form-panel .form-success.visible {
  display: block;
}

/* ============ 第二屏：地图占位区 ============ */
.map-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  background: var(--bg-darker);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.map-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 107, 53, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, rgba(30, 42, 58, 0) 0%, rgba(30, 42, 58, 0.4) 100%);
  z-index: 1;
}

/* 地图网格背景 */
.map-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.map-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 0 40px;
}

.map-label {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 6px;
  text-transform: uppercase;
  font-family: var(--font-en);
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.map-label::before,
.map-label::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
}

.map-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 40px;
  line-height: 1.2;
}

.map-placeholder-box {
  width: 100%;
  max-width: 800px;
  height: 300px;
  margin: 0 auto 40px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transition: all 0.6s ease;
}

.map-placeholder-box:hover {
  border-color: rgba(255, 107, 53, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.map-placeholder-box svg {
  width: 48px;
  height: 48px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-placeholder-box p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 2px;
}

.map-placeholder-box .map-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 1px;
}

.map-address {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1px;
  line-height: 1.8;
}

.map-address strong {
  color: white;
  font-weight: 500;
}

/* 地图标记动画 */
.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  z-index: 3;
  pointer-events: none;
}

.map-pin svg {
  width: 40px;
  height: 40px;
  fill: var(--accent);
  opacity: 0.8;
  animation: pinBounce 2s ease-in-out infinite;
}

@keyframes pinBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.map-pin-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: 50%;
  animation: ringExpand 2s ease-out infinite;
  z-index: 2;
  pointer-events: none;
}

@keyframes ringExpand {
  0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

/* ============ 页脚（联系页专用 - 简洁版） ============ */
.contact-footer {
  background: var(--bg-darker);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 80px;
}

.contact-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-footer-brand {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 2px;
  font-family: var(--font-en);
}

.contact-footer-brand strong {
  color: white;
  font-weight: 500;
}

.contact-footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.contact-footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
  transition: color 0.3s ease;
  text-decoration: none;
}

.contact-footer-links a:hover {
  color: var(--accent);
}

/* ============ 响应式适配 ============ */
@media (max-width: 1200px) {
  .contact-hero-content {
    padding: 120px 60px 60px;
  }
  .contact-hero-inner {
    gap: 48px;
  }
  .contact-info-panel,
  .contact-form-panel {
    padding: 40px 32px;
  }
}

@media (max-width: 992px) {
  .contact-hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .contact-hero {
    min-height: auto;
    padding: 40px 0;
  }
  .contact-hero-content {
    min-height: auto;
    padding: 120px 40px 60px;
  }
  .contact-info-panel {
    order: 1;
  }
  .contact-form-panel {
    order: 2;
  }
  .contact-panel-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .map-section {
    height: 70vh;
    min-height: 400px;
  }
  .contact-footer {
    padding: 32px 40px;
  }
  .contact-footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .contact-hero-content {
    padding: 100px 24px 40px;
  }
  .contact-info-panel,
  .contact-form-panel {
    padding: 32px 24px;
  }
  .contact-panel-title {
    font-size: 24px;
    margin-bottom: 28px;
  }
  .contact-info-list {
    gap: 20px;
  }
  .contact-info-item {
    gap: 12px;
  }
  .contact-info-icon {
    width: 40px;
    height: 40px;
  }
  .contact-info-icon svg {
    width: 18px;
    height: 18px;
  }
  .contact-info-text p,
  .contact-info-text a {
    font-size: 14px;
  }
  .map-section {
    height: 60vh;
    min-height: 350px;
  }
  .map-placeholder-box {
    height: 220px;
  }
  .map-title {
    font-size: 24px;
  }
  .contact-footer {
    padding: 24px;
  }
  .contact-footer-links {
    gap: 20px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .contact-form-panel .form-group input,
  .contact-form-panel .form-group textarea,
  .contact-form-panel .form-group select {
    padding: 12px 14px;
    font-size: 14px;
  }
  .contact-form-panel .form-submit {
    padding: 14px;
    font-size: 12px;
  }
  .service-area span {
    font-size: 12px;
    padding: 3px 10px;
  }
}

/* ============ 导航在深色背景上的适配 ============ */
.contact-page .navbar {
  background: rgba(30, 42, 58, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-page .navbar:hover {
  background: rgba(30, 42, 58, 0.95);
}

.contact-page .logo-text {
  color: white;
}

.contact-page .nav-links a {
  color: rgba(255, 255, 255, 0.6);
}

.contact-page .nav-links a:hover {
  color: white;
}

.contact-page .nav-links a.active {
  color: var(--accent);
}

.contact-page .nav-cta {
  color: white;
  border-color: rgba(255, 255, 255, 0.25);
}

.contact-page .nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.contact-page .hamburger-menu span {
  background: white;
}

.contact-page .mobile-menu {
  background: rgba(30, 42, 58, 0.98);
}

.contact-page .mobile-menu ul li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-page .mobile-menu ul li a {
  color: white;
}

.contact-page .mobile-menu-overlay {
  background: rgba(30, 42, 58, 0.6);
}

/* 加载器深色适配 */
.contact-page .loader-overlay {
  background: var(--bg-darker);
}
