:root {
    --bg-primary: #F0F4F8;
    --text-deep: #4A4E69;
    --glitch-warm: #FFB7B2;
    --glitch-cool: #B2E2F2;
    --accent: #C3B1E1;
    --border: #D1D9E6;
    --font-mono: ui-monospace, 'JetBrains Mono', 'Fira Code', 'IBM Plex Mono', 'Liberation Mono', Menlo, Monaco, Consolas, monospace;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-deep);
    font-family: var(--font-mono);
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Background Texture */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: url(#noise);
    pointer-events: none;
    z-index: 999;
}

/* Scanlines */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(18, 16, 16, 0) 50%,
        rgba(0, 0, 0, 0.02) 50%
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 998;
}

/* Technical Overlays */
[class^="overlay-"] {
    position: fixed;
    font-size: 0.7rem;
    letter-spacing: 1px;
    opacity: 0.6;
    z-index: 100;
}

.overlay-tl { top: 20px; left: 20px; }
.overlay-tr { top: 20px; right: 20px; }
.overlay-bl { bottom: 20px; left: 20px; }
.overlay-br { bottom: 20px; right: 20px; }

/* Central Hub */
.central-hub {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
}

.logo-container {
    margin-bottom: 4rem;
    position: relative;
}

.lambda-logo {
    font-size: 6rem;
    line-height: 1;
    cursor: default;
    position: relative;
    user-select: none;
    animation: glitch-periodic 10s infinite;
}

/* RGB Split Glitch */
.lambda-logo::before,
.lambda-logo::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.lambda-logo::before {
    color: var(--glitch-warm);
    z-index: -1;
    animation: glitch-anim-1 10s infinite;
}

.lambda-logo::after {
    color: var(--glitch-cool);
    z-index: -2;
    animation: glitch-anim-2 10s infinite;
}

@keyframes glitch-periodic {
    0%, 90%, 100% { transform: none; }
    92% { transform: translate(-2px, 1px); }
    94% { transform: translate(2px, -1px); }
    96% { transform: translate(-1px, 2px); }
}

@keyframes glitch-anim-1 {
    0%, 90%, 100% { transform: none; opacity: 0; }
    91% { transform: translate(-5px, -2px); opacity: 0.8; }
    93% { transform: translate(3px, 1px); opacity: 0.8; }
    95% { transform: translate(-2px, 3px); opacity: 0.8; }
}

@keyframes glitch-anim-2 {
    0%, 90%, 100% { transform: none; opacity: 0; }
    91% { transform: translate(5px, 2px); opacity: 0.8; }
    93% { transform: translate(-3px, -1px); opacity: 0.8; }
    95% { transform: translate(2px, -3px); opacity: 0.8; }
}

.tagline {
    font-size: 0.9rem;
    text-transform: lowercase;
    letter-spacing: 1px;
    margin-top: 1rem;
    opacity: 0.8;
}

/* Experiment Grid */
.experiment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    width: 100%;
    max-width: 900px;
}

.status-card {
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.5);
    position: relative;
}

.status-card.peach { border-color: #FFB7B2; color: #E59A94; }
.status-card.cyan { border-color: #B2E2F2; color: #8ABCCB; }
.status-card.purple { border-color: #C3B1E1; color: #A08DC0; }

.status-card:hover {
    background-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    animation: jitter 0.2s infinite alternate;
}

.status-card.peach:hover { background-color: rgba(255, 183, 178, 0.05); }
.status-card.cyan:hover { background-color: rgba(178, 226, 242, 0.05); }
.status-card.purple:hover { background-color: rgba(195, 177, 225, 0.05); }

@keyframes jitter {
    0% { transform: translate(0, -2px); }
    100% { transform: translate(1px, -1px); }
}

/* Responsive */
@media (max-width: 768px) {
    .lambda-logo {
        font-size: 4rem;
    }
    .experiment-grid {
        grid-template-columns: 1fr;
    }
    .central-hub {
        padding: 1rem;
    }
}
