/**
 * 底线装饰 - SVG波浪/三角形/斜线分隔线
 */

/* 默认波浪分隔 */
.zm-bottom-decor {
    position: relative;
    height: 60px;
    overflow: hidden;
    margin: 20px 0;
}

.zm-bottom-decor::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 40px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C300,120 600,0 900,60 C1200,120 1200,120 1200,120 L0,120 Z' fill='%234facfe' opacity='0.15'/%3E%3C/svg%3E") repeat-x;
    background-size: 600px 40px;
    animation: zm-decor-wave 8s linear infinite;
}

@keyframes zm-decor-wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-600px); }
}

/* 三角形分隔线 */
.zm-bottom-decor-triangle::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 16px solid #4facfe;
    opacity: 0.5;
}

/* 斜线装饰 */
.zm-bottom-decor-lines::after {
    background: none;
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #4facfe 20%, #00f2fe 50%, #4facfe 80%, transparent);
    opacity: 0.4;
}

/* 小圆点装饰 */
.zm-bottom-decor-dots::after {
    background: none;
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 6px;
    background: radial-gradient(ellipse, #4facfe 3px, transparent 3px);
    background-size: 12px 6px;
    background-repeat: repeat-x;
    opacity: 0.6;
}

/* 应用到 footer 前 */
#footer::before,
.footer::before,
.site-footer::before {
    content: '';
    display: block;
    position: relative;
    height: 40px;
    background: linear-gradient(90deg, transparent, rgba(79, 172, 254, 0.3) 50%, transparent);
    margin-bottom: 10px;
}

/* 分隔线本身 */
.zm-decor-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 172, 254, 0.5), transparent);
    margin: 15px auto;
    position: relative;
}

.zm-decor-line::before {
    content: '✦';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 0 10px;
    color: #4facfe;
    font-size: 12px;
}
