/* 共享页脚样式 */
#foot {
    background: url(/Template/YUTU005/img/bg.jpg) no-repeat center center !important;
    background-size: cover !important;
    background-attachment: fixed !important;
    width: 100%;
    position: relative;
    z-index: 0;
    padding-top: 0; /* 消除顶部空白 */
    padding-bottom: 20px;
    margin-top: -1px; /* 消除可能的边框间隙 */
}

/* 确保在移动端也能正确显示背景 */
@media screen and (max-width: 768px) {
    #foot {
        background: url(/Template/YUTU005/img/bg.jpg) no-repeat center center !important;
        background-size: cover !important;
        background-attachment: fixed !important;
    }
}

.footer{
    border-top: 1px solid rgba(238, 238, 238, 0.3);
    color: #999;
    font-size: 13px;
    margin-top: 0; /* 减少上边距，消除空白 */
    padding: 20px 10px;
    text-align: center;
    background-color: transparent; /* 完全透明背景，继承页面背景 */
    position: relative;
    z-index: 1;
}
.footer .contact{
    align-items: center;
    color: #ccc;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}
.footer .contact a{
    align-items: center;
    display: inline-flex;
    margin: 0 1em;
}
.footer .contact a i{
    color: #999;
    font-size: 1.2em;
    margin-right: .3em;
}
.ad-section {
    margin-bottom: 15px;
}

/* 分类广告样式 */
.category-ad-section {
    margin: 15px auto;
    max-width: 960px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.4); /* 半透明白色背景 */
    border-radius: 10px;
    padding: 15px;
    backdrop-filter: blur(5px); /* 背景模糊效果 */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}
.category-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 8px;
}
.category-row {
    display: flex;
    width: 100%;
    margin-bottom: 3px;
}
.category-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    min-width: 80px;
    height: 35px;
    background-color: rgba(0, 194, 145, 0.8); /* 半透明背景 */
    color: white;
    font-size: 14px;
    border-radius: 4px;
    margin-right: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.category-items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    flex: 1;
}
.category-item {
    padding: 6px 10px;
    background-color: rgba(255, 255, 255, 0.5); /* 更透明的背景 */
    border-radius: 4px;
    font-size: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1); /* 添加轻微阴影提升层次感 */
    backdrop-filter: blur(3px); /* 背景模糊效果，增强可读性 */
}
.category-item a {
    color: #333; /* 更深的文字颜色，增强可读性 */
    text-decoration: none;
    font-weight: 500; /* 略微加粗 */
}

/* 广告联系信息样式 */
.ad-contact {
    margin: 15px auto;
    padding: 10px 20px;
    font-size: 14px;
    color: #fff; /* 白色文字更易于在深色背景上阅读 */
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6); /* 半透明黑色背景 */
    border-radius: 30px;
    max-width: 80%;
    display: inline-block;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
} 