/* Strands bridge — multi-strand flowing light ribbon */

.body_box .index_strands_bridge {
    position: relative;
    width: 100%;
    height: 360px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 2;
    background: var(--surface-0);
}

/* Top fade — strands emerge from darkness */
.body_box .index_strands_bridge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 130px;
    background: linear-gradient(to bottom, #0e1015 0%, rgba(14,16,21,0) 100%);
    pointer-events: none;
    z-index: 10;
}

/* Bottom fade — extends 8px below div to bury the seam line */
.body_box .index_strands_bridge::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 138px;
    background: linear-gradient(to top, #0e1015 0%, rgba(14,16,21,0) 100%);
    pointer-events: none;
    z-index: 10;
}

.body_box .index_strands_bridge .strands-container {
    width: 100%;
    height: 100%;
    background: transparent;
    overflow: visible;
}

.body_box .index_strands_bridge canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    background: transparent !important;
}

@media (max-width: 600px) {
    .body_box .index_strands_bridge {
        height: 220px;
    }

    .body_box .index_strands_bridge::before,
    .body_box .index_strands_bridge::after {
        height: 80px;
    }
}
