
.red_bg 
    {
    background: #f00;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    padding: 0 5px;
    }
.line_msg {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    text-align: center;
    margin: 0 auto;
    max-width: 750px;
    width: 100%;
    z-index: 9999;
}
.guild {
    max-width: 780px;
    position: fixed;
    bottom: -8px;
    left: 0px;
    right: 0px;
    margin-left: auto;
    margin-right: auto;
    z-index: 100000;
}

    .guild img {
        max-width: 100%;
        background: white;
    }

p {
    font-family: "微软雅黑";
    color: #444444;
}


    /* ========== 新增的滚动动画样式 ========== */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-out;
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* 为图片添加额外过渡效果 */
.scroll-animate.photo {
    transition-delay: 0.2s;
}
#like-button.liked {
    transform: scale(1.2);
    fill: #ff4757;
}



/* <!-- 按钮上方文字css --> */
/* 初始状态 */
.fade-text {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
/* 激活状态 */
.fade-text.active {
  opacity: 1;
  transform: translateY(0);
}
/* 50%位置标记（不可见） */
.scroll-trigger::before {
  content: '';
  display: block;
  height: 1px;
  position: absolute;
  top: 50vh; /* 关键位置 */
  visibility: hidden;
}
/*----------- 轮播图css------- */
/* 轮播图css */
.carousel {
    position: relative;
    margin: auto;
    width: 100%;
    overflow: hidden;
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-image {
    width: 100%;
    /* object-fit: cover; */
}

.carousel-button {
    font-size: 30px; 
    width: 50px; 
    height: 50px; 
    border: none; 
	background-color: rgba(241, 219, 169, 0.5);  /* 80%不透明 */
    color: white; 
    position: absolute;
    top: 50%; 
    transform: translateY(-50%); 
    cursor: pointer; 
    border-radius: 50%; 
    display: flex; 
    align-items: center;
    justify-content: center; 
    box-shadow: 0 4px 8px #81511c; 
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.carousel-button:hover {
    background-color: rgba(255, 255, 255, 0.8); 
    color: black; 
    transform: translateY(-50%) scale(1.1); 
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

.indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

.indicator.active {
    background-color: white;
}
/* 优化移动端体验 */
@media (max-width: 768px) {
    .carousel-button {
        opacity: 0.7;
        transform: scale(0.8) translateY(-50%);
    }
    
    .indicators {
        bottom: 5px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
}


/* -----------文字滚动窗css------ */
  /* 容器样式 */
  .vertical-swiper {
    height: 150px;  /* 轮播容器高度 */
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

/* 单个slide样式 */
.swiper-slide {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    color: #333;
    /* border-bottom: 1px solid #eee; */
    transition: transform 0.3s;
    font-family: 'Microsoft Yahei', sans-serif;
}

/* 自定义导航按钮 */
.swiper-button-custom {
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
}
.swiper-button-custom:hover {
    background: rgba(0,0,0,0.8);
}

/* 隐藏默认导航 */
.swiper-button-next,
.swiper-button-prev {
    display: none;
}