
.quantum-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    background: #050508;
    overflow: hidden;
    font-family: 'Outfit', sans-serif;
    color: rgba(255, 255, 255, 0.9);
}

.quantum-wrapper canvas {
    display: block;
    width: 100%;
    height: 100%;
    cursor: crosshair;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.quantum-wrapper .glass-panel {
    backdrop-filter: blur(24px) saturate(120%);
    -webkit-backdrop-filter: blur(24px) saturate(120%);
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.01) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: absolute;
    z-index: 10;
    overflow: hidden;
}

.quantum-wrapper .glass-panel:hover {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.02) 100%
    );
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.15);
}

.quantum-wrapper #instructions-container {
    top: 32px;
    left: 32px;
    width: 280px;
    padding: 24px;
}

.quantum-wrapper #instruction-title {
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 30%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.quantum-wrapper .instruction-text {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

.quantum-wrapper #control-buttons {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    z-index: 20;
    padding: 8px;
    background: rgba(0,0,0,0.1);
    border-radius: 50px;
}

.quantum-wrapper .control-button {
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.9);
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.3),
        inset 0 0 10px rgba(255,255,255,0.02);
    overflow: hidden;
    position: relative;
    min-width: 100px;
    text-align: center;
}

.quantum-wrapper .control-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-4px);
    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(255, 255, 255, 0.1);
    text-shadow: 0 0 8px rgba(255,255,255,0.6);
}

@media (max-width: 640px) {
    .quantum-wrapper #instructions-container {
        top: 16px;
        left: 16px;
        right: 16px;
        width: auto;
        padding: 16px;
        background: rgba(10, 10, 15, 0.6);
    }
    .quantum-wrapper #control-buttons {
        bottom: 24px;
        width: 90%;
        justify-content: center;
        gap: 8px;
        padding: 0 8px;
    }
    .quantum-wrapper .control-button {
        padding: 10px 16px;
        min-width: auto;
        font-size: 11px;
        flex: 1;
    }
}
