/* 表现层 */
:root {
  --marquee-duration: 68s;    /* 动画时长 */
  --link-hover: #fe5b82;      /* 悬停颜色 */
  --safe-margin: 10px;        /* 安全边距 */
}
/* 外部容器，限制字幕的显示区域 */
.marquee-container {
    max-width: 1340px;
    overflow: hidden;      /* 隐藏超出的文字 */
    white-space: nowrap;   /* 禁止换行 */
    border-top: 2px solid #555; /* 增加顶部边框 */
    margin: 0 auto;
    padding: 5px 0;        /* 上下内边距 */
}

.marquee-container {
  position: relative;
  overflow: hidden;
  contain: content;  /* 限制渲染边界 */
  will-change: contents;
}

.marquee {
  display: inline-block;
  white-space: nowrap;
  transform: translate3d(0,0,0); /* GPU加速 */
  backface-visibility: hidden;
  color: #fff;
  /* 响应式动画控制 */
  animation: scroll-left var(--marquee-duration) cubic-bezier(0.2,0.6,0.3,1) infinite;
}

@keyframes scroll-left {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(calc(-100% - var(--safe-margin))); }
}

/* 无障碍支持 */
@media (prefers-reduced-motion: reduce) {
  .marquee {
    animation: none;
    white-space: normal;
  }
}

/* 交互优化 */
.marquee:hover {
  animation-play-state: paused;
}

.marquee a {
  font: 700 14px/1.5 system-ui;
  color: #fff;
  padding: 8px 10px;
  transition: color 0.3s, transform 0.2s;
}

.marquee a:hover {
  color: var(--link-hover);
  transform: scale(1.05);
}

/* 移动端适配 */
@media (max-width: 768px) {
  .marquee {
    animation-duration: calc(var(--marquee-duration) * 1.5);
  }
}
.logo-img {
    width: 200px;
    height: 60px;
}
.mobile-nav {
    margin-top: 18px;
    width: 9rem;
}
.pc-nav {
    margin-top: 18px;
}
.items-nav {
    text-align: center;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}
footer {
    margin: 20px 0 100px;
}
footer .business {
    color: #fff;
}
footer .copyright {
    color: #3b82f680;
    text-align: center;
    flex: 1;
}
@media(max-width:768px){
.vedio-title{margin-bottom: 30px;}
}



/*顶部广告*/
.topIframe {
    width: 100%;
    height: 1010px;
    border: none;
    overflow: hidden;
}
/*底横幅*/
.dbannnrIframe {
    width: 100%;
    height: 550px;
    border: none;
    overflow: hidden;
}
.yxfIframe {
    width: 72px;
    height: 380px;
    border: none;
    overflow: hidden;
}
.dxfIframe {
    width: 1280px;     /* 大屏加宽 */
    height: 80px;
    border: none;
    overflow: hidden;
}
/*右悬浮*/
#yxofal {
    position: fixed;
    bottom: 25%;
    z-index: 19999 !important;
    right: 2px;
}

/*底悬浮*/
#dxofal {
    position: fixed;
    bottom: 0;        /* 距离底部间距 */
    left: 50%;           /* 水平居中基准 */
    transform: translateX(-50%);
    z-index: 19999 !important;
    width: 100%;
    height: 80px;
    max-width: 1280px;
}

@media (max-width: 768px) {
  .topIframe {
      height: 1010px;
  }
  .dbannnrIframe {
      height: 380px;
  }
  #dxofal {
      height: 60px;
  }
  .dxfIframe {
    width: 100vw;      /* 移动端宽度适配 */
    height: 60px;
  }
}