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

.client-banner-container {
    background: #fff;
    min-height: 50vh;
    overflow: hidden;
    font-family: "Arial", sans-serif;
    position: relative;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 50px 0;
}

.controls {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    z-index: 100;
}

.control-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 25px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.speed-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    z-index: 100;
}

.banner-stream-container {
    position: relative;
    width: 100vw;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.client-banner-container h2 {
    color: #0d6efd;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
    position: relative;
    z-index: 3;
}

.client-banner-slider {
    display: flex;
    align-items: center;
    gap: 60px;
    white-space: nowrap;
    cursor: grab;
    user-select: none;
    will-change: transform;
    position: absolute;
}

.client-banner-slider:active {
    cursor: grabbing;
}

.client-banner-slider.dragging {
    cursor: grabbing;
}

.client-wrapper {
    position: relative;
    width: 200px;
    height: 150px;
    flex-shrink: 0;
}

.client-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 150px;
    border-radius: 15px;
    overflow: hidden;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.client-normal {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 2;
    clip-path: inset(0 0 0 var(--clip-right, 0%));
}

.client-ascii {
    background: transparent;
    z-index: 1;
    clip-path: inset(0 calc(100% - var(--clip-left, 0%)) 0 0);
}

.client-logo {
    max-height: 70px;
    width: auto;
    margin-bottom: 10px;
    filter: brightness(1) contrast(1);
    transition: all 0.3s ease;
}

.client-logo:hover {
    filter: brightness(1.2) contrast(1.2);
}

.client-name {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0;
    color: #343a40;
    text-align: center;
}

.ascii-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: rgba(13, 110, 253, 0.4);
    font-family: "Courier New", monospace;
    font-size: 8px;
    line-height: 10px;
    overflow: hidden;
    white-space: pre;
    animation: glitch 0.1s infinite linear alternate-reverse;
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 30%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.4) 80%, rgba(0, 0, 0, 0.2) 100%);
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 30%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.4) 80%, rgba(0, 0, 0, 0.2) 100%);
}

@keyframes glitch {
    0% { opacity: 1; }
    15% { opacity: 0.9; }
    16% { opacity: 1; }
    49% { opacity: 0.8; }
    50% { opacity: 1; }
    99% { opacity: 0.9; }
    100% { opacity: 1; }
}

.scan-effect {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.6), transparent);
    animation: scanEffect 0.6s ease-out;
    pointer-events: none;
    z-index: 5;
    box-shadow: inset 0 0 15px rgba(13, 110, 253, 0.4);
}

@keyframes scanEffect {
    0% { transform: translateX(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}

#particleCanvas {
    display: none;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100vw;
    height: 150px;
    z-index: 0;
    pointer-events: none;
    opacity: 1;
}

#scannerCanvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 200px;
    z-index: 15;
    pointer-events: none;
}

@media (max-width: 768px) {
    .client-wrapper {
        width: 170px;
        height: 130px;
    }
    
    .client-card {
        width: 170px;
        height: 130px;
    }
    
    .client-logo {
        max-height: 60px;
    }
    
    .client-name {
        font-size: 0.8rem;
    }
    
    .controls {
        flex-direction: column;
        gap: 5px;
    }
    
    .control-btn {
        padding: 8px 15px;
        font-size: 12px;
    }
}
