* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: 
        linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
        linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 4px, 3px 100%;
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    overflow: hidden; 
    background: #050505 radial-gradient(circle at center, #111 0%, #000 100%);
}

.main-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #00ffff;
    text-shadow: 0 0 15px #00ffff, 0 0 30px #00ffff;
    letter-spacing: 5px;
    animation: glow 2s ease-in-out infinite alternate;
}

p {
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
}

.canvas-wrapper {
    position: relative;
    padding: 10px;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    border-radius: 8px;
    line-height: 0;
}

canvas {
    background: #000;
    border: 2px solid #00ffff;
    max-width: 100%;
    height: auto;
    cursor: crosshair;
    border: none;
    border-radius: 4px;
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.15);
}

.controles {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 20px 40px;
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 8px;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

label {
    font-size: 0.7rem;
    color: #00ffff;
}

button {
    font-family: 'Orbitron', sans-serif;
    background: transparent;
    color: #00ffff;
    border: 1px solid #00ffff;
    padding: 10px 25px;
    cursor: pointer;
    transition: all 0.3s;
}

button:hover {
    background: #00ffff;
    color: #000;
    box-shadow: 0 0 20px #00ffff;
}

input[type="range"] {
    accent-color: #00ffff;
    cursor: pointer;
}

@keyframes glow {
    from { text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff; }
    to { text-shadow: 0 0 20px #00ffff, 0 0 40px #00ffff, 0 0 60px #ff00ff; }
}