/* ========== 全局 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "微软雅黑", sans-serif;
}

body {
    background: #EFF4F9;
    color: #3F4E5C;
    line-height: 1.7;
    overflow: hidden;
    height: 100vh;
}

body.allow-scroll {
    overflow: auto;
    height: auto;
}

.center {
    text-align: center;
}

/* ========== 热线 ========== */
.hotline {
    background: #D6E4F0;
    color: #3F4E5C;
    text-align: center;
    padding: 14px;
    font-size: 16px;
    font-weight: 400;
    position: sticky;
    top: 0;
    z-index: 999;
}

.hotline a {
    color: #4A6F8A;
    text-decoration: none;
    font-weight: 500;
}

/* ========== 侧边栏 ========== */
.sidebar {
    position: fixed;
    top: 100px;
    left: 20px;
    width: 180px;
    background: #fff;
    padding: 16px;
    border-radius: 14px;
    box-shadow: 0 0 8px rgba(0,0,0,0.06);
    z-index: 100;
}

@media (max-width: 1200px) {
    .sidebar { display: none; }
}

.sidebar h3 {
    color: #8db1d3;
    margin-bottom: 12px;
    font-size: 16px;
    text-align: center;
}

#card-container {
    font-size: 14px;
    color: #555;
    padding: 10px;
    background: #F7FAFD;
    border-radius: 8px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.6s ease;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== 内容 ========== */
.container {
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
}

section {
    margin: 50px 0;
    padding: 28px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

section h2 {
    color: #8db1d3;
    margin-bottom: 20px;
    font-size: 22px;
}

/* ========== 按钮 ========== */
.story-btn {
    background: #8db1d3;
    color: #fff;
    border: none;
    padding: 11px 22px;
    border-radius: 10px;
    cursor: pointer;
    margin: 15px 0;
    transition: 0.2s;
}

.story-btn:hover {
    background: #7aa6c9;
}

/* ========== 视频 ========== */
.video-frame {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    border: none;
}

#video-title { margin: 5px 0; }
#video-source {
    margin: 5px 0;
    font-size: 14px;
    color: #a3a2a2;
}

/* ========== 底部 ========== */
.agreement {
    text-align: center;
    padding: 20px;
    color: #888;
    font-size: 14px;
}

/* ========== AI ========== */
.ai-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #8db1d3;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    z-index: 998;
    transition: 0.2s;
}

.ai-float:hover {
    transform: scale(1.04);
}

/* ========== 音乐 ========== */
/* 右上角 - 电话正下方 */
.music-btn {
  position: fixed;
  top: 80px;    /* 正好在电话下面 */
  right: 20px;
  width: 46px;
  height: 46px;
  z-index: 999;
  cursor: pointer;
}
.music-btn .disc {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #555;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
/* 旋转动画 */
@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.music-btn.playing .disc {
  animation: rotate 8s linear infinite;
}

/* ========== 首屏 Be Alive ========== */
.splash-screen {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #e8f0f8, #dce9f5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.splash-text {
    font-size: 48px;
    font-weight: 300;
    color: #607b94;
    letter-spacing: 8px;
    user-select: none;
}

body > :not(.splash-screen) {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease;
}

/* ========== 视频卡片 ========== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 20px;
}
.video-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}
.video-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.video-card-title {
  padding: 10px 8px;
  font-size: 14px;
  color: #444;
  text-align: center;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}