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

body {
    margin: 0;
    overflow: hidden;
    background-color: #010103;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #fff;
}

canvas {
    display: block;
}

#overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    background: 
        linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, transparent 15%, transparent 85%, rgba(0, 0, 0, 0.4) 100%),
        radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 10;
}

.header {
    text-align: center;
}

.title {
    font-size: 1.4rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 400;
    opacity: 1;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.4), 0 0 40px rgba(0, 243, 255, 0.2);
}

.subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
    font-weight: 300;
}

.portfolio-link {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 4px;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #00f3ff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.portfolio-link:hover {
    background: rgba(0, 243, 255, 0.2);
    border-color: rgba(0, 243, 255, 0.6);
}

.status-pill {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(0, 243, 255, 0.4);
    border-radius: 30px;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    color: #00f3ff;
    font-weight: 500;
}

.hud-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-family: 'Courier New', 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    opacity: 0.85;
    letter-spacing: 0.05em;
    gap: 20px;
}

.metric {
    margin-bottom: 8px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.val {
    color: #00f3ff;
    font-weight: 600;
    transition: color 1.5s ease;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.info-section {
    position: absolute;
    bottom: 40px;
    left: 40px;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    opacity: 0.8;
    pointer-events: auto;
    z-index: 11;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

.info-section a {
    color: #00f3ff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.info-section a:hover {
    opacity: 1;
    text-decoration: underline;
}

#vignette {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle, transparent 50%, black 150%);
    pointer-events: none;
    z-index: 5;
}

@media (max-width: 768px) {
    #overlay {
        padding: 20px;
    }

    .title {
        font-size: 0.9rem;
        letter-spacing: 0.5em;
    }

    .hud-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .hud-bottom > div:last-child {
        text-align: left;
        margin-top: 20px;
    }

    .info-section {
        bottom: 20px;
        left: 20px;
    }
}
