@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap');

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

body {
    font-family: 'JetBrains Mono', monospace;
    background-color: #0a0a0a;
    color: #e0e0e0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
    background-image: linear-gradient(rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.9)), 
                      url('/f04d0706629675b26d88428d200ee77c.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    transition: background-color 0.5s ease;
}

.ascii-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    opacity: 0.08;
    pointer-events: none;
    font-family: 'JetBrains Mono', monospace;
    color: #f0f0f0;
    overflow: hidden;
}

.ascii-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.data-point {
    position: fixed;
    width: 3px;
    height: 3px;
    background-color: #ff3366;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    box-shadow: 0 0 4px #ff3366;
    animation: dataPointBlink 3s infinite ease-in-out;
}

.cluster-map {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
    opacity: 0.15;
}

.cli-scatter {
    position: absolute;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    font-family: 'JetBrains Mono', monospace;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 2px 4px;
    border-radius: 2px;
    z-index: 0;
    transition: opacity 0.3s ease, color 0.3s ease, background-color 0.3s ease;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    transition: opacity 0.3s cubic-bezier(0.25, 0.1, 0.25, 1),
                color 0.3s cubic-bezier(0.25, 0.1, 0.25, 1),
                transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 400px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cli-scatter:hover {
    color: rgba(255, 255, 255, 0.7);
    background-color: rgba(255, 51, 102, 0.2);
}