* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    overflow: hidden;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #000;
    color: #e0e0ff;
    width: 100vw;
    height: 100vh;
}

.simple-controls {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 100;
    background: rgba(15, 10, 25, 0.85);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(168, 85, 247, 0.3);
    backdrop-filter: blur(10px);
    max-width: 280px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.5s ease-out;
}

.controls-title {
    color: #a855f7;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

.controls-info {
    margin-bottom: 15px;
}

.control-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.4;
}

.control-icon {
    margin-right: 8px;
    font-size: 14px;
    opacity: 0.8;
}

.reset-button {
    width: 100%;
    background: linear-gradient(135deg, #4c1d95, #7c3aed);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.reset-button:hover {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.button-icon {
    animation: pulse 2s infinite;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s ease;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(168, 85, 247, 0.3);
    border-top-color: #a855f7;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-text {
    color: #a855f7;
    font-size: 16px;
    text-align: center;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

canvas {
    display: block;
    width: 100vw;
    height: 100vh;
}