:root {
    --bg-color: #000000;
    --dim-text: #0d4d4d; /* Dark cyan as per reference */
    --font-stack: 'Consolas', 'Courier New', monospace;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    overflow: hidden;
    font-family: var(--font-stack);
    font-size: 11px;
    line-height: 1.3;
}

.editor-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.code-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    padding: 10px;
    box-sizing: border-box;
    column-count: 4;
    column-gap: 10px;
    font-size: 10px; /* Much smaller font */
    text-align: justify;
    word-break: break-all;
    white-space: pre-wrap; /* Keeps some formatting but wraps tightly */
    line-height: 1.1;
}

/* Layer 1: The dimmed background code */
.dim {
    color: var(--dim-text);
    z-index: 1;
}

/* Layer 2: The exact same code but masked by the logo */
.bright {
    background: url('logo.png') center/contain no-repeat;
    background-size: 80vmin; /* Logo sizing */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    z-index: 2;
    pointer-events: none; /* Let clicks pass through */
    text-shadow: 0 0 15px rgba(0, 255, 128, 0.2); /* optional glow */
    filter: url(#scatter); /* SVG displacement filter */
}

/* Layer 3: White/Grey Text Name below logo */
.text-name {
    /* Position the SVG background completely centered horizontally, and dynamically pushed below the 80vmin logo vertically */
    background: url('name.svg') center calc(50% + 45vmin) / 80vmin auto no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    z-index: 3;
    pointer-events: none;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    filter: url(#scatter); /* It scatters with the logo */
}

/* Scrollbar styling for IDE look (if we ever allow scrolling) */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #000;
}
::-webkit-scrollbar-thumb {
    background: #222;
}
