:root {
  --bg: #dfe7ff;
  --text: #0b1e48;
  --muted: #193777;
  --brand: #326cf0;
  --brand-strong: #214fc2;
  --accent: #6f5fff;
  --surface: #f6f9ff;
  --line: #bccbfa;
  --glow-blue: rgba(54, 117, 255, 0.32);
  --glow-violet: rgba(122, 91, 255, 0.28);
  --glass: rgba(247, 250, 255, 0.72);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

* {
  box-sizing: border-box;
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  font-family: "Noto Sans SC", sans-serif;
  color: var(--text);
  /*全局背景色 - 蓝紫色渐变风格*/
  background:
    linear-gradient(100deg, #9cc3ec 0%, #e0ebf7 25%,#babef7 50%, #ab9cec 75%, #9cc3ec 100%,transparent 50%),
    var(--bg); 
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.52;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.86), transparent 82%);
}

body::after {
  content: "";
  position: fixed;
  width: 52vw;
  height: 52vw;
  right: -16vw;
  top: 20vh;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(118, 90, 255, 0.2), transparent 66%);
  filter: blur(14px);
  animation: ambient-drift 9s ease-in-out infinite alternate;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.container {
  width: min(1320px, 94vw);
  margin: 0 auto;
}

.site-header {
  top: 0;
  z-index: 1000;
  position: sticky;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0 34%, rgba(239, 246, 255, 0.92) 58%, rgba(232, 228, 255, 0.84) 100%); 
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(153, 179, 255, 0.58);
  box-shadow: 0 8px 28px rgba(64, 93, 185, 0.2), 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.site-header .container {
  width: 100%;
  max-width: none;
  padding: 0 1vw;
  box-sizing: border-box;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.05em;
}

.brand-text {
  display: grid;
  gap: 2px;
  width: 100%;
  max-width: 480px;
}

.brand-text > span,
.brand-text small {
  display: block;
  width: 100%;
}

.brand-cn {
  font-size: 1.15rem;
  line-height: 1.5;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform-origin: left center;
  word-break: break-all;
}

.brand img {
  width: auto;
  max-width: 30vw;
  height: 56px;
  border-radius: 8px;
  object-fit: contain;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.76));
  padding: 2px 6px 2px 0;
  box-shadow: none;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  position: relative;
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -7px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  box-shadow: 0 0 12px var(--glow-blue);
  transition: left 0.2s ease, right 0.2s ease;
}

.nav a:hover {
  color: var(--brand);
}

.nav a:hover::after {
  left: 0;
  right: 0;
}

.menu-btn {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 56px 0 42px;
}

.hero-bg {
  position: absolute;
  inset: 0;
   background:
    linear-gradient(95deg, rgba(228, 239, 255, 0.1), rgba(230, 222, 255, 0.04)),
    url("image/hero-bg.png") center/cover no-repeat; 
  z-index: -1;
}

.hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  top: -180px;
  border-radius: 50%;
  /*右上角原型动效*/
  background: radial-gradient(circle, rgba(126, 107, 255, 0.44), rgba(126, 107, 255, 0));
  pointer-events: none;
  animation: glow-pulse 5s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  left: -100px;
  bottom: -180px;
  border-radius: 50%;
  /*左下角原型动效*/
  background: radial-gradient(circle, rgba(63, 128, 255, 0.38), rgba(63, 128, 255, 0));
  pointer-events: none;
  animation: glow-pulse 6s ease-in-out 1s infinite alternate;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.45fr;
  gap: 24px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-shadow: 0 0 16px rgba(111, 95, 255, 0.36);
}

h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.2;
  margin: 0 0 10px;
}

.hero-text { 
  color: var(--muted);
  min-width: 55vw;
  margin: 0 0 10px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  color: #fff;
  border-radius: 20px;
  padding: 20px 24px;
  max-width: 60vw;
  box-shadow: 0 18px 44px rgba(88, 112, 255, 0.36);
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 240px;
  top: -88px;
  left: -130px;
  transform: rotate(22deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  animation: card-shine 6s ease-in-out infinite;
}

.hero-card h2 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.hero-card p {
  margin: 0 0 12px;
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--muted);;
}

.hero-card p:last-child {
  margin-bottom: 0;
}

.section {
  padding: 40px 0;
  scroll-margin-top: 86px;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.section > .container > h2,
.about-grid h2 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section > .container > h2::after,
.about-grid h2::after {
  content: "";
  width: min(140px, 28vw);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), rgba(111, 95, 255, 0));
  box-shadow: 0 0 14px var(--glow-blue);
}

.cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.86), rgba(247, 249, 255, 0.9));
  border: 1px solid rgba(161, 182, 255, 0.5);
  border-radius: 14px;
  padding: 24px 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 24px rgba(90, 115, 201, 0.18);
  backdrop-filter: blur(6px);
  text-align: center;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(to bottom, transparent, var(--brand), var(--accent), transparent);
  box-shadow: 0 0 18px var(--glow-blue);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(118, 146, 255, 0.76);
  box-shadow: 0 16px 30px rgba(88, 110, 207, 0.3), 0 0 28px rgba(103, 91, 255, 0.14);
}

.card img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  margin-top: 10px;
  margin-bottom: 15px;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 1.17rem;
}

.card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);
}

.showcase {
  padding-top: 18px;
  position: relative;
  overflow: hidden;
}

.showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 18%, rgba(126, 107, 255, 0.18), transparent 40%);
  pointer-events: none;
}

.activity-carousel {
  position: relative;
  z-index: 1;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: 16px;
}

.carousel-track {
  display: flex;
  gap: 14px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.activity-slide {
  position: relative;
  flex: 0 0 calc((100% - 28px) / 3);
  overflow: hidden;
  border: 1px solid rgba(161, 182, 255, 0.5);
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.86), rgba(247, 249, 255, 0.9));
  box-shadow: 0 8px 26px rgba(86, 119, 216, 0.2);
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.activity-slide:hover,
.activity-slide:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(113, 136, 255, 0.88);
  box-shadow: 0 14px 34px rgba(76, 108, 210, 0.28), 0 0 24px rgba(116, 88, 255, 0.16);
  outline: none;
}

.activity-slide img,
.activity-preview {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.activity-caption {
  position: absolute;
  inset: auto 14px 14px 14px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #fff;
  backdrop-filter: none;
  text-shadow: 0 2px 12px rgba(5, 16, 44, 0.72), 0 0 18px rgba(86, 119, 255, 0.5);
}

.activity-caption span {
  display: inline-block;
  margin-bottom: 4px;
  color: #cdd9ff;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.activity-caption h3,
.activity-caption p {
  margin: 0;
}

.activity-caption h3 {
  font-size: 0.98rem;
}

.activity-caption p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
}

.carousel-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(171, 190, 255, 0.72);
  border-radius: 999px;
  background: rgba(247, 250, 255, 0.82);
  color: var(--brand-strong);
  box-shadow: 0 8px 22px rgba(67, 101, 205, 0.18);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
  transform: translateY(-50%);
}

.carousel-control:hover {
  background: #fff;
  box-shadow: 0 8px 24px rgba(67, 101, 205, 0.28), 0 0 18px rgba(111, 95, 255, 0.2);
}

.carousel-control.prev {
  left: -18px;
}

.carousel-control.next {
  right: -18px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border: none;
  border-radius: 999px;
  background: rgba(86, 105, 166, 0.3);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.carousel-dot.active {
  width: 24px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  box-shadow: 0 0 12px var(--glow-blue);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}

.expert {
  padding-top: 28px;
}

.expert-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(158, 178, 255, 0.56);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(238, 238, 255, 0.68));
  box-shadow: 0 12px 34px rgba(70, 102, 199, 0.18), 0 0 24px rgba(111, 95, 255, 0.12);
  backdrop-filter: blur(8px);
}

.expert-card img {
  width: 100%;
  max-height: 300px;
  border-radius: 14px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 10px 24px rgba(70, 102, 199, 0.18);
}

.expert-card h2 {
  margin-top: 0;
}

.expert-card p {
  color: var(--muted);
}

label {
  display: grid;
  gap: 6px;
  font-weight: 500;
}

input,
textarea {
  border: 1px solid #c8d8d6;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid #b8c8ff;
  border-color: var(--brand);
}

.btn {
  display: inline-block;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: white;
  font-weight: 700;
  text-decoration: none;
  padding: 11px 18px;
  width: fit-content;
  cursor: pointer;
}

.btn:hover {
  background: linear-gradient(135deg, var(--brand-strong), #7b68f5);
}


.site-footer {
  border-top: 1px solid var(--line);
  padding: 18px 0 10px;
  color: var(--muted);
  font-size: 0.95rem;
  position: relative;
  text-align: center;
}

.footer-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  
  margin-bottom: 10px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}

.footer-contact h3 {
  grid-column: 1 / -1;
  margin: 0 0 10px;
  text-align: center;
}

.footer-contact > div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  justify-content: center;
}

.footer-contact p {
  margin: 0;
  text-align: center;
  white-space: nowrap;
}

.site-footer > .container > p:first-of-type {
  padding-top: 8px;
}

@keyframes ambient-drift {
  from {
    transform: translate3d(0, -2vh, 0) scale(0.96);
  }
  to {
    transform: translate3d(-6vw, 4vh, 0) scale(1.08);
  }
}

@keyframes glow-pulse {
  from {
    opacity: 0.7;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes card-shine {
  0%,
  52% {
    left: -130px;
  }
  75%,
  100% {
    left: 330px;
  }
}



@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


.footer-contact h3 {
  margin: 0 0 8px;
  color: var(--text);
}

.footer-contact p {
  margin: 6px 0;
}

.footer-contact a {
  color: var(--brand-strong);
  text-decoration: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(7, 18, 48, 0.55);
  backdrop-filter: blur(12px);
}

.modal.open {
  display: flex;
}

.modal-panel {
  position: relative;
  width: min(920px, 94vw);
  max-height: 88vh;
  overflow: auto;
  border: 1px solid rgba(177, 195, 255, 0.62);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(248, 251, 255, 0.94), rgba(235, 232, 255, 0.9));
  box-shadow: 0 20px 60px rgba(26, 48, 120, 0.38), 0 0 36px rgba(111, 95, 255, 0.22);
}

.modal-panel video {
  display: block;
  width: 100%;
  max-height: 78vh;
  border-radius: 20px;
  background: #071230;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(176, 195, 255, 0.74);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--brand-strong);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}





@media (max-width: 820px) {
  .brand img {
    width: auto;
    max-width: 30vw;
    height: 46px;
  }

  .menu-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: none;
    background: transparent;
    border-radius: 0;
    padding: 4px;
    width: 24px;
    height: 24px;
    cursor: pointer;
  }

  .menu-line {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 1px;
    background: #555;
  }

  .nav {
    display: none;
    position: absolute;
    right: 3vw;
    top: 62px;
    flex-direction: column;
    background: white;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 0;
    gap: 0;
    min-width: auto;
  }

  .nav a {
    text-align: center;
    padding: 10px 28px;
    white-space: nowrap;
  }

  .nav.open {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: none;
    justify-self: start;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .activity-slide {
    flex-basis: 100%;
  }

  .about-grid,
  .expert-card,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .carousel-control.prev {
    left: 8px;
  }

  .carousel-control.next {
    right: 8px;
  }

  .detail-panel {
    grid-template-columns: 1fr;
  }
}

#detail {
  padding-top: 30px;
  padding-bottom: 40px;
}

.detail-section {
  min-height: calc(100vh - 200px);
}

.detail-content {
  max-width: 900px;
  margin: 0 auto;
}


.detail-header {
  text-align: center;
  margin-bottom: 32px;
}

.detail-header h1 {
  font-size: 1.8rem;
  color: var(--text);
  margin: 0;
  padding-bottom: 28px;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--brand), var(--accent)) 1;
}

.detail-media {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(78, 110, 207, 0.24);
  margin-bottom: 28px;
}

.video-container,
.image-container {
  width: 100%;
  background: #071230;
}

.detail-video {
  display: block;
  width: 100%;
  max-height: 500px;
  object-fit: contain;
}

.detail-image {
  display: block;
  width: 100%;
  height: auto;
}

.detail-description {
  background: rgba(255, 255, 255, 0.76);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 28px;
  line-height: 1.8;
  color: var(--text);
}

.detail-description p {
  margin: 0;
}


/* 联系页面样式 */
.hero-contact {
  text-align: center;
  padding: 60px 0 50px;
  background: linear-gradient(135deg, rgba(99, 45, 255, 0.15) 0%, rgba(45, 88, 255, 0.1) 100%);
  border-bottom: 1px solid rgba(161, 182, 255, 0.3);
}

.contact-hero-content h1 {
  margin: 0 0 12px;
  font-size: 2.2rem;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.contact-info-section {
  padding: 48px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.9), rgba(247, 249, 255, 0.95));
  border: 1px solid rgba(161, 182, 255, 0.5);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 24px rgba(90, 115, 201, 0.15);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(88, 110, 207, 0.25);
}

.contact-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-radius: 14px;
  color: #fff;
  font-size: 1.2rem;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: var(--text);
}

.contact-card p {
  margin: 6px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-card a {
  color: var(--brand);
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-form-section {
  padding: 48px 0 60px;
}

.section-header {
  text-align: center;
  margin-bottom: 36px;
}

.section-header h2 {
  margin: 0 0 10px;
  font-size: 1.8rem;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  margin: 0;
  color: var(--muted);
}

.contact-form {
  max-width: 680px;
  margin: 0 auto;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.9), rgba(247, 249, 255, 0.95));
  border: 1px solid rgba(161, 182, 255, 0.5);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 10px 32px rgba(90, 115, 201, 0.18);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(161, 182, 255, 0.5);
  border-radius: 10px;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.8);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(99, 45, 255, 0.1);
}

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

.submit-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 45, 255, 0.4);
}

@media (max-width: 820px) {
  #detail {
    padding-top: 80px;
    padding-bottom: 30px;
  }
  
  .detail-header h1 {
    font-size: 1.4rem;
  }
  
  .detail-video {
    max-height: 320px;
  }
  
  .detail-description {
    padding: 16px;
  }

  /* 联系页面响应式 */
  .hero-contact {
    padding: 40px 0 35px;
  }

  .contact-hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-card {
    padding: 22px 20px;
  }

  .contact-form-section {
    padding: 30px 0 40px;
  }

  .section-header h2 {
    font-size: 1.4rem;
  }

  .contact-form {
    padding: 22px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* 新闻浮层样式 */
.news-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 40px;
  box-sizing: border-box;
}

.news-modal.open {
  opacity: 1;
  visibility: visible;
}

.news-modal-content {
  background: #fff;
  border-radius: 22px;
  width: 80%;
  max-width: 960px;
  height: 85vh;
  max-height: 780px;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.news-modal.open .news-modal-content {
  transform: scale(1) translateY(0);
}

.news-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(80, 80, 80, 0.7);
  border-radius: 50%;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: background 0.2s ease, transform 0.2s ease;
}

.news-modal-close:hover {
  background: rgba(60, 60, 60, 0.9);
  transform: rotate(90deg);
}

/* 复用详情页样式 */
.news-modal .detail-content {
  max-width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.news-modal .detail-header {
  flex-shrink: 0;
  padding: 20px 24px 16px;
  margin-bottom: 0;
}

.news-modal .detail-header h1 {
  font-size: 1.4rem;
  padding-bottom: 16px;
  margin: 0;
}

.news-modal .detail-media {
  flex: 1;
  margin: 0 24px;
  border-radius: 16px;
  overflow: hidden;
  background: #071230;
  min-height: 0;
}

.news-modal .detail-video {
  width: 100%;
  height: 100%;
  max-height: none;
  display: none;
}

.news-modal .detail-video.has-source {
  display: block;
}

.news-modal .detail-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: none;
}

.news-modal .detail-image.has-source {
  display: block;
}

.news-modal .detail-description {
  flex-shrink: 0;
  margin: 20px 24px 24px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.92);
}

.news-modal .detail-description p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
}

@media (max-width: 1024px) {
  .news-modal {
    padding: 24px;
  }

  .news-modal-content {
    width: 90%;
    height: 82vh;
  }
}

@media (max-width: 820px) {
  .news-modal {
    padding: 12px;
  }

  .news-modal-content {
    width: 95%;
    height: 80vh;
    border-radius: 16px;
  }

  .news-modal .detail-header {
    padding: 16px 18px 12px;
  }

  .news-modal .detail-header h1 {
    font-size: 1.15rem;
    padding-bottom: 12px;
  }

  .news-modal .detail-media {
    margin: 0 16px;
    border-radius: 12px;
  }

  .news-modal .detail-description {
    margin: 16px 16px 20px;
    padding: 16px;
  }

  .news-modal .detail-description p {
    font-size: 0.9rem;
  }
}
