body {
    margin: 0;
    overflow: hidden;
    background-color: #000;
    color: white;
    font-family: 'Space Mono', monospace;
}
canvas {
    display: block;
    width: 100%;
    height: 100%;
}
#ui {
    position: absolute;
    top: 15px;
    width: 100%;
    text-align: center;
    z-index: 100;
    pointer-events: none;
}
#info {
    font-size: 16px;
    padding: 10px 20px;
    background-color: rgba(25, 30, 50, 0.5);
    border-radius: 12px;
    display: inline-block;
    text-shadow: 0 0 6px rgba(0, 128, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}
#loading {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.8s ease-out;
}
#loading span {
    font-size: 26px;
    letter-spacing: 3px;
    margin-bottom: 20px;
}
#progress-container {
    width: 70%;
    max-width: 350px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    overflow: hidden;
}
#progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00b4ff, #00ffd5);
    transition: width 0.4s ease;
    border-radius: 4px;
}
#controls {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    text-align: center;
    pointer-events: all;
    background-color: rgba(25, 30, 50, 0.5);
    padding: 15px 30px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(14px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
}
button {
    background: linear-gradient(135deg, rgba(0, 100, 200, 0.8), rgba(0, 150, 255, 0.8));
    color: white;
    border: 1px solid rgba(0, 180, 255, 0.7);
    border-radius: 8px;
    padding: 10px 20px;
    margin: 0 10px;
    cursor: pointer;
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    transition: all 0.3s ease;
}
button:hover {
    background: linear-gradient(135deg, rgba(0, 130, 230, 0.9), rgba(0, 200, 255, 0.9));
    border-color: rgba(0, 220, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 150, 255, 0.4);
}
#color-picker {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}
.color-option {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
}
.color-option:hover {
    transform: scale(1.2);
    border-color: rgba(255, 255, 255, 0.8);
}
.color-option.active {
    transform: scale(1.25);
    border-color: white;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}
.credit {
    position: fixed;
    bottom: 15px;
    right: 20px;
    z-index: 1000;
    font-size: 14px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.credit a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(25, 30, 50, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}
.credit a:hover {
    opacity: 1;
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}