* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  background-color: #000;
  color: #fff;
  font-size: 14px;
  height: 100vh;
  overflow: hidden;
}

#app {
  height: 100vh;
  position: relative;
}

/* 视频容器 */
.video-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #000;
}

.video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-controls {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.3);
}

/* 顶部导航 */
.top-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.nav-tabs {
  display: flex;
  gap: 20px;
}

.tab-item {
  font-size: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
}

.tab-item.active {
  color: #fff;
  font-weight: 600;
}

.tab-item.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background-color: #fff;
  border-radius: 3px;
}

/* 右侧互动按钮 */
.side-actions {
  position: absolute;
  right: 15px;
  bottom: 150px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 10;
}

.action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.avatar-container {
  position: relative;
  width: 50px;
  height: 50px;
}

.user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #fff;
}

.follow-icon {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background-color: #fe2c55;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.action-count {
  font-size: 12px;
  color: #fff;
}

.music-disc {
  margin-top: 10px;
}

.music-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 4px solid #333;
}

.rotating {
  animation: rotate 5s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* 底部视频信息 */
.video-info {
  position: absolute;
  left: 15px;
  bottom: 100px;
  max-width: 70%;
  z-index: 10;
}

.user-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.video-desc {
  font-size: 14px;
  margin-bottom: 8px;
  line-height: 1.3;
}

.music-info {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
}

/* 底部导航栏 */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #000;
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
  width: 20%;
}

.nav-item.active {
  color: #fff;
}

.nav-text {
  font-size: 12px;
  margin-top: 3px;
}

.center-item {
  margin-top: -15px;
}

.publish-btn {
  width: 44px;
  height: 30px;
  background: linear-gradient(to right, #fe2c55, #25f4ee);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.publish-btn::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(to right, #fe2c55, #25f4ee);
  border-radius: 10px;
  z-index: -1;
}