
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Microsoft YaHei', 'Heiti SC', sans-serif;
  color: #333;
  background-color: #f9fafb;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, #6457A3, #3b82f6);
  color: #fff;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
  background: linear-gradient(135deg, #1d4ed8, #6457A3);
}

.btn-outline {
  background: transparent;
  color: #6457A3;
  border: 1px solid #6457A3;
}

.btn-outline:hover {
  background: rgba(37, 99, 235, 0.05);
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 32px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 16px;
  text-align: center;
}

.section-desc {
  font-size: 18px;
  color: #64748b;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  padding: 30px;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

/* 导航栏样式 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
}

.logo-img img{
    width:100%;
    height: 100%;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
}

.logo-text span {
  color: #6457A3;
}

.nav-menu {
  display: flex;
  gap: 35px;
}

.nav-item a {
  font-size: 15px;
  color: #475569;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-item a:hover {
  color: #6457A3;
}

.mobile-menu-btn {
  display: none;
  font-size: 24px;
  color: #1e293b;
}

.hero {
  margin-top: 80px;
  padding: 100px 0 120px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e6fffa 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-size: cover;
  opacity: 0.05;
  z-index: 0;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
}

.hero-subtitle {
  font-size: 18px;
  color: #6457A3;
  font-weight: 500;
  margin-bottom: 10px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero-title span {
  color: #6457A3;
}

.hero-desc {
  font-size: 18px;
  color: #64748b;
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 30px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: #6457A3;
  margin-bottom: 5px;
}

.stat-text {
  font-size: 14px;
  color: #64748b;
}

.hero-btns {
  display: flex;
  gap: 20px;
}

.hero-img {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* 医院简介样式 */
.about {
  background: #fff;
}

.about-content {
  display: flex;
  gap: 60px;
  align-items: center;
}

.about-img {
  flex: 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.about-img img {
  width: 100%;
  height: auto;
  display: block;
}

.about-text {
  flex: 1;
}

.about-text .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.about-list {
  margin: 30px 0;
}

.about-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.about-icon {
  width: 36px;
  height: 36px;
  background: #e0f2fe;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6457A3;
  flex-shrink: 0;
}

.about-item-text h4 {
  font-size: 18px;
  color: #1e293b;
  margin-bottom: 5px;
}

.about-item-text p {
  color: #64748b;
  font-size: 15px;
}

/* 适用人群版块样式 */
.suitable-people {
  background: #fff8f0; /* 浅橙色背景，呼应整体橙色风格 */
  padding: 80px 0;
}

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

.suitable-card {
  border-top: 3px solid #ff9900; /* 橙色顶边，统一风格 */
  text-align: left;
  padding: 30px;
}

.suitable-icon {
  width: 50px;
  height: 50px;
  background: #ffe8cc; /* 浅橙色背景 */
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff9900; /* 橙色图标 */
  font-size: 24px;
  margin-bottom: 20px;
}

.suitable-title {
  font-size: 20px;
  color: #1e293b;
  margin-bottom: 15px;
  font-weight: 600;
}

.suitable-desc {
  color: #64748b;
  font-size: 15px;
  line-height: 1.7;
}

/* 响应式适配 */
@media (max-width: 768px) {
  .suitable-people {
    padding: 60px 0;
  }
  
  .suitable-people-grid {
    gap: 25px;
  }
}

@media (max-width: 576px) {
  .suitable-card {
    padding: 25px;
  }
  
  .suitable-title {
    font-size: 18px;
  }
  
  .suitable-desc {
    font-size: 14px;
  }
}

/* 核心优势样式 */
.advantages {
  background: #f8fafc;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.advantage-card {
  text-align: center;
}

.advantage-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #e0f2fe, #dbeafe);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6457A3;
  font-size: 32px;
  margin: 0 auto 20px;
}

.advantage-title {
  font-size: 20px;
  color: #1e293b;
  margin-bottom: 15px;
  font-weight: 600;
}

.advantage-desc {
  color: #64748b;
  font-size: 15px;
}

/* 服务项目样式 */
.services {
  background: #fff; /* 白色背景，区别于适用人群的浅橙色 */
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}


.services-new-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

.service-new-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.5s ease;
  text-align: center;
  border: 1px solid rgba(255, 153, 0, 0.1); /* 淡橙色边框 */
}

/* 悬浮交互效果（区别于适用人群的简单上移） */
.service-new-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(255, 153, 0, 0.15);
  border-color: rgba(255, 153, 0, 0.3);
  background: linear-gradient(135deg, #fff, #fff8f0); /* 轻微渐变背景 */
}

.service-new-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
  background: linear-gradient(135deg, #ff9900, #ffb84d); /* 橙色渐变背景 */
  border-radius: 50%; /* 圆形图标容器，区别于适用人群的方形 */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
  box-shadow: 0 4px 15px rgba(255, 153, 0, 0.2);
  transition: all 0.3s ease;
}

.service-new-card:hover .service-new-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 153, 0, 0.3);
}

.service-new-title {
  font-size: 22px;
  color: #1e293b;
  margin-bottom: 20px;
  font-weight: 600;
}

.service-new-desc {
  color: #64748b;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.service-new-btn {
  display: inline-block;
  padding: 12px 30px;
  background: #ff9900;
  color: #fff;
  border-radius: 50px; /* 圆角按钮 */
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 153, 0, 0.2);
}

.service-new-btn:hover {
  background: #e68a00;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 153, 0, 0.3);
  color: #fff;
}

/* 响应式适配 */
@media (max-width: 992px) {
  .services {
    padding: 80px 0;
  }
  
  .services-new-grid {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .services {
    padding: 60px 0;
  }
  
  .service-new-card {
    padding: 35px 25px;
  }
  
  .service-new-title {
    font-size: 20px;
  }
  
  .service-new-desc {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .services-new-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .service-new-icon {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }
}

/* 医生团队样式 */
.doctors {
  background: #f8fafc;
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.doctor-card {
  text-align: center;
  padding: 25px;
}

.doctor-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 4px solid #e0f2fe;
}

.doctor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-name {
  font-size: 20px;
  color: #1e293b;
  font-weight: 600;
  margin-bottom: 5px;
}

.doctor-title {
  font-size: 15px;
  color: #6457A3;
  margin-bottom: 15px;
}

.doctor-desc {
  color: #64748b;
  font-size: 14px;
  margin-bottom: 20px;
}

.doctor-social {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.doctor-social a {
  width: 36px;
  height: 36px;
  background: #e0f2fe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6457A3;
  transition: all 0.3s ease;
}

.doctor-social a:hover {
  background: #6457A3;
  color: #fff;
}

/* 成功率数据样式 */
.success {
  background: linear-gradient(135deg, #6457A3, #3b82f6);
  color: #fff;
  padding: 100px 0;
}

.success .section-title,
.success .section-desc {
  color: #fff;
}

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

.success-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  text-align: center;
  padding: 30px;
}

.success-number {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
}

.success-text {
  font-size: 16px;
  opacity: 0.9;
}

.success-chart {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  border-radius: 16px;
  padding: 30px;
  margin-top: 60px;
}

/* 环境设施样式 */
.facility {
  background: #fff;
}

.facility-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.facility-tab {
  padding: 10px 25px;
  border-radius: 30px;
  background: #f8fafc;
  color: #64748b;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.facility-tab.active {
  background: #6457A3;
  color: #fff;
}

.facility-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-text {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}

.video-container {
  margin-top: 40px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-placeholder {
  width: 100%;
  height: 400px;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: relative;
}

.video-play-btn {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-play-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

/* 客户评价样式 */
.testimonials {
  background: #f8fafc;
}

.testimonials-slider {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.testimonial-item {
  padding: 40px;
  text-align: center;
}

.testimonial-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 3px solid #e0f2fe;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-text {
  font-size: 18px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-name {
  font-size: 18px;
  color: #1e293b;
  font-weight: 600;
  margin-bottom: 5px;
}

.testimonial-country {
  font-size: 14px;
  color: #64748b;
}

.slider-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.slider-btn {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6457A3;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-btn:hover {
  background: #6457A3;
  color: #fff;
}

/* 常见问题样式 */
.faq {
  background: #fff;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.faq-question {
  background: #f8fafc;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
  color: #1e293b;
  font-size: 17px;
}

.faq-icon {
  width: 30px;
  height: 30px;
  background: #e0f2fe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6457A3;
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #fff;
}

.faq-answer p {
  color: #64748b;
  padding: 20px 0;
  border-top: 1px solid #f1f5f9;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 25px;
}

/* 联系咨询样式 */
.contact {
  background: linear-gradient(135deg, #f0f9ff 0%, #e6fffa 100%);
  padding: 100px 0;
}

.contact-content {
  display: flex;
  gap: 60px;
  align-items: center;
}

.contact-form {
  flex: 1;
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-title {
  font-size: 24px;
  color: #1e293b;
  margin-bottom: 30px;
  font-weight: 600;
}

.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: #475569;
  font-weight: 500;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 16px;
  color: #1e293b;
  transition: border 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #6457A3;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.contact-info {
  flex: 1;
}

.contact-info .section-title {
  text-align: left;
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: #e0f2fe;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6457A3;
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 18px;
  color: #1e293b;
  margin-bottom: 5px;
}

.contact-text p {
  color: #64748b;
  font-size: 15px;
}

.contact-map {
  margin-top: 40px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 220px;
  background: #e0f2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6457A3;
}

.contact-map img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 咨询悬浮按钮 */
.consult-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #6457A3, #3b82f6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  z-index: 998;
  transition: all 0.3s ease;
  cursor: pointer;
}

.consult-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* 页脚样式 */
.footer {
  background: #1e293b;
  color: #cbd5e1;
  padding: 40px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo-img {
  width: 45px;
  height: 45px;
  border-radius: 8px;
  background: #6457A3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
}

.footer-logo-text {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.footer-logo-text span {
  color: #6457A3;
}

.footer-desc {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #6457A3;
  color: #fff;
}

.footer-title {
  font-size: 18px;
  color: #fff;
  margin-bottom: 25px;
  font-weight: 600;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 15px;
  color: #cbd5e1;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #6457A3;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-contact-icon {
  color: #6457A3;
  margin-top: 3px;
}

.footer-bottom {
  text-align: center;
  font-size: 14px;
  color: #94a3b8;
}

/* 响应式样式 */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-btns {
    justify-content: center;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .contact-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .section-desc {
    font-size: 16px;
  }
  
  .hero-title {
    font-size: 38px;
  }
  
  .success {
    padding: 80px 0;
  }
  
  .contact {
    padding: 80px 0;
  }
  
  .contact-form {
    padding: 30px;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 80px 0 100px;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .hero-stats {
    gap: 20px;
  }
  
  .hero-btns {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .success-number {
    font-size: 36px;
  }
  
  .video-placeholder {
    height: 250px;
  }
  
  .testimonial-text {
    font-size: 16px;
  }
  
  .footer {
    padding: 60px 0 30px;
  }
}



/* 视频弹窗样式 */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none; /* 默认隐藏 */
}

/* 弹窗遮罩层 */
.video-modal-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

/* 弹窗容器（水平垂直居中） */
.video-modal-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1000px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
  z-index: 1; /* 高于遮罩层 */
}

/* 关闭按钮 */
.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* 视频播放器 */
.video-modal-player {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9; /* 保持16:9比例，适配不同屏幕 */
  display: block;
}

/* 微信弹窗样式 */
.wechat-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none; /* 默认隐藏 */
  align-items: center;
  justify-content: center;
}

/* 弹窗遮罩层 */
.wechat-modal-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
  transition: opacity 0.3s ease;
}

/* 弹窗容器（水平垂直居中） */
.wechat-modal-container {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 25px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
}

/* 微信二维码图片 */
.wechat-qrcode {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* 弹窗描述文字 */
.wechat-modal-desc {
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
  font-weight: 500;
}

/* 关闭按钮 */
.wechat-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wechat-modal-close:hover {
  background: rgba(255, 255, 255, 0.4);
}


/* 响应式适配（移动端） */
@media (max-width: 768px) {
  .video-modal-container {
    width: 95%;
  }
  
  .video-modal-close {
    top: -35px;
    width: 35px;
    height: 35px;
    font-size: 18px;
  }
  
   .wechat-modal-container {
    width: 90%;
    padding: 20px;
  }
  
  .wechat-qrcode {
    max-width: 250px;
  }
  
  .wechat-modal-close {
    top: -35px;
    width: 35px;
    height: 35px;
    font-size: 18px;
  }
}

