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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #0f1117;
    color: #e8e8ed;
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    cursor: crosshair;
}

main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #4a8ad4;
    margin-bottom: 0.75rem;
}

p {
    pointer-events: auto;
}

a {
    color: #e8e8ed;
    text-decoration: none;
    font-size: 1.1rem;
}

a:hover {
    text-decoration: underline;
}

.green {
    color: #3dab9a;
}

.blue {
    color: #4a8ad4;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    font-size: 0.8rem;
    color: #9a9aa8;
}

#debug {
    position: fixed;
    bottom: 60px;
    left: 0;
    right: 0;
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    color: #0f0;
    font-family: monospace;
    font-size: 12px;
    padding: 10px 15px;
    pointer-events: none;
}

#debug > * {
    margin: 3px 0;
    word-break: break-all;
}

#slowdownBtn {
    pointer-events: auto;
    background: #333;
    color: #fff;
    border: 1px solid #555;
    padding: 5px 10px;
    cursor: pointer;
    font-family: monospace;
}

#slowdownBtn:hover {
    background: #444;
}
