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

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family:
    "HarmonyOS Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    "Helvetica Neue",
    Helvetica,
    Arial,
    sans-serif;
  color: #fff;

  line-height: 1.6;
}
.bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("./img/bg.png") no-repeat;
  background-size: cover;
}

.content-wrap {
  margin: 0 auto;
  position: relative;
  max-width: 100%;
}

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

/* 导航 */
.header {
  background: rgba(0, 0, 0, 0.8);

  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0;
  max-width: 100%;
  padding: 0 80px 0 32px;
}

.logo {
  color: #f9c80e;
  font-size: 20px;
  font-weight: bold;
}

.logo img {
  height: 30px;
}

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

.nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.8;
  transition: color 0.3s;
}

.nav a:hover {
  opacity: 1;
}
.nav a.active {
  opacity: 1;
  border-bottom: 2px solid white;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lg {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.lg-logo {
  position: relative;
  top: 4px;
  height: 28px;
}
.lg-main {
  background-image: url("./img/language/bg1.svg");
  background-size: cover;
  height: 30px;
  border-radius: 4px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  width: 128px;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}
.flag {
  height: 20px;
}
.lg-list {
  display: none;
  position: absolute;
  top: 38px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: max-content;
  min-width: 128px;
  padding: 8px 0;
  background: url("./img/language/bg2.svg");
  background-size: cover;
  border-radius: 4px;
}

.lg-list.show {
  display: block;
}
.lg-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  width: 100%;
  min-width: 128px;
  height: 40px;
  margin-bottom: 4px;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
}
.lg-item:last-child {
  margin-bottom: 0;
}
.lg-item:hover {
  background: rgba(0, 0, 0, 0.3);
}

.header-right .btn-login {
  padding: 8px 16px;
  min-width: auto;
  white-space: nowrap;
  background: transparent;
  border: 1px solid #f9c80e;
  border-radius: 20px;
  color: #f9c80e;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 13px;
}

.header-right .btn-login:hover {
  background: #f9c80e;
  color: #000;
}

/* 用户下拉菜单 */
.user-dropdown {
  position: relative;
}

.user-avatar-small {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.btn-user {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: transparent;
  border: 1px solid #f9c80e;
  border-radius: 20px;
  color: #f9c80e;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 13px;
}

.btn-user:hover {
  background: #f9c80e;
  color: #000;
}

.btn-user svg {
  transition: transform 0.3s;
}

.user-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 100px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  overflow: hidden;
  z-index: 100;
}

.user-menu.show {
  display: block;
}

.user-menu a {
  display: block;
  padding: 10px 16px;
  color: #333;
  text-decoration: none;
  font-size: 13px;
  transition: background 0.2s;
}

.user-menu a:hover {
  background: #f5f5f5;
}

.header-right .btn-vip {
  width: 38px;
  height: 38px;
  padding: 0;
  background: linear-gradient(135deg, #f9c80e, #2ecc71);
  border: none;
  border-radius: 50%;
  color: #000;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 10px rgba(249, 200, 14, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.header-right .btn-vip:hover {
  transform: translateY(-1px) rotate(15deg);
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.5);
}

.user {
  background: #2ecc71;
  padding: 4px 12px;
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

/* 移动端菜单 */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background: #000;
  z-index: 1001;
  transition: right 0.3s;
  padding: 20px;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  text-align: right;
  font-size: 30px;
  cursor: pointer;
  margin-bottom: 30px;
  color: #fff;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #333;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: none;
}

.overlay.active {
  display: block;
}

/* ========== Banner 轮播（新片场适配风格）========== */
.banner-wrap {
  background: linear-gradient(90deg, #050a20 0%, #101838 50%, #050a20 100%);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.banner {
  position: relative;
  height: 30vw;
  min-height: 250px;
  max-height: 500px;
  overflow: hidden;
  /* Banner最大宽度和图片一致 */
  margin: 0 auto;
  /* Banner居中 */
}

.banner-slide {
  width: 100%;
  height: 100%;
  position: relative;
}

.banner-item {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.banner-item.active {
  opacity: 1;
  pointer-events: auto;
}

.banner-content {
  position: relative;
  top: -20%;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.banner-content h1 {
  font-size: 74pt;
  color: #f7af00;
  font-weight: normal;
  letter-spacing: 20px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  /* 加阴影更清晰 */
}

.banner-content .en {
  font-size: 22px;
  opacity: 0.8;
  margin-bottom: 15px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.banner-content .desc {
  font-size: 18pt;
  max-width: 700px;
  margin: 0 auto;
  color: #dcdcdc;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* 黑色圆形左右按钮（和新片场一致的位置/样式） */
.banner-prev,
.banner-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.banner-prev {
  left: 20px;
}

.banner-next {
  right: 20px;
}

.banner-prev:hover,
.banner-next:hover {
  background: #000;
}

/* 指示器（和新片场一致的位置） */
.banner-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 10;
}

.banner-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.3s;
}

.dot.active {
  opacity: 1;
}

/* 标语 */
.slogan {
  background: linear-gradient(90deg, #f9c80e 0%, #2ecc71 100%);
  padding: 18px 0;
  text-align: center;
}

.slogan p {
  font-size: 18px;
  font-weight: 500;
}

/* 功能区 */
.feature {
  padding: 70px 0;
}

.feature .container {
  display: flex;
  justify-content: center;
  gap: 90px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card h2 {
  font-size: 26px;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 15px;
  opacity: 0.8;
  margin-bottom: 22px;
}

.btn {
  padding: 10px 24px;
  border: none;
  border-radius: 22px;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-yellow {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #f9c80e;
  background-color: transparent;
  border: 1px solid #f9c80e;
}

.btn-green {
  background: #2ecc71;
  color: #fff;
}

.btn:hover {
  transform: translateY(-2px);
}

/* ========== 替换的爆款短剧样式 ========== */
/* 爆款短剧区域 - 确保整体居中显示 */
.works {
  padding: 0 0 70px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: block;
  text-align: center;
  /* 让子元素也居中 */
}

/* 标题栏 */
.works-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  position: relative;
  padding: 0 10px;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  /* 恢复标题左对齐 */
}

.works-header::after {
  content: "";
  position: absolute;
  left: 10px;
  bottom: -10px;
  width: calc(100% - 20px);
  height: 2px;
  background: linear-gradient(90deg, #f9c80e 0%, #2ecc71 100%);
  border-radius: 1px;
}

.works-title {
  color: #f9c80e;
  font-size: 24px;
  font-weight: bold;
  position: relative;
  z-index: 2;
}

.more {
  color: #fff;
  opacity: 0.9;
  text-decoration: none;
  font-size: 14px;
  position: relative;
  z-index: 2;
  transition: color 0.3s;
}

.more:hover {
  color: #f9c80e;
}

/* 核心：爆款短剧封面网格 - 瀑布流布局 */
.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 15px;
  margin-bottom: 20px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* 短剧封面项 - 基础样式 */
.work-item {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #000;
  width: 100%;
  margin-bottom: 10px;
  break-inside: avoid;
}

/* 封面类型样式 - 瀑布流中通过图片高度区分 */
.work-item.horizontal .work-cover {
  aspect-ratio: 16/9;
}

.work-item.vertical .work-cover {
  aspect-ratio: 9/16;
}

.work-item.large-horizontal .work-cover {
  aspect-ratio: 4/3;
}

/* 封面图片适配 */
.work-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  background-color: #1a1a2e;
}

.work-item:hover .work-cover {
}

/* 播放按钮（有预告片的短剧） */
.work-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.work-item:hover .work-play-btn {
  opacity: 1;
}

/* 作品信息层 */
.work-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  color: #fff;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-sizing: border-box;
}

.work-item:hover .work-info {
  transform: translateY(0);
}

.work-name {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.work-author {
  font-size: 12px;
  opacity: 0.8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 加载更多按钮 */
.load-more {
  text-align: center;
  padding: 20px;
  display: block;
  width: 100%;
}

.load-more-btn {
  padding: 10px 24px;
  border: none;
  border-radius: 22px;
  background: #f9c80e;
  color: #000;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s;
}

.load-more-btn:hover {
  transform: translateY(-2px);
  background: #e6b800;
}

/* ========== 原有样式 ========== */

/* ========== 登录弹窗 ========== */
.login-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.login-modal.active {
  display: flex;
}

.login-modal-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.login-modal-box {
  position: relative;
  background: #FFFFFF;
  border-radius: 4px;
  width: 524px;
  height: auto;
  max-height: 90vh;
  overflow-y: auto;
  padding: 16px 36px;
  max-width: 92vw;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  animation: loginModalIn 0.3s ease;
  box-sizing: border-box;
}

@keyframes loginModalIn {
  from { opacity: 0; transform: translateY(-30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.login-modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  color: #999;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.login-modal-close:hover {
  color: #333;
}

.login-modal-header {
  text-align: center;
  margin-bottom: 16px;
  padding-top: 8px;
}

.login-modal-logo {
  height: 40px;
  margin-bottom: 8px;
}

.login-modal-header h2 {
  font-size: 20px;
  color: #333;
  margin-bottom: 4px;
  font-weight: 600;
}

.login-modal-header p {
  font-size: 14px;
  color: #999;
}

.login-modal-error {
  background: rgba(255, 59, 48, 0.06);
  border: 1px solid rgba(255, 59, 48, 0.2);
  color: #ff3b30;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
  text-align: center;
}

.login-modal-field {
  margin-bottom: 16px;
}

.login-modal-field label {
  display: block;
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
}

.login-modal-input-wrap input {
  width: 100%;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #D9D9D9;
  border-radius: 4px;
  color: #333;
  font-size: 14px;
  outline: none;
  transition: all 0.3s;
  height: 40px;
  box-sizing: border-box;
}

.login-modal-input-wrap input:focus {
  border-color: #00C853;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(0, 200, 83, 0.1);
}

.login-modal-input-wrap input::placeholder {
  color: #bbb;
}

.login-modal-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.login-modal-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  color: #666;
}

.login-modal-remember input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #00C853;
  cursor: pointer;
}

.login-modal-submit {
  width: 100%;
  padding: 0;
  background: #00C853;
  border: none;
  border-radius: 4px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0, 200, 83, 0.3);
  height: 44px;
  line-height: 44px;
  margin-top: 24px;
}

.login-modal-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 200, 83, 0.5);
  background: #00B848;
}

.login-modal-submit:active {
  transform: translateY(0);
}

.login-modal-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ========== 登录方式切换标签 ========== */
.login-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 16px;
  border: 1px solid #D9D9D9;
  border-radius: 4px;
  overflow: hidden;
}

.login-tab {
  flex: 1;
  padding: 10px 0;
  background: #fff;
  border: none;
  color: #666;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.login-tab.active {
  background: #00C853;
  color: #fff;
  font-weight: 600;
}

.login-sub-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 12px;
  border: 1px solid #D9D9D9;
  border-radius: 4px;
  overflow: hidden;
}

.login-sub-tab {
  flex: 1;
  padding: 8px 0;
  background: #fff;
  border: none;
  color: #666;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.login-sub-tab.active {
  background: #00C853;
  color: #fff;
  font-weight: 600;
}

/* 验证码输入行 */
.login-modal-input-with-btn {
  display: flex;
  gap: 10px;
  align-items: center;
}

.login-modal-input-with-btn input {
  flex: 1;
  min-width: 0;
}

.login-modal-sms-btn {
  flex-shrink: 0;
  padding: 0 16px;
  background: #fff;
  border: 1px solid #00C853;
  border-radius: 4px;
  color: #00C853;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  height: 40px;
  line-height: 38px;
  box-sizing: border-box;
}

.login-modal-sms-btn:hover {
  background: rgba(0, 200, 83, 0.06);
}

.login-modal-sms-btn.disabled {
  border-color: #E0E0E0;
  color: #bbb;
  cursor: not-allowed;
}

/* 底部提示 */
.login-modal-footer {
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  color: #999;
}

.login-modal-footer span {
  color: #00C853;
}

/* ========== 滑块验证码 ========== */
.captcha-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
}

.captcha-modal.active {
  display: flex;
}

.captcha-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.captcha-box {
  position: relative;
  background: #fff;
  border-radius: 12px;
  width: 340px;
  max-width: 92vw;
  padding: 20px;
  z-index: 1;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: loginModalIn 0.3s ease;
}

.captcha-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.captcha-header span {
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

.captcha-header button {
  background: none;
  border: none;
  font-size: 20px;
  color: #999;
  cursor: pointer;
  transition: transform 0.3s, color 0.3s;
}

.captcha-header button:hover {
  color: #00C853;
  transform: rotate(180deg);
}

.captcha-image-area {
  position: relative;
  width: 300px;
  height: 180px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  background: #e8e8e8;
}

.captcha-image-area canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 180px;
}

#pieceCanvas {
  z-index: 2;
}

.captcha-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.8);
  color: #999;
  font-size: 14px;
  z-index: 3;
}

.captcha-slider-area {
  position: relative;
  width: 300px;
  height: 40px;
  margin: 14px auto 0;
}

.captcha-slider-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: #f0f0f0;
  border-radius: 20px;
  overflow: hidden;
}

.captcha-slider-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #a8e6cf, #00C853);
  border-radius: 20px;
  transition: background 0.3s;
}

.captcha-slider-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #999;
  pointer-events: none;
  user-select: none;
}

.captcha-slider-btn {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: box-shadow 0.2s;
  color: #00C853;
  user-select: none;
}

.captcha-slider-btn:hover {
  box-shadow: 0 2px 12px rgba(0,200,83,0.4);
}

.captcha-slider-btn.dragging {
  cursor: grabbing;
  box-shadow: 0 4px 16px rgba(0,200,83,0.5);
}

.captcha-slider-btn.success {
  background: #00C853;
  color: #fff;
}

.captcha-slider-btn.fail {
  background: #ff3b30;
  color: #fff;
}

/* 介绍 */
.about {
  padding: 70px 0;

  background: rgba(15, 20, 41, 0.5);
}

.about h2 {
  font-size: 30pt;
  color: #dcdcdc;
  font-weight: normal;
}
.about h3 {
  font-size: 23pt;
  color: #dcdcdc;
  font-weight: normal;
  margin-bottom: 20px;
}

.about-content {
  font-size: 17pt;
  line-height: 1.8;
  color: #dcdcdc;
  font-weight: normal;
}

/* 页脚 */
.footer {
  background: #202020;
  padding: 40px 0;
}
.end {
  display: flex;
  gap: 100px;
  justify-content: center;
  align-items: center;
}
.footer-logo {
  margin-bottom: 15px;
}
.footer-logo img {
  height: 40px;
}

.footer-logo p {
  opacity: 0.7;
  font-size: 14px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 60px;
}

.link-col h4 {
  margin-bottom: 10px;
  font-size: 15px;
}

.link-col a {
  display: block;
  color: #fff;
  opacity: 0.7;
  text-decoration: none;
  margin-bottom: 6px;
}

.copyright {
  margin-top: 20px;
  opacity: 0.5;
  font-size: 13px;
  text-align: center;
}

.copyright-company {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  gap: 8px;
}

.copyright-company-logo {
  height: 28px;
  width: auto;
}

.copyright-company-name {
  font-size: 14px;
  opacity: 0.5;
  color: #fff;
  letter-spacing: 1px;
}

/* 响应式 */
/* 触摸屏：始终显示短剧信息和播放按钮 */
@media (hover: none) {
  .work-info {
    transform: translateY(0);
    background: linear-gradient(transparent 40%, rgba(0,0,0,0.85));
  }
  .work-play-btn {
    opacity: 0.7;
  }
}

@media (max-width: 992px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .header .container {
    padding: 0 20px;
  }

  .lg-logo {
    display: none;
  }

  .lg-main {
    width: 100px;
  }

  .header-right .btn-login {
    padding: 6px 12px;
  }

  .btn-user {
    padding: 6px 14px;
  }

  .feature .container {
    flex-direction: column;
    gap: 45px;
  }

  .banner-content h1 {
    font-size: 40px;
  }

  /* 爆款短剧移动端适配 - 平板 */
  .works-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 12px;
    max-width: 100%;
  }

  .work-item {
    margin-bottom: 8px;
  }
}

@media (max-width: 576px) {
  /* Header：logo 和右侧按钮分两行 */
  .header .container {
    flex-wrap: wrap;
    padding: 0 16px;
  }

  .logo {
    width: 100%;
    text-align: center;
    margin-bottom: 8px;
  }

  .header-right {
    width: 100%;
    justify-content: center;
    gap: 12px;
  }

  .lg-main {
    width: 90px;
    font-size: 12px;
  }

  /* Footer手机端适配 - 沾满宽度 */
  .footer {
    padding: 30px 0;
    width: 100%;
    max-width: 100%;
  }

  .footer .container {
    max-width: 100%;
    padding: 0 15px;
  }

  .end {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    width: 100%;
  }

  .link-col {
    width: 100%;
  }

  .link-col h4 {
    font-size: 14px;
    margin-bottom: 12px;
    color: #f9c80e;
  }

  .link-col a {
    font-size: 13px;
    margin-bottom: 8px;
    opacity: 0.8;
  }

  .footer-logo {
    margin-bottom: 10px;
  }

  .footer-logo img {
    height: 30px;
  }

  .footer-logo p {
    font-size: 12px;
  }

  .copyright {
    margin-top: 25px;
    font-size: 12px;
    opacity: 0.6;
  }

  .copyright-company {
    margin-top: 20px;
    gap: 6px;
  }

  .copyright-company-logo {
    height: 22px;
    opacity: 0.5;
    filter: invert(1);
  }

  .copyright-company-name {
    font-size: 12px;
    opacity: 0.5;
  }

  /* Banner */
  .banner {
    height: 35vw;
    min-height: 0;
    max-height: none;
  }

  .banner-item {
    background-size: cover;
    background-position: center;
  }

  .banner-controls {
    bottom: 6px;
  }

  .banner-prev,
  .banner-next {
    width: 32px;
    height: 32px;
  }

  .banner-prev {
    left: 4px;
  }

  .banner-next {
    right: 4px;
  }

  /* Slogan 紧贴 banner */
  .slogan {
    padding: 10px 0;
  }

  .slogan p {
    font-size: 14px;
  }

  /* Feature */
  .feature {
    padding: 40px 0;
  }

  .feature-card h2 {
    font-size: 20px;
  }

  /* About */
  .about {
    padding: 40px 0;
  }

  .about h2 {
    font-size: 24px;
  }

  .about h3 {
    font-size: 18px;
  }

  .about-content {
    font-size: 14px;
    line-height: 1.7;
  }

  /* 爆款短剧小屏适配 - 手机 */
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding: 10px;
  }

  .work-item {
    margin-bottom: 6px;
  }

  .works-title {
    font-size: 20px;
  }

  .work-name {
    font-size: 12px;
  }

  .work-info {
    padding: 8px;
  }

  .work-info .work-name {
    font-size: 11px;
  }

  .work-info .work-author {
    font-size: 10px;
  }

  /* 登录弹窗 */
  .login-modal-box {
    padding: 16px 20px;
  }

  /* 个人信息/密码弹窗 */
  .profile-modal-box {
    padding: 20px 16px;
  }

  /* 视频弹窗 */
  .video-modal-box.portrait {
    height: 80vh;
  }
}

/* ========== 个人信息弹窗 ========== */
.profile-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.profile-modal.active {
  display: flex;
}

.profile-modal-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.profile-modal-box {
  position: relative;
  background: #FFFFFF;
  border-radius: 8px;
  width: 480px;
  max-width: 92vw;
  padding: 24px 32px;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  animation: loginModalIn 0.3s ease;
  box-sizing: border-box;
  max-height: 90vh;
  overflow-y: auto;
}

.profile-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: #999;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.profile-modal-close:hover {
  color: #333;
}

.profile-modal-header {
  text-align: center;
  margin-bottom: 20px;
}

.profile-modal-header h3 {
  font-size: 18px;
  color: #333;
  font-weight: 600;
}

.profile-modal-error {
  background: rgba(255, 59, 48, 0.06);
  border: 1px solid rgba(255, 59, 48, 0.2);
  color: #ff3b30;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
  text-align: center;
}

.profile-avatar-section {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.profile-avatar-wrap {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid #f9c80e;
}

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

.profile-avatar-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.profile-avatar-wrap:hover .profile-avatar-overlay {
  opacity: 1;
}

.profile-modal-field {
  margin-bottom: 16px;
}

.profile-modal-field label {
  display: block;
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
}

.profile-modal-field input,
.profile-modal-field select,
.profile-modal-field textarea {
  width: 100%;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #D9D9D9;
  border-radius: 4px;
  color: #333;
  font-size: 14px;
  outline: none;
  transition: all 0.3s;
  box-sizing: border-box;
}

.profile-modal-field input:focus,
.profile-modal-field select:focus,
.profile-modal-field textarea:focus {
  border-color: #f9c80e;
  box-shadow: 0 0 0 2px rgba(249, 200, 14, 0.1);
}

.profile-modal-field textarea {
  resize: none;
}

.profile-modal-submit {
  width: 100%;
  padding: 12px 0;
  background: #f9c80e;
  border: none;
  border-radius: 4px;
  color: #000;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(249, 200, 14, 0.3);
  margin-top: 8px;
}

.profile-modal-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 200, 14, 0.5);
}

/* ========== 修改密码弹窗 ========== */
.password-hint {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
  line-height: 1.5;
}
.password-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  border: 1px solid #D9D9D9;
  border-radius: 4px;
  overflow: hidden;
}

.password-tab {
  flex: 1;
  padding: 10px 0;
  background: #fff;
  border: none;
  color: #666;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.password-tab.active {
  background: #f9c80e;
  color: #000;
  font-weight: 600;
}

.password-sms-row {
  display: flex;
  gap: 10px;
}

.password-sms-row input {
  flex: 1;
  min-width: 0;
}

.password-sms-btn {
  flex-shrink: 0;
  padding: 0 16px;
  background: #fff;
  border: 1px solid #f9c80e;
  border-radius: 4px;
  color: #f9c80e;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  height: 40px;
  box-sizing: border-box;
}

.password-sms-btn:hover {
  background: rgba(249, 200, 14, 0.06);
}

.password-sms-btn:disabled {
  border-color: #E0E0E0;
  color: #bbb;
  cursor: not-allowed;
}

/* ========== 视频播放弹窗 ========== */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.video-modal.active {
  display: flex;
}

.video-modal-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
}

.video-modal-box {
  position: relative;
  background: #000;
  border-radius: 12px;
  max-width: 92vw;
  max-height: 90vh;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  animation: videoModalIn 0.3s ease;
}

/* 横屏视频：限宽 */
.video-modal-box.landscape {
  width: 800px;
}

/* 竖屏视频：限高，宽度按比例自适应 */
.video-modal-box.portrait {
  height: 90vh;
  width: auto;
}

@keyframes videoModalIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.video-modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}

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

.video-modal-title {
  padding: 14px 52px 14px 18px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, transparent 100%);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-modal-player {
  width: 100%;
  height: 100%;
}

.video-modal-player video {
  display: block;
  outline: none;
}

/* 横屏视频：宽度撑满 */
.video-modal-box.landscape .video-modal-player video {
  width: 100%;
}

/* 竖屏视频：高度撑满，宽度自适应 */
.video-modal-box.portrait .video-modal-player video {
  height: 100%;
  width: auto;
  margin: 0 auto;
}
