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

body {
    font-family: Arial, sans-serif;
    background-color: #FF8C00;
}

/* 水印样式 */
.watermark {
    position: fixed;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: all 0.1s linear;
    z-index: 1000;
}

.watermark img {
    width: 80%;
    height: 80%;
    object-fit: cover;
    border-radius: 50%;
}

.watermark-img {
    width: 80%;
    height: 80%;
    object-fit: cover;
    border-radius: 50%;
    position: absolute;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.watermark-img.active {
    opacity: 1;
}

/* 轮播部分样式 */
.carousel-section {
    height: 60vh;
    padding: 20px;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.carousel-inner {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform 1s ease;
}

.carousel-item {
    width: 25%;
    height: 100%;
}

.carousel-item img,
.carousel-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
}

.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

/* 社交媒体链接样式 */
.social-section {
    padding: 20px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #FF8C00;
}

.social-links {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 120px;
}

.social-link {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

/* 图标样式 */
.social-link i,
.social-link svg {
    font-size: 3.5em;  /* 放大图标 */
    width: 1em;
    height: 1em;
    color: #333;  /* 深灰色 */
    transition: all 0.3s ease;
}

/* 悬停效果 */
.social-link:hover {
    transform: translateY(-10px);
}

/* 各平台悬停颜色 */
.social-link:hover .fa-weibo {
    color: #e6162d;
}

.social-link:hover .douyin-icon {
    color: #000000;
    filter: drop-shadow(2px 0 0 #ff0050) drop-shadow(-2px 0 0 #00f2ea);
}

.social-link:hover .xhs-icon {
    color: #ff2442;
}

.social-link:hover .bilibili-icon {
    color: #00a1d6;
}

.update-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff6b6b;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
    display: block;
    z-index: 1;
}

.update-badge.hidden {
    display: none;
}

/* 添加轮播图片链接样式 */
.carousel-item a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.carousel-item a img {
    transition: transform 0.3s ease;
}

.carousel-item a:hover img {
    transform: scale(1.02);  /* 鼠标悬停时轻微放大效果 */
}

/* 添加音乐控制按钮样式 */
.music-control {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

#musicToggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#musicToggle:hover {
    transform: scale(1.1);
}

#musicToggle.playing {
    animation: rotate 3s linear infinite;
}

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

/* 添加特定的轮播图片位置调整 */
.carousel-item:last-child img {
    object-position: center 10%;  /* 图片向下偏移10% */
}

/* 或者使用更具体的选择器 */
.carousel-item a[href="https://weibo.com/2172061270/JaKwGewL8"] img {
    object-position: center 10%;  /* 图片向下偏移10% */
}

/* 修改弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: none;
    padding: 0;
    max-width: 90%;
    max-height: 90%;
    cursor: pointer;
}

.preview-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.preview-image:hover {
    transform: scale(1.02);
}

#confirmPlayVideo {
    padding: 10px 20px;
    background-color: #FF8C00;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#confirmPlayVideo:hover {
    background-color: #FF7F00;
} 