body {
    background-color: #f3e5f5;
    color: #333;
}

.container {
    padding-top: 20px;
}
@import url('https://fonts.googleapis.com/css2?family=Freckle+Face&display=swap'); /* Import a cartoonish font */

.cartoon-title {
    font-family: 'Freckle Face', cursive; /* Apply the cartoon font */
    color: #ff6347; /* Bright color for a fun look */
    text-shadow: 2px 2px #ffa500, 4px 4px #ffd700; /* Add colorful shadows */
    font-size: 2.5rem; /* Increase font size for emphasis */
    margin-bottom: 10px; /* Space below the title */
    letter-spacing: 1px; /* Slight spacing for style */
    transform: rotate(-2deg); /* Add a slight tilt for a playful effect */
}

/* 详情页视频样式开始 */
/* 视频容器样式 */
.video-title {
    text-align: center;
    margin-bottom: 10px; /* Adds some space between the title and video */
}
.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    /* 根据需要调整最大宽度 */
    margin: 0 auto;
    /* 居中对齐 */
}

/* 预览图像样式 */
#previewImage {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    /* 鼠标悬停时显示手型 */
}

/* 播放按钮样式 */
.play-button {
    background-color: rgba(0, 0, 0, 0.5);
    /* 半透明黑色背景 */
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    /* 按钮宽度 */
    height: 60px;
    /* 按钮高度 */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* 播放按钮 hover 样式 */
.play-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
    /* 鼠标悬停时更深的黑色背景 */
}

/* 视频样式 */
video {
    width: 100%;
    height: auto;
    display: block;
}
/* 详情页视频样式结束 */


/* 详情页视频下发推荐视频的样式开始 */
/* 图片容器样式 */
.image-container {
    position: relative;
    width: 100%;
    max-width: 300px;
    /* 根据需要调整最大宽度 */
    margin: 0 auto;
    /* 居中对齐 */
}

/* 预览图像样式 */
.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* 悬浮层样式 */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    /* 半透明黑色背景 */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.image-container:hover .overlay {
    opacity: 1;
    /* 悬浮时显示 */
}

.overlay .text {
    margin: 0;
    text-align: center;
}

/* 链接样式 */
.image-link {
    display: block;
    text-decoration: none;
    /* 去掉链接下划线 */
    color: inherit;
    /* 继承颜色 */
}
/* 详情页视频下发推荐视频的样式结束 */