:root {
    --bg-color: #050510;
    --text-color: #ffffff;
    --accent-color: #7b2cbf;
}

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

body {
    background-color: var(--bg-color);
    /* Deep space gradient foundation */
    background: radial-gradient(circle at 50% 50%, #1a0b2e 0%, #050510 100%);
    color: var(--text-color);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    user-select: none;
    -webkit-user-select: none;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    cursor: grab;
}

canvas:active {
    cursor: grabbing;
}

header {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    z-index: 2;
    pointer-events: none;
    opacity: 0.8;
    text-shadow: 0 0 10px rgba(123, 44, 191, 0.5);
}

footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 2;
    pointer-events: none;
}

footer a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    pointer-events: auto;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

footer a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    header {
        font-size: 1.2rem;
        top: 15px;
        left: 15px;
    }

    footer a {
        font-size: 0.8rem;
    }
}